PDA

View Full Version : Subtextures and MipMapping



yossi
05-20-2002, 10:27 PM
Hello guys,
Do I have to update a mipmapped texture (calling again gluBuild2DMipmaps) when I replace part of it by a subtexture or is it done automatically by OpenGL?
Many thanks,
Yossi

Bob
05-20-2002, 10:47 PM
An update to a mipmap-level will affect that level only. You need to update all levels yourself, unless you use the extension SGIS_generate_mipmap (http://oss.sgi.com/projects/ogl-sample/registry/SGIS/generate_mipmap.txt) , which will update all levels automatically.