Re: [Plib-devel] off-axis stereo projection with plib
Brought to you by:
sjbaker
From: steve <sjb...@ai...> - 2006-08-14 22:50:10
|
Bram Stolk wrote: > ssgHello(ALL) > > > I'm trying to add a stereo option to a PLIB application. > Now, I want to do the stereo properly. > This means not using the 'toe-in' method. No! Just render the left eye, move the camera about 6cm to the right and render the right eye. Don't change anything else! You don't need to do anything to PLIB - I have written dozens of applications that do stereo this way - both with LCD shutter glasses and Red/Cyan glasses. Just clear the screen - then call ssgCullAndDraw twice with appropriate switching of buffers or colour masks between the two calls. That is assuming you are using glasses with screens that are in the same plane. If you are using some hideously expensive pair of head-mounted displays with the two displays pointing off in different directions then you need more complex advice (which I can give you - because we work with these things all the time where I work). A modern example can be found in http:botZilla.sf.net which has a red/cyan glasses option. |