Hi. I have osg::Texture that is attached to camera, it contains a rendered scene (deferred rendering). I want to save it to a PNG file. I tried to use osg::Texture::getImage(), but the resulting osg::Image seems to be invalid, because osgDB::writeImageFile() crashes with it. What's the correct way to convert Texture to Image? Thanks.
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

