首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >渲染时,An发生错误。渲染已停止

渲染时,An发生错误。渲染已停止
EN

Stack Overflow用户
提问于 2021-05-10 17:50:46
回答 1查看 376关注 0票数 0

今天,我向社区寻求帮助,因为我对‘m有问题。当我运行一个命令来显示一个路径时,我得到了这个错误。无论是Firefox,Chrome,甚至Edge,我都得到了同样的错误。Firefox 88.0.1 (64位)

代码语言:javascript
复制
An error occurred while rendering.  Rendering has stopped.
RuntimeError: Vertex texture fetch support is required to render polylines. The maximum number of vertex texture image units must be greater than zero.
RuntimeError@http://localhost:4200/vendor.js:235274:11
./node_modules/cesium/Source/Scene/PolylineCollection.js/PolylineCollection.prototype.update@http://localhost:4200/vendor.js:393795:13
代码语言:javascript
复制
Error loading image for billboard: DeveloperError: Width must be less than or equal to the maximum texture size (0).  Check maximumTextureSize.
DeveloperError@http://localhost:4200/vendor.js:179691:11
Texture@http://localhost:4200/vendor.js:304841:11
resizeAtlas@http://localhost:4200/vendor.js:423958:29
addImage@http://localhost:4200/vendor.js:424063:16
./node_modules/cesium/Source/Scene/TextureAtlas.js/TextureAtlas.prototype.addImage/indexPromise<@http://localhost:4200/vendor.js:424120:13
fulfilled/p<@http://localhost:4200/vendor.js:476336:34
_then/<@http://localhost:4200/vendor.js:476437:13
processQueue@http://localhost:4200/vendor.js:476787:11
_resolve@http://localhost:4200/vendor.js:476473:16
promiseResolve@http://localhost:4200/vendor.js:476499:11

webgl1

EN

回答 1

Stack Overflow用户

发布于 2021-05-18 03:31:51

在VirtualBox虚拟机中使用Ubuntu20.04LTS时,我的团队遇到了这种情况。这个错误发生在Google Chrome浏览器中,例如,这个页面:https://sandcastle.cesium.com/?src=3D%20Tiles%20Clipping%20Planes.html

在我们的例子中,这解决了问题:

  1. 关闭您的虚拟机。
  2. 打开虚拟机的Virtualbox设置
  3. 取消选中框Display -> Enable 3D Acceleration
  4. Once该设置处于关闭状态则它应该可以作为仅用于renderer.
  5. Then,的计算机运行当然,请启动计算机备份。

使用仅使用CPU的显卡速度较慢,但它帮助我们解决了这个测试问题。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/67468300

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档