notevil
|
94fcece05a
|
Phase 1.1-1.3 : bridge GLB → SkinnedMesh
Premier jalon Phase 1 : conversion d'un GltfData (format legacy 11-joints
PlayerAnimator) vers SkinnedMesh Epic Fight (biped ~20 joints).
Files :
- rig/bridge/GlbJointAliasTable.java : table mapping statique PlayerAnimator
→ biped EF (body/torso→Chest, leftUpperArm→Arm_L, leftLowerArm→Elbow_L, etc).
Fallback Root pour inconnus. Bypass si nom déjà biped (Root/Torso/Chest/Head
ou suffixe _R/_L).
- rig/bridge/GltfToSkinnedMesh.java : convert(GltfData, AssetAccessor<Armature>)
→ SkinnedMesh. Pré-calcule jointIdMap, boucle vertices (pos/normal/uv + drop 4th
joint à plus faible poids + renormalise 3 restants), groupe indices par
primitive (material) en VanillaMeshPartDefinition.
Note : animations GLB ignorées (scope Phase 4 JSON EF authored).
Compile BUILD SUCCESSFUL maintenu.
|
2026-04-22 14:28:37 +02:00 |
|