[osg-users] Pixel Buffer Object and Texture2D

2010-09-24 Thread Anthony Face
Hi, I tried many thing with out success and i would like to close this step. I use one texture to set a video on the back-screen. This is already made but with out PBO. How can i use PBO to Write in using memcpy? it is usefull, i saw it on openGL pure but i wouldn't like to use it directly. I

Re: [osg-users] Pixel Buffer Object and Texture2D

2010-09-24 Thread Robert Osfield
Hi Anthony, It does sound like you might be over-complicating things. The OSG natively supports copying image data to textures using PixelBufferObject, all you need to do is assign an osg::PixelBufferObject to an osg::Image, then assign this osg::Image to the texture you want, and the OSG will