Phase 2c: eclipse/overpass calculators + live-map camera polish #3
Reference in New Issue
Block a user
Delete Branch "phase-2c"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Calculators (apps/live-map/src/calculators/):
threshold-crossing detection, bisection to refine start/end,
ternary search to find peak. Handles eclipse already in progress
at scan-start. Uses sun = parentId===null body.
minima, ternary refinement. Targets: vessel, body, ground station
(lat/lon/alt → heliocentric).
UI:
two tabs. Eclipse form: observer, eclipser, from UT → 3 windows.
Overpass form: observer vessel, target kind+id, max dist → 5 passes.
Live-map camera polish (apps/live-map/src/scene/):
range -3..12), spherical orbit around target, smooth lerp to
selected body/vessel. Mouse wheel zooms, drag rotates, click
raycasts for track toggle. Pointer-move-distance gate to
distinguish click from drag.
fragment shader, BackSide) attached as child of body mesh.
parent chain); previous version returned parent-relative for
non-root children which broke the eclipse calculator.
Bug fix:
was inverted.
proj <= 0correctly returns 0 (occluder behindobserver),
proj > 0triggers eclipse computation.Tests: 28 live-map tests (10 scene + 12 calculator + 6 camera),
45 total across the workspace, all passing.