mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
render: wind relief is the globe port's hillshade; the wind layer no longer reaches Cesium
The wind relief now asks the globe port for hillshade surface shading at 0.28 instead of building a globe material itself; the Cesium globe port draws the same view-directed shading, over terrain normals or the globe's curvature, and the unbound provider now lists surfaceShading. The wind layer's canvas flow, bounds, imagery fade and render requests go through the camera, frame and query ports, so src/layers/wind/rendering.js and relief.js leave the Cesium allow list. A refused shading request is taken back so it never shows after Wind is off, and a camera height that is not a number falls back as before. The application layers and standalone catalog entries no longer load the unbound factories themselves: a viewer with no renderer bound needs render/cesium/unbound loaded first. The contract and current-state docs say what the Cesium adapter's fields and surface shading do now.
This commit is contained in:
1 parent
fcd1c09565
commit
2a26d13fff
10 files changed
+294
-324
No files matched your search
@@ -65,8 +65,12 @@ optional, so a renderer written before it still conforms:
|
||||
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.
|
||||
`fields` before must follow them. The Cesium adapter lists `fields` and
|
||||
draws `rasterShell` and `windStreamlines`; it refuses `scalarRaster`. It
|
||||
draws streamlines only over the whole globe: it reads the grid's samples
|
||||
as points, the first column at `rectangle.west` and the first row at
|
||||
`rectangle.north`, rows running south, and traces paths that wrap east
|
||||
and west, so it refuses a grid short of 360° of longitude.
|
||||
- `ModulationSector` gains `radius` and `floor` and says what it modulates:
|
||||
icons, points and models dimmed toward `floor` outside the band, the map,
|
||||
lines and shapes as they are, picks unchanged. Its pass is named
|
||||
|
||||
Reference in new issue
Block a user