How to set Two viewport in OpenGL?
Well look at the code anyway, one projector shows the red bit one shows the green bit. Just ignore all the overlay stuff.
The way I would do it is to model the sitation on reality, you have two eyes seperated horizontally by a short distance, so use gluLookAt(right eye, reference point) for the left projecter and gluLookAt(left eye, reference point) for the right projecter.
You can just change the camera angle and redraw on the other side of the screen you wont need to create two viewports. You could though create two GLUT windows and have one on each screen of the projectors.
The way I would do it is to model the sitation on reality, you have two eyes seperated horizontally by a short distance, so use gluLookAt(right eye, reference point) for the left projecter and gluLookAt(left eye, reference point) for the right projecter.
You can just change the camera angle and redraw on the other side of the screen you wont need to create two viewports. You could though create two GLUT windows and have one on each screen of the projectors.
Sir, e^iπ + 1 = 0, hence God exists; reply!
nonono, I must use 2 projectors, a passive stereographics system
i am looking for codes for making 2 viewing screen on normal computer
i am looking for codes for making 2 viewing screen on normal computer
Quote:You could though create two GLUT windows and have one on each screen of the projectorsDid you try that?
Sir, e^iπ + 1 = 0, hence God exists; reply!
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Viewport aligned billboarding | Zoldar256 | 1 | 2,732 |
Jul 12, 2003 04:03 PM Last Post: Feanor |
|

