Hi, I am learning the osg example "osgcomputeshaders",I have a problem that how can I save the image(the result of a computation) from shaders to my folder ? I use the code :
Code: while(!viewer.done()) { viewer.frame(); osgDB::writeImageFile(*(tex2D->getImage(0)),"abc.jpg"); } but it do not work,Could somebody give some suggestions ? Thank you! Cheers, liu ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69019#69019 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org