Draw rocket launches through the renderer ports, off Cesium

The launches layer's sites, markers, reticles, mission lines, live orbit
rings and pad zone are now renderer draw sets. Picks go through the query
port, double-click follow through the camera port (shared with other layers
in src/data/stockFollow.js), and per-frame work through the frame port.
rendering.js, orbitRendering.js and launchPad.js leave the Cesium list.

The Cesium draw port gains what these need: pattern line styles, lines in
the inertial frame turned each frame by the set's motion clock, radial-rim
fills on clamped ellipses with a depth bias, and parking for hidden lines
that cannot settle into a static batch, so a hidden line no longer costs a
draw each frame. A roster writes each set once, and a followed live payload
shares one position sample with its marker each frame.
This commit is contained in:
Sameh Khamis committed 2026-11-08 11:26:21 -08:00
1 parent fa762f808e
commit 4a9b1389ba
22 files changed
+1476 -717

No files matched your search

+4
View File
@@ -1073,6 +1073,10 @@ fresh core rebuild or lifecycle reset replaces the corresponding ownership.
Source adapters retain the existing CelesTrak and Launch Library
endpoints; standalone entries provide scene services and the satellite dependency.
The mission factory separates paths, replay, camera, panel, overlays and placement.
Its markers, lines, live rings and pad zone are renderer draw sets, and it
follows a mission through the camera port, so a caller handing it a Cesium
viewer, with no renderer bound, loads the
`./render/cesium/unbound` export once first.
Launch Library pad coordinates retain unknown values: missing fields use the
reported location coordinates when available, and launches without a known pad
position stay off the map. Genuine zero coordinates remain valid. Undisclosed
+8
View File
@@ -51,6 +51,14 @@ optional, so a renderer written before it still conforms:
on a ground primitive of its own. A renderer that predates it draws the
rectangle unturned.
The Cesium port also draws `pattern` line styles (the image repeated
`repeat` times along the line, in the translucent pass), lines in the
`inertial` frame (turned each frame by the set's motion clock; never draped
and never batched), and `radialRim` fills on clamped ellipses (`rimWidth` a
fraction of the radius; `depthBias` pulls the fill toward the eye). A hidden
line that cannot settle into a static batch leaves its polyline collection
until it shows again, since the collection draws every line it holds.
The renderer itself (`renderer.d.ts`) adds capture, pixel reads, settling,
resize, context loss and `destroy`. `common.d.ts` holds the shared shapes
(ECEF positions, colours, listener semantics) and the capability list.