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

[Enhancement] [Tydra] Support Vertex Animation Texture export? #123

Open
syoyo opened this issue Jan 30, 2024 · 0 comments
Open

[Enhancement] [Tydra] Support Vertex Animation Texture export? #123

syoyo opened this issue Jan 30, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@syoyo
Copy link
Owner

syoyo commented Jan 30, 2024

What is Vertex Animation Texture?

Bake the sequence of position/normal values to a texture.

https://medium.com/tech-at-wildlife-studios/texture-animation-techniques-1daecb316657

Procedure in TinyUSDZ Tydra API

  • Convert mesh as usual(Tydra RenderData)
  • Extract timeSample data of position and normal(and any primvars including texcoords) from USD GeomMesh Prim
  • Save it to texture
    • PNG(16bit) : stb_image_write, fpng
    • EXR(fp16/fp32) : tinyexr
    • DNG/TIFF(10/12 bit int, fp16/fp32) : tinydngwriter
    • BC6H? : Currently no support in TinyUSDZ

BlendShapes?

BlendShape points/normals can also be converted to VAT. It would make BlendShape animation easier on realtime rendering engines.

@syoyo syoyo added the enhancement New feature or request label Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant