Merge origin/main into the renderer-contract branch: the procedural fleet models drawn through the renderer's model sets

Aircraft, military, local ADS-B, vessel, transit and rail models come from
the fleet model set, loaded up front and drawn life size through the draw
port's models sets; no layer touches the viewer or Cesium outside
src/render/cesium/. The models capability gains glTF bytes (gltf), a
per-axis stretch (axisScale), a colour for tinted parts (maskColor) and a
cut below the origin (clip: 'belowOrigin'), with conformance checks.

Main's rail layer and Data Library are ported to the ports; the CCTV
footprint probe keeps the globe-terrain clamp through the query port.
This commit is contained in:
Sameh Khamis committed 2026-11-13 14:14:42 -08:00
commit e3865f462f
533 files changed
+55738 -2518

No files matched your search

+3
View File
@@ -140,6 +140,7 @@ export function createLifecycle({ state, services, parts }) {
state._cameraChangedAttached = state._cameraChangedOff !== null;
}
parts.rendering.startFrames(viewer);
parts.rendering.startModels();
parts.viewport.runProximityCheck();
},
@@ -179,6 +180,7 @@ export function createLifecycle({ state, services, parts }) {
destroyTrack(entry.track);
}
state._vehicles.clear();
parts.rendering.stopModels();
parts.height.clear();
parts.rendering.clearMarkers();
state._altitudeGateOpen = false;
@@ -216,6 +218,7 @@ export function createLifecycle({ state, services, parts }) {
*/
destroy(viewer) {
this.disable(viewer);
parts.rendering.stopModels(true);
parts.rendering.destroyMarkers(viewer);
state._overlayHost.clearSource(TRANSIT_SELECTED_OVERLAY_SOURCE_ID);
parts.height.clear();