Hi Robert -- I'm in the middle of writing an environment variable reference,
and I'm a little confused by OSG_MAX_TEXTURE_SIZE -- what its for, when it
has an effect, etc.
 
As near as I can tell, it overrides the _maxTextureSize member variable for
both Texture and Font, but only if its smaller than the current value
(which, I assume, comes from OpenGL). However, _maxTextureSize itself only
appears to be referenced if non-power of 2 textures are not available, in
which case it's used in the computation to determine the maximum power of 2
dimension for the texture during resize.
 
Am I missing something here? Why would a user ever set this?
 
Thanks. Any additional info will help make this a better document. :-)
 
Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com <http://www.skew-matrix.com/> 
303 859 9466
 
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to