donmccurdy / three-gltf-viewer

Drag-and-drop preview for glTF 2.0 models in WebGL using three.js.
https://gltf-viewer.donmccurdy.com/
MIT License
2.13k stars 537 forks source link

Animation show error. #235

Closed neciszhang closed 3 years ago

neciszhang commented 3 years ago

Hello Thank you to provide the tool by show gltf file. I use this tool, but show error.Animation is deformation. This is the gltf file.Could you help me to look this question?Thanks a lot. 9.gltf.zip

neciszhang commented 3 years ago

I use this website https://gltf.insimo.com/ to view this gltf. It's correct. Oh. =.= This website use your source code.

donmccurdy commented 3 years ago

What deformation do you see? The difference I see is that the stars are rotated about 90º. I'm seeing the same results in:

It's likely that https://gltf.insimo.com/ is incorrect, and that the model is not exported correctly from C4D. If C4D gives an option of baking keyframes that might also help.

neciszhang commented 3 years ago

@donmccurdy Thank you very much! The animator re-exported the model to me, and it showed it well. star_Draco.gltf.zip