Archived

This topic is now archived and is closed to further replies.

thomasggiusepe

multiple cameras view

Recommended Posts

Hi there, I am developing a virtual environment, where I would like to put 2 cameras view in the same scenario. Someone has yet worked around this issue. I know that it is possible to implemente in Java3D, but in OGL I am not sure. Thnx in advance. Best wishes ...§:0). Thomas

Share this post


Link to post
Share on other sites
If you mean split-screen:

1) Call glViewport() to set where on the screen you want the first camera''s image to be.

2) Render your scene.

3) Reset all of your matrices.

4) Call glViewport() again to set the second camera''s image''s position.

5) Render your scene again.

This should come out with two camera views, as I understand it.

Share this post


Link to post
Share on other sites