0
$\begingroup$

when I animate a blender model with bones

enter image description here

It runs fine in blender, I export it like so

enter image description here

and then, this happens

enter image description here

Any help appreciated.

Link to the GLB https://www.mediafire.com/file/wrubnxlgf6f6pu1/woman.glb/file Link to the .blend (2.8) http://www.mediafire.com/file/azlx6audmcyska9/woman.blend/file

$\endgroup$
  • $\begingroup$ Try checking Always sample animations, does that do something better? It will be the default setting in Blender 2.81's glTF exporter. $\endgroup$ – emackey Oct 8 '19 at 13:49
  • $\begingroup$ I did, now even when I try export a simple butterfly animation, all my exported animations seem to distort, some worse than others $\endgroup$ – BinkyNichols Oct 8 '19 at 14:34
  • $\begingroup$ Could you file an issue on the exporter? See github.com/KhronosGroup/glTF-Blender-IO $\endgroup$ – Don McCurdy Oct 12 '19 at 18:04
1
$\begingroup$

There has been recent development done with blenders gltf exporter, so try exporting with a current development build of blender, you can get a daily build or go to GraphicAll if you don't want to compile yourself.

Using a recent build (week old) I can export your blend file to gltf and do not see the issue when importing back into blender, which I do see when importing your sample glb file. Using sandbox.babylon.js also shows the new export to work.

Another thing to try is to apply the transformations to the armature and mesh, the two in your blend file do not have the same location. When the two are moved separately you can see a similar distortion, try it by moving the mesh object in blender separate to the armature.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.