Hi J.P, Thanks for the debugging and the fix in PixelBufferObject constructor. The fix is now checked in along with the same fix to PixelDataBufferObject.
On Wed, Oct 7, 2009 at 1:23 PM, J.P. Delport <[email protected]> wrote: > If you compare this with TextureRectangle::applyTexImage_subload you will > see that dataPtr is set and used there. Great detective work. I've just reviewed the code and I had amended applTexImage_load() correctly, but alas missed making these changes to the similar code found in applyTexImage_subload. > So, osgmovie --texture2D now still gives corrupted images, even with the > BufferObject fix applied. It used to work because the binding failed. > > Hope I explained better. Perfect explanation, lead me straight to the solution of the problem. I've now applied the appropriate changes to applyTexImage_subload and tatda' osgmovie --texture2D now woks :-) Many thanks for you help testing, debugging and fixing this problem. Cheers, Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

