View Full Version : anisotropic filtering

06-26-2000, 08:40 PM
Hi @ll!

I know that I have to use an Extension, if I want to use anisitropic filtering in my OpenGL applications. I added the new tokens in a header file, but how can I activate and use the filtering?
How do I have to set it up, so that it works for me? A short piece of sample code would be very nice!


Serge K
06-26-2000, 11:30 PM
"The extension permits the OpenGL application to specify on a per-texture object basis the maximum degree of anisotropy to account for in texture filtering."

int degree_of_anisotropy = 1; // default : bi/tri-linear

degree_of_anisotropy = 2; // - for anisotropic filtering.

glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MAX_ANISOTROPY_EXT, degree_of_anisotropy );

06-27-2000, 07:24 AM
Thank you!