Compute launch paths, cameras and colours without Cesium

The launches layer's path building, replay camera maths, policy constants,
state, marker colours and mission panel no longer import Cesium. Paths and
camera poses are plain ECEF points computed by the geo helpers with the
default renderer's own formulas in the same order, so trajectories, orbits
and camera framing land where they did. Geodesic interpolation moves from
the stub renderer into geo/geodesic (geodesicLine, solved once per
geodesic), and geo/sphere gains the renderer's sphere union.

Marker colours are renderer colours, with the panel's CSS from the same
palette. The rendering part, still Cesium for its entities, converts the
plain points where the entities take them, culls with the shared horizon
test, loads the unbound camera factory, and hands the panel the live
payload position directly instead of through the entity.

Camera, model, panel, paths, policy, policyHelpers and state leave the
allow-list.
This commit is contained in:
Sameh Khamis committed 2026-11-06 22:57:55 -08:00
1 parent 0782b073e2
commit a2503476de
19 files changed
+561 -548

No files matched your search

+7 -1
View File
@@ -1918,6 +1918,9 @@
"modules": [
"src/cyberSonar.js",
"src/layers/launches/camera.js",
"src/geo/sphere.js",
"src/geo/geodesic.js",
"src/layers/launches/geometry.js",
"src/layers/launches/controls.js",
"src/layers/launches/index.js",
"src/render/cesium/camera.js",
@@ -1934,6 +1937,7 @@
"src/layers/launches/launchPad.js",
"src/layers/launches/lifecycle.js",
"src/layers/launches/model.js",
"src/render/color.js",
"src/geo/index.js",
"src/layers/launches/orbitRendering.js",
"src/layers/launches/overlays.js",
@@ -1951,6 +1955,7 @@
"src/render/cesium/internals.js",
"src/render/cesium/common.js",
"src/layers/launches/rendering.js",
"src/geo/horizon.js",
"src/layers/launches/replay.js",
"src/data/followed.js",
"src/layers/launches/selection.js",
@@ -3138,6 +3143,7 @@
"src/layers/cctv/health.js",
"src/layers/cctv/hover.js",
"src/layers/cctv/index.js",
"src/layers/launches/geometry.js",
"src/layers/cctv/ingestion.js",
"src/layers/cctv/lifecycle.js",
"src/layers/cctv/model.js",
@@ -4082,6 +4088,7 @@
"src/layers/cctv/health.js",
"src/layers/cctv/hover.js",
"src/layers/cctv/index.js",
"src/layers/launches/geometry.js",
"src/layers/cctv/ingestion.js",
"src/layers/cctv/lifecycle.js",
"src/layers/cctv/model.js",
@@ -5878,7 +5885,6 @@
"src/render/stub/camera.js",
"src/geo/geodesic.js",
"src/render/camera/events.js",
"src/render/stub/geodesic.js",
"src/render/stub/viewRectangle.js",
"src/render/stub/orbits.js",
"src/render/input/router.js",