Skip to content

Broken blender export with animation (demos and blends are provided) #8511

@rnixik

Description

@rnixik
Description of the problem

PR #8412 updated blender export and now there are no way to export mesh with skinned animation.
I have tested with women model and with monster model, which is imported from collada examples/models/collada/monster/monster.dae. I have build demos with the same main.js but with different json files.

Demos

Settings for mesh export (Scene is unchecked, using THREE.JSONLoader):

Image of settings

Only mesh with new export - women (4MB)

Image of Women Mesh New

Only mesh with old export - women (4MB)

Image of Women Mesh Old

Only mesh with new export - monster (242KB)

Image of Monster Mesh New

There is another option and another problem: export with checked "Scene" and using THREE.ObjectLoader:
Image of settings
But with this option animation does not work correctly in both versions:

Scene with new export - monster (285KB)
Scene with old export - monster (284KB)
Image of Monster Scene

I have worked with old exporter and noticed that vertices values in json are bigger with Scene checked then with unchecked version. I have tried to replace this array in json file and animation becomes work properly. I can not figure out what is the problem with exporter with checked Scene.

Files

Exports have been done with reset transforms of bones before each export.

Three.js version
  • Dev
  • r75
Browser
  • Chrome
  • Firefox

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions