mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
Draw Radio stations and their clusters through the draw port and take the Radio renderer off the Cesium list
The stations, the cluster dots and the selected station's dot and bracket are draw-port point and icon sets. Stations drawn too close together on screen are grouped by geo/screenCluster.js as the default renderer's entity clustering grouped them: the same boxes and screen coordinates, the same reuse of the last pass's clusters when the eye comes lower, a pass whenever the camera moves enough or a station is shown or hidden, and stations a pass passes over hidden until the next. A cluster dot names its seed station, so a click plays it as before. The Radio QA script reads the drawn sets; the unused cluster-collection internals helper is gone.
This commit is contained in:
1 parent
b2502d6f37
commit
a59f9b10b2
17 files changed
+1134
-352
No files matched your search
@@ -92,6 +92,9 @@ const DRAW_FROM_CALLER = new Set([
|
||||
// Its heat cells and fire glows draw through `drawOf`; its cards and LOD
|
||||
// watcher read the eye, projection and frames through the ports.
|
||||
'./layers/firms',
|
||||
// Its station dots, clusters and selected marker draw through `drawOf`;
|
||||
// it clusters them on screen through the camera and query ports.
|
||||
'./layers/radio',
|
||||
// Its data packs draw through `drawOf`; its flights ask `cameraOf`, which
|
||||
// throws until then too.
|
||||
'./scenes',
|
||||
|
||||
Reference in new issue
Block a user