Hi Oliver, The rendering is done in the OSG's rendering back end, which is populated by the cull traversal. The CameraNode just controls how this rendering back end is set up. The place in particular where all the RTT stuff happens is in src/osgUtil/RenderStage.cpp.
For read back the thing to do is attach an osg::Image. I recall a use having a problem with this for z buffer read back a while back, I don't recall enough what the resolution if any was. Robert. On 11/2/06, Oliver Kutter <[EMAIL PROTECTED]> wrote:
Hi, I want to do some buffer read back, e.g. read out z-buffer values or texture values from fbo render targets. How can I do this? My idea was to inherit from osg::CameraNode and implement an own CameraNode. But I can't find out where the rendering is done. When and where is the rendering of the camera done? Or can I do it anyway else? regards, Oliver _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
