Three.js - Chrome 新更新问题
今天早上我打开了 Chrome 浏览器... 他自动更新到较新的版本:17.0.963.46
现在更新后我的 Three.js 项目无法正常工作... 纹理(图像 *.png)未加载
我尝试在 FireFox 上运行相同的项目,它正在工作......非常慢 但工作...
有人知道错误/问题是什么...或者它可能与什么相关?
This morning I have opened my Chrome browser...
He was automatically update to a newer version : 17.0.963.46
Now after the update my three.js project not working properly...
The textures (images *.png) not loaded
I tried to run the same project on FireFox and it is working...very slow
but working...
Is anybody knows what is the bug/issue..or what it can be related to?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我在浏览器中运行 Three.js 中的一些项目时遇到问题。您是否偶然从硬盘驱动器上的目录打开。当我在 Eclipse 中预览它时,我有一个项目运行良好,但是当在 Chrome 中打开时,它仍然运行但没有纹理。我在某处读过一篇文章,内容是如果某些格式纹理未位于实际的网络服务器上,则在尝试在 Chrome 中加载时会抛出错误。我不知道为什么会这样,因为我认为你应该能够在不连接到互联网的情况下从高清加载任何图像。但果然我在我的 Linux 机器上加载了 Apache2 并从本地主机运行它,然后我的纹理又出现了。
I had problems running some of my projects in three.js from the browser. Are you by chance opening from a directory located on your hard drive. I had a project running fine when I previewed it in eclipse, but then when opened in Chrome it still ran but did not have the textures. I read a post somewhere about that if some format textures are not located on an actual webserver they will throw errors when trying to be loaded in Chrome. I have no idea why this is so as I figured you should be able to load any image from the HD without being connected to the internet. But sure enough I loaded up Apache2 on my Linux box and ran it from localhost and there were my textures again.