mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
Draw S2 GhostMaps through the renderer draw port, off Cesium
Each product edition now draws as three renderer sets (pins, lines and fills) instead of a Cesium data source. Pins keep the depth test off and the Street Level horizon cull, clicks resolve through the draw hit of the current edition, and a new edition is drawn before the old one goes. A viewer with no renderer bound draws nothing and releases the edition's packed images. The layer leaves the Cesium list; a caller handing it a viewer of their own loads ./render/cesium/unbound first. The QA script reads pins from the scene instead of data sources.
This commit is contained in:
1 parent
4a9b1389ba
commit
dabdab47d6
7 files changed
+317
-159
No files matched your search
@@ -14,7 +14,6 @@
|
||||
"src/layers/cctv/projection.js",
|
||||
"src/layers/cctv/rendering.js",
|
||||
"src/layers/firms/rendering.js",
|
||||
"src/layers/ghostMaps/index.js",
|
||||
"src/layers/installations/rendering.js",
|
||||
"src/layers/radio/rendering.js",
|
||||
"src/layers/recentImagery/rendering.js",
|
||||
|
||||
@@ -103,6 +103,9 @@ const DRAW_FROM_CALLER = new Set([
|
||||
// Not wholly Cesium-free (its pointer input still is), but its missions
|
||||
// draw, pick and fly through the ports alone.
|
||||
'./layers/launches',
|
||||
// Its pins, footprints and outlines draw through `drawOf`; its horizon
|
||||
// cull reads the camera and frame ports.
|
||||
'./layers/ghostmaps',
|
||||
]);
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user