【问题标题】:Blender three.js exporter breaks sceneBlender three.js 导出器打破场景
【发布时间】:2016-09-12 05:54:00
【问题描述】:

我正在使用 Blender 2.7.7 和 three.js R76 中的导出器来导出场景并使用 ObjectLoader 将其加载到 three.js 中。出于某种原因,在 three.js 中查看时,场景中的对象位置/旋转不正确。就像模型爆炸了一样。

如果我加入模型正确显示的所有网格,但当然会丢失很多细节。

这可能是什么原因造成的,我该如何解决?

【问题讨论】:

  • "but course then I lost a lot of detail" 是什么意思?你到底失去了什么,结果是什么样的?
  • 材料丢了。
  • 似乎 Collada 和相应的加载器在这种情况下效果很好。
  • 看起来你需要 apply scale and rotation 到搅拌机中的对象。

标签: javascript three.js blender


【解决方案1】:

在 Blender 中,您的网格未设置在原点或枢轴上。

https://blender.stackexchange.com/questions/1291/change-pivot-or-local-origin-of-an-object

所以,你可以在 Blender 中更改它,或者设置 mesh.position.set(0,100,0); 在 Three.js 中

【讨论】:

    猜你喜欢
    • 2014-06-09
    • 1970-01-01
    • 2012-04-04
    • 1970-01-01
    • 2015-03-02
    • 2012-09-06
    • 2015-03-26
    • 2016-08-17
    • 2013-04-05
    相关资源
    最近更新 更多