I’m working on a UI system. That’s the reason why I recently implemented render to texture.
The fact is that I need a full 3d UI system. I used to use the Swing integration from David Yazel (which worked perfectly for me) but I had to move to a system that will allow me to have a unique system for UI widgets as well as game objects. Therefore I made a 3D UI system.
It does work but is very preliminary.
For the moment it has the following features ;
- Full 3D ui based on 3d widget - allows you to have 2d widgets as well as game object widgets,
- Container & Layouts (swing like)
- The following widgets are already implemented ;
- Frame (draggable and resizable)
- ImagePanel
- TextLabel
- Button
- A skin system
It only works with JOGL for the moment. I’m thinking of adapting the base framework to be able to use LWJGL as well.
Anyway, it’s nothing near finished so I don’t expect to release it anytime soon.
I will post a preview when I will have something ready.
By the way, I think that any UI system that we will develop will need an abstract frame system (a bit like OpenProducer of OpenSceneGraph) to abstract the event system and make it single threaded. Has anyone created and released this ?
Vincent
Here is a screen shot showing a Frame (composed from other widgets) with the game board beneath. One of the board square is a bit lighter (next to the duck) ; this is because the mouse is over it. It shows as well 2 text labels (bottom of the screen and title of frame).
http://vbousquet.free.fr/Xith3d/BGL.png