Stereo + Orthographic Projection

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.

Thanks

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.

Thanks, that was what I needed to hear.