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_OBJ
ECT);
 
_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
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to