【发布时间】:2012-10-04 23:31:08
【问题描述】:
我刚刚下载了 Doob 先生的 three.js 项目。在示例文件夹中,任何不使用模型或纹理的内容都将正确加载。带有模型或纹理的显示为空白。我不明白为什么。我可以在 three.js 网站上使用带有模型和纹理的 webgl 示例。谁能帮忙,我难住了...
【问题讨论】:
标签: html google-chrome loading webgl three.js
我刚刚下载了 Doob 先生的 three.js 项目。在示例文件夹中,任何不使用模型或纹理的内容都将正确加载。带有模型或纹理的显示为空白。我不明白为什么。我可以在 three.js 网站上使用带有模型和纹理的 webgl 示例。谁能帮忙,我难住了...
【问题讨论】:
标签: html google-chrome loading webgl three.js
您需要使用 --allow-file-access-from-files 标志运行 chrome。
https://github.com/mrdoob/three.js/wiki/How-to-run-things-locally
另外,这里有一些关于他们如何尝试解决这个问题的讨论:
http://code.google.com/p/chromium/issues/detail?id=121406 http://code.google.com/p/chromium/issues/detail?id=47416
【讨论】: