Hi Thomas, On Wed, Dec 1, 2010 at 11:10 PM, Thomas Hogarth <[email protected]> wrote: > I did want to raise one issue with the Texture objects being released from > my NPOT subloadcallback, this is also effecting osgArt so I know others will > be looking for a fix. If you check out this post > http://www.mail-archive.com/[email protected]/msg44349.html > I found the problem, around line 157 of texture2d.cpp but need the > subloadcallback to be able to override the release if the texture and image > are different sizes. i.e. I don't want them to match sizes, my image is > always smaller then the texture space. You added the generateTextureObject > function to the subloadcallback so perhaps a shouldReleaseTextureObject > could be added also?
This sounds rather too hacky workaround to what should probably be amendments elsewhere. Could you modify one of the existing OSG examples or put together a small test program that illustrates the problem so that I and others can try it out. Cheers, Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

