[osg-users] Questions about PixelBufferObject

2008-06-05 Thread Chris Best
Quick question... Based on digging through the source, it seems all PixelBufferObjects are currently automatically set to GL_PIXEL_UNPACK_BUFFER_ARB by default and there's no way to change this to GL_PIXEL_PACK_BUFFER_ARB, correct? Meaning they can only be used for writing to the framebuffer, not

Re: [osg-users] Questions about PixelBufferObject

2008-06-05 Thread Robert Osfield
Hi Chris, The present version of PixelBufferObject only supports copying from main memory to GPU, not back. For the recent osgscreencapture example use PBO's but I had to implement the PBO setup myself since the core osg::PixelBufferObject didn't support it. I haven't had a chance to refactor

Re: [osg-users] Questions about PixelBufferObject

2008-06-05 Thread Chris Best
Robert, Thanks for the reply. I felt like a complete heel when I saw the osgscreencapture example thread pop up right after I sent my message. Sorry about that. Thanks for the advice on getting PBOs to work efficiently. Now I don't have any excuse not to do the work. ;) -Chris B On Thu, Jun 5,