Hi James. On 4 January 2017 at 17:20, James Turner <[email protected]> wrote: > Hi, > > I have just been surprised to learn that Camera::resizeAttachments doesn’t > handle TextureRectangle. Would a patch to change this behaviour be accepted? > Or is it intentional for some reason?
I am a bit surprised as well, just looked at the code and it only all the other main texture types... Yes a patch would be accepted :-) > (Yes the texture coordinates have to be adjusted for a rectangular texture > but I still prefer that over using a 2D texture with considerable wasted > space) There is no reason why there need be waster space with a Texture2D, all modern cards will support non power of two textures, you just need to set the Texture's ResizeNonPowerOfTwo to false to make it clear that texture can be a non power of two. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

