glTF-Asset-Generator
glTF-Asset-Generator copied to clipboard
Fix new skinning issues
After updating the validator there are a few new skinning issues in the generated models (see reports for details):
- Animation_Skin_02
- [ ]
NODE_SKINNED_MESH_NON_ROOT
- [ ]
NODE_SKINNED_MESH_LOCAL_TRANSFORMS
- [ ]
- Animation_Skin_06
- [ ]
SKIN_NO_COMMON_ROOT
- [ ]
- Animation_Skin_07 and Animation_Skin_10 (see #559)
- [x]
ACCESSOR_JOINTS_USED_ZERO_WEIGHT
- [x]
The description of Animation_Skin_02
says:
skinA
where the skinned node has a transform and a parent node with a transform. Both transforms should be ignored.
So it seems that the warnings should remain intact, i.e. we won't fix them.
The description of Animation_Skin_06
says:
skinA
wherejoint1
is a root node and not a child ofjoint0
.
This is clearly a violation of the "common root" requirement, so this model should either be fixed or removed.