Yep, now I can use the full camera resolution of 1024x768.

I knew OpenGL 2.x could handle non-power of two textures ... didn't
realize it was possible to circumvent the resize.

Thanks much Jason.  Kudos!

On 3/3/10, Jason Daly <jd...@ist.ucf.edu> wrote:
>
> Both Texture2D and TextureRectangle can work with non-power of two
> textures, if your graphics hardware supports it.  Every OpenGL
> 2.0-compatible graphics card should handle this without a problem.
>
> The simplest thing to do is to call setResizeNonPowerOfTwoHint(false) on your
> Texture2D object, and all should be well.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to