On Wed, Jun 3, 2009 at 1:46 PM, Wojciech Lewandowski <[email protected]> wrote: > Ok I will try to add this. I have only one problem with selecting proper > place to add this. Looks like the right place should be > Texture::applyTexParams but there is a catch: I need to compute number of > levels for complete mipmap chain and compare it with actual number of > mipmaps. I am not sure if all neccessary ingredients are available in > applyTexParams. Other approach is to always set GL_TEXTURE_MAX_LEVEL after > all existing mipmaps were uploaded but this may be non-elegant solution > becaue all TexParams are set in applyTexParams. Which option you prefer ?
I don't really have an opinion either way as I haven't looked deeply into this topic. Robert. _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
