Hi Paul,

Hi Robert -- I've got a client with some models that use NPOT textures. Just loading the models and rendering them causes OSG to resize the textures to powers of 2, even though NPOT is supported on their hardware. We need a visitor that will walk the scene graph and call setResizeNonPowerOfTwoHint(false) on each texture. I was wondering if there was a larger need for such functionality? And if so, would this fit in the Optimizer as part of the OPTIMIZE_TEXTURE_SETTINGS flag?

This precise functionality was on my todo list of items to do when I have a bit of free time. If you get to it first (or if you can get funding for it) be my guest, but otherwise I think I would have gotten to it in the next 2 months or so.

J-S
--
______________________________________________________
Jean-Sebastien Guay    [email protected]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to