-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Open
Labels
Description
What happened?
I've noticed a performance issue in the viewer that depends on the loading order of 3D tilesets. When the Google Photorealistic 3D Tiles are added to the viewer.primitives collection before another tileset is added, the result is a significant drop in framerate while navigating (zooming in and out). However, if the Google Photorealistic 3D Tiles are added after the other tileset, the viewer's performance is not impacted and navigation remains smooth.
Reproduction steps
- Open Sandcastle
- Set viewer.scene.debugShowFramesPerSecond = true;
- Navigate around by zooming in/out (this should be the simplest option)
- Notice that the frame drops and small freezes in the viewer
- Modify the sandcastle to add the buildingTileset first before the Google Photorealistic 3D Tiles
- Notice how the performance is fine without significant frame drops when zooming in and out
Sandcastle example
https://sandcastle.cesium.com/?id=google-photorealistic-3d-tiles-with-building-insert
Environment
Browser: Google Chrome v143.0.7499.41
CesiumJS Version: 1.136.0
Operating System: MacOS Tahoe 26.1
Reactions are currently unavailable