guillaumeblanc / ozz-animation

Open source c++ skeletal animation library and toolset
http://guillaumeblanc.github.io/ozz-animation/
Other
2.45k stars 301 forks source link

gltf2ozz is not filtering out non joint nodes #169

Open ege-del opened 1 year ago

ege-del commented 1 year ago

Same config, both exported with Blender

fbx2ozz output

Found joint "Bone" matching pattern "" for joint optimization setting override. Found joint "Bone.001" matching pattern "" for joint optimization setting override. Found joint "Bone.002" matching pattern "" for joint optimization setting override. Found joint "Bone.002_end" matching pattern "" for joint optimization setting override.

gltf2ozz output

Found joint "Armature" matching pattern "" for joint optimization setting override. Found joint "Cube" matching pattern "" for joint optimization setting override. Found joint "Cube.001" matching pattern "" for joint optimization setting override. Found joint "Bone" matching pattern "" for joint optimization setting override. Found joint "Bone.001" matching pattern "" for joint optimization setting override. Found joint "Bone.002" matching pattern "" for joint optimization setting override.

ege-del commented 1 year ago

Now that I've done more tests; the cesium_man.gltf file provided in repo is not passing the gltf validator test (https://github.khronos.org/glTF-Validator/ ) but it works with gltf2ozz while same file imported to Blender and re-exported is passing the validator test but not working with gltf2ozz