Animation flickering after export to GLTF

I am preparing animations in Cinema 4D and it runs smoothly there, but after exporting (baked)
to GLTF and loading to Three.js editor it has some flickering which looks like additional
rotation of animated object’s segment around joint’s origin.

This is a skin animation with joints:
rigging_c4d.zip (80.5 KB)
rigging_gltf.zip (23.5 KB)

Has anyone had the same experience ? Please help me to resolve this strange issue.
Thanks in advance.

1 Like

I tried to open your exported gltf in blender and it shows the problem.

Since this issue is something that can be reproduced by exporting from C4D, and importing into Blender, completely outside of the realm of Threejs, you may get more help on a C4D or Blender forum.

1 Like

Thanks a lot for this test, unfortunately I have no Blender installed to check this.
Could you please give a little bit more info - what kind of problem it shows ?

Exactly what the title says.

Your problem is something to do with what C4D is exporting.

You can see the flickering in,

  1. Blender
  2. glTF Viewer
  3. Bablon glTF viewer

glTF viewer and the babylon version show 256 errors.

Drag your model into either viewer, and you can inspect the errors.

Here is a screen grab,

1 Like

Thanks for additional info and links to viewers - it looks like a skinning problem.
Now I have a starting point for further investigation !

Still have no idea what’s happening. Joints are rotating in an unpredictable way.
Switching to quaternion rotation has no effect.

found this

https://www.reddit.com/r/Cinema4D/comments/1dfmo7h/gltf_export_almost_always_broken/?rdt=53385

Thanks, interesting and strange all together, but I am using only glb.
Posting gltf here only for reader’s usability.

Continuing to struggle, even thinking about switching to Blender …

It’s my bad - I have old release C4D R20 with this plugin: Cineversity | glTF Exporter
Looks like this plugin’s implementation is buggy, I need to upgrade my C4D.

Sorry for inconvenience.