【问题标题】:Blender exporter for threejs producing invalid file用于生成无效文件的 Threejs 的 Blender 导出器
【发布时间】:2015-01-12 16:27:58
【问题描述】:

我在 Blender 中有一个简单的模型:

当我在搅拌机 2.7 中使用 threejs exporter 时,json 文件中充满了 null 或 0 值:

{
    "metadata": {
        "formatVersion" : 3.1,
        "generatedBy"   : "Blender 2.7 Exporter",
        "vertices"      : 0,
        "faces"         : 0,
        "normals"       : 0,
        "colors"        : 0,
        "uvs"           : [],
        "materials"     : 0,
        "morphTargets"  : 0,
        "bones"         : 0
    },
        "scale" : 1.000000,
        "vertices" : [],
        "faces"    : [],
        "uvs"      : [],
        "normals"  : [],
        "skinIndices"  : [],
        "skinWeights"  : [],
        "morphTargets" : [],
        "bones"      : [],
        "animations" : [],
        "colors"    : [],
        "materials" : [
        ]
}

本来打算在 github 页面上记录一个问题,但我想我会在这里提出它,以防万一是用户错误。任何想法表示赞赏。

【问题讨论】:

    标签: javascript json three.js blender


    【解决方案1】:

    好的,我解决了...原来curves不会被导出。

    事实证明,我需要将每个 curve 转换为带有 option + cmesh 网格(Windows 上为 alt + c)。

    文件正在按预期导出。

    【讨论】:

      猜你喜欢
      • 2018-07-11
      • 2016-10-23
      • 2017-07-30
      • 1970-01-01
      • 1970-01-01
      • 2020-05-05
      • 2017-10-07
      • 2018-09-14
      • 2016-08-17
      相关资源
      最近更新 更多