multiple cameras view

Started by
1 comment, last by thomasggiusepe 22 years, 5 months ago
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
Advertisement
Use only one "camera" object, but multiple cam-matrices.

(Atleast that''s how i do it.)

/Ekas

______________________________Only dead fish go with the main-stream.
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.

This topic is closed to new replies.

Advertisement