HOME | DD

Published: 2009-04-17 06:46:30 +0000 UTC; Views: 584; Favourites: 0; Downloads: 8
Redirect to original
Description
Foreground:picogen:terrabite's layer based heightmap editor. It seems you have something like GIMP or PS in front of you (see that table on the left), but in fact you are programming together a procedural heightmap (see that message box) with some mouse-clicks.
Background:
Coding session. You see part of the sourcecode of that visual editor (fear not: that is only for picogen-programmers, not for users
Related content
Comments: 9
lyc [2009-04-17 10:30:47 +0000 UTC]
desperately needing a preview window
btw, much respect for braving that massive qt framework!
👍: 0 ⏩: 2
greenhybrid In reply to lyc [2009-04-17 11:45:03 +0000 UTC]
Also, do you think the group indicators (rotatory grey/black colors on the left and right borders) are enough? Or do the groupings need more, erm, emphasis?
👍: 0 ⏩: 0
greenhybrid In reply to lyc [2009-04-17 11:43:23 +0000 UTC]
Indeed My plan for previews is that if no entry is selected, you get a whole map preview, if a group is selected, you get a preview for that group, et cetera. But as replied to Beason in the other thread, all this is pretty hollow atm.
Hmm, in this respect, what would be the right dictionary entry for braving?
👍: 0 ⏩: 2
lyc In reply to greenhybrid [2009-04-18 02:33:14 +0000 UTC]
hmm it's usually used in context of "braving the weather", so like if it's extremely stormy outside, you put on your thickest jacket, go out and brave the weather qt is a bit like a shitstorm of signals and slots
to be honest i'm almost jealous, cuz i really need to learn how to make gui (proper) applications. in c# this is easy, but that's not cross platform, and everything else is like 10x more complex.
👍: 0 ⏩: 1
greenhybrid In reply to lyc [2009-04-18 09:42:18 +0000 UTC]
wxWidgets and QT are not so hard once you get a little bit used to it. Double clicking on pushButtons anyways makes only a tiny percentage of the overall app-development, and is hence negligible. But, don't think no GUI designers exist, surely, many tutorials show how to hardcode GUIs (like some Win32 tuts); for wxWidgets, I can recommend the infamous wxFormBuilder ([link] ), for QT there is the QT[4]-Designer; and they have a completely new and freshly released IDE called QT-Creator
👍: 0 ⏩: 1
lyc In reply to greenhybrid [2009-04-18 11:15:19 +0000 UTC]
yeah i tried qt creator and it's very much like c#, but the code behind it is horrible i just really dislike qt's overcomplicated toolchain and language extensions.
wxwindows may just be the ticket.
👍: 0 ⏩: 1
greenhybrid In reply to lyc [2009-04-21 07:46:13 +0000 UTC]
haven't seriously checked it yet.
i think the toolchain is okay once you've set it up. e.g., to fully rebuild picogen-qt and the renderer, i type something like:
pushd redshift; make lib; popd
pushd picogen-qt/build
qmake-qt4
make
though i must admit that i don't like language extensions, as long as they can't be emulated with, at maximum, #define magick. otoh, the good thing, i have seperated picogen into several projects (quatsch, kallisto [3d-math lib], redshift, picogen-qt), so the qt-mess is only in that sub-project.
also, signals-and-slots (also in boost, btw) is really ugly stuff, but greatly helps with data encapsulation. e.g., the quatsch/jux-editor emits a signal when the text changed, and everyone interested can grab that; no need store a pointer to the main-window or the heightmap-editor inside the q/j-editor
one last thing that I like is that picogen-qt uses the same naming conventions as picogen (class FooBar; FooBar fooBarInstance). but that's just a nice but irrelevant side-feature.
one last last thing is the very good documentation of qt, which i made an offline copy from (you should really check the ScrapBook ( [link] )firefox addon, in case you use firefox, which is exactly for downloading and managing offline copies; in the meanwhile I have many docs offline).
dunno of any serious comparison between wxWindows and QT. maybe you should check both to see what yums better for you.
👍: 0 ⏩: 0
beason In reply to greenhybrid [2009-04-17 17:55:46 +0000 UTC]
Re: braving, probably "courageous". I second lyc!
What distro is that? Looks nice.
👍: 0 ⏩: 1
greenhybrid In reply to beason [2009-04-18 09:45:10 +0000 UTC]
It's a debian gnome, slowly evolved over (afair) 3 years of slight tweaking, surviving (afair) 3 major updates, started at kernel 2.6.18, now at 2.6.26, so soon the tenth minor kernel upgrade will be celebrated
👍: 0 ⏩: 0