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
447 stars 117 forks source link

Blender FBX problem #34

Closed meigo closed 10 years ago

meigo commented 10 years ago

After conversion of FBX from Blender bone lists of some animations appear to be empty: ... { "id": "idle", "bones": [] }, ...

or contain only keyframes for keytime 0.

That didn't happen with couple of months older precompiled binary version.

xoppa commented 10 years ago

Can you please provide the blend/fbx/g3dx files to reproduce this issue?

meigo commented 10 years ago

Test files are here: http://www.datafilehost.com/d/e60fba90 Although after taking another look it's related to 'Optimize Keyframes' option when exporting fbx from Blender. It removes the baked keys from channels with no actual animation and it seems to confuse converter a bit. But because converter outputs optimized g3d files using unoptimized fbx as input anyway, there isn't actually any problem. Just don't use 'Optimize Keyframes' option when exporting fbx from Blender. Thanks.