【问题标题】:How to make a skeletal animation in Blender and play it in three.js如何在Blender中制作骨骼动画并在three.js中播放
【发布时间】:2013-02-11 06:03:31
【问题描述】:

在Blender中创建模型并在three.js中播放的正确流程是什么?

谈论骨骼动画。为了在 three.js 上播放动画,要导出什么,以及调用哪些函数。还有一个简单的 JSON 导出文件应该是什么样子才能在 three.js 中工作。

要获得正确的结果,管道应该是什么样子?

【问题讨论】:

    标签: three.js blender


    【解决方案1】:

    导出动画模型时,您需要在导出器中选中“蒙皮”、“骨骼”和“骨骼动画”选项。生成的 json 文件应包含非空的 skinWeightsbonesanimation 属性,例如在此文件中:http://mrdoob.github.com/three.js/examples/obj/buffalo/buffalo.js

    要使用 Three.js 播放动画,请从以下示例开始:http://mrdoob.github.com/three.js/examples/webgl_animation_skinning.html(在 three.js 源包中提供)。

    【讨论】:

    • blender 2.77 和 three.js 77 修订版的最新版本怎么样......任何建议
    猜你喜欢
    • 1970-01-01
    • 2023-03-23
    • 2014-10-16
    • 1970-01-01
    • 2013-09-16
    • 1970-01-01
    • 2013-12-24
    • 2021-08-03
    • 2013-11-03
    相关资源
    最近更新 更多