我一直在使用 Three.js 在网络上放置 3D 模型,但库中提供的加载器似乎无法在 Chrome 中工作。不过它们在 Firefox 中工作得很好。我检查了我是否拥有最新版本的 chrome,甚至检查了 chrome 中是否启用了 webgl。 有人能告诉我这里可能出了什么问题吗?任何帮助将不胜感激!
最佳答案
https://github.com/mrdoob/three.js/wiki/How-to-run-things-locally
确保您运行 Chrome 时带有 --allow-file-access-from-files 标志。
希望这能解决您的问题。
关于google-chrome - Threejs 加载器在 Chrome 中无法工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16920185/