🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

GUI in the scene graph??!!??!!

Published July 26, 2006
Advertisement
It sounds pretty crazy, but putting the GUI into the scene graph was actually one of the best changes I have ever made to the display system. All of the work and testing that I have done on my scenegraph object rendering code is now brought to bear on the GUI, which had previously been used as a single object with non-scene graph sub-objects like buttons and sliders.

Even with decomposing the sub-objects further, I have made a nice improvement in performance. The application that I am testing is now running at about 170 fps on a 2.8 GHz P4 with a goForce 5200 fx as the video card. I still have to test it out on a better video card, but if a low end card like this can still get good performance then I am not too worried about it.


I also looked into some ray tracing algorithms, and found a good set of tutorials at devmaster.net. Ray tracing is a very interesting area of study, but I don't think I will be pursuing it very far. I have spent the last 3-4 years working on my rasterization engine, and it would be a huge loss of time and effort to make a switch to ray tracing. However, my engine is flexible enough that I could create a 'renderview' that uses raytracing instead of rasterization.

Maybe I'll do it to play around a bit, but I don't really see any way of making it run in realtime with any sufficient quality right now.


So now I have to decide what is the next area of research that I will be looking into. I will likely write another article on the new topic, so if there are any requests out there I am open to suggestions!!!
Previous Entry More GUI fun
0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement