Maybe your driver does not support FBOS...And OSG "fallback" to imagecopy from framebuffer ----- Original Message ----- From: Steven Powers To: osg-users@lists.openscenegraph.org Sent: Tuesday, July 31, 2007 12:56 AM Subject: [osg-users] Problems with FRAME_BUFFER_OBJECT
I'm using a cameraNode to render to a FRAME_BUFFER_OBJECT to pull the depth buffer from an overhead camera. _camera->setRenderTargetImplementation(osg::CameraNode::FRAME_BUFFER_OBJECT); _camera->attach(osg::CameraNode::COLOR_BUFFER,_dBuffer.get()); _camera->setRenderOrder(osg::CameraNode::PRE_RENDER); When I use this setup with a SceneView I get problems when the viewport of the cameraNode is larger than the render surface. More specifically, I get trash data for pixels that exist outside of the render surface. Is there a fix for this? I'm using OSG 1.2 ------------------------------------------------------------------------------ _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org