Add fields' alpha, paused, shell detail and a drawn event, in the contract and the stub

windStreamlines takes alpha and paused; rasterShell replaces detailWindow
with a detail image and rectangle and says how shells stack, blend and
update; FieldHandle.on('drawn') says once per change that it is drawn,
never while hidden. The stub fires it on the render after a change, and a
conformance check covers it. The Cesium adapter has no fields yet.
This commit is contained in:
Sameh Khamis committed 2026-11-08 14:19:52 -08:00
1 parent c32bf3177d
commit c87bd38d18
4 files changed
+126 -4

No files matched your search

+8
View File
@@ -53,6 +53,14 @@ optional, so a renderer written before it still conforms:
normals) that only darkens, at most `strength` opacity. The Cesium port
draws it as a globe material it takes only while no one else holds the
globe's material; it has no `relief` kind.
- Fields: `windStreamlines` takes `alpha` (changed without a rebuild) and
`paused`; `rasterShell` replaces `detailWindow` with
`detail: {image, rectangle}`, a sharper image drawn in place of the base
one, and says how shells stack, blend and update. `FieldHandle.on('drawn')`
says once per spec or `update` that it is drawn, never while hidden. These
change `fields` itself rather than add to it, so the renderer follows
`fields` before must follow them; only the stub lists it, and the Cesium
adapter has no `fields` yet.
- `camera.on('changed', cb, { threshold })` measures each listener by its
own threshold under the capability `cameraChangeThreshold`; a renderer
without it fires every `changed` listener at 0.5.