Animation-Texture-Baker icon indicating copy to clipboard operation
Animation-Texture-Baker copied to clipboard

How to make multiple animations in 1 single texture

Open TrongHieu90 opened this issue 3 years ago • 1 comments

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.

TrongHieu90 avatar Jun 03 '21 04:06 TrongHieu90

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.

Ph0t0nX avatar Jun 17 '21 09:06 Ph0t0nX