Sign in to follow this  
Aqua Costa

Texture clipmaps

Recommended Posts

Hi, I'm trying to fully understand how texture clipmapping works, but I have some questions.

First what I know:
-There is a stack of n textures of size x, where n is found like this: (originalTextureWidth / pow(2.0, n)) = x);
-So the first texture in the stack is the most detailed and just contains data of a small area around the viewer point, and the last texture is low detailed and contains data of the complete original texture dowsampled.
-When user moves every texture except the lower detailed one(because if already contains complete data) is updated using toroidal addressing.

And now the questions:

1 - How is each texture created? Do I let hardware generate mipmaps?

2 - Are the stack textures updated in the CPU or GPU?

3 - When updating finer levels I read I should sample a coaser level and upsample it, but if I do this wont I loose detail?

Thanks in advance

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