使用Three.js显示json格式

时间:2015-11-22 14:17:39

标签: javascript json three.js

我正在尝试使用stl格式显示已导入到blender的对象,并通过此exporter导出为json格式。下面是json文件

{
"normals" :[....]
"metadata": {
    "normals": 2673,
    "vertices": 2972,
    "faces": 5380,
    "uvs": 0,
    "type": "Geometry",
    "version": 3,
    "generator": "io_three"
},
"name": "ForenBox demoGeometry",
"vertices": [....]
"faces": [...]
"uvs": []

}

我的js加载程序工作正常,因为我用正确的json格式测试它。 什么是我的json格式缺失?

该对象已通过stl格式导入到blender!

谢谢!

0 个答案:

没有答案