Re: [osg-users] using image data on CPU side, from GLSL imageStore().

2016-07-07 Thread Florian Castellane
Hi Daniel, Here's a hint to get you started (haven't done that myself just yet) You may need to render your data into a texture, then get that texture from the GPU to the CPU using Code: glGetTexImage . Hope this helps. Best regards, Florian -- Read this topic online here:

[osg-users] using image data on CPU side, from GLSL imageStore().

2016-07-07 Thread Daniel Lazaroff
Greetings, I am attempting to retrieve data from an image being written to in a geometry shader. The image contains unsigned ints that are the result of calculations done in the geometry shader (stored using the GLSL imageAtomicMin()). I setup an osg::Image and a osg::Texture1D in a similar