[osg-users] Get data from color buffer

2012-05-25 Thread Nicolas Mads
Hi everyone! I'm trying to retrieve data from the color buffer at each rendered frame. I'm new on OSG and everything I tried didn't work as expected. I use a composite viewer, and my example is about to retrieve the color buffer from the first view of this composite viewer. The first thing I

Re: [osg-users] Get data from color buffer

2012-05-25 Thread Jean-Sébastien Guay
Hello Nicolas, The second thing I tried is to use a ScreenCaptureHandler. What I did worked for each frame, but the image is directly stored as an image on the hard drive. Is it possible to save it as an osg::Image? I think ScreenCaptureHandler will do what you want. It has support for