Three.js关键帧动画 [英] Three.js keyframe animation

查看:268
本文介绍了Three.js关键帧动画的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我的第一篇文章,我需要一个我在其他地方找不到的答案。哦,顺便说一下,我不是一个专业的程序员,实际上更像是一个3D图形设计师;)
我想用3ds max中的简单动画(只是平移旋转)导入json模型。
我刚刚找到了关于蒙皮网格和骨骼动画的例子,但这远非我想要的。

this is my first post and I need an answer I didn't find anywhere else. Oh and btw I am not a professional programmer, actually more like a 3d graphic designer ;) I would like to import json models with a simple animations ( just translation e rotation ) made in 3ds max. I just found examples about skinned meshes and bone animations, but that's far from what I want.

当我按下按钮时,我只需要三个.js来加载和播放关键帧动画。有人可以帮我找到解决方案吗?

I simply need three.js to load and play a keyframe animation when I press a button. Can someone help me find a solution?

先谢谢大家,Andrea。

Thanks everybody in advance, Andrea.

推荐答案

您可以尝试使用 Tween.JS 复制动画,这是在Three.js示例中使用的库。

You could try to replicate the animation using Tween.JS, which is a library that is used in one of Three.js examples.

如果您对使用这种技术感兴趣,还有结合两者的深入教程

If you're interested using this technique, there is also an in-depth tutorial combining the two.

这篇关于Three.js关键帧动画的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆