03/14/2002
15-462 Graphics I
24
Mipmapping in OpenGL
•gluBuild2DMipmaps(GL_TEXTURE_2D, components,      width, height, format, type, data)
•This will generate all the mipmaps using gluScaleImage
•glTexParameterf(GL_TEXTURE_2D,           GL_TEXTURE_MIN_FILTER,           GL_NEAREST_MIPMAP_NEAREST)
–This will tell GL to use the mipmaps for the texture