tparisi / Unity-glTF-Exporter

Unity editor wizard that exports to glTF Format
MIT License
51 stars 39 forks source link

Export Unity skinning data into glTF #4

Open AurL opened 7 years ago

AurL commented 7 years ago

Hi,

I am working on the exporter to add animation support and I have some issues when it comes to skinning. I already posted on the Unity Forum here but I also wanted to ask here if you have some insights or hints to help me to fix this.

To sum up the problem, I am not clear about how to convert SkinnedMeshRenderer data to glTF skin data (how to get the good bindShapeMatrix, and how to deal with inverseBindMatrices). Skinning currently works on very simple models (one skeleton, one geometry) but more complex models are not working. If you are interested by our WIP update, you can find our fork here

Thanks in advance for any help