Sign in to follow this  

GL_SGIS_generate_mipmap + glTexSubImage2D

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

I am having trouble getting automatic mipmap generation working when using glTexSubImage2D; I initially get nice mipmaps when allocting but when I replace data with glTexSubImage2D the levels from 1 to N are lost. The SGI extension spec looks ancient so I was hoping someone here has experience with automatic mipmap geneation when data is re-downloaded multiple times?

Share this post


Link to post
Share on other sites
I am using the lastest NVIDIA driver (178.24) on Vista 64 bit - I am able to test this on a Linux distribution later this week; but I am kind of also asking since the *spec* at least the SGI extension is very unclear on what exactly will trigger mipmap generation if new data is downloaded (doesnt even mention downloading new data, just something about touching *edge pixels*)


The OpenGL 3.0 Specification refers to the SGI extension on page 431 but again doesnt clarify which API calls should be made for the mipmaps to be generated.

Share this post


Link to post
Share on other sites

This topic is 3343 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this