Hi Robert,
I tested 2.8.2-rc1 with Texture2D and NPOT hint false and it is fixed.

Thanks,
Pat


Robert Osfield wrote:
Hi Patrick,

Could you try the OpenSceneGraph-2.8.2-rc1  as one of the bug fixes
was related to mipmapping and non power of two textures.

Robert.

On Tue, Jun 23, 2009 at 9:42 PM, Patrick Shinpaugh<[email protected]> wrote:
Hi,
I am trying to use non power of two textures with OpenSceneGraph-2.8.0.
Loading them into Texture2D and allowing them to be converted to power of
two works fine - converts from 1024x683 to 1024x512 and displays as
expected. When I set setResizeNonPowerOfTwoHint(false) then the texture no
longer displays and if I replace Texture2D with TextureRectangle the texture
does not display. I am using a Nvidia GeForce 9500 with both
GL_ARB_texture_rectangle and GL_NV_texture_rectangle so I assume it should
work.

Any ideas?

Thanks,
Pat

--
Patrick Shinpaugh
Virginia Tech
UVAG System Administrator/Programmer
540-231-2054

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


--
Patrick Shinpaugh
Virginia Tech
UVAG System Administrator/Programmer
540-231-2054

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to