feat(render): a renderer can draw weather: the weather capability adds globe.weather (clouds, fog, haze, rain and snow, 0 to 1, and the wind they drift on); the view shows the conditions observed under the camera, and the Display panel's Weather group sets them by hand

This commit is contained in:
Sameh Khamis committed 2026-11-13 11:02:56 -08:00
1 parent 639e92b4f7
commit 0b1dc325bc
29 files changed
+869 -27

No files matched your search

+5
View File
@@ -19,6 +19,7 @@ export const CAPABILITIES = Object.freeze([
'finestHeights',
'terrain',
'modelAtmosphere',
'weather',
'imageryOnTiles',
'splitSwipe',
'imageryFrames',
@@ -147,6 +148,9 @@ export const PORTS = deepFreeze({
['setSurfaceShading', 'surfaceShading'],
['imagery.getSplit', 'splitSwipe'],
['imagery.setSplit', 'splitSwipe'],
['weather', 'weather'],
['weather.get', 'weather'],
['weather.set', 'weather'],
]),
draw: Object.fromEntries([
...required(
@@ -353,6 +357,7 @@ export const ROLES = deepFreeze([
members: [
'effects',
'globe.sky',
'globe.weather',
'globe.setSurfaceShading',
'imageryLayer.lit',
],