Jump to content
  • Advertisement


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


multiple cameras view

This topic is 6196 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
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

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!