|
After some experiments, I still can’t solve this problem. But I found some clues on the issue.
My test fbx file contains more than one meshes binding to one single shared skeleton. When I extract data from such a file, some meshes work well while the others don’t. Then I tried to keep only one mesh in the fbx file and delete all the other ones (of course, the kept one was the one with problem), it works correctly. I compared the extracted data between the good one and the bad one. Only the inverse binding matrices seem different:
The good one:
-5.492836, 0.592427, -32.472796, 0.000000,
5.532836, -36.100664, -1.594504, 0.000000,
-38.531812, -6.188327, 6.404832, 0.000000,
0.459099, -0.032397, -0.231797, 1.000000
The bad one:
5.492836, -0.592427, 32.472796, 0.000000,
5.532836, -36.100664, -1.594504, 0.000000,
-38.531812, -6.188327, 6.404832, 0.000000,
0.459099, -0.032397, -0.231797, 1.000000
As we can see: it’s just some polarity difference.
What could be the root cause of this? I just removed some meshes from the fbx file without changing anything of the skeleton. Then the matrices of clusters were changed. Can anyone give me some hints on this?
|