Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经下载了一个房屋模型并用 THREE.OBJLoader 加载它,但我得到了一个无纹理的对象。如何加载纹理?
img http://o7.no/YLlkKQ
查看示例文件夹中提供的 webgl_loader_obj_mtl 示例。它显示了如何将 mtl 文件与 obj 文件一起加载。
我怀疑你可能会遇到这个问题: https ://github.com/mrdoob/three.js/wiki/How-to-run-things-locally