Hi Robert, It works now with my example on windows. But i have a problem with my application, i am currently playing with Texture2D::SubloadCallback to optimize my image data transfer, and also avoid double buffering when using a drawing thread. There is a small bug with your change and SubloadCallback, the texture object is destroy at each call of Texture2D::apply because the modified count is never updated when using SubloadCallback. I have made a small fix to avoid that, see attachement.
Fabien -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Robert Osfield Sent: mardi 8 décembre 2009 15:27 To: OpenSceneGraph Users Subject: Re: [osg-users] Please test svn/trunk in prep for 2.9.6 dev release Hi Fabien, On Tue, Dec 8, 2009 at 9:11 AM, Robert Osfield <[email protected]> wrote: > I have been thinking about the issue of whether to force the > reassignment of a new texture object automatically when the size > changes or leave it just rescale, using gluScale, as it does right > now, and I'm moving towards getting osg::Texture to assign a new > texture object when the size changes. This would avoid the need for > an expensive scale operation, and also enable the support under GLES > and GL3 to work as neither have GLU. I have gone ahead and implemented this for Texture2D, it's now checked into svn/trunk. I've tested against you test example. Could you please do an svn update and test you application and let me know how you get on. Cheers, Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________
Texture2D.cpp
Description: Texture2D.cpp
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

