• Advertisement

Archived

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

multiple cameras view

This topic is 6017 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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

  • Advertisement