Jump to content
  • Advertisement

Archived

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

Bouga

MipMap levels

This topic is 5281 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, when creating mipmaps in OpenGL with gluBuild2DMipmaps, does OpenGL create mipmaps of the size the texture is and smaller, or does it create all levels of mipmaps - the smaller and the bigger ones?

Share this post


Link to post
Share on other sites
Advertisement
You supply the base level, and gluBuild2DMipmaps builds all the missing mipmap levels needed to form a complete set of mipmaps. The base level is always the larges image of all levels, so the missing levels are always smaller (halved for each level all the way down to 1x1).

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!