之所以显示不出来是因为chrome的安全设置

到桌面快捷方式,右键点击chrome,选择属性,在目标的后面添加:

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disable-web-security --allow-file-access-from-files

因为我的chrome是在c盘安装的,前面的不用管,重点是

--disable-web-security --allow-file-access-from-files

一定注意空格


然后重启chrome浏览器,就可以加载外部模型了,比如我拿threejs的example试了一下:

threejs在chrome里显示不出来外部模型的解决办法

相关文章:

  • 2021-07-16
  • 2021-12-21
  • 2022-12-23
  • 2021-12-17
  • 2021-04-05
  • 2022-12-23
  • 2022-12-23
  • 2021-12-04
猜你喜欢
  • 2022-12-23
  • 2021-11-17
  • 2021-11-05
  • 2021-05-31
  • 2021-10-15
  • 2021-11-27
  • 2021-09-15
相关资源
相似解决方案