> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Robert Osfield
> 
> The OSG_MAX_TEXTURE_SIZE is useful for making the OSG build 
> smaller texture objects, this can help performance 
> diagnostics i.e. set it to
> 32 and check to see if the framerate improves, if it does 
> then its likely that you are limited by total texture object 
> size and need to optimize this.

Hm. So, if I have this set to 32, and I load a 2kx2k image and try to use it
as a texture, OSG will resample it so that the largest OpenGL MIP level will
be 32x32?

If so, yes, this is an excellent diagnostic tool. I didn't get this from the
code though; it appeared that its use was somewhat restricted to certain
cases and conditions.

Thanks for the info.
   -Paul

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

Reply via email to