Hi all,
I’m trying to make a choice as to my development path - I’ve previously used just the JOGL libs and developed a number of simple apps. I now have a new project on my hands and wish to create an application entirely within OpenGL (i.e all GUI based items are hardware accelerated textures like those seen in Alien Flux). My only problem is that I am not sure what libraries to choose to develop this new application with and how exactly to go about GUI integration.
Looking at Xith3D, it seems like a very nice scenegraph-based API, but I am not sure I want/need a scenebased API for my application. What are the benefits of scenegraphing? What applications is scenegraphing especially good for? One of the main things that pulls me to Xith is it’s integration of Swing/SWT/AWT?, using the UI classes as a layer on top of openGL renderings. Now, I could overide the paint methods of the various components i wish to display, so that my buttons and such would blend into the theme set in the opengl renderings. Does this Swing GUI implementation incur much of a performance hit? What are the limitations of this method?
On the other hand…
…the very simple structure of the LWJGL libraries is very impressive, and looking at Alien Flux, looks like it can deliver on performance. I would really like to use these libs but have a question as to the use of GUI elements - how hard is it to incorporate elements like those buttons in Alien Flux? I have just read of the Spagetti libs and understand that I can use them with LWJGL to implement (if i had the skills) something similar to the menus in Alien Flux? Would it at all be possible to develop an ultra simple example to show a custom hardware accelerated button in a blank openGL environment?
Let me know what you think?
Many thanks,
Antony Ribot
The system I am developing is a type of simulation / learning environment - I will begin to draw out some designs in the next week.