Merge origin/main: shipwrecks, news, transit fronts, signal-lost trails and uncredited photos on the renderer's ports

Upstream's layers and changes are carried onto the ports, with no Cesium
outside src/render and no reach into the viewer:

- Shipwrecks draw as one icon set, clicked through the input dispatcher.
- News draws through draw sets, the camera port and the input dispatcher;
  its beacons pulse each frame through the frame port.
- The scene occlusion probe moves into src/render/cesium and reaches
  detection through a new application hook, createOcclusionProbe; its
  private Cesium reads go through internals.js.
- Flight and military trails, the stale and SIGNAL LOST cue, coasting and
  following the world clock run on the draw and frame ports. GPU icons
  follow the scene clock while the world clock is followed, and fade when
  stale. A report that holds is not planned again every tick.
- Vessels are keyed by their record id.

The stub boot now enables military, shipwrecks and news as well.
This commit is contained in:
Sameh Khamis committed 2026-11-10 20:03:28 -08:00
commit a755f63638
331 files changed
+40654 -1666

No files matched your search

+28
View File
@@ -132,6 +132,34 @@ export function webglContext(scene) {
return scene?.context?._gl;
}
/**
* Whether the scene drew its globe depth into its own framebuffer this frame,
* the depth a direct read of the pick-depth textures relies on.
* @param {object} scene Cesium Scene.
* @returns {boolean|undefined}
*/
export function usesGlobeDepthFramebuffer(scene) {
return scene?._environmentState?.useGlobeDepthFramebuffer;
}
/**
* A Cesium Framebuffer's own WebGL framebuffer.
* @param {object} framebuffer Cesium Framebuffer.
* @returns {WebGLFramebuffer|undefined}
*/
export function rawFramebuffer(framebuffer) {
return framebuffer?._framebuffer;
}
/**
* A Cesium Texture's own WebGL texture.
* @param {object} texture Cesium Texture.
* @returns {WebGLTexture|undefined}
*/
export function rawTexture(texture) {
return texture?._texture;
}
/**
* The entity Cesium's EntityView tracks: set once tracking has started and
* framed its entity, which can be frames after `trackedEntity` is set.