Hi, i'm trying the second approach of having a FBO greater always. Is there an easy way to set a FBO and copy only a portion of it back to memory? Using FBO, an image to control the transfer to main memory and the requisite of having image copy the pixels in a specified location (given pointer), i haven't achieve it. If i set the image size to 2048x2048 (for example) so that the FBO takes this size, and then (before a viewer.frame call) set the viewport to the required size, image.readPixels allocates its own buffer, because the sizes differ. The result is a new buffer controlled by the image object of the viewport size and my buffer untouched.
Any ideas? Thanks, Himar.
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org