Sign in to follow this  

How To Compress Model Texture Into One

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

Take input textures, put them in one sufficiently large texture using the rectangle packing algorithm of your choice. This implicitly defines texture coordinate mapping functions for each textures from their original coordinate space into the new combined atlas. Apply the respective mapping function to the texture coordinates stored with the model. Done.

Extremely general questions will lead to extremely general answers. The tasks needed to get a texture atlas are rather straight forward (although dealing with some issues like tiled textures can cause a certain amount of headache). The core of the whole issue is going to be the rectangle packing, after that everything should really fall into place. If not, ask specific questions.

Share this post


Link to post
Share on other sites

Take input textures, put them in one sufficiently large texture using the rectangle packing algorithm of your choice. This implicitly defines texture coordinate mapping functions for each textures from their original coordinate space into the new combined atlas. Apply the respective mapping function to the texture coordinates stored with the model. Done.

Extremely general questions will lead to extremely general answers. The tasks needed to get a texture atlas are rather straight forward (although dealing with some issues like tiled textures can cause a certain amount of headache). The core of the whole issue is going to be the rectangle packing, after that everything should really fall into place. If not, ask specific questions.

what packing algorithm? 

Share this post


Link to post
Share on other sites

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