Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

chicho

Bilinear and Trilinear filters for mipmapping

This topic is 5988 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I''m in doubt with the bilinear and trilinear filters in opengl. Can I suposse that the bilinear filter is GL_LINEAR and trilinear filter is GL_LINEAR_MIPMAP_LINEAR? Thanks

Share this post


Link to post
Share on other sites
Advertisement
Yes, this is what is says in the Red book.

Bilinear filtering:

- GL_TEXTURE_MAG_FILTER = GL_LINEAR
- GL_TEXTURE_MIN_FILTER = GL_LINEAR

Trilinear filtering:

- GL_TEXTURE_MAG_FILTER = GL_LINEAR
- GL_TEXTURE_MIN_FILTER = GL_LINEAR_MIPMAP_LINEAR

Share this post


Link to post
Share on other sites
I don''t think thats what he wanted felonius...

For Bilinear filtering ( with mip-mapping ) use:

GL_TEXTURE_MIN_FILTER = GL_LINEAR
GL_TEXTURE_MAG_FILTER = GL_LINEAR_MIPMAP_NEAREST



Death of one is a tragedy, death of a million is just a statistic.

Share this post


Link to post
Share on other sites
Oh yeah, my bad. I am just so used to using bilinear filtering only when I do not use mipmaps.

[edited by - felonius on May 31, 2002 12:34:51 PM]

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!