> you can detect the current camera from the osg::RenderInfo& passed to the
> callback. There is a renderInfo.getCurrentCamera() method

Sorry I'm slow to reply, weekend camping got in the way of code
development ;-)

Your suggestion works great, thanks,
Simon

--
#ifdef OCULUS_RIFT
                if (renderInfo.getCurrentCamera()->getName() == "LeftRTT")
#endif
                {
                ...
                }
--

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

Reply via email to