三个 JS 中的 Cinema 4D 动画

Cinema 4D animations in Three JS

我一直在尝试为 Cinema 4D 和 Three JS 设置一个像样的工作流程。问题出在动画上。因此,虽然我确实让模型加载到 .obj 和 .dae 中,但动画无法正常工作。我了解 Cinema 如何导出文件以及 Three 如何理解它们存在一些限制。

我也尝试过将 Blender 添加到工作流程中,但不幸的是它扭曲了动画,并且出于某种原因无法正常输出。json 当我从 Cinema 项目导入它们时。

这里有人想出这个吗?非常感谢。

所以我设法让简单的 PSR 动画工作而无需接触 Blender,使用这个 Collada 转换器:

http://rmx.github.io/collada-converter/preview/examples/convert.html

您还必须修改文件中的 xml 标签:

https://superuser.com/questions/148024/how-to-import-mesh-animation-from-cinema4d-into-blender

不幸的是,它似乎无法处理变形。为此,我不得不求助于 Blender,我在 C4D 中创建模型,将其导入 Blender,对其进行烘焙,然后将其导出为 .json。

如果这能更简单一点,我会很高兴! :)

你可以试试我的 Cinema 4D 插件: https://github.com/BlackDice/Cinema4D-Threejs-Exporter