libgdx / fbx-conv

Command line utility using the FBX SDK to convert FBX/Collada/Obj files to a custom text/binary format for static, keyframed and skinned meshes.
Apache License 2.0
448 stars 116 forks source link

G3DJ: Bone Index -> Bone Name? #55

Closed reduz closed 10 years ago

reduz commented 10 years ago

In G3DJ, How do you map bone index (in the array) to bone name? I can't find this anywhere

reduz commented 10 years ago

OK, I guess local indices to each part..

xoppa commented 10 years ago

https://github.com/libgdx/fbx-conv/wiki/Version-0.1-%28libgdx-0.9.9%29

<nodepart>:
{
    "meshpartid": <meshpartid>,
    "materialid": <materialid>
    (, "bones": [(<bone> (, <bone>)*)?])?
    (, "uvMapping": [(<uvmapping> (, <uvmapping>)*)?])?
}

<bone>:
{
    "node": <nodeid>,
    (, "translation": <xyz>)?
    (, "rotation": <quaternion>)?
    (, "scale": <xyz>)?
}