Skip to content

jme3-plugins loads MorphPrimitivesTest incorrectly #2110

Open
@stephengold

Description

@stephengold

I noticed a defect in GltfLoader while developing the MonkeyWrench library.

The test data is MorphPrimitivesTest from Khronos's glTF sample models.

Here's how it looks in CompareLoaders when "MorphPrimitivesTest/glTF/MorphPrimitivesTest.gltf" is loaded using jme3-plugins:

MorphPrimitivesTest

I believe the best approach to solve this issue will be:

  1. Add a MorphControl to every model with morph targets, even if there are no animation tracks.
  2. Initialize the morph state of each Geometry by invoking setMorphState() with the "weights" values in the glTF.

Metadata

Metadata

Assignees

No one assigned

    Labels

    defectSomething that is supposed to work, but doesn't. Less severe than a "bug"

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions