IMGUI Fun

Published January 04, 2007
Advertisement
Well, so far the level editor conversion is going well.

I have the levels up & running in the new system, with no .net anywhere to be found, and no windows form crap.

The downside is the amount of pretty simple gui controls that need to be recreated, although, I must admit, it's soooo nice having a known, relatively simple task to crank on.

The new interface is cleaner, faster, and more tweakable and customizable.

The editor itself is faster, more stable, and no more memory issues!!!



So far, the IMGUI supports buttons, 'down buttons' that stay down, hot menu bars that show their contents on mouse over, windows, edit boxes and a swatch grid.

The swatch grid control is used for choosing materials, and is much better and more efficient to work with than the old version I made in .net. For one, since I'm using direct3d and not gdi or forms to draw the textures, I don't need to create .bmp thumbs for every texture in the game anymore, just draw the native .dds at the customizable swatch size.

Also, because I am rendering the swatches, rather than just drawing the thumbnails, I modulate by the diffuse material color to better match how they look in game. Thinking about it, I could add the normal map as well by adding a fake tangent space light when drawing the swatches, too.

The material swatch pane is brought up by mousing over the 'Materials' title bar, and when the mouse is over the pane, the mouse wheel switches swatch pages up & down.



Tomorrow I will add some of the missing triangle & vertex controls, and the scene editor, which will require a tree view.
Previous Entry Gooey GUI
Next Entry More GUI
0 likes 2 comments

Comments

Scet
Wow I don't know how I missed this journal, this stuff looks awesome! Makes my Doom/Quake stuff look like a pile of puke.
January 04, 2007 11:03 PM
Ravuya
Your GUI stuff is looking pretty good -- I really dig IMGUI -- been meaning to do a "proper" implementation of it one of these days, but can never get past data grids and popup menus (stuff that requires data).

Now I'm sort of wondering what that Liquids menu item does. Whipping out some liquid physics on us? [wow]
January 05, 2007 08:48 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement

Latest Entries

1.2 Almost ready...

1112 views

Sound Paths

1331 views

Stately Progress

1133 views

State Lines

1283 views

Pulsing

866 views

Return to The Ship!

1007 views

Cameras & Boxes

1124 views
Advertisement