Hi Martin, you can look at the osgprerender example when use_image is set. You attach an image to the camera and read the image data in a postdraw callback
-Fred ----- "Martin Aasen" a écrit : > Hi all! > > I am currently rendering to a texture by attaching it to a camera as > Camera::COLOR_BUFFER. > > Now I want to read data back to the CPU from this texture. I have > looked at the examples and examined the forum, but I still don't > understand how to do this. > > Can anyone please point me to the information I need or provide some > code examples to get me started? > > Cheers, > Martin > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=28741#28741 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

