I draw a lot of entities/billboards/primitives on page initialization. This approach kills performance dramatically, the page has freezing effect. How can I optimize it the best way?
Seems like I need to "redraw/rerender" entities/billboards/primitives that are within the current camera view region ONLY.
How can I get the current camera view region ?
How can I check that entites/billboards/primitives are within the current view camera region ?
Does "redraw/rerender" mean to remove entites/billboards/primitives from viewer and add the new ones) ?
Sorry, we don’t have a method for getting the camera’s view region. This is surprisingly complicated in 3D, especially when viewing the globe at an angle. We have an issue open here: https://github.com/AnalyticalGraphicsInc/cesium/issues/871
There are a few workaround suggestions in that issue.