为什么我的three.js例子不能正确加载? [英] Why do my three.js examples not load properly?
问题描述
您需要使用运行chrome - 允许从文件访问文件
标志。
https://github.com/mrdoob/three.js/wiki/How-to-run-things-locally
另外,以下讨论他们如何解决这个问题:
http://code.google.com/p/chromium/issues/detail?id=121406 a>
http://code.google.com/p / chromium / issues / detail?id = 47416
I just downloaded Mr. Doob's three.js project. In the examples folder, anything that doesn't use a model or texture will load up properly. The ones with models or textures show up blank. I don't understand why. I can webgl examples with models and textures to work on the three.js website. Can anybody help, I am stumped...
You need to run chrome using the --allow-file-access-from-files
flag.
https://github.com/mrdoob/three.js/wiki/How-to-run-things-locally
Also, here's some discussions on how they're trying to solve this:
http://code.google.com/p/chromium/issues/detail?id=121406 http://code.google.com/p/chromium/issues/detail?id=47416
这篇关于为什么我的three.js例子不能正确加载?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!