2013/6/11 Robert Osfield <robert.osfi...@gmail.com> > You can use osg::PixelBufferObject to assist with transferring data to and > from the GPU. The > OpenSceneGraph/osgscreencapture example illustrates the use of PBO's > including buffering. >
Hmm, strange. The osgscreencapture sample does not use the osg::PixelBufferObject class at all. For example it creates the pbo's like this: if (pbo==0) { ext->glGenBuffers(1, &pbo); ext->glBindBuffer(GL_PIXEL_PACK_BUFFER_ARB, pbo); ext->glBufferData(GL_PIXEL_PACK_BUFFER_ARB, image->getTotalSizeInBytes(), 0, GL_STREAM_READ); Is there any particular reason why it's done this way, instead of relying on the osg PixelBufferObject? Christian
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org