Jump to content
  • Advertisement
  • entries
    316
  • comments
    485
  • views
    324970

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

Sign in to follow this  
Jason Z

344 views

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!!!
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!