Jump to content
  • Advertisement


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


3D Mipmaps

This topic is 5300 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

Just started playing with 3d textures. Got everything working using GLee to access GL_TEXTURE_3D and supporting commands, but cannot work out how to obtain gluBuild3DMipmaps. error C3861: ''gluBuild3DMipmaps'': identifier not found, even with argument-dependent lookup How do I gain access the the latest glu functions? Cheers.

Share this post

Link to post
Share on other sites
You don''t. GLU is a separate library and unfortunately Microsoft doesn''t provide an even remotely up to date version. You *might* be able to use Mesa, I am not sure though. However, if your graphics card supports 3D textures, then it will also surely support the auto mip map generation capabilities of newer versions of opengl.

I believe it is something like:

Call this after you bind the texture object but before you submit the texel data. BTW: I am going from memory, so it might be best to check out the opengl specs. Also, this method is FASTER than gluBuild[x]DMipmaps, and it automatically updates mipmap levels even when you perform a texsubimage

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!