The renderer seam: clicks go to the newest tool, recession and display groups through the contract, drawing at parity with Cesium

- Clicks: when two tools want the globe's clicks, the newest takes them and the older is told and turns itself off; a click is decided when it arrives, and ambient selection fires only when no tool holds the pointer. The "map is busy" paths and their strings are removed.
- Recession: the limb fade is shared (src/render/recession.js) and reaches icon and model sets through SetSpec.recede; tuning applies on the next frame.
- Display panel groups are published through src/ui/displayGroups.js; the Weather group and src/viewWeather.js are removed.
- Draw port: a set whose icons only move is moved in place, and models that did not change are not restyled each frame, so moving fleets cost what they did when drawn directly; an untinted, fully opaque model is drawn without a colour.
- Conformance: input.lease.lost checks the new lease inside onLost and reports a throwing onLost; draw.sets.recede covers model sets.
- QA scripts read the renderer host instead of internals the seam replaced.
This commit is contained in:
Sameh Khamis committed 2026-11-15 17:03:09 -08:00
1 parent a0d299523d
commit 0ab31d4fb8
130 files changed
+5438 -1674

No files matched your search

+6 -5
View File
@@ -58,11 +58,12 @@
models line up with their gates (samehkhamis).
- A renderer can draw weather: the `weather` capability adds `globe.weather`,
with clouds, fog, haze, rain and snow (each 0 to 1) and the wind they drift
on. Where the renderer lists it, the view shows the conditions observed
under the camera, asked again after five minutes or 25 km of movement, and
the Display panel's Weather group can turn live weather off and set
clouds, fog, rain and snow by hand. The Cesium renderer does not draw
weather, and shows no Weather group (samehkhamis).
on. `./render/weather` and `./weather/effects` export the shared rules and
the strengths of a weather observation. The Cesium renderer does not draw
weather (samehkhamis).
- An application can add its own groups of toggles, sliders and notes to the
Display panel under Effects, with `publishDisplayGroup` from
`./ui/display/groups` (samehkhamis).
- The globe opens at planet level, the whole Earth in view, on every
renderer, instead of flying in to Austin. A shared link still flies from
there to its view. An application can start somewhere else, a city for