multiple cameras view
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
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.
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement