Creating a small window in a scene?

Started by
1 comment, last by CommanderXXL 22 years, 4 months ago
I''m currently working on some sort of window in window effect in my game. I try to create a second scene (Let''s say the view of one of my teammates or maybe the view of a rocket) and i want to render the new scene in a small protion of the screen. I have no problem of rendering the second scene with completly different vertex and index buffers, but how can i draw this to my screen? Thanks for help By CommanderXXL
---------------------------- By CommanderXXLCommander@bloomm.de----------------------------
Advertisement
Probably the best method is to render your inset scene to a texture (as opposed to the screen) and then display this texture on, say, a screen aligned quad as an overlay on your main screen.
change the viewport and render the "other" scene in that viewport.
Author, "Real Time Rendering Tricks and Techniques in DirectX", "Focus on Curves and Surfaces", A third book on advanced lighting and materials

This topic is closed to new replies.

Advertisement