0

刚从 three.js 开始,我正在尝试加载一些对象。

我已经设法让 Blender 导出器为一些简单的测试工作,并且到目前为止加载 JSON 文件似乎还可以。

I have a .obj file I wanted to use and tried to use the OBJLoader but the latest (61) version of three.js doesn't seem to have this class anymore(?) There is an ObjectLoader class, but I didn't have much luck with that. Looking at the source it looks like it uses JSON.

I tried importing the .obj into Blender and exporting with the three.js plugin, but it either dropped a lot of faces or the culling is hiding them because some are drawn in the wrong direction.

So... is loading obj files supported or should I try to use JSON? In a more general sense, what's the best, most reliable method (file format, modeling software) to create models to use with three.js now?

4

0 回答 0