How do I render to mu;ltiple views

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
kaboraa
Posts: 10
Joined: Mon Nov 15, 2004 9:52 am

How do I render to mu;ltiple views

Post by kaboraa »

Hi

I want to render two diffrernt camera scene. One scene render at the top half of the screen whiles the other scene takes the bottom half. Is there any function that I can use to render to a specific area of the screen
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Post by niko »

Just set the viewport before rendering your scene. Call IVideoDriver::setViewPort for this. If you want to render another viewport, do this again :)
Post Reply