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 do the rest for you. The osg::ImageStream class which subclasses from osg::Image by defaults assigns a PBO, so all the video related plugins will automatically use PBO for copy data from main member to the GPU.
Robert. On Fri, Sep 24, 2010 at 8:12 AM, Anthony Face <[email protected]> wrote: > 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 found the osgExemple for read PBO but not to Write it... > > Someone have a such code example or can help me? > > thanks you in advance. > > > > > > Thank you! > > Cheers, > Anthony > > ------------------------ > (http://www.hordes.fr?ref=litllechicken) > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=32005#32005 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

