Hello. I'm trying to convert binary FBX files to my own format, which means extracting joints, vertices and bone bindings/weights from them, but I can't seem to get it right.
1. There are lots of transformation data in there. PreRotation, Lcl Translation/Rotation/Scaling, GeometricTranslation/Rotation/Scaling, PostRotation... I have no idea which transforms apply to what.
2. Due to the above problems, I'm having huge problems with importing joints/bones. The objects have a number of the above transforms, but in addition each deformer has both a "Transform" and a "TransformLink". None of these match each other. What am I supposed to base my joint transforms (bind pose) on?
3. My vertex positions and normal seem to match what I expect to get without any transformation applied to them, but I've found sources saying that they should be affected by Lcl and Geometric transforms. The model is rotated in ways I'm not expecting it to be with those applied though.
4. My model seems to only have bone bindings for a small subset of the model. Only 176 out of 750 vertices have any bone bindings at all. This may of course be a problem with the model, but it is being animated correctly in Maya, which confuses me even more.
I would really appreciate any help I could get. Thanks!