I'm not the author of the osgcomputeshaders example so can't off the
top of my head put your code snippet in context. If the text2D is a
texture that is being written to then it won't have an osg::Image
assigned to it, the data will just reside on the GPU. You need to use
a post or final draw callback with a glRealPixels or
osg::Image::readPixels() if you want to retrieve that data from the
On 15 October 2016 at 17:58, liu ming <81792...@qq.com> wrote:
> 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 :
> but it do not work,Could somebody give some suggestions ?
> Thank you!
> Read this topic online here:
> osg-users mailing list
osg-users mailing list