jMonkeyEngine / jMonkeyEngine/jmonkeyengine
"No skinned Spatial for joint" in GltfLoader.setupControls()
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4.3k
- Forks
- 1.2k
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 14
Description
Forum discussion: https://hub.jmonkeyengine.org/t/gltf-glb-animated-model/47617
To reproduce:
- Download the model using the "Download 3D Model" and "GLB Converted format Texture size: 1k" buttons.
- Load the model using:
assetManager.registerLoader(GlbLoader.class, "glb");
ModelKey modelKey = new ModelKey(assetPath);
assetManager.loadModel(modelKey);
With JME 3.7.0-alpha3.1, the model loads with a warning but no exceptions:
Apr 23, 2024 3:22:32 AM com.jme3.scene.plugins.gltf.GltfLoader setupControls
WARNING: No skinned Spatial for joint "Root_00" -- will skin the models root node!
The loaded model contains a SkinningControl but no AnimComposer. There ought to be an AnimComposer because the GLB file contains an animation.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with the linked Hover Bike GLB using GlbLoader and the loading snippet. Start in GltfLoader.setupControls() and inspect how the file's animation is handled when a SkinningControl is created. Done means the loaded model includes an AnimComposer for the GLB animation and no longer emits the reported warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- computer-graphics, game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100