feat(satellites): ISS as a 3D model up close, NASA live video when selected

Within 1,500 km of the camera the ISS (NORAD 25544) is drawn as NASA 3D
Resources' station model, at its real 109 m span with a 72 px floor, in
its usual +XVV attitude from a per-frame SGP4 sample (the follow camera's
sample while tracked). Farther out the dot stays; model and dots split
the distance range. Selecting the ISS opens a panel beside the existing
tracked card with NASA's official ISS live stream, embedded through
youtube-nocookie with a fixed video id (no page scraping).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Itallo BrandãoandClaude Opus 5.5 committed 2026-11-12 19:03:29 -03:00
1 parent 10a788db78
commit 9aeabbacfb
32 files changed
+841 -17

No files matched your search

+8
View File
@@ -200,6 +200,11 @@ export function createRendering({
if (!layerState._enabled) return;
const now = focusNowMs(Date.now());
// The ISS as a 3D model up close. First, before the tracked sample below
// is refreshed: the follow camera and the tracked dot were placed this
// frame from the sample still cached, and the model must sit on it too.
parts.issModel?._updateIssModel();
const interval = layerState._trackedNorad ? 200 : POSITION_UPDATE_MS;
// Space Missions keeps this layer enabled for TLE lookup while deliberately
// hiding its standalone fleet. Do not rebuild hidden point buffers on the
@@ -229,6 +234,9 @@ export function createRendering({
if (layerState._cockpitSubjectNorad !== null)
parts.cockpit?._syncCockpitSubjectVisuals();
// NASA's live video beside the card while the ISS is selected.
parts.issLive?._syncIssLive();
_updatePointFocus(now);
// Hidden standalone orbit primitives do not need GMST matrix writes while