Slide 14
Slide 14 text
Javier Gonzalez-Sanchez | SER332 | Spring 2018 | 14
jgs
Mipmaps
gluBuild2DMipmaps(GLenum target, GLint internalFormat,
GLsizei width, GLsizei height,
GLenum format, GLenum type, const void * data);
gluBuild2DMipmaps(GL_TEXTURE_2D, 3,
width, height,
GL_BGR_EXT, GL_UNSIGNED_BYTE, an_array);
§ Create mipmaps automatically
§ Mipmaps are pre-calculated, optimized sequences of images, each of
which is a progressively lower resolution representation of the same
image.