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
I have a 8 Polyline Entities. I'm not quite sure how many points, but probably quite a few because there are curves approximated by lines. Cesium was extremely sluggish while zooming in/out and panning around. Profiled the app and rendering is taking 250ms. I look further and see Clock.tick... I'm not advancing time, but still this is being called... look further and see Viewer_onTick->DataSourceDisplay.update->PolylineVisualizer.update->DynamicGeometryBatch.update->DynamicGeometryUpdater.update and watch as it basically destroys all my polylines... only for Scene.render to recreate them!? And, time has not changed!
Somewhere along that chain, somebody needs to check to see if time has actually changed before doing all that work.
The text was updated successfully, but these errors were encountered:
OmarShehata
changed the title
Anything with update(time) needs to see if time actually changed before doing work...
Prevent dynamic geometry update if time hasn't change
Aug 16, 2019
I have a 8 Polyline Entities. I'm not quite sure how many points, but probably quite a few because there are curves approximated by lines. Cesium was extremely sluggish while zooming in/out and panning around. Profiled the app and rendering is taking 250ms. I look further and see Clock.tick... I'm not advancing time, but still this is being called... look further and see Viewer_onTick->DataSourceDisplay.update->PolylineVisualizer.update->DynamicGeometryBatch.update->DynamicGeometryUpdater.update and watch as it basically destroys all my polylines... only for Scene.render to recreate them!? And, time has not changed!
Somewhere along that chain, somebody needs to check to see if time has actually changed before doing all that work.
The text was updated successfully, but these errors were encountered: