google / model-viewer

Easily display interactive 3D models on the web and in AR!
https://modelviewer.dev
Apache License 2.0
6.86k stars 808 forks source link

Multi Animation in Cinema 4D #1501

Closed Olega95 closed 3 years ago

Olega95 commented 4 years ago

Good day! Please tell me. You have multi-animation models in one file. How do you do it? What program? And is it possible to do this through Cinema 4D? I searched everything I could and found nothing. Help me please!

elalish commented 4 years ago

I don't know anything about Cinema 4D; you can make animated glTF models in lots of programs, like Blender, Maya, etc. You'll have to ask on their forums.

Olega95 commented 4 years ago

I'm sorry, maybe I didn't explain it correctly. I know how to animate a model. The question is how to do multi-animation in one gltf / glb file. That is, there are several animations in one model. I am interested to know how you, as developers, made multiple animations in one model.

elalish commented 4 years ago

I didn't actually make any of the animated models on modelviewer.dev. But multiple animations in a glTF is quite common and model-viewer supports a short cross-fade when switching animations to smooth the transition.

AIRS-EXR commented 4 years ago

I didn't actually make any of the animated models on modelviewer.dev. But multiple animations in a glTF is quite common and model-viewer supports a short cross-fade when switching animations to smooth the transition. Please tell me how I can achieve switching animations by using model-viewer?how to do it?

elalish commented 4 years ago

@AIRS-EXR Look at the third example of animations on modelviewer.dev: https://modelviewer.dev/examples/animation.html

KibbleKode commented 3 years ago

@AIRS-EXR did you ever figure this out? i'm in the same situation now. Ive added the animation as motions clips but they do not show. i've tried adding them as separate 'takes' too but that doesn't work.