Neals Shnyder
04-29-2001, 01:31 AM
Hello there,
currently I pass my compressed texture to opengl through
glCompressedTexImage2DARB for 4 mipmapping depths, but if I enable
mipmapping through glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER,
GL_LINEAR_MIPMAP_NEAREST ), I have only white faces that aren't textured. If
I set the min filter to GL_LINEAR or GL_NEAREST it works fine, except that I
don't have mipmaps. If I would use gluBuild2DMipmaps(...)m the mipmaps wouldn't be compressed, or am I wrong? Any other ideas how to create compressed mipmaps?
thx,
Nils
currently I pass my compressed texture to opengl through
glCompressedTexImage2DARB for 4 mipmapping depths, but if I enable
mipmapping through glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER,
GL_LINEAR_MIPMAP_NEAREST ), I have only white faces that aren't textured. If
I set the min filter to GL_LINEAR or GL_NEAREST it works fine, except that I
don't have mipmaps. If I would use gluBuild2DMipmaps(...)m the mipmaps wouldn't be compressed, or am I wrong? Any other ideas how to create compressed mipmaps?
thx,
Nils