Sign in to follow this  
maxest

Using only selected mipmaps from the chain

Recommended Posts

I want to use only selected mipmaps. More specifically, I want to use only 2 first mips from the chain. So I thought about quite obvious solution - generating only 2 mipmaps. But *how* to do that? gluBuild2DMipmaps always generate a full chain, the same as GL_GENERATE_MIPMAP flag. So the only solution is to manually call glTexImage and manually rescaling every texture to fit mipmap size? Any better ideas?

Share this post


Link to post
Share on other sites
If *they finally implement that function correctly, why not? ;)

*
NVidia, on GF8400 and GF6600 mipmaps are not regenerated when going to full-screen from minimized mode (I mean when OGL loses it's "device") and it has to be done manually. Quite annoying since anything else doesnt need to be recreated.
ATI - afair it simply doesn't work as it should. Maybe current drivers work well now.

Share this post


Link to post
Share on other sites

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