Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to make multiple animations in 1 single texture #14

Open
TrongHieu90 opened this issue Jun 3, 2021 · 1 comment
Open

How to make multiple animations in 1 single texture #14

TrongHieu90 opened this issue Jun 3, 2021 · 1 comment

Comments

@TrongHieu90
Copy link

TrongHieu90 commented Jun 3, 2021

Hi,
I successfully bake the animation to texture. However, the texture is too long horizontally (2048 pixel) and only a few pixel in height.

Can there be a feature to make the texture as square as possible. Also to put all the animations of the same mesh into 1 single texture. That way most of the space will be used.

Thanks for this great tool.

@Ph0t0nX
Copy link
Contributor

Ph0t0nX commented Jun 17, 2021

I have seen an article where someone wrote about wrapping the texture pixels, but there was no source code with it. I haven't tried it myself, but I did come up with a method to compress the data into 32 bits which allows for double the vertex count in my project here: https://gitlab.com/lclemens/animationcooker . It uses half the texture memory which is nice, but it's not as good as the wrapping method you suggested if your goal is increasing vertex count.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants