I am new to openscengraph, help!!!!!!

How can translate OSG 1.2 to OSG 2.8, the following code???:

osg::ref_ptr<osgProducer::Viewer> m_pViewer;

for (unsigned int i=0;i<m_pViewer->getSceneHandlerList().size();i++)
          
m_pViewer->getSceneHandlerList().at(i).get()->getSceneView()->setComputeStereoMatricesCallback(new
CustomComputeStereoMatricesCallback(this->getCurrentCamera(),i));


getCurrentCamera() is a function of my class.

Thanks

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

Reply via email to