Trilinear filtering

Does anyone have an idea of how to get
trilinear filtering in OpenGL for the mac
Im using an ATI Nexus 128 & Voodoo 5500 PCI.

When you set up your texture use

glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MAG_FILTER,GL_LINEAR_MIPMAP_LINEAR);
glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MIN_FILTER,GL_LINEAR_MIPMAP_LINEAR);

and then set up the correct mipmap image.

See starting on page 338 of the Red book second edition-“Multiple Levels of Detail” is the section name.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.