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
Rendering several stacked translucent rectangles seems to severely decrease scene performance, but only when switching to 2D from other scene modes - starting the scene in 2D doesn't seem to have the same performance drop.
I'm not seeing the same performance drop in 1.49 as in master (42 -> 30 FPS vs. 42 -> 14 FPS), so this seems like a recent regression as opposed to a bug we never found before.
varviewer=newCesium.Viewer('cesiumContainer');viewer.scene.debugShowFramesPerSecond=true;// Tropics of Cancer and CapricornvarcoffeeBeltRectangle=Cesium.Rectangle.fromDegrees(-180,-23.43687,180,23.43687);// Add rectangles to show boundsvarrectangles=[];for(vari=0;i<10;i++){rectangles.push(viewer.entities.add({rectangle : {coordinates : coffeeBeltRectangle,material : Cesium.Color.RED.withAlpha(0.1),height : i*5000.0}}));}Sandcastle.addToolbarButton('Show/Hide Rectangles',function(){varrectanglesLength=rectangles.length;for(vari=0;i<rectanglesLength;i++){varrectangleEntity=rectangles[i];rectangleEntity.show=!rectangleEntity.show;}});
The text was updated successfully, but these errors were encountered:
Rendering several stacked translucent rectangles seems to severely decrease scene performance, but only when switching to 2D from other scene modes - starting the scene in 2D doesn't seem to have the same performance drop.
I'm not seeing the same performance drop in
1.49
as inmaster
(42 -> 30 FPS vs. 42 -> 14 FPS), so this seems like a recent regression as opposed to a bug we never found before.The text was updated successfully, but these errors were encountered: