mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-23 11:42:21 +00:00
Merge main into byrdit/recent-imagery-dateline
This commit is contained in:
commit
46f8ea16c0
105 files changed
+6960
-1269
No files matched your search
+47
-7
@@ -202,6 +202,15 @@ voice follow-ups match on them and bikeshare uses the raw station name as its
|
||||
ID. The text is still untrusted: normalization does not prevent prompt
|
||||
injection.
|
||||
|
||||
`src/annotations/screenAnnotationRenderer.js` does not sample the surface
|
||||
height under an anchor whose whole accepted height range (-430 to 9000 m) is
|
||||
behind the camera or below the globe horizon; such an anchor is hidden. A lone
|
||||
point whose range lies outside one plane of the view frustum is not sampled
|
||||
either. Points of arrows, routes and areas are sampled even outside the view,
|
||||
so the visible part of a mark runs to their real height. Until sampled, a point
|
||||
is projected at 0 m. At most 32 samples run per `projectAll()` pass,
|
||||
oldest-refused first, and each anchor retries a miss at most once a second.
|
||||
|
||||
Terrain height requests accept at most 64 points, matching the browser service's
|
||||
existing batch size and one bounded upstream chunk. Larger requests return HTTP
|
||||
413 before disk-cache loading or upstream work; malformed coordinates remain 400.
|
||||
@@ -1618,7 +1627,7 @@ warning, capped and unknown cost states also appear in the dock heading when
|
||||
Settings is closed. The existing hard cost cap still stops the session and
|
||||
announces the reason.
|
||||
|
||||
Automatic Voice Preview uses output from the active mounted provider, including late replies that may answer an older request. Manual panel choices remain until genuine local input rearms automatic presentation. Preview stays off when disabled, remains hidden in Cockpit, and retires on Stop or provider replacement. Display events do not grant command authority.
|
||||
Automatic Voice Preview uses output from the active mounted provider, including late replies that may answer an older request. Manual panel choices remain until genuine local input rearms automatic presentation. Preview stays off when disabled, remains hidden in Cockpit, and retires on Stop or provider replacement. In the panel, the last reply stays until the next turn replaces it; only the voice card floating on a control without the panel hides 14 s after its last update. Display events do not grant command authority.
|
||||
|
||||
Typed chat sits beside voice in the dock. Chat replies are silent and never
|
||||
request microphone access. The first message connects with the selected
|
||||
@@ -1648,6 +1657,12 @@ and the chat shows a matching message.
|
||||
|
||||
Chat and the voice panel sit above the dock or dock into the right rail's lane,
|
||||
which hides the rail until the panel minimizes or closes, or a rail panel opens.
|
||||
A voice or chat action that selects something (`select_nearest_aircraft`,
|
||||
`track_entity`) opens its card in the Context panel as a click on it does
|
||||
(`createContextCardOpener` in `src/ui/stores/entityCard.js`, handed to voice by the app), except in
|
||||
Cockpit (as Cockpit's own state reports it) or when another card was picked
|
||||
while the action ran, which then stays, and steps a panel docked in the lane down to its bar so the rail
|
||||
shows it; a panel above the dock leaves the rail in view and stays as it is.
|
||||
Minimized panels always sit as a bar centred above the dock; restoring returns a
|
||||
docked panel to the lane. A centred panel steps down to its bar when the pointer
|
||||
reaches the Location or Visual Presets button and rests above an open tray,
|
||||
@@ -2078,6 +2093,16 @@ already shows, so the list cannot pick that camera: FOCUS does, and so does
|
||||
NEAREST when that camera is the nearest. Closing the list without a choice
|
||||
keeps automatic selection.
|
||||
|
||||
The active camera's pictures follow what can be seen. The monitor plane skips
|
||||
its 10 s still while the renderer reports it off screen or below the horizon,
|
||||
and fetches on the first refresh tick after it is back. Activating or
|
||||
calibrating a camera bypasses visibility and the usual refresh interval, but
|
||||
still waits for an in-flight request and the provider's minimum interval.
|
||||
The panel's still and live video run only while the tab is visible and the
|
||||
panel is open (on phones, the Cameras sheet). The still also loads while
|
||||
Context shows the camera's card (on phones, the Context sheet) or its bigger
|
||||
view is open.
|
||||
|
||||
Traffic owns its rendered-surface observer only while enabled, removes it on disable/destroy, and rebuilds no cached heights on frames where the surface identity is unchanged. Its dots and heat-lines are two renderer draw sets, it animates on the frame port's preRender, and it follows the camera through the camera port at its own 5% threshold rather than the shared `percentageChanged` ledger. The surface identity is the globe port's `surfaceVersion()` and tile readiness its `isSettled('surface')`, so the layer no longer reaches Cesium. Heat-lines are always asked for draped: where the Cesium renderer cannot drape (no depth textures) its draw port draws them (and every other draped line) over the surface, in their colour where the surface hides them and hidden past the horizon, recolouring a line in place when only its colour changes, rather than the layer dropping them.
|
||||
|
||||
Traffic and bikeshare expose factories through `./layers/traffic` and
|
||||
@@ -3727,9 +3752,10 @@ that misses onto the map surface, it searches at most eight hits in a 14px squar
|
||||
and accepts the first registered layer hit, stopping at non-map objects. Civil
|
||||
and military aircraft and vessels share this rule; fine pointers stay exact.
|
||||
|
||||
Manually opening Context with a tracked civilian or military aircraft enters
|
||||
the existing Contacts mode when Context is off. Contacts adopts that aircraft
|
||||
without restarting its tracking. Programmatic sheet changes and closing the tab do not activate a mode.
|
||||
Opening the Context tab only presents the Context panel, as on desktop: with
|
||||
an aircraft tracked it shows that aircraft's card (a click on it opened the card
|
||||
whether or not the panel was open). It never switches Contacts or any other
|
||||
Context mode on, and changes no layer or detection.
|
||||
|
||||
Sheets borrow panels. Opening one expands its panels without persisting them or
|
||||
claiming a user choice, and share links keep reporting each borrowed panel's
|
||||
@@ -9074,8 +9100,17 @@ apply to `public/` assets or built-preview serving.
|
||||
ending, by its own switch or one of its layers going off, restores the
|
||||
pre-Contacts layers but keeps the ridden one and the view; Live Signals then
|
||||
drops the rows Contacts built and shows `CONTEXT STANDBY`. The visible
|
||||
Cockpit actions, double-click and voice use the same gate; voice entry still
|
||||
opens Contacts first, as its layer-targeted entry navigates through Contacts.
|
||||
Cockpit actions, double-click and voice use the same gate. Voice entry, like
|
||||
the COCKPIT button, never turns Contacts or detection on. A
|
||||
voice entry that names a layer or class ("a military helicopter") searches
|
||||
the aircraft that layer shows under the person's filters, nearest first,
|
||||
from the followed aircraft or the ground under the camera, and follows the
|
||||
nearest match (the followed aircraft counts when it matches) before it
|
||||
enters (`_retargetCockpitEntryLayer` in `src/ui/cockpitCoordinator.js`). A
|
||||
military request while Military Flights is off switches that layer on as a
|
||||
plain layer the person can switch off, waits for its first data before
|
||||
searching, and switches it off again if entry then fails; a layer that was
|
||||
already on stays on. Contacts stays as it is.
|
||||
The ship bridge and the orbital view have their own own-layer gates
|
||||
(`bridgeEntryAllowed`, `orbitEntryAllowed`; see
|
||||
[Ship bridge view](#ship-bridge-view) and [Orbital view](#orbital-view)).
|
||||
@@ -9914,7 +9949,12 @@ its paint loop. Camera deactivation destroys the decoder, and fatal playback
|
||||
errors revert to the labeled frame fallback. Camera changes clear the old panel
|
||||
frame. hls.js is imported only when an HLS camera starts. Two live sessions may
|
||||
coexist with at most eight independent consumer leases each; no-access lease
|
||||
expiry is 15 seconds. Closing one consumer leaves other consumers running. Lease
|
||||
expiry is 15 seconds. A viewer refused because every lease or session slot is
|
||||
taken gets 503 with `Retry-After: 2` and leaves the camera's health unchanged;
|
||||
so does its frame fallback, since an HLS camera without a snapshot has no frame
|
||||
of its own. That viewer's panel badge reads FALLBACK · DEGRADED and its meta
|
||||
line drops the live health message, since the shared live health does not
|
||||
describe the frame it shows. Closing one consumer leaves other consumers running. Lease
|
||||
ids use `crypto.randomUUID` where the page is a secure context and an equivalent
|
||||
v4 id from `crypto.getRandomValues` on plain-HTTP LAN pages. Encrypted/fMP4/byte-range playlists fail
|
||||
closed. Performance and live agency reliability require recorded validation.
|
||||
|
||||
@@ -105,9 +105,13 @@ Status: Open (source limits, by design)
|
||||
15-minute density product derived from Vaisala NLDN/GLD360 on an approximately
|
||||
8 km grid, for the Americas and Pacific only (110°E across the dateline to 0°,
|
||||
25°S–80°N). It is not a live strike counter or an all-clear.
|
||||
- **Cyclone advisories cover NOAA's basins only:** the Atlantic and the
|
||||
eastern/central North Pacific (NHC and CPHC). Storms elsewhere do not appear.
|
||||
The cone is forecast-center uncertainty, not storm size.
|
||||
- **Cyclone advisories come from two agencies:** NHC and CPHC for the Atlantic
|
||||
and the eastern/central North Pacific, and the Joint Typhoon Warning Center
|
||||
(JTWC) for the western North Pacific, North Indian Ocean and Southern
|
||||
Hemisphere. JTWC is not the official warning centre for those basins, and its
|
||||
winds are 1-minute averages, higher than the 10-minute winds regional centres
|
||||
quote. The NHC cone is forecast-center uncertainty, not storm size; JTWC's
|
||||
34-knot wind danger area is not a cone.
|
||||
- **Satellite clouds:** global infrared is hourly with typically 2–3 hours of
|
||||
source latency. Clouds only is a brightness filter, not a cloud mask.
|
||||
- **Wind is a forecast.** The animation flows through one forecast on an
|
||||
|
||||
@@ -81,6 +81,13 @@ optional:
|
||||
target's east-north-up frame, or the identity. `setView` keeps that frame
|
||||
while it places a world pose. A share link's follow offset is
|
||||
re-expressed in it, satellites included.
|
||||
- `camera.visiblePoints(points, horizonMarginM)` (capability `pointVisibility`)
|
||||
is whether any of the points may be on screen: `false` only when their
|
||||
bounding sphere is outside the view or all of them are below the horizon
|
||||
of the WGS84 ellipsoid shrunk by `horizonMarginM` metres; `null` when it
|
||||
cannot tell (not a 3D scene, an empty point set, or a non-finite point or
|
||||
camera vector), and callers count that as visible. Supply a finite,
|
||||
nonnegative margin smaller than the shortest WGS84 radius.
|
||||
- `globe.surfaceVersion()` (capability `surfaceIdentity`) is a number that
|
||||
changes whenever what surface heights answer against changes (base,
|
||||
terrain or photoreal route swapped, the globe shown or hidden) and never
|
||||
@@ -115,6 +122,58 @@ optional:
|
||||
- A line item's `depthFail` style, solid or dashed, draws the parts behind
|
||||
the surface (the Draw tool's rubber band is dashed there too); without one
|
||||
they are hidden.
|
||||
- `LineItem.ageFade` (capability `lineAgeFade`, `LineAgeFade`) fades a
|
||||
line with the age of its points on the scene clock (`frame.setTime`):
|
||||
each position has a time, a point's recency is
|
||||
`1 - clamp((now - time) / windowMs, 0, 1)`, running evenly between
|
||||
positions, and the line's colour (its style's or a segment's) draws at its
|
||||
alpha times `mix(alphaFloor, 1, smoothstep(0, 1, recency))`, times
|
||||
`mix(squaredAlphaFloor, 1, recency²)` with `squaredAlphaFloor`, and
|
||||
`widthPx` times `mix(widthFloor, 1, recency)` wide with `widthFloor`. Time
|
||||
passing changes the drawing, not the line, so a trail whose points stay
|
||||
put is never sent again; new times with new positions are an ordinary
|
||||
update. A renderer without the capability draws the line unfaded. The
|
||||
Cesium port lists it where its context has floating-point textures: an
|
||||
aged line's material reads its points' times from a small texture and the
|
||||
scene's time from a uniform set each frame, per fragment (draped lines
|
||||
along their length, others per vertex), and an undraped one moves and
|
||||
recolours in place in its polyline collection. The check
|
||||
`draw.lines.ageFade` covers it, draped and not, narrowed too.
|
||||
- `LineAgeFade.showMs` (capability `lineTimeWindow`) draws only the part of
|
||||
an aged line within `showMs` of the scene clock: where its time, running
|
||||
evenly between positions as the fade's does, is after now or before
|
||||
`now - showMs`, it is not drawn (nor picked), cut there along the line,
|
||||
not at a position. The cut follows `frame.setTime` as the fade does, so a
|
||||
moving object's trail can be its whole track, sent once and drawn from
|
||||
`showMs` ago up to where the object is now; `Infinity` cuts at now alone.
|
||||
A renderer without the capability draws the whole line. The Cesium port
|
||||
lists it with `lineAgeFade` and discards by time in the same material;
|
||||
the check `draw.lines.timeWindow` covers it, draped and not.
|
||||
- `LineItem.breaks` (capability `lineBreaks`, `LineBreaks`) draws one line
|
||||
as several runs, so many lines that share one style can be sent as one
|
||||
item: thousands of moving objects' trails as one line, say, which the
|
||||
renderer then handles as one item instead of thousands. Each break is the
|
||||
index `i` of a position that starts a new run, sorted, with
|
||||
`0 < i < positions.length`; the segment from position `i - 1` to `i` is
|
||||
not drawn nor picked, and the line does not join across it: each run has
|
||||
two ends of its own, capped and joined as a line of its own would be.
|
||||
`segmentColors` and `segmentShow` stay one a pair of neighbouring
|
||||
positions (`j`, from position `j` to `j + 1`), so the entry of a pair
|
||||
across a break is ignored; `ageFade.times` stays one a position; and
|
||||
`revealFraction` runs along all the runs, in order, as one length (the
|
||||
gaps have none). It is an optimisation: a renderer without it is never
|
||||
sent `breaks`, and is sent the same lines as an item a run instead,
|
||||
drawing the same picture. The Cesium port lists it and draws a line
|
||||
in runs a piece a run (a polyline each in the set's collection, undraped;
|
||||
a ground polyline each, draped; a primitive each with a depth-fail style
|
||||
or in the sky's frame), each taking its own points' times, share of the
|
||||
reveal and segment colours, and picked as the line. A draped solid line
|
||||
with segment colours stays one ground instance a segment, none across a
|
||||
break. Colours and shows change in place; new positions, times, reveal or
|
||||
breaks draw the line anew. The check `draw.lines.breaks` covers it,
|
||||
draped and not, with segment colours and without, and
|
||||
`draw.lines.breaks.timeWindow` a line in runs cut by time whose first
|
||||
run is later than its second, each run cut by its own times.
|
||||
- A solid line's `outline.widthPx` is the outline's whole width, half on
|
||||
each side, inside the line's own width: an 8 px line with a 4 px outline
|
||||
is 2 px of outline, 4 px of colour and 2 px of outline, as Cesium draws
|
||||
|
||||
Reference in new issue
Block a user