[英]Cesium An error occurred while rendering. Rendering has stopped
Today, I'm asking for help from the community because I have a problem with Cesium.今天,我向社区寻求帮助,因为我遇到了 Cesium 的问题。 When I run a command to display a path I get this error.
当我运行命令以显示路径时,我收到此错误。 Whether it's Firefox, Chrome or even Edge, I get the same error.
无论是 Firefox、Chrome 还是 Edge,我都会遇到同样的错误。 Firefox 88.0.1 (64 bits)
Firefox 88.0.1(64位)
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
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
This was happening for my team while using Ubuntu 20.04 LTS in a VirtualBox VM.我的团队在 VirtualBox VM 中使用 Ubuntu 20.04 LTS 时发生了这种情况。 The error occurred in Google Chrome browser on, for example, this page: https://sandcastle.cesium.com/?src=3D%20Tiles%20Clipping%20Planes.html
错误发生在谷歌浏览器上,例如这个页面: https://sandcastle.cesium.com/?src=3D%20Tiles%20Clipping%20Planes.html
In our case, this resolved the issue:在我们的例子中,这解决了这个问题:
It's slower using CPU-only graphics, but it helped us with this testing issue.使用纯 CPU 图形会更慢,但它帮助我们解决了这个测试问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.