You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When loading any Cesium3DTileset, setting viewer.scene.globe.depthTestAgainstTerrain = false; can cause the GPU to run at full load. If you also set if (Cesium.FeatureDetection.supportsImageRenderingPixelated()) { viewer.resolutionScale = window.devicePixelRatio; }, you may experience Serious performance issues.This issue started with version 1.121.
Reproduction steps
constviewer=newCesium.Viewer("cesiumContainer");viewer.scene.debugShowFramesPerSecond=true;viewer.scene.globe.depthTestAgainstTerrain=false;if(Cesium.FeatureDetection.supportsImageRenderingPixelated()){viewer.resolutionScale=window.devicePixelRatio;}// Set the initial camera view to look at ManhattanconstinitialPosition=Cesium.Cartesian3.fromDegrees(-74.01881302800248,40.69114333714821,753,);constinitialOrientation=newCesium.HeadingPitchRoll.fromDegrees(21.27879878293835,-21.34390550872461,0.0716951918898415,);viewer.scene.camera.setView({destination: initialPosition,orientation: initialOrientation,endTransform: Cesium.Matrix4.IDENTITY,});// Load the NYC buildings tilesetconsttileset=awaitCesium.Cesium3DTileset.fromIonAssetId(75343);viewer.scene.primitives.add(tileset);
open the sandcastle example and click "open in new window" button
What happened?
When loading any Cesium3DTileset, setting
viewer.scene.globe.depthTestAgainstTerrain = false;
can cause the GPU to run at full load. If you also setif (Cesium.FeatureDetection.supportsImageRenderingPixelated()) { viewer.resolutionScale = window.devicePixelRatio; }
, you may experience Serious performance issues.This issue started with version 1.121.Reproduction steps
Sandcastle example
https://sandcastle.cesium.com/#c=bVPbbuIwEP0Vi6cgtc4VkrQUbQVbLVJvKmilSryYZACrjo1sB9qu+u87SdzdXuAFj2fOnDNznEJJY8mewwE0uSASDmQChtcV/d3eecte0cYTJS3jEvSy1z9fyg5BTQESaAmrejPfqsOVZhWYe9BzKJQssaHVNWD5F8BGqFUD29ntAoy93GBnYxegNR4QtWbCNDC+Jp6TcwXM1hqmYKGwXElq6t1OaWtmFdvAA8gSNJebe/4MglkovX6f/FlKgj9HrcEoUTfYecEEIM2By1IdUMeeF9AiHxjmkfitkez7ZA6W2C0QLrnlTJAC59Os7UisIkKpJ8IsuWFyy6xlCCrahbr6e2V4Q4hcbowJ0xZPTMZ0rVU1hY0GMF4n9DRNaBBmWRgHURYEUZKddIkkoMM8DJM4jtMwyaLQ3aeDGE+NH59o7zQHdMsxf/D0F7CyXZIttg9KiCMaopBGaZbmWZpFeZzFA0d1iok4ifNgMAiyNEqG7xoCGqThMB+EOSrPsyQcOEmfHO8WRw3Y5l15zpkSzeeyFXr2dWeuvfo/y9mR+VwV2r/QTJq10tXZ+7Q3zGr+nNDZ9OftYrZ4xNq3/rlz9lqxsrX29nFCVjUXzWIMsVwAinxfqAtxi+zAuP3nYvsXTxddul3jTMlLg8Gs9NCWJP62gp3mFcrfg6GsLD3Xun/eO+mNjH0RMO5mIeQHr5qnTWotPEp9C9WuedPGX9XFE9IVxjTdm9KR/xE6Kvme8PLiyEdLCsGMwcy6FmLOX2HZG498rP8GFap9JHd70IK9NGXbcHzdXVJKRz6Gx5FWKbFi+kvnvw
Environment
Browser:Edge
CesiumJS Version:1.124
Operating System:window 10
The text was updated successfully, but these errors were encountered: