Hi,

If you need to specify your own stereo matrices (ie to implement head tracking), you should have a look at osgUtil::SceneView::ComputeStereoMatricesCallback (http://www.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00643.html). It is, I think, the easiest way to specify your own view and projection matrices for each eye.

Cheers,

jcl

Mukund Keshav wrote:
Well, we are using a 120Hz stereo projector and the system has an Nvidia Quadro 
card. So, its a typical active stereo setup.

So, the user would have to wear LCD shutter glasses to view the stereo. We did 
try the built in stereo provided by OSG.

Code:

osg::DisplaySettings::instance()->setStereo(true);
        
osg::DisplaySettings::instance()->setStereoMode(osg::DisplaySettings::AQUAD_BUFFER
 );



But since you had suggested us explicitly doing it using two cameras, i wanted 
to know how i could do it.

Thanks,
Mukund

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=37764#37764





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

--
Jean-Christophe Lombardo       Espace Immersif           DREAM / INRIA
2004 route des Lucioles - BP93 - 06902 Sophia Antipolis Cedex - France
http://www.inria.fr/sophia/dream      C013
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to