🎉 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!

Virtualized Scenes and Rendering

Published June 24, 2009
Advertisement

Virtualized Scenes and Rendering

A while back I was posting frequently about all of the progress that I was making with my Lua scripting system and exposing my engine to the script world (see here). I ended up working on FeedBack and my D3D11 renderer for a while, and slowed down a bit on the scripting side of things. However, near the end of that period I had actually just wrapped up a few new engine objects which I wrapped to be available in scripts as well: 'Cameras' and 'Scenes'.

As luck would have it, I have also been working towards virtualizing my windowing system based on another post regarding multiple simultaneous window rendering (here). This work eventually got me to the point that I developed an abstract 'RenderWindow' that could be subclassed for whatever type of windowing toolkit that could provide a window handle (such as Qt, wxWidgets, MFC, or Win32 (see here again)). This worked out quite well, and I decided to add another implementation - the virtual window.

This more or less is represented by a few abstractions in my engine, and a render view is used to render the image in the same fashion that the camera and scene interfaces work. The end result is that it is now pretty easy to render to pretty much anything in the 3D scene in addition to exterior windows. Here's a development shot from a sample test scene where the text on the left window is updating live, and the tusk model on the right is rotating, all the while the actual camera that is viewing the entire scene is also rotating:



I have a few ideas of what to do with the new technology, but I'll be keeping those to myself for a few more weeks (that thesis is still taking up a bunch of my time...). Of course, once I get around to using it I'll be sure to post it here for your 'peer review' [grin].
0 likes 4 comments

Comments

undead
Links to other posts don't seem to work.
June 25, 2009 03:01 AM
Jason Z
I'm not sure why the links aren't working. I tried to re-copy the addresses from the pages that display them, so I don't know what is going on.

Is there some trick to linking from one of the blog pages??? Does anyone have any clues???
June 25, 2009 08:18 PM
HellRaiZer
I think you have to include the reply_id=XXXXXX part of the post. E.g. all links right now seem to point to the journal itself (http://www.gamedev.net/community/forums/mod/journal/journal.asp?jn=363003?). Btw, you don't need the last '?'. Change those to (e.g.) http://www.gamedev.net/community/forums/mod/journal/journal.asp?jn=363003&reply_id=3473003.

(I hope the last link works when I press Reply, otherwise ignore me :) )

June 26, 2009 12:21 AM
Jason Z
Links are now fixed - thanks for the help guys!
July 05, 2009 08:17 AM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement