View Full Version : Stereo + Orthographic Projection

11-18-2004, 01:15 PM
I've been asked to convert a visualization program that I've written to be compatible with sterographic viewing. I've looked at a few examples and they all use glFrustrum rather than glOrtho. Is it possible to use glOrtho with Stereo?

Any links to help me get started?

I was told I'd only have to add 3 lines but from what I've seen it looks quite a bit more complicated.


11-18-2004, 04:57 PM
It's not possible to do stereo correctly with ortho. You should use glFrustum.

To do this correctly on the desktop you need two asymmetric frusta, one for each eye and a slight translate on the modelview for each eye (on the eye side so before all else).

It's not that difficult but you have to understand the concepts to get it right.

11-19-2004, 05:51 AM
Thanks, that was what I needed to hear.