Hi all,

Hum, it seems my case is a bit more complex than expected. The camera I want to 
read the buffer from is a custom created camera:


Code:
    // Curvatures camera.
    m_curvaturesCamera = new osg::Camera();
    m_curvaturesCamera->setClearMask(GL_DEPTH_BUFFER_BIT); // The camera only 
clears the depth buffer before rendering (not the color buffer).
    m_curvaturesCamera->setRenderOrder(osg::Camera::PRE_RENDER);
    m_curvaturesCamera->setReferenceFrame(osg::Camera::RELATIVE_RF);




I have had a look at osg::Image, but it does not seem very clear which function 
to use and above all, how I shall indicate  to the osg::image which camera it 
needs to read from.

Any idea?

Thank you!

Cheers,

Antoine.[/code]

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





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to