vpenades / SharpGLTF

glTF reader and writer for .NET Standard
MIT License
457 stars 72 forks source link

Mesh Skinning support #103

Closed pixtur closed 3 years ago

pixtur commented 3 years ago

I'm working an integration of SharpGltf into https://github.com/still-scene/t3 So far, I'm able to fetch static meshes and attributes. Does the core library also support skinning? I.e. morphing the vertex position and normals according to characters animation provided inside an glft-file?

vpenades commented 3 years ago

Yes.

I suggest you to look into the SharpGLTF.Runtime namespace and associated unit tests. In there you can find classes and infrastructure that feeds all the transforms required for animations.

pixtur commented 3 years ago

That sounds great! Thanks.