CesiumGS / cesium

An open-source JavaScript library for world-class 3D globes and maps :earth_americas:
https://cesium.com/cesiumjs/
Apache License 2.0
12.8k stars 3.46k forks source link

Path visualizer optimization (Orbit line) #2310

Open emackey opened 9 years ago

emackey commented 9 years ago

In an offline conversation, @mramato mentioned that orbit lines were not well optimized. I think he was talking about PathVisualizer and/or related classes. I searched and couldn't find an issue on this, maybe it's tucked away on a roadmap someplace, but I didn't see it. Close if dup.

@mramato can you explain in more technical detail here what kinds of improvements are needed to get the best performance for scenes with hundreds of orbit lines?

pjcozzi commented 9 years ago

932 plus probably more work at the entity level.

I suspect we can close this a duplicate with this and perhaps #1045.

pjcozzi commented 7 years ago

OK to close as duplicate?

mramato commented 7 years ago

As a duplicate with dynamic buffers? I would say no. There is a lot of inefficiency in PathVisualizer that would still need to be cleaned up even if we had dynamic buffers today.

Lighfer commented 2 years ago

Are there any solution ideas? I am experiencing a particularly low performance problem in the 2000 paths, and the performance problem is also caused by the PathVisualizer. I'm not familiar with the cesium source code yet, but if there are any ideas, I am willing to implement it to see if I can solve the problem.