@bendyline/molen-tooling 0.0.12 → 0.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/dist/capture/harness.js +616 -332
  2. package/dist/capture/worldgen-preview.js +540 -326
  3. package/dist/docs-src/guide/adaptive-performance.md +42 -9
  4. package/dist/docs-src/guide/aircraft.md +171 -11
  5. package/dist/docs-src/guide/ambient-life.md +30 -3
  6. package/dist/docs-src/guide/audio.md +38 -1
  7. package/dist/docs-src/guide/boats.md +9 -4
  8. package/dist/docs-src/guide/boost-mode.md +64 -0
  9. package/dist/docs-src/guide/browser-mount.md +11 -0
  10. package/dist/docs-src/guide/determinism.md +2 -1
  11. package/dist/docs-src/guide/dioramas.md +11 -4
  12. package/dist/docs-src/guide/earth-view.md +145 -8
  13. package/dist/docs-src/guide/entities.md +3 -0
  14. package/dist/docs-src/guide/glass.md +134 -0
  15. package/dist/docs-src/guide/graphics-performance.md +196 -14
  16. package/dist/docs-src/guide/input.md +34 -1
  17. package/dist/docs-src/guide/liveries.md +167 -0
  18. package/dist/docs-src/guide/livery-catalog.md +2659 -0
  19. package/dist/docs-src/guide/livery-gallery.md +2684 -0
  20. package/dist/docs-src/guide/medium-fi.md +13 -5
  21. package/dist/docs-src/guide/navigation.md +23 -5
  22. package/dist/docs-src/guide/night-lighting.md +97 -0
  23. package/dist/docs-src/guide/project.md +1 -1
  24. package/dist/docs-src/guide/regional-fleets.md +9 -4
  25. package/dist/docs-src/guide/regional-world.md +9 -3
  26. package/dist/docs-src/guide/rendering-backends.md +6 -2
  27. package/dist/docs-src/guide/sky.md +2 -2
  28. package/dist/docs-src/guide/surface-rendering.md +21 -3
  29. package/dist/docs-src/guide/terrain.md +68 -3
  30. package/dist/docs-src/guide/vehicle-interiors.md +34 -3
  31. package/dist/docs-src/guide/vehicles.md +60 -2
  32. package/dist/docs-src/guide/weather.md +60 -21
  33. package/dist/docs-src/guide/worldgen.md +20 -5
  34. package/dist/docs-src/llms.txt +8 -2
  35. package/dist/docs-src/schemas/archstyle.md +29 -0
  36. package/dist/docs-src/schemas/components.md +1790 -176
  37. package/dist/docs-src/schemas/regional-catalog.md +39 -0
  38. package/dist/docs-src/schemas/scatter.md +36 -0
  39. package/dist/docs-src/schemas/structure-placement-data.md +91 -0
  40. package/dist/docs-src/schemas/structure-placements.md +91 -0
  41. package/dist/docs-src/schemas/worldgen-batch.md +105 -0
  42. package/dist/templates/city-courier/gen/molen-types.ts +204 -1
  43. package/dist/templates/city-courier/scripts/molen-scripts.d.ts +203 -0
  44. package/dist/templates/city-courier/src/shared/playback.ts +21 -10
  45. package/dist/templates/cubes/src/shared/playback.ts +21 -10
  46. package/dist/templates/data-viz/src/shared/playback.ts +21 -10
  47. package/dist/templates/figures-gallery/src/shared/playback.ts +21 -10
  48. package/dist/templates/index.json +17 -17
  49. package/dist/templates/skybound/gen/molen-types.ts +204 -1
  50. package/dist/templates/skybound/scripts/molen-scripts.d.ts +203 -0
  51. package/dist/templates/skybound/src/shared/playback.ts +21 -10
  52. package/dist/templates/top-down-arena/scripts/molen-scripts.d.ts +203 -0
  53. package/dist/templates/top-down-arena/src/gen/molen-types.ts +204 -1
  54. package/dist/templates/top-down-arena/src/shared/playback.ts +21 -10
  55. package/package.json +12 -12
@@ -53,13 +53,13 @@ exported from `@bendyline/molen-earth/client` as `EARTH_SKY_PALETTE`, `EARTH_LIG
53
53
 
54
54
  | Element | Value | What it means for an asset |
55
55
  | --- | --- | --- |
56
- | Sun | Warm white `#fff1d8`, intensity 4.4 | Sunlit horizontal faces render near their authored color |
57
- | Sky fill | `dayAmbient` 2 from the sky dome at `skyLightSaturation` 0.18, warm ground bounce `#9a8f70` | Faces in shade sit well under half of lit faces, gently cool rather than blue, so slopes and darks read with photographic contrast |
56
+ | Sun | Near-neutral white `#fff8f0`, intensity 6.1, `referenceElevation` 26° | Sunlit horizontal faces render near their authored color at any time of day: above 26° the rig adapts as a camera's exposure would, so midday is not brighter than the palette |
57
+ | Sky fill | `dayAmbient` 1.25 from the sky dome at `skyLightSaturation` 0.3, warm ground bounce `#9a8f70` | Faces in shade sit at roughly a third of lit faces, gently cool rather than blue, so slopes, streets and darks read with photographic contrast |
58
58
  | Tone mapping | ACES filmic, exposure 1.05 | Authored colors keep their hue with a little mid-tone contrast; shade reads cool grey, not navy |
59
59
  | Cast shadows | On from the Medium tier up, in a shadow map that follows the camera | Do not bake shadows or ambient occlusion into colors or textures |
60
60
  | Sky | Saturated zenith `#2a6cc4` over a pale horizon `#b2cde4`, both lifted by ACES on screen | Large pure-white surfaces outshine it; prefer off-whites and creams |
61
61
  | Haze | The sky's own horizon color, from about 2 km | Distant ground dissolves into the horizon; do not add a fog color of your own |
62
- | Water | `#286d83` with a soft sky reflection | Lakes and bays read clearly blue, never grey |
62
+ | Water | Deep teal `#1b4450` with a soft sky reflection; hosts may tint it per region (Puget Sound near-black navy, Sydney Harbour green-teal) | Water absorbs most light: from above it is far darker than land. Keep ripples legible nearby; fade small wave detail at airplane distance |
63
63
 
64
64
  Two consequences matter for authoring:
65
65
 
@@ -100,15 +100,20 @@ where real buildings have it. Avoid both grey-on-grey and candy color.
100
100
  | Urban wall: concrete, panel, limestone | 55–90% | 0–25% | light concrete `#d2cec5`, limestone `#ddd6c6`, cool grey `#b8bfc4`, graphite `#8f9397` |
101
101
  | Masonry, brick, timber walls | 45–65% | 25–45% | brick `#a8634b`, sandstone `#c9ab84`, cedar `#a77a54` |
102
102
  | Pitched roof (shingle, tile, slate) | 35–50% | 6–40% | charcoal `#575c62`, brown `#725c49`, moss `#5a6d55`, terracotta `#a5644b` |
103
- | Flat roof (membrane, gravel) | 62–80% | 0–12% | gravel `#a9a59c`, membrane `#c4c0b6` |
103
+ | Flat roof (membrane, gravel) | 45–90% | 0–12% | white membrane `#e6e6e2`, pale grey `#d3d4d0`, gravel `#b0a693`, dark membrane `#74777b`; mostly pale, a few dark |
104
104
  | Trim and frames | 85–95% or 22–30% | 0–30% | white `#f4f1ea`, dark frame `#3b3e42` |
105
105
  | Untextured window glass | 35–45% | 20–30% | blue-grey pane `#4d6178` |
106
106
  | Lawn and residential ground | 45–55% | 25–35% | lawn `#8aa065`, grass `#7fa258`, park `#6c9a55` |
107
107
  | Paved and commercial ground | 60–70% | 5–12% | paving `#aaa59a` |
108
108
  | Forest floor and conifers | 30–40% | 25–35% | forest `#3c6a3f`, fir `#3e7052` |
109
- | Asphalt | 25–36% | 0–10% | road `#56595b` (near neutral and not too dark: a bluer gray turns navy in shade, a darker one crushes to black), with markings `#eee9d4` and `#e8bd57` |
109
+ | Asphalt | 35–42% | 0–10% | road `#646766` (near neutral and weathered: from the air streets read mid grey; a bluer gray turns navy in shade, a darker one crushes to black), with markings `#eee9d4` and `#e8bd57` |
110
110
  | Identity and wayfinding accents | 35–60% | 55–90% | signal red `#b81d18`, chrome yellow `#e7b52a` |
111
111
 
112
+ Regional ground palettes in the `molen.ecology` pack depart from the generic bands on purpose:
113
+ they are calibrated against matched orthophotos of real cities. Desert and dry soil sits near
114
+ 45–50% lightness as a warm mid brown, not pale sand; Pacific Northwest lawns and woodland floor
115
+ read darker and bluer under their conifer canopy; dense blocks pave over their unmapped ground.
116
+
112
117
  Palette rules:
113
118
 
114
119
  - **Houses carry the hue; urban blocks stay mostly neutral.** A house palette gives at least a
@@ -561,6 +566,9 @@ record the completed result once. Revisit it when a defect or relevant change wa
561
566
  5. **Modes.** Check the Economy mode (no shadows) as well as High.
562
567
  6. **Distance behavior.** Watch the switches between levels for popping, shimmer on thin parts,
563
568
  and floating or sinking at the base.
569
+ 7. **Family.** Models made by one builder or template fail together. Render the family's side
570
+ views at one scale on one sheet: an SUV with a sedan's rear, every pickup at a car's ride
571
+ height or two types with the same silhouette show there, not in one model's preview.
564
572
 
565
573
  Useful captures from a project:
566
574
 
@@ -92,10 +92,28 @@ tree entirely. Queries reach at most `radius - rebuildDistance` from the subject
92
92
  `verticalRadius` unset for a walker, whose placement ray scans the whole column.
93
93
 
94
94
  Meshes opt out with `userData.walkIgnore = true`; world-generation ground cover does, so walkers
95
- pass through ferns and moss. Water materials and landcover overlays are never solid. An aircraft can
96
- pass `instanceBounds: true`, which collides with each instance of an instanced mesh as its bounding
97
- box rather than its triangles. A missing terrain tile pauses movement until it arrives, rather than
98
- dropping the walker.
95
+ pass through ferns and moss. Meshes with all render layers disabled are skipped unless marked
96
+ `userData.walkCollisionOnly = true`, as with the smooth ramps beneath visible stair steps.
97
+ Water materials are never solid. Visible landcover provides walking support, including when it
98
+ replaces the bare terrain.
99
+
100
+ Set `walker.sampleWaterHeight = (x, z) => ...` to enable automatic surface swimming. Return the
101
+ water height in world meters, `null` on dry land, or `undefined` while water coverage is loading.
102
+ The walker wades on shallow ground, floats with its eyes 45 cm above deep water, and resumes
103
+ walking when its capsule meets the shore. `walker.swimming` reports this state; the walk input
104
+ profile stays active, with Shift swimming faster and jumping available again on land. Solid
105
+ walls and bridges still collide normally. Water also supports initial placement without a
106
+ rendered lake bed. Earth view and world explorer supply this callback from their boat water
107
+ coverage automatically, excluding tunnels beneath water.
108
+
109
+ An aircraft can pass `instanceBounds: true`, which collides with each instance of an instanced mesh
110
+ as its bounding box rather than its triangles. A missing terrain tile pauses movement until it
111
+ arrives, rather than dropping the walker.
112
+
113
+ For tunnels, the `sampleHeight` callback passed to `walker.update` must return the bore floor
114
+ when the walker's feet are inside it, and the terrain height otherwise. Earth view does this
115
+ automatically. Returning the hill above a tunnel triggers streamed-ground recovery and lifts
116
+ the walker out of the bore. Initial placement still uses the surface height to land above ground.
99
117
 
100
118
  ## Follow
101
119
 
@@ -120,7 +138,7 @@ Default profiles come from `navigationInputProfiles()`:
120
138
  |---|---|---|
121
139
  | `orbit`, `fly` | WASD/arrows move, Q/E down/up, Shift sprint | left stick move, right stick look, bumpers up/down |
122
140
  | `walk`, `drive` | WASD/arrows move, Space jump/brake, E or F interact, V view, Shift sprint | left stick move, right stick look, A jump, X interact, Y view |
123
- | `pilot` | W/S or ↑/↓ nose down/up, A/D or ←/→ bank, Q/Z rudder, Shift/Ctrl (or +/−, Page Up/Down) power, I engine, G gear, F flaps, R recover, Space brake, V view, E exit | left stick pitch/bank, right stick look, triggers power, bumpers rudder, A brake, B engine, X exit, Y view |
141
+ | `pilot` | W/S or ↑/↓ nose down/up, A/D or ←/→ bank, Z/C rudder, =/− (or numpad +/−, Page Up/Down) power, I engine, G gear, F flaps, R recover, Space brake, V view, E exit | left stick pitch/bank, right stick look, triggers power, bumpers rudder, A brake, B engine, X exit, Y view |
124
142
 
125
143
  In the `pilot` profile each `NavigationInput` also carries `pilot`: the held `throttle` and `yaw`
126
144
  axes (-1..1) and edge-triggered `engine`, `gear`, `flaps` and `recover` presses. Pitch is
@@ -0,0 +1,97 @@
1
+ # Night lighting
2
+
3
+ Earth views light occupied windows and street fixtures as the Sun sets. World Explorer and
4
+ `mountEarthView` share the same smooth transition: off above +2° solar altitude, fully on below
5
+ −6°. Date, location and time-of-day changes use the sky's Sun position, so a city's lights follow
6
+ its local night even when the controls display your own time zone.
7
+
8
+ ## Buildings and existing models
9
+
10
+ Generated buildings already identify their glass as the `window` material slot. The client adds
11
+ a compact emission layer on those actual panes. About 55% illuminate, with a deterministic mix
12
+ of warm and neutral whites and brightness levels. Each whole pane stays either on or off;
13
+ the pattern does not flicker with time, material loading or floating-origin shifts. The same
14
+ layer follows all three resident building detail levels. Silhouette boxes without windows stay
15
+ unlit.
16
+
17
+ Authored static GLB structures opt in through material metadata. Existing
18
+ `extras.molenSurface.slot: "window"` bindings are recognized automatically. For glass or lamp
19
+ faces with other materials, add this to the glTF **material's** extras:
20
+
21
+ ```json
22
+ {
23
+ "molenNightLight": {
24
+ "kind": "window",
25
+ "occupancy": 0.55,
26
+ "color": "#ffe4b0"
27
+ }
28
+ }
29
+ ```
30
+
31
+ Use `kind: "lamp"` for a permanently occupied fixture (default occupancy 1). `color` is optional;
32
+ omitting it gives the warm/neutral mix. An occupancy of 0 disables the layer. Model generators
33
+ should emit separate, disconnected glass panes for independent room occupancy. Connected glass
34
+ sheets illuminate as one surface. Mark only the emitting faces, not a combined wall-and-window
35
+ material. These tags also work on source-derived runtime LODs when those LODs retain the extras.
36
+
37
+ No window locations are guessed from a model's name, base colour or bounding box. Untagged
38
+ landmarks need a generator change to identify the intended glass or fixture faces. The light
39
+ layer follows the model's hierarchy, placement, clipping and lifetime; the original daytime
40
+ materials are retained.
41
+
42
+ ## Roads and signals
43
+
44
+ Modern surfaces place lamps along paved streets with sidewalks and at intersections. Placement
45
+ is bounded, terrain-aware and avoids mapped buildings and water. Long blocks get fixtures at roughly 28 m intervals, alternating sides.
46
+ Bridges, tunnels and unpaved roads do not receive inferred block lighting. Explicit
47
+ `tags.lit: "no"` disables block lamps. The existing surface style and `details.streetlights`
48
+ control whether fixtures are generated; historic and unlit styles keep their own choices.
49
+
50
+ Each surface tile batches illuminated lamp heads and soft pavement pools. Pools follow terrain
51
+ height, fade with dusk and share the fixtures' distance culling. Earth hosts also use sixteen
52
+ real warm point lights selected from visible street fixtures near the camera and the ground it
53
+ looks toward. They illuminate building walls, parked cars, moving vehicles and other lit
54
+ materials. The fixed pool keeps shader light counts stable as tiles stream. These lights do
55
+ not cast additional shadows; walls do not occlude them. Distant lamps keep their batched glow
56
+ and pavement pools beyond the real-light budget.
57
+
58
+ Traffic lenses remain self-lit in both daytime and nighttime and keep their simulation-driven
59
+ signal phases. Mapped props that replace inferred fixtures still need their own model lighting
60
+ metadata; arbitrary tagged model lamps currently emit without creating a point light.
61
+
62
+ ## Cars
63
+
64
+ Active traffic and the driven car get white headlights and red tail lights, including when
65
+ stopped at a signal. Lenses follow vehicle dimensions and the full chassis rotation, through
66
+ proxy/model changes and floating-origin shifts. Braking brightens the rear lenses. Four nearby
67
+ cars also receive a pair of forward, downward-aimed spotlights, with the driven car taking priority.
68
+ Each beam starts at its headlight lens and softly lights the road immediately ahead of the car.
69
+ Their beams illuminate pavement, walls and vehicles ahead. Parked, unoccupied cars keep their
70
+ lamps off and receive light from their surroundings. Hidden/despawned traffic loses its lights.
71
+
72
+ Traffic lenses are two instanced batches, capped at 512 cars, and all artificial lighting fades
73
+ out at dawn. No light changes the deterministic simulation.
74
+
75
+ `details.maxStreetlightsPerTile` gives lamps their own budget (default
76
+ 1.5 × `maxFixturesPerTile`, normally 240), so block lighting does not take parking spaces away.
77
+ Worker and direct surface generation produce the same placement and light pools. Fresh tiles
78
+ and style replacements inherit the current night factor immediately.
79
+
80
+ ## Custom hosts
81
+
82
+ `createEarthWorldgen(...).setNightFactor(factor)` and
83
+ `TerrainSurfaceRenderer.setNightFactor(factor)` accept 0..1. Compute that factor with
84
+ `earthNightFactor(sunAltitudeDeg)` from `@bendyline/molen-earth/client`. Fixed daylight hosts
85
+ can leave the default 0. Direct surface objects use `updateTerrainStreetLights(object, factor)`.
86
+
87
+ Lower-level worldgen hosts can create `NightWindowLighting` from
88
+ `@bendyline/molen-worldgen/client`, assign it to their material set's `nightWindows`, and pass it
89
+ to `StructureModelLibrary` or `StructureLodStreamer` as `nightWindows`. Dispose the controller
90
+ after its building/model objects; model eviction retains the shared emission material.
91
+ Compose real spill and traffic lighting with `EarthNightLighting` from
92
+ `@bendyline/molen-earth/client`. Construct it with `{ root, world, surface, sampleHeight }`,
93
+ where `root` uses absolute simulation coordinates (normally the terrain stream object).
94
+ Pass `vehicleHeights` from the ambient content catalog for matching traffic model heights.
95
+ Call `update({ camera, direction, factor, drivenVehicleId })` each frame and dispose it before
96
+ its root. `TerrainSurfaceRenderer.visitStreetLights` exposes only attached, visible source tiles.
97
+ Both graphics backends use standard materials and lights, without shader injection.
@@ -78,7 +78,7 @@ archives, several GB in all) are on the rolling
78
78
  [`packs` release](https://github.com/bendyline/molen/releases/tag/packs) with every other pack:
79
79
  `npx molen pack fetch https://github.com/bendyline/molen/releases/download/packs/index.json
80
80
  <ids…>`. A browser can't read those downloads directly (GitHub sends no CORS headers); host the
81
- zips yourself, or read the unzipped copy at `https://qualla.com/_a/index.json`. Without its model
81
+ zips yourself, or read the hosted copy at `https://qualla.com/_a/index.json`. Without its model
82
82
  archives, the style pack draws landmarks as procedural buildings.
83
83
 
84
84
  A project lists the packs it uses, in order, and their types join the registry like the
@@ -55,8 +55,10 @@ content retain their original behavior.
55
55
  World Explorer builds an entity archive for distribution and a versioned directory manifest for
56
56
  browser use. The index points to `molen-pack.json`, so even a static server without HTTP Range
57
57
  downloads only requested GLBs. Opening the catalog fetches no GLBs; distant traffic and parking
58
- use instanced proxies. Explicit player selection may load any vehicle. Node pack hosting also
59
- accepts a hosted directory index. Content hashes identify shared files in the Earth byte cache.
58
+ use lightweight proxies with shaped hoods, sloped windows, painted roofs and visible wheels.
59
+ The shared car silhouette uses 148 triangles and one material, with no model download.
60
+ Explicit player selection may load any vehicle. Node pack hosting also accepts a hosted directory
61
+ index. Content hashes identify shared files in the Earth byte cache.
60
62
 
61
63
  Directory reads share transfers. Cancelling one reader preserves another reader's request; when
62
64
  the last reader cancels, queued or active work is aborted. Failed/aborted reads can retry. The
@@ -73,8 +75,11 @@ residency budget rather than a process-wide memory ceiling.
73
75
 
74
76
  Configure `idleVehicleModels`, `vehicleModelBytes`, and `vehicleLoads` on `EarthAmbientSettings`
75
77
  or `AmbientRenderBudget`. Zero idle retention is supported. Parking independently loads at most
76
- eight nearby detailed cars with two background requests. Driven cars retain simulation state but
77
- release their model outside the near set. The mounted car and explicitly host-owned cars are
78
+ eight nearby detailed cars with two background requests. Both parking and traffic request full
79
+ car models within 45 metres and retain selected models out to 65 metres, subject to their count
80
+ and residency budgets. This hysteresis prevents repeated swaps at the approach threshold.
81
+ Driven cars retain simulation state but release their model outside the near set. The mounted car
82
+ and explicitly host-owned cars are
78
83
  exceptions, owned until removal. Aircraft keep their existing budget.
79
84
 
80
85
  ## Coverage and authoring
@@ -51,7 +51,9 @@ cells are visible in generation diagnostics and do not receive invented wild veg
51
51
 
52
52
  Bare and distant terrain receives the same ecological ground palette before detailed map
53
53
  surfaces arrive. `createRegionalGroundColor` supplies the terrain stream's optional
54
- `surfaceColor` callback; it runs before upload for both worker-prepared and local meshes and
54
+ `surfaceColor` callback (with an optional `colorTile` method that colors a whole tile's arrays in
55
+ one call, which Earth's regional palette provides: per-vertex calls boxed a quarter of a million
56
+ arguments per tile on the main thread); it runs before upload for both worker-prepared and local meshes and
55
57
  returns linear RGB. An explicit host `style.ground` palette takes precedence in `mountEarthView`.
56
58
  Nature-reserve, national-park and protected-area designations retain their protection metadata,
57
59
  but do not paint over the physical habitat beneath them. With no mapped physical cover, sparse
@@ -104,7 +106,7 @@ mangrove, deadwood, shrub, thicket, forb, vine, mat, and fallen-wood silhouettes
104
106
  parks, orchards, and wetlands. Regional refinements keep American cacti out of Old World wild
105
107
  desert profiles and avoid applying Australian eucalyptus profiles to New Zealand.
106
108
 
107
- Each of the 78 plant forms has a base, spreading, and slender preset, available in
109
+ Each of the 88 plant forms has a base, spreading, and slender preset, available in
108
110
  every applicable habitat and crop rule. Optional `shapeSeed` varies branch/frond arrangements,
109
111
  crown contours and stem profiles independently of the placement seed. Dimensions, crown height,
110
112
  trunk lean and restrained foliage tones also vary; these are visual forms, not additional taxa.
@@ -147,7 +149,11 @@ is their interchangeable fallback and its `weight` still controls species propor
147
149
  selection uses an independent random stream, keeping positions, density, crop rows and ordinary
148
150
  quality thinning intact. A tile reserves a base form for each retained species before admitting
149
151
  extra variants into spare model slots. Unretained forms use that base instead of disappearing;
150
- Economy and distant views therefore show fewer forms without increasing draw limits. Variant
152
+ Economy and distant views therefore show fewer forms without increasing draw limits. A species
153
+ past the tile's model budget likewise takes its rule's most common retained species, so a tight
154
+ budget simplifies a mixed stand rather than thinning it; a rule with no retained species, such
155
+ as a lone crop row, still drops out. Weights therefore also decide what a tight budget shows:
156
+ it keeps a tile's most numerous species, and minor ones appear only where it has room. Variant
151
157
  recipes must be suitable for the same habitat and placement-scale bounds as their parent.
152
158
 
153
159
  Mapped trees preserve source `species`, `genus`, `leafType`, `height`, and `crownDiameter` when
@@ -171,8 +171,12 @@ The world explorer also accepts `gpuOptimizations=0` for an uncached WebGPU comp
171
171
 
172
172
  Open [World Explorer](https://molen.dev/play/world-explorer/), then compare the same location
173
173
  and settings using [`?backend=webgpu`](https://molen.dev/play/world-explorer/?backend=webgpu) and
174
- [`?backend=webgl`](https://molen.dev/play/world-explorer/?backend=webgl). Omitting the
175
- parameter, or using `?backend=auto`, enables automatic selection. The performance HUD displays
174
+ [`?backend=webgl`](https://molen.dev/play/world-explorer/?backend=webgl). World Explorer defaults
175
+ to WebGL, as the embedded Earth view does: WebGPU currently builds node state for every new
176
+ instanced mesh, which can leave terrain preparation behind a fast aircraft despite low GPU draw
177
+ times. Explicit `?backend=auto` still negotiates WebGPU with fallback; `?backend=webgpu` pins it
178
+ and enables its screen-space ambient occlusion. The general client/viewer default remains `auto`.
179
+ The performance HUD displays
176
180
  the backend that actually rendered and any automatic fallback reason; its
177
181
  `#performance-status` element also exposes `data-backend` and `data-fallback-reason` for tests.
178
182
 
@@ -233,8 +233,8 @@ quantized to about 0.005° and magnitudes to 0.04. The engine repository regener
233
233
  No atmospheric refraction, horizon dip, terrain horizon calculation, eclipses, planetary bodies,
234
234
  Milky Way texture, lunar libration or photographic lunar map are modeled. The procedural lunar
235
235
  surface is illustrative. Sunrise and sunset are geometric approximations; this is an experience
236
- renderer, not a navigation or observational ephemeris. Layered clouds, precipitation, visibility
237
- and physical atmospheric state live in the separate [weather component](weather.md).
236
+ renderer, not a navigation or observational ephemeris. Volumetric clouds, precipitation,
237
+ visibility and physical atmospheric state live in the separate [weather component](weather.md).
238
238
  Volumetric atmospheric scattering remains future work.
239
239
 
240
240
  ## Try it
@@ -1,5 +1,8 @@
1
1
  # Surface styles and parameterized line features
2
2
 
3
+ [Night lighting](night-lighting.md) adds dusk-driven lamp heads and pavement pools to modern
4
+ street fixtures, with separate lamp budgets and matching direct/worker output.
5
+
3
6
  The terrain client renders roads, parking areas, pedestrian surfaces, and street fixtures from
4
7
  normalized semantic tiles. World explorer exposes **Surfaces → Modern traffic / Circa 1910 /
5
8
  Simple surfaces** in Human mode. Styles change in place, preserving the camera, streamed data,
@@ -30,6 +33,8 @@ const renderer = createDefaultTerrainSemanticRenderer({ surfaceRenderer: surface
30
33
  await surfaces.setOptions({ style: '1910' });
31
34
  // Call once per frame with absolute simulation time (seconds).
32
35
  surfaces.updateSignals(tick / tickRate);
36
+ // And with the scene camera's world position: far tiles' small detail stops drawing.
37
+ surfaces.updateDetail(camera.position);
33
38
  console.log(surfaces.stats());
34
39
  // Dispose the stream/layers, then the shared controller when the experience closes.
35
40
  surfaces.dispose();
@@ -247,9 +252,15 @@ await surfaces.setOptions({
247
252
  The decoder preserves road `subclass`, `service`, `link` (including Protomaps `is_link`), `surface`, `lanes`, `oneway`, `layer`, `bridge`, `tunnel`
248
253
  and explicit `width`. Properties absent from the source use class-based defaults. Tunnel roads are
249
254
  excluded from the ground painter; Earth views add separate underground bores as described below.
250
- Bridges and differing layers do not form surface junctions. Bridge ribbons retain the
251
- existing approximate terrain-relative elevation; this renderer does not build engineered bridge
252
- decks. Crossing paint, inferred sidewalks, signal placement and parking occupancy are decorative,
255
+ Bridges and differing layers do not form surface junctions. Tagged bridges receive inferred
256
+ decks, slabs, barriers and supports. Motorway spans retain clearance through their ends;
257
+ connected approaches ease back to terrain over the surrounding road fragments, with retaining
258
+ sides below raised pavement. Curved profiles follow distance along the mapped road. Barriers
259
+ sit outside paved shoulders and open at merges where the adjoining carriageway is at the same
260
+ height; edge paint also clears these openings. Traffic uses the same grading samples.
261
+ Surveyed deck heights and authored bridge connections take precedence. Inferred grades depend
262
+ on the available tile geometry and terrain, so they are not surveyed engineering profiles.
263
+ Crossing paint, inferred sidewalks, signal placement and parking occupancy are decorative,
253
264
  not surveyed traffic-control or navigation data. [Ambient life](ambient-life.md) builds its own lane graph
254
265
  from the same features for NPC traffic. Earth view and world explorer match signal heads to
255
266
  that graph, displaying the same phase that controls approaching cars. Without a matching
@@ -261,6 +272,13 @@ call `surfaces.updateSignals(elapsedSeconds, resolver?)`; a resolver receives a
261
272
  `updateTerrainSurfaceSignals(object, elapsedSeconds, resolver?)` on the surface object instead.
262
273
  Here `object` is the group returned by `createTerrainSurfaceObject`.
263
274
 
275
+ `surfaces.updateDetail(position)` hides each tile's small detail beyond its draw distance from the
276
+ camera (the scene camera's world position), measured to the tile's footprint: road signs, street
277
+ fixtures and signal lenses beyond 900 m, lane markings and parked cars beyond 1.5 km. There they
278
+ span a pixel or less, yet from a jet a view held a few hundred such draws for tiles kilometers
279
+ away. Each mesh carries its distance as `userData.detailDistance`; the call does nothing until the
280
+ camera has moved 25 m or tiles have changed, and detail shows again as the camera nears.
281
+
264
282
  ## Signage data in PMTiles
265
283
 
266
284
  PMTiles is the archive format, so its contents depend on the tile producer. OSM supports
@@ -340,6 +340,30 @@ function frame(position: [number, number, number]) {
340
340
  }
341
341
  ```
342
342
 
343
+ For movement and ground placement, use `earth.stream.sampleSurfaceHeight(x, z)`: it samples the
344
+ displayed mesh's triangles at their current detail level, including refinement transitions.
345
+ `sampleHeight(x, z)` retains the full-resolution source elevation, which can differ from the
346
+ visible mesh between vertices. Both return `undefined` outside displayed terrain. Roads, land
347
+ cover, bridges and model-owned openings still require collision against their visible geometry;
348
+ the Earth view combines rendered terrain heights with those collision queries for walking and driving.
349
+
350
+ For moving cameras, `stream.update(view, futureViews)` accepts optional predicted views, nearest
351
+ in time first. It prepares a bounded set of future leaves, semantic layers and GPU resources in
352
+ the hidden resident cache without changing the current selection. Omit the second argument to
353
+ stop prediction. Both the Earth view and World Explorer use `createEarthTilePreloader` from
354
+ `@bendyline/molen-earth/client` to predict 2, 4, 8 and 12 seconds of fast travel, capped at 4 km.
355
+ Its `views(nowMs, view, steady)` takes positions already in the Earth adapter's metric world frame;
356
+ pass `steady: false` during scripted camera animations and call `reset()` when changing frames.
357
+
358
+ Semantic preparation shares its request window across enabled layers, retaining capacity for
359
+ the next arriving tile's other layers even when one source stalls. Earth applies the same
360
+ 12-height / 24-layer preparation window to manual and automatic quality; bounded worker pools
361
+ and frame admission govern the work itself. Visual quality and selection budgets remain separate.
362
+ Layer priority follows the camera and predicted flight path through worker, assembly, GPU
363
+ preparation and publication queues, ahead of surrounding detail.
364
+ Repeated physics height probes cache the covering fields per finest-level cell; arriving tiles,
365
+ visibility changes and eviction invalidate that lookup without caching or quantizing heights.
366
+
343
367
  The selector measures projected source-sample spacing, adapts its error/range to the selected-tile
344
368
  budget, requests ancestors before descendants, and retains a displayed parent until all selected
345
369
  descendant coverage is resident. A selected tile that is not resident yet shows through its
@@ -352,9 +376,10 @@ screen-space error, displayed-level range, and leaf fallback count. Quality pres
352
376
  error, view-distance, concurrency, selection, and residency budgets. Include `direction` and
353
377
  `aspect` in each view update to reject tiles safely outside a guarded horizontal camera cone while
354
378
  retaining direction-independent coarse coverage to the configured distance. `peripheralDegrees`
355
- widens that cone for ground only: tiles up to that many degrees past it stay selected at reduced
356
- detail (`peripheralDetail`, default 0.4, weighs their error) as bare terrain, without layers, so
357
- turning the camera reveals ground that is already there; layers build once the tile is in view. In-flight surface
379
+ widens that cone: tiles up to that many degrees past it stay selected at reduced
380
+ detail (`peripheralDetail`, default 0.4, weighs their error), with hydrology prepared too, so
381
+ turning the camera reveals ground and mapped water that are already there. Buildings and vegetation
382
+ build once the tile is in view. In-flight surface
358
383
  requests finish into a bounded warm cache instead of being restarted on every small camera turn;
359
384
  hidden cached tiles are evicted only when capacity is needed. Sparse descendants also share a
360
385
  bounded decoded-ancestor cache, avoiding repeated PNG decode/resample work while panning.
@@ -368,6 +393,9 @@ water and road surfaces are marked) and water with `userData.shadowReceiver = fa
368
393
  adaptive tiles. Its optional inclusive `minLevel`/`maxLevel` bounds keep expensive decoration off
369
394
  coarse fallback and horizon tiles. Layer objects become visible only with their selected surface,
370
395
  remain cached briefly across LOD transitions, and are disposed with their resident height tile.
396
+ Hydrology is queued ahead of other visible layer work and appears as soon as it is prepared,
397
+ without waiting for buildings or vegetation. Refinement still retains parent water until its
398
+ replacement family is ready, avoiding gaps or overlapping parent/child shorelines.
371
399
  A layer object that drapes its whole tile with opaque ground (landcover over a full-tile
372
400
  background, as the regional worldgen classification layer builds) can set
373
401
  `userData[TERRAIN_COVERS_GROUND] = true`. While it is displayed, the stream stops drawing that
@@ -398,6 +426,30 @@ advance its highlights without discontinuities across floating-origin shifts. Op
398
426
  avoids dark overlap seams while adjacent or parent/child water tiles refine. Expensive semantics
399
427
  can be level-bounded, toggled without re-decoding resident objects, and disposed with the elevation
400
428
  tile. Applications may replace the decoder, renderer, materials, or model geometry independently.
429
+ When the layer context carries an `admission` queue, the default renderer builds each tile with
430
+ `createTerrainSemanticObjectSliced`: the same group as `createTerrainSemanticObject`, built a couple
431
+ of milliseconds per admitted job (pausing between water polygons and building footprints), so a
432
+ harbor's water or a coarse tile's thousands of footprints no longer hold one frame.
433
+
434
+ Package semantic sources keep the last few decoded tiles, and older ones while a layer still holds
435
+ them, so the layers that each load a tile (classification, surfaces, water, tunnels, building
436
+ detail) share one decode. Tiles cross to workers as packets (`terrainSemanticTilePacket`); a tile
437
+ derived by replacing its buildings or transportation can carry its base's packet and the edit
438
+ (`deriveTerrainSemanticTilePacket`) instead of being cloned whole. A renderer that keeps tiles to
439
+ rebuild them later keeps `keepTerrainSemanticTile(tile)` rather than the tile: calling it answers
440
+ the tile while it lives, else decodes it again from its packet, so the decoded points need not
441
+ stay on the heap meanwhile.
442
+
443
+ Mapped lake polygons also clear coarse elevation and landcover beneath their water surface,
444
+ preserving polygon holes as islands. Small bank faces close the difference between the rendered
445
+ ground triangles and the water level over the tile's own ground: clipped tile edges, and the
446
+ buffer that decoded and overzoomed areas carry past them, do not become artificial banks. These
447
+ openings follow hydrology tile residency, independently of landmark loading, and restore the
448
+ original ground on hide/unload. Roads and bridge surfaces retain their geometry. Source height
449
+ samples remain available for anchoring and physics. Ground clipping keeps shared grid vertices
450
+ indexed instead of duplicating every triangle's attributes.
451
+ `shorelineGroundOffset` defaults to the landcover lift of 0.18m, including when hydrology and
452
+ classification render in separate layers; set it to `0` for a bare elevation surface.
401
453
 
402
454
  For the standard path, `createTerrainPackageSemanticLayers` opens every optional sidecar and returns
403
455
  classification, hydrology, and human-feature layers ready for
@@ -465,6 +517,19 @@ nearest declared ancestor when an exact tile is absent, then crops and resamples
465
517
  the requested tile bounds. This supports broad coarse coverage plus a small regional detail window
466
518
  without a hard distance cutoff. Set `parentFallback: false` when exact-level coverage is required.
467
519
 
520
+ Geospatial package loaders automatically reject isolated extreme elevation samples before
521
+ resampling or meshing, including in the elevation worker. A sample must sit above or below its
522
+ entire surrounding ring by more than 100 m, twice the native sample spacing, and twice the ring's
523
+ height range. Only those outliers are replaced with the ring median; ordinary slopes, ridges and
524
+ cliffs retain their samples. This conservative check removes narrow DEM spikes and pits without
525
+ blurring the whole terrain. It is not a general repair for broad corrupt regions or missing data.
526
+ Suspicious border samples read neighbouring archive tiles so shared edges receive the same result;
527
+ incomplete surrounding coverage is left unchanged. Meshes, ground queries and ancestor fallback
528
+ all use the corrected samples. Local authored packages keep their original heights by default.
529
+ Pass `filterElevation: false` to the package opening, stream or height-source options to inspect
530
+ the original DEM, or `true` to enable the same filter for a local package. Archive files are never
531
+ rewritten.
532
+
468
533
  Adaptive quality budgets include `maxSurfaceTileResolution` (33 economy, 65 balanced, 129 high).
469
534
  This limits render geometry without reducing the decoded heightfield used for sampling, feature
470
535
  draping, or collision.
@@ -309,12 +309,43 @@ and last eighth of that travel and stay open in between, while the legs swing:
309
309
 
310
310
  Each moving part rotates about one local axis, so the model gives it a parent frame aligned with
311
311
  its hinge: a canted trunnion, a door's edge. Author the GLB in the at-rest pose (gear down,
312
- doors as they stand on the ground); keys are displacements from it. A model whose retracted parts
313
- would show through the skin can also list them in `visual.gearNodes`, hidden while the gear is
314
- fully up. Simulated gear and flap positions come from `airplane.gearTransitTime` and
312
+ doors as they stand on the ground); keys are displacements from it. Rigged gear stays visible
313
+ inside its well, including exposed stowed wheels. Use an explicit `visible` binding if a part
314
+ must disappear at full retraction. The legacy `visual.gearNodes` hide/show fallback applies
315
+ only to nodes without position or rotation bindings. Simulated gear and flap positions come from `airplane.gearTransitTime` and
315
316
  `flapTransitTime` (see [Aircraft](aircraft.md)); a script can drive any other part by publishing
316
317
  a component and naming it in `sources`.
317
318
 
319
+ ## Graduated mechanisms
320
+
321
+ Vehicle and aircraft specs can declare `actuators`, keyed by a mechanism name. An ordinary
322
+ actuator takes `{ "seconds": 3 }` for a three-second full stroke. The corresponding input's
323
+ `actuators` map selects a number from 0 to 1 (or a boolean); the state component's map records
324
+ the actual position. Selecting the opposite target reverses from the current position. These
325
+ values are part of deterministic simulation and keyframes, including while parked.
326
+
327
+ For example, a car can declare `spec.actuators.hood = { seconds: 2 }`, receive
328
+ `vehicleInput.actuators.hood = 0.5`, and bind its `hood-hinge` rotation to a source
329
+ `{ "component": "vehicleState", "path": ["actuators", "hood"] }`. Bindings displace the
330
+ authored rest pose, so hinge origins belong in the model.
331
+
332
+ `mode: "cycle"` makes `seconds` the complete cycle duration: use a 0 → 1 → 0 binding curve
333
+ for a wiper and set its input true to run. Switching off completes the current cycle and parks.
334
+ `seconds: 0` switches a state immediately, such as headlight emission. `mode: "latch"` starts
335
+ an irreversible stroke once selected, suitable for emergency release. Ordinary positional
336
+ actuators are reversible. `initial` supplies the default target and initial position.
337
+
338
+ Aircraft use the same mechanism map for `canopy`, `tailHook` and `speedBrake`; gear and flaps
339
+ retain `gearPosition` and `flapPosition`. Set `airplane.speedBrakeDrag` to the drag coefficient
340
+ added at full speed-brake deployment. Helicopters default to fixed gear; a wheeled retractable
341
+ model sets `helicopter.fixedGear: false` and `gearTransitTime`.
342
+
343
+ The navigation drive/pilot profiles emit actuator press counts: B speed brakes, H hook,
344
+ O canopy, K wipers, L lights, 1–4 doors, 5 hood, 6 rear access. Earth vehicle/aircraft hosts
345
+ apply supported controls only. Use `EarthVehicles.toggleActuators` before `update` when
346
+ consuming navigation input directly. Aircraft cockpit panels expose fractional targets.
347
+ Unsupported equipment should be omitted from the spec instead of drawing fictional parts.
348
+
318
349
  ## Exterior views and detail levels
319
350
 
320
351
  Cockpit and chase views share the GLB. An interior can be a high-detail portion of that model,
@@ -1,5 +1,9 @@
1
1
  # Mountable vehicles and driving
2
2
 
3
+ Vehicles can carry authored [glass surfaces](glass.md). Collision impulses load each pane by
4
+ its mass and orientation: laminated windshields crack while retained, tempered panes fragment,
5
+ and frame/interlayer failure is independent of fracture.
6
+
3
7
  Generic vehicles use the Bendy house brand, with stable asset/type IDs. The Bendy Bus and
4
8
  Bendy Light Rail are also mountable through the vehicle API. World Explorer has buttons for
5
9
  both at the practice area: W/S applies traction or reverse, Space brakes, V switches view,
@@ -8,6 +12,9 @@ straight practice track. Player controls do not yet follow curved rail-network r
8
12
  See the [close-view vehicle standard](medium-fi.md#controllable-vehicles-close-view-fidelity)
9
13
  for the extra model detail expected around the operator.
10
14
 
15
+ Compare car colors and RV graphics in the [livery gallery](livery-gallery.md). The
16
+ [complete livery catalog](livery-catalog.md) lists selection ids and reference evidence.
17
+
11
18
  World Explorer's parking cars are external entity types with stable IDs and metric dimensions.
12
19
  The entity pack includes eleven Bendy road models and eighty U.S. market reference vehicles:
13
20
  forty recent models plus forty varied models from 2005–2024. These range from the F-150,
@@ -126,13 +133,40 @@ car it hits stays put. Terrain gaps pause motion; abrupt steps and slopes above
126
133
  the car. Cockpit views use the full chassis quaternion; chase views shorten at obstructions.
127
134
 
128
135
  This is a grounded driving model. It does not implement airborne rotation, rollovers, crash
129
- deformation or damage, pushing other cars, per-surface friction (grass and gravel grip like the
136
+ deformation, pushing other cars, per-surface friction (grass and gravel grip like the
130
137
  road), passenger animation, multiplayer ownership, or disk persistence. Background traffic is a
131
138
  separate package: [ambient life](ambient-life.md) moves NPC cars along lanes without this solver,
132
139
  and they stop for a car someone is driving. Without collision hooks, the reusable kernel solver
133
140
  supplies terrain driving only. Do not attach a second physics body to the same vehicle; the
134
141
  vehicle solver owns its transform.
135
142
 
143
+ ### Breakable parts
144
+
145
+ The ground-vehicle catalog (cars, buses, cycles and rail vehicles) binds independent wheels and
146
+ exterior panels to `spec.collisionParts`.
147
+ Hard contact reduces the struck part's joint integrity; a broken joint releases its named GLB
148
+ geometry as debris with its own velocity, spin, gravity and collisions. Other parts stay attached.
149
+ Lost wheels reduce grip and drive force on their axle; front-wheel loss also reduces steering.
150
+ Hard landings can break wheel joints. This remains a grounded chassis approximation: the body
151
+ does not roll over or simulate individual suspension collapse after losing a wheel.
152
+
153
+ Each part declares `id`, `role` (`frontWheel`, `rearWheel`, `panel` or `engine`), model-space
154
+ `center`, sphere `probes` and `radius`, `massFraction`, `breakSpeed` in m/s, and exact GLB `nodes`.
155
+ An optional `hinge` has a `pivot`, unit `axis`, full-travel `angle` and `actuator` name; it moves
156
+ door, hood and trunk probes with the panel. Joint strengths are gameplay tuning. Hosts supply
157
+ `VehicleEnvironment.contacts(probes, entity)` for detailed obstacles alongside `canOccupy` for
158
+ the chassis. Chassis impacts also load nearby joints using the inferred contact point, even
159
+ with only `canOccupy`. `vehicleObstacleContacts` from `client/vehicles` adapts resident triangle geometry
160
+ and nearby vehicles. Detailed contacts additionally detect parts extending beyond the chassis.
161
+
162
+ `vehicleState.damage` and `debris` survive keyframes. Debris expires after 20 simulation seconds;
163
+ the part stays missing. Pass the state as the sixth argument to `VehicleVisual.update` to apply
164
+ damage after animation; Earth view and World Explorer do this automatically. Press **R** once
165
+ stopped to repair parts in place. Hosts can call `EarthVehicles.recover()`, `EarthView.recover()`
166
+ in drive mode, or `repairVehicle(world, id)` from `kernel/vehicles`. Glass has its own fracture
167
+ state and is not repaired by this operation. Other vehicles remain static collision targets;
168
+ debris-to-debris collisions and damage transfer into the struck vehicle are not simulated.
169
+
136
170
  All durable simulation state and mount relationships live in ECS components and survive keyframes
137
171
  and replay. Install the same systems/environment when restoring. Host streaming and render resources
138
172
  are separate from those checkpoints.
@@ -148,6 +182,27 @@ ground (under open sky, never a roof or deck), `board(id)` without walking to th
148
182
  in. The entity's `vehicle.color`, when set, paints the model's `paintMaterial`; without one the
149
183
  authored paint stays.
150
184
 
185
+ A host can make boarding two presses, as the world explorer does: `openDoor(eye)` opens the shut
186
+ front door (`doorFrontLeft` or `doorFrontRight`) on the walker's side of the nearest car in reach
187
+ and returns false when there is none, so the next press falls through to `enter(eye)`.
188
+ `closedDoor(id, eye)` names that door for a prompt. The door shuts behind the driver, or once
189
+ nobody is within reach; calling `openDoor(eye, id)` after `exit()` swings it open as the driver
190
+ steps out.
191
+
192
+ A stopped [ambient traffic](ambient-life.md#taking-a-stopped-car) car (slower than 0.5 m/s) is a
193
+ car in reach too, in `mountEarthView` and for these methods: `openDoor` or `enter` takes it out
194
+ of traffic, and a drivable car of its type and paint stands at its pose, after which the doors,
195
+ seats and exits work as for any parked car. `trafficSolids()` lists circles around the cars a
196
+ driver has left standing, for `EarthAmbient.sync`, so traffic queued behind one keeps its gap
197
+ until it drives off. A taken car nobody drove away rejoins traffic once its model unloads 65 m
198
+ away; one driven elsewhere stays parked. Moving traffic is never boardable.
199
+
200
+ Parked cars become simulation entities only within 300 m of the observer passed to `sync`, to
201
+ approach, board and collide with; farther ones that nobody moved are reclaimed and stay part of
202
+ their tile's merged mesh. Under an aircraft a town's parked cars were otherwise thousands of
203
+ dormant entities, spawned as each tile streamed in and visited every tick. The `vehicles` system
204
+ also passes over a dormant car after one lookup until a write replaces its state.
205
+
151
206
  Passengers use the same mount contract. A `mountable` lists seats with a role: `driver` seats
152
207
  drive, `passenger` seats ride. `mountEntity(world, actor, vehicle, 'passenger')` seats someone
153
208
  beside the driver (stopped vehicle, within `reach` of the seat), the `mounted-seats` system carries
@@ -226,7 +281,10 @@ Surface objects expose `userData.vehicles: VehiclePlacement[]`; each record has
226
281
  type `kind`, `color`, resolved `spec`, absolute metric `position`, and `yaw`, with optional
227
282
  terrain-alignment `pitch` and `roll`. IDs derive from world-space bay positions rather
228
283
  than tile IDs. Instance meshes retain `userData.vehicleIds` for promotion and duplicate suppression.
229
- The worker transports the same placement records as synchronous generation.
284
+ The worker transports the same placement records as synchronous generation. Surface objects with
285
+ parked cars are tagged `'parked-vehicles'` and water surfaces `'water'` (`tagTerrainObject`), and
286
+ Earth view's vehicles visit `taggedTerrainObjects(tag)` shown under their root instead of walking
287
+ the whole scene five times a second; a host building its own such objects tags them the same way.
230
288
 
231
289
  For repeatable visual review open
232
290
  [World Explorer with `?synthetic=1&parking=1`](https://molen.dev/play/world-explorer/?synthetic=1&parking=1).