@bendyline/molen-tooling 0.0.15 → 0.0.17

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 (48) hide show
  1. package/dist/capture/harness.js +755 -406
  2. package/dist/capture/worldgen-preview.js +409 -298
  3. package/dist/docs-src/guide/3d-art-guidelines.md +15 -9
  4. package/dist/docs-src/guide/adaptive-performance.md +50 -23
  5. package/dist/docs-src/guide/aircraft.md +263 -29
  6. package/dist/docs-src/guide/ambient-life.md +36 -9
  7. package/dist/docs-src/guide/building-interiors.md +92 -8
  8. package/dist/docs-src/guide/determinism.md +1 -1
  9. package/dist/docs-src/guide/earth-view.md +215 -16
  10. package/dist/docs-src/guide/entities.md +42 -8
  11. package/dist/docs-src/guide/figures.md +32 -4
  12. package/dist/docs-src/guide/graphics-performance.md +122 -18
  13. package/dist/docs-src/guide/livery-catalog.md +137 -1
  14. package/dist/docs-src/guide/livery-gallery.md +136 -1
  15. package/dist/docs-src/guide/medium-fi.md +197 -12
  16. package/dist/docs-src/guide/night-lighting.md +13 -0
  17. package/dist/docs-src/guide/recognizable-places.md +47 -4
  18. package/dist/docs-src/guide/regional-fleets.md +27 -5
  19. package/dist/docs-src/guide/regional-world.md +19 -1
  20. package/dist/docs-src/guide/rendering-backends.md +28 -4
  21. package/dist/docs-src/guide/sky.md +28 -2
  22. package/dist/docs-src/guide/snow.md +231 -0
  23. package/dist/docs-src/guide/surface-rendering.md +333 -11
  24. package/dist/docs-src/guide/terrain.md +74 -5
  25. package/dist/docs-src/guide/typography.md +36 -0
  26. package/dist/docs-src/guide/vehicle-interiors.md +6 -0
  27. package/dist/docs-src/guide/vehicles.md +374 -46
  28. package/dist/docs-src/guide/weather.md +7 -1
  29. package/dist/docs-src/guide/worldgen.md +82 -3
  30. package/dist/docs-src/llms.txt +3 -2
  31. package/dist/docs-src/schemas/README.md +2 -0
  32. package/dist/docs-src/schemas/components.md +835 -57
  33. package/dist/docs-src/schemas/figure.md +30 -4
  34. package/dist/docs-src/schemas/interior-catalog.md +56 -3
  35. package/dist/docs-src/schemas/map-overrides.md +658 -0
  36. package/dist/docs-src/schemas/sign-looks.md +174 -0
  37. package/dist/docs-src/schemas/structure-placement-data.md +195 -0
  38. package/dist/docs-src/schemas/structure-placements.md +195 -0
  39. package/dist/docs-src/schemas/worldgen-batch.md +95 -0
  40. package/dist/templates/city-courier/gen/molen-types.ts +121 -4
  41. package/dist/templates/city-courier/scripts/molen-scripts.d.ts +120 -3
  42. package/dist/templates/figures-gallery/test/headless.test.ts +3 -2
  43. package/dist/templates/index.json +17 -17
  44. package/dist/templates/skybound/gen/molen-types.ts +121 -4
  45. package/dist/templates/skybound/scripts/molen-scripts.d.ts +120 -3
  46. package/dist/templates/top-down-arena/scripts/molen-scripts.d.ts +120 -3
  47. package/dist/templates/top-down-arena/src/gen/molen-types.ts +121 -4
  48. package/package.json +12 -12
@@ -91,13 +91,14 @@ figure` prints the full shape (the `molen/figure@1` file format wraps the same f
91
91
  | `build` | -1 (slight) to 1 (heavy): limb and torso radii, shoulder width |
92
92
  | `age` | `child`, `adult`, `elder` (elder adds a stoop) |
93
93
  | `proportions` | multipliers: `legRatio`, `armRatio`, `torsoRatio`, `headScale`, `neckLength`, `neckPitch`, `shoulderWidth`, `hipWidth`, `bodyLength`, `tailLength`, `earSize`, `snoutLength` |
94
- | `features` | `hair` (none/cap/bob/long), `hands`, `sleeves`, `legs`, `tail`, `ears`, `horns`, `feet`, `mane` |
94
+ | `features` | `form`, `hair`, `facialHair`, `hands`, `sleeves`, `legs`, `tail`, `ears`, `horns`, `feet`, `mane` (see [Appearance](#appearance)) |
95
95
  | `palette` | `#rrggbb`: `skin` (fur/hide for animals), `hair`, `eyes`, `top`, `bottom`, `shoes`, `accent`, `markings` |
96
96
  | `seed` | detail jitter only (symmetry-safe) |
97
97
 
98
98
  Every rig stands with its feet at y = 0 and its reference point exactly at `height`, whatever
99
- the overrides. Bodies come in three detail tiers. Humans use roughly 7,400 triangles near, 2,200 at medium
100
- distance and 1,100 for the rigid distant tier. The six animal presets use about 4,100–6,500 near,
99
+ the overrides. Bodies come in three detail tiers. The default human uses roughly 7,500 triangles
100
+ near, 2,200 at medium distance and 1,100 for the rigid distant tier; long hair, a beard and a skirt
101
+ together stay within 8,500, 2,600 and 1,200. The six animal presets use about 4,100–6,500 near,
101
102
  2,100–2,900 medium and 1,100–1,500 distant triangles. The client
102
103
  picks a tier by camera distance unless `lod` pins one. Near humans include separate fingers
103
104
  with the default `hands: "fingers"`; `hands: "mitten"` keeps a joined finger silhouette. Medium
@@ -110,6 +111,29 @@ running and sitting use smaller forearm rotations. The rigid distant mesh retain
110
111
  hand orientation; fingers remain a fixed curved shape on the hand joint. Shared shoulder vertices and blended skin weights connect the
111
112
  torso to the sleeves without separate shoulder caps.
112
113
 
114
+ Human proportions follow adult anthropometric means, as fractions of `height`: the head is 0.13
115
+ (about 7.5 heads tall), the chin sits at 0.87 and the shoulder joints at 0.80, 0.2 apart. The
116
+ neck is about 0.072 across and leaves the shoulders on a slanted line: the notch at the front of
117
+ the collar sits at 0.83, the sides at 0.85 and the back at 0.865, about level with the chin, so
118
+ the neck shows a few centimeters in front and less behind. It sits toward the back of the
119
+ shoulders and leans forward to the skull. The chest is about 0.19 across and 0.135 deep, the
120
+ waist 0.17 across, and the outside of the arms about 0.27. The shoulder line falls steeply off
121
+ the neck, flattens over the shoulder joint and rounds into the upper arm. Children keep their
122
+ larger head.
123
+
124
+ ### Appearance
125
+
126
+ | Feature | Values | Notes |
127
+ |---|---|---|
128
+ | `form` | `neutral`, `masculine`, `feminine` | Shoulder and hip width, waist, chest depth, neck and arm thickness, jaw, brow and lips. Feminine adults have a bust and plain shirt fronts. Ignored by quadrupeds. |
129
+ | `hair` | `none`, `buzz`, `balding`, `cap`, `crop`, `bob`, `long`, `ponytail`, `bun`, `afro` | `cap` is the short default; `balding` keeps a fringe above and behind the ears; `long` falls down the back past the shoulder blades. |
130
+ | `facialHair` | `none`, `stubble`, `mustache`, `beard` | Drawn in `palette.hair`. Adults and elders only. |
131
+ | `sleeves` | `none`, `short`, `long` | |
132
+ | `legs` | `shorts`, `long`, `skirt` | A knee-length skirt in `palette.bottom` over bare legs. It sways with the stride; seated, it follows the thighs. |
133
+
134
+ Hair that falls past the neck (long hair, a ponytail) blends from the head joint toward the
135
+ chest, so it stays on the back when the head turns.
136
+
113
137
  Quadrupeds have species-shaped ribcages, tucked or full bellies, muscular shoulders and haunches,
114
138
  and shaped joints. Dogs and cats have rounded paws with separate near/medium toes; horses have
115
139
  single hooves, while cows, deer and sheep have split hooves. Continuous skull/muzzle surfaces,
@@ -118,7 +142,11 @@ and near-tier whiskers; horses have a crest mane and hanging hair tail; cows hav
118
142
  patches and a tufted tail; deer have branching antlers; sheep have a lightly rippled fleece.
119
143
  Palette and feature overrides still apply. The same 27-joint hierarchy drives all animal tiers;
120
144
  the distant tier is rigid and removes the small facial, toe and hair details. Animal proportions
121
- now give the torso more depth while keeping the withers at `height` and soles at ground level.
145
+ give the torso depth while keeping the withers at `height` and soles at ground level. Heads are
146
+ carried above the withers on necks that turn into the skull's own axis, so the crest arches into
147
+ the poll and the throat curves under the jaw. Head width and depth are set per species (a horse's
148
+ head is about 0.4 of its length across, a cat's nearly as wide as long), and horses and deer stand
149
+ on slim cannon bones below heavier forearms.
122
150
 
123
151
  ## Locomotion
124
152
 
@@ -71,9 +71,29 @@ const viewer = await createViewer({
71
71
  ```
72
72
 
73
73
  The queue limits synchronous work started per animation frame. One oversized indivisible job
74
- runs alone and is reported as over budget. `setLimits` changes the budget from the next frame on.
75
- A job's `priority` is `'normal'`, `'background'` (only in budget normal jobs leave) or `'urgent'`
76
- (ahead of normal jobs, in its own order): the terrain stream admits ground that way, and marks a
74
+ runs alone and is reported as over budget, and the frames after it repay the excess, so the budget
75
+ holds on average: a 20 ms instanced shader build every third frame rather than every frame at half
76
+ the frame rate, for the same throughput. The budget is a share of a frame at 60 a second, so a
77
+ frame that comes slower repays the same share of its own length. Under software rendering, where
78
+ a frame takes 200 ms or more and one wait on the GPU charges a job for all of it, repaying the
79
+ fixed budget per frame left the queue idle for minutes. Frames that slow, three in a row (100 ms
80
+ or more each while work waits), also get that share of themselves as budget: 2 ms of a 450 ms
81
+ software frame left streaming under half a percent of the time, and a town's semantic layers
82
+ spent their two-minute deadline in the queue. Interactive rates and a single long frame keep the
83
+ fixed budget. `setLimits` changes the budget from the next frame on.
84
+
85
+ A fixed small budget protects the frame rate of a view that keeps up, and starves one that does
86
+ not. `backlog: { afterMs, maxMilliseconds, maxBytes }` (in the options or `setLimits`) lets the
87
+ budget grow while work is backing up: once the oldest waiting job outside the background lane
88
+ has waited `afterMs`, the frame's time and byte budgets rise with its wait and reach the backlog
89
+ values at twice that. They fall back as soon as the queue keeps up again, so a view at rest and a
90
+ slow pan never pay for it.
91
+ A job's `priority` is `'normal'`, `'background'` or `'urgent'` (ahead of normal jobs, in its own
92
+ order). Background jobs run in budget normal jobs leave and, once one has waited
93
+ `backgroundWaitMs` (default 750), take a turn after every `backgroundShare` other jobs (default
94
+ 8): in flight normal work never runs out, and texture upgrades and the levels an object is not
95
+ yet showing arrived a second late on average and five at worst. Urgent work is how the terrain
96
+ stream admits ground, and it marks a
77
97
  tile group `userData.admissionPriority = 'urgent'` so `prepareObject` queues its upload the same
78
98
  way, because a tile's residency otherwise waited behind every building cell's upload. A root
79
99
  marked `'background'` prepares only in budget normal jobs leave: World Explorer's practice
@@ -101,11 +121,16 @@ first in a frame however long it takes, but after other work the queue starts a
101
121
  recent time of its `label` fits the budget left, so two long jobs never share a frame.
102
122
  Street surfaces (roads, markings, parked cars) are generated by `createTerrainSurfaceWorkerPool`,
103
123
  which spreads them over the workers it is given. Earth hosts size the world generation pool with
104
- `generationWorkers()` (a quarter of the logical cores, at most two) and the land cover and surface
105
- pools with `surfaceWorkers()` (one each). Four per kind took the cores the frame needs, and a jet's
106
- frames drew the same scene up to twice as slowly while a town streamed in; two land cover and two
107
- surface workers beside generation still slowed some frames threefold over a dense city, while one
108
- of each streamed a low flight just as fast and loaded the first view about a fifth later. New kinds of ambient proxy batch stay hidden until
124
+ `generationWorkers()` (a quarter of the logical cores, at most two, below 16 cores) and the land
125
+ cover and surface pools with `surfaceWorkers()` (one each below 16 cores). On a 12-core laptop four
126
+ per kind took the cores the frame needs, and a jet's frames drew the same scene up to twice as
127
+ slowly while a town streamed in; two land cover and two surface workers beside generation still
128
+ slowed some frames threefold over a dense city, while one of each streamed a low flight just as
129
+ fast and loaded the first view about a fifth later. A workstation has cores to spare, and there
130
+ one land cover worker is the bottleneck: from 16 logical cores the pools are three generation and
131
+ two of each surface kind, from 24 four and three. On 32 cores that cut a tile's land cover from
132
+ 1.7 s to 0.5 s on average, finished the first view in 13 s instead of 23 s, and missed fewer
133
+ frames. New kinds of ambient proxy batch stay hidden until
109
134
  their shaders are built, as figures and aircraft do.
110
135
 
111
136
  A tile observer (`observeSemanticTiles`) is handed each decoded tile, and what it keeps stays on
@@ -119,7 +144,33 @@ Kyoto, some 1.4 million of the objects each collection walks.
119
144
 
120
145
  Three updates every object's world matrix each frame, hidden ones included. Hidden terrain tiles,
121
146
  pooled ambient figures (each with its skeleton) and the explorer's parked-aircraft cockpits skip
122
- that walk until they show again. Far detail stops drawing: a surface tile's signs, fixtures,
147
+ that walk until they show again.
148
+
149
+ Three also culls one mesh at a time, and only once it has walked to it: for world matrices, for
150
+ levels of detail and what to draw, and once more for each shadow map. A streamed world keeps
151
+ most of its tiles outside the view, finished and ready for a turn of the camera. On WebGL the
152
+ renderer leaves a render group (`createRenderGroup`, which the terrain stream uses for each tile)
153
+ out of the scene walk while its bounds lie wholly outside the camera's view, and out of a
154
+ directional light's shadow map while they lie outside that map; a group the camera cannot see
155
+ still casts into a map that reaches it. The group is hidden for the render alone, so nothing else
156
+ sees it change. Its owner states the bounds in `userData.renderBounds` (`RENDER_BOUNDS`: a
157
+ `Box3` in the frame of the group's parent, holding everything it draws) and keeps them true:
158
+ `expandRenderBounds` measures content from the bounds its meshes carry, and code that adds or replaces geometry
159
+ inside streamed content later (a landmark's next level of detail) calls
160
+ `markRenderBoundsChanged(object)`, after which the group is not culled until its owner has
161
+ measured it again. The terrain stream does all of this for its tiles. Over Seattle at High about
162
+ half of the tiles on show lay outside the view of a low flight, and leaving them out took the
163
+ main thread's time in a frame's render from 17-22 ms to 12-13 ms with the same draws.
164
+ `cullRenderGroups: false` turns it off (`?cull=0` in World Explorer).
165
+
166
+ An instanced detail switch (the level-of-detail batch for plants and props) chooses its level
167
+ again only once the camera could have reached a handover: each choice keeps how far the
168
+ measured distance was from the nearest threshold, and the camera's travel since, with any change
169
+ in the error budgets, is weighed against that. In flight nearly every batch is well short of its
170
+ next handover, and choosing again for each of some 2,200 of them every frame was 2.6 ms of a
171
+ 33 ms frame.
172
+
173
+ Far detail stops drawing: a surface tile's signs, fixtures,
123
174
  signal lenses, markings and parked cars past their draw distance (`updateDetail`, see
124
175
  [surface rendering](surface-rendering.md)) and street props below 1.5 px (`vanishPixels`, see
125
176
  [worldgen](worldgen.md)); at High over a town that cut a fifth of the draws. A visibility pass makes
@@ -130,13 +181,33 @@ cuts on every frame, sharing one 4 ms budget a frame with `stream.update`: hosts
130
181
  ten times a second while the camera is still, and at one budget an update, ground that a descent
131
182
  had just shown stood uncut over its own harbor for most of a second.
132
183
 
184
+ Where the stream's height source can cut off the main thread (`TerrainPyramidHeightSource.cutGround`,
185
+ a `TerrainGroundCutter`; the elevation worker's source has one), the clipping is done there. The
186
+ controller sends the mesh's arrays as copies, goes on to other ground, and swaps the cut in when
187
+ it lands, so the frame's budget pays for gathering openings and the swap alone; a cut whose
188
+ opening goes meanwhile is called off, and one the cutter fails is made on the main thread. A
189
+ mesh of fewer than 5,000 vertices (`cutVertices`) is still cut on the main thread, in the pass
190
+ that first shows it: a few milliseconds, against ground standing uncut for the trip's frames. A
191
+ tile's land cover over a shoreline is some 38,000 vertices against 50 openings: 46 ms of clipping,
192
+ of which a low flight over Seattle at High finished 48 in 50 seconds at 4 ms a frame, leaving most
193
+ ground it passed waiting for its cut. The worker made some 250 in a minute of the same flight,
194
+ and cutting fell from 7% of the main thread to under 2%.
195
+
133
196
  Earth hosts admit more while frames have time to spare: `createEarthAdmissionGovernor(backend)`
134
197
  smooths each frame's main-thread work and, through `earthAdmission`, switches the queue to 8 MiB
135
198
  of uploads a frame (and 4 ms of work on WebGL) below 10 ms of work, back to the renderer's
136
199
  defaults above 13 ms. Each terrain tile and layer passes several admission jobs; at 2 MiB a frame
137
200
  everything behind a building cell's upload waited 30 ms a job, and ground and buildings beneath a
138
201
  jet appeared a second late. A render-bound frame (High detail over a town) loses a sixth of its
139
- rate to the larger budget, so it keeps the defaults. This is not a hard GPU/driver time bound. Texture
202
+ rate to the larger budget, so it keeps the defaults while it keeps up. Either budget carries a
203
+ backlog (above) that grows it toward the arrival budget, 8 ms and 16 MiB, once work has waited
204
+ `EARTH_BACKLOG_MS` (400 ms): a P-51 at 290 kt over Seattle at High always had busy frames, the
205
+ 2 ms published a quarter of the layers the flight asked for, each job waited 3 s on average for
206
+ each of a layer's several turns, and no tile beyond 2 km had all of its layers on show at any
207
+ point of the flight: bare ground ahead, buildings arriving beneath. Held at 4 ms the same flight kept its 30 frames a second and finished four
208
+ fifths of the ground within 2 km; at 8 ms it finished nearly all of the view at 22 frames a
209
+ second, drawing three times the triangles. The backlog moves between the two as the queue needs.
210
+ This is not a hard GPU/driver time bound. Texture
140
211
  initialization, geometry preparation and async shader compilation use public Three facilities;
141
212
  shared resources share pending preparation promises. A cancelled tile cannot cancel another
142
213
  tile waiting on the same resource; queued work is dropped once every tile waiting for it has
@@ -147,8 +218,11 @@ camera and waits only for the selected levels. The other levels prepare in the q
147
218
  lane (`priority: 'background'`), which runs only in budget that normal jobs leave, and are dropped
148
219
  if their mesh or geometry is disposed first. This includes geometry-switch LODs whose current
149
220
  level is empty: invisible ground cover does not delay an aerial tile, and a later approach waits
150
- for its preparation before revealing it. WebGPU preparation shares the visible-light list between
151
- rendered frames instead of walking the whole scene for each mesh. A mesh that swaps its own material (an instanced
221
+ for its preparation before revealing it. Preparation shares the visible-light list instead of
222
+ walking the whole scene for each mesh, and the walk that finds the lights is made again only when
223
+ the scene's own children change or a quarter of a second has passed (each frame still checks
224
+ which of them are on show): once a frame, it was 1.2 ms of every frame of a flight over a city.
225
+ A mesh that swaps its own material (an instanced
152
226
  detail switch's opaque and shadow-free twins) lists every material in `userData.materialVariants`,
153
227
  and the renderer sets `userData.materialReady(material)`, which the mesh's owner asks before
154
228
  switching. Until it returns true the owner keeps what it shows; the first question queues that
@@ -213,10 +287,21 @@ admitted job of up to 20 ms. The grading itself finds each sample row's polygon
213
287
  ground edges once, instead of testing every edge of an airport's grounds for every sample: a tenth
214
288
  of a second a tile over Boeing Field.
215
289
 
290
+ Road earthworks (`createTerrainRoadGrading`'s `transformHeightfield`) are graded in the worker
291
+ too, where the source has `gradeEarthworks`. The host sends the tile's field and the road lines
292
+ that reach it; the worker reads the reference ground from its own decoded tiles, grades, and
293
+ meshes the result in the same trip, about 30 ms a town tile. On the main thread that was 2 ms
294
+ slices between frames, outside the frame queue, and 4 to 9% of the thread in a low flight over a
295
+ city. A reference tile is read as samples (`load`), without the full-resolution mesh
296
+ `loadPrepared` builds for a tile to be drawn. Bridge profiles (`gradeTile`) are still worked out
297
+ on the main thread, about 3% of it in that flight: a worker would need the tile's roads and its
298
+ neighbors' copied across, most of which no bridge is near.
299
+
216
300
  The worker entry calls `installTerrainElevationWorker(self)`, exported from
217
301
  `@bendyline/molen-terrain/client` (use the worker-scope type cast shown by World Explorer when
218
302
  compiling with DOM rather than WebWorker types). The host reads archive bytes; the worker
219
- owns PNG decoding, its decoded tile cache, ancestor resampling and surface meshing. Worker
303
+ owns PNG decoding, its decoded tile cache, ancestor resampling, surface meshing, road earthworks
304
+ and ground cuts. Worker
220
305
  buffers transfer without detaching archive caches or reusable topology. Omitting the worker
221
306
  retains the in-thread path. Worker errors are surfaced; they do not silently trigger duplicate work.
222
307
 
@@ -306,6 +391,10 @@ nearby detail instead of leaving it hidden behind the old parent. Within that pr
306
391
  replacement family finishes before finer leaves that it would keep hidden. The existing layer concurrency and residency limits
307
392
  also bound this preparation. Layers that release the existing parent take priority over newly
308
393
  eligible layers, so slow building work cannot occupy all slots ahead of a sibling's ground cover.
394
+ A layer under way for ground the camera has since left (neither wanted, ahead, displayed nor part
395
+ of a handoff) finishes into the warm cache without holding a slot, up to twice the layer budget
396
+ of them: worker queues take the nearest ground first, so after a turn those jobs ran last while
397
+ new ground waited for the slots they held.
309
398
  Multi-level refinements advance the whole replacement family together; one already prepared fine
310
399
  leaf does not skip that intermediate handoff while its siblings still need it.
311
400
  The previous terrain surface and its layers remain visible until
@@ -342,6 +431,15 @@ replacement stay protected. Speculative tiles yield to displayed
342
431
  coverage under memory pressure; oversized speculative tiles back off instead of rebuilding on
343
432
  every update. `preloading` and `preloaded` in stream stats distinguish requested and ready leaves.
344
433
 
434
+ Independently of those views, the stream builds ahead along the track of the positions passed to
435
+ `update`, from spare capacity only (`lookAhead`, see [terrain](terrain.md)). For a moving camera,
436
+ layer work is ordered for where the camera will be when it finishes, and bare ground comes before
437
+ more detail for ground that has some. At speed, levels whose tiles the camera crosses in under
438
+ `lookAhead.minTileSeconds` refine only near the camera (`lookAhead.fastDetail`), for the current
439
+ selection and the predicted views alike. Layer
440
+ work for a tile the camera has left finishes into the warm cache rather than being cancelled: a
441
+ cancelled request leaves its worker job running with nothing to show for it.
442
+
345
443
  Earth's automatic render tiers retain at least four height and eight layer jobs, including at
346
444
  Minimum: serializing landcover, water and buildings behind one job could never keep up with a
347
445
  jet. Eight layer slots let a four-tile approach family prepare while current coverage advances.
@@ -356,12 +454,18 @@ it runs once after the admission flush, together with eviction. Reads that depen
356
454
  displayed (`displayedTiles`, `sampleHeight`, `isAreaReady`, `stats`, `pressure`) run a pending
357
455
  pass first. A fast flight publishes dozens of tiles and layers per frame, and each had run the
358
456
  whole handoff, layer, cutout and byte pass. The warm cache keeps most resident tiles hidden; a
359
- hidden tile's subtree is left out of the scene's per-frame world-matrix walk (three walks hidden
360
- objects too), and a rebase above it is applied when it shows again. `stats()` walks every resident
361
- tile's objects for exact byte totals; a live panel passes `{ geometry: 'tracked' }` for the
362
- retained estimate and visible-only counts. Ground cutouts stay on hidden tiles while their
457
+ hidden tile leaves the scene graph (three walks hidden objects in every world-matrix update and
458
+ traversal) but keeps its `parent`, so world matrices still resolve while its layers prepare, and a
459
+ rebase above it is applied when it shows again. `stats()` walks every displayed tile's objects for
460
+ exact byte totals and adds hidden tiles' tracked buffers; a live panel passes
461
+ `{ geometry: 'tracked' }` for the retained estimate and visible-only counts. Ground cutouts stay on hidden tiles while their
363
462
  openings remain, keep the source grid's indices for triangles away from every opening, and
364
- re-count only the tiles whose ground they changed.
463
+ re-count only the tiles whose ground they changed. A cut is its source grid's vertices as they
464
+ are, then the few made on clipped edges, and the source stays for the next cut; once a cut is
465
+ applied the source's attributes read from the cut's arrays, so the pair holds its vertices once in
466
+ main memory. Over Seattle, where most ground meets water somewhere, the second copy was 174 of
467
+ 1,139 MiB on show at High (the page's array buffers fell from 1,403 to 1,233 MiB without it). The
468
+ source's GPU buffers stay until its tile goes.
365
469
 
366
470
  Height queries prefer displayed terrain and fall back to resident heights outside the visible
367
471
  cut. An aircraft's center can pass behind its cockpit camera at a tile boundary; it must not wait
@@ -6,7 +6,7 @@ Find each vehicle’s livery ids, photograph links and adaptation notes in this
6
6
 
7
7
  ## Evidence and scope
8
8
 
9
- All 385 choices across 192 vehicle types have linked real-world photographs. Every vehicle has two choices; the F-16B has three. Colors and visible layout were compared with the photographs and the rendered models. These are **photo-based adaptations** (`inspired` provenance), not exact historical or factory replicas.
9
+ All 406 choices across 202 vehicle types have linked real-world photographs. Every vehicle has two choices; the F-16B has three. Colors and visible layout were compared with the photographs and the rendered models. These are **photo-based adaptations** (`inspired` provenance), not exact historical or factory replicas.
10
10
 
11
11
  Paint values are visual estimates, not measured paint codes. Camouflage uses approximate masks; complex emblems and small stencils may be omitted. Generic Bendy bodies adapt finishes from the photographed real vehicles. Each entry explains its scope. Source photos are linked for inspection and attribution; they are not shipped as textures.
12
12
 
@@ -600,6 +600,22 @@ Type: `molen.entities.aircraft.mig_29a`.
600
600
 
601
601
  **Polish 89 gray green camouflage.** Paint study of Polish 89 gray green camouflage. The linked photograph identifies the real aircraft used for the colors; model panel boundaries are adapted. Colors and mask edges are visual approximations. Unlisted lettering, small stencils and complex emblems are omitted; this is a photo-based adaptation, not a certified replica.
602
602
 
603
+ ### North American Rockwell OV-10A Bronco
604
+
605
+ Type: `molen.entities.aircraft.ov_10`.
606
+
607
+ | Livery id | Appearance | Photographs |
608
+ | --- | --- | --- |
609
+ | `usmc-vmo-4-gray` | USMC VMO-4 gray | [Photo](https://commons.wikimedia.org/wiki/File:OV-10As_VMO-4_1990.JPEG) |
610
+ | `usaf-21st-tass-green` | USAF 21st TASS dark green | [Photo](https://commons.wikimedia.org/wiki/File:OV-10A_21st_TASS_firing_rockets_1989.JPEG) |
611
+ | `usaf-1985-two-tone-green` | USAF two-tone green | [Photo](https://commons.wikimedia.org/wiki/File:OV-10_Bronco_firing_White_phosphorus.jpg) |
612
+
613
+ **USMC VMO-4 gray.** Paint study of USMC VMO-4 gray. The linked photograph identifies the real aircraft used for the colors; a multi-color camouflage is reduced to its dominant color and model panel boundaries are adapted. Colors are visual approximations. National insignia, unit markings, serials, lettering and stencils are omitted; this is a photo-based adaptation, not a certified replica.
614
+
615
+ **USAF 21st TASS dark green.** Paint study of USAF 21st TASS dark green. The linked photograph identifies the real aircraft used for the colors; a multi-color camouflage is reduced to its dominant color and model panel boundaries are adapted. Colors are visual approximations. National insignia, unit markings, serials, lettering and stencils are omitted; this is a photo-based adaptation, not a certified replica.
616
+
617
+ **USAF two-tone green.** Paint study of USAF two-tone green. The linked photograph identifies the real aircraft used for the colors; a multi-color camouflage is reduced to its dominant color and model panel boundaries are adapted. Colors are visual approximations. National insignia, unit markings, serials, lettering and stencils are omitted; this is a photo-based adaptation, not a certified replica.
618
+
603
619
  ### OH-6
604
620
 
605
621
  Type: `molen.entities.aircraft.oh6`.
@@ -1891,6 +1907,17 @@ Type: `molen.entities.vehicle.wuling_hongguang_mini_ev_2025`.
1891
1907
 
1892
1908
  Paint colors studied from the linked photograph. The photographed vehicle may differ in year, trim or body style; this recipe adapts its visible finish to the catalog model. Color values are visual approximations, not measured paint codes. Accessories and any advertising in the photograph are not part of the paint recipe.
1893
1909
 
1910
+ ### Bendy Auto
1911
+
1912
+ Type: `molen.entities.vehicle.auto_rickshaw`.
1913
+
1914
+ | Livery id | Appearance | Photographs |
1915
+ | --- | --- | --- |
1916
+ | `delhi-cng` | Delhi CNG green | [Photo](https://commons.wikimedia.org/wiki/File:Auto-rickshaw_in_Delhi.jpeg) |
1917
+ | `mumbai-black` | Mumbai black and yellow | [Photo](https://commons.wikimedia.org/wiki/File:Auto-rickshaw_in_Mumbai_2009-09-26.jpg) |
1918
+
1919
+ Paint colors studied from the linked photograph. The photographed vehicle may differ in year, trim or body style; this recipe adapts its visible finish to the catalog model. Color values are visual approximations, not measured paint codes. Accessories and any advertising in the photograph are not part of the paint recipe.
1920
+
1894
1921
  ### Bendy Box Truck
1895
1922
 
1896
1923
  Type: `molen.entities.vehicle.box_truck`.
@@ -2026,6 +2053,17 @@ Type: `molen.entities.vehicle.sedan`.
2026
2053
 
2027
2054
  Paint colors studied from the linked photograph. The photographed vehicle may differ in year, trim or body style; this recipe adapts its visible finish to the catalog model. Color values are visual approximations, not measured paint codes. Accessories and any advertising in the photograph are not part of the paint recipe.
2028
2055
 
2056
+ ### Bendy Sled
2057
+
2058
+ Type: `molen.entities.vehicle.snowmobile`.
2059
+
2060
+ | Livery id | Appearance | Photographs |
2061
+ | --- | --- | --- |
2062
+ | `trail-red` | Trail red | [Photo](https://commons.wikimedia.org/wiki/File:Snowmobile_Lynx_Enduro_400.jpg) |
2063
+ | `trail-blue` | Trail blue | [Photo](https://commons.wikimedia.org/wiki/File:Snowmobile.jpg) |
2064
+
2065
+ Paint colors studied from the linked photograph. The photographed vehicle may differ in year, trim or body style; this recipe adapts its visible finish to the catalog model. Color values are visual approximations, not measured paint codes. Accessories and any advertising in the photograph are not part of the paint recipe.
2066
+
2029
2067
  ### Bendy Sports Coupe
2030
2068
 
2031
2069
  Type: `molen.entities.vehicle.sports_coupe`.
@@ -2124,6 +2162,39 @@ Type: `molen.entities.cycle.cruiser_motorcycle`.
2124
2162
 
2125
2163
  **Heritage red and cream.** Red body and cream tank inset adapted from the pictured Heritage Softail to the Bendy cruiser. The tank panel, body geometry and equipment are simplified; logos and pinstripes are omitted. Paint tones are visual approximations.
2126
2164
 
2165
+ ### Bendy E-Board
2166
+
2167
+ Type: `molen.entities.cycle.electric_skateboard`.
2168
+
2169
+ | Livery id | Appearance | Photographs |
2170
+ | --- | --- | --- |
2171
+ | `bamboo` | Bamboo | [Photo](https://commons.wikimedia.org/wiki/File:Electric_skateboard_at_TED.jpg) |
2172
+ | `red-stain` | Red stain | [Photo](https://commons.wikimedia.org/wiki/File:Electric_skateboard(800,600,400watt).jpg) |
2173
+
2174
+ Paint colors studied from the linked photograph. The photographed vehicle may differ in year, trim or body style; this recipe adapts its visible finish to the catalog model. Color values are visual approximations, not measured paint codes. Accessories and any advertising in the photograph are not part of the paint recipe.
2175
+
2176
+ ### Bendy E-Moped
2177
+
2178
+ Type: `molen.entities.cycle.electric_moped`.
2179
+
2180
+ | Livery id | Appearance | Photographs |
2181
+ | --- | --- | --- |
2182
+ | `battery-silver` | Battery scooter silver | [Photo](https://commons.wikimedia.org/wiki/File:Yadea_G5_2023-09-24.jpg) |
2183
+ | `lime-green` | Lime green | [Photo](https://commons.wikimedia.org/wiki/File:Niu_UQi_Sport_Electric_Scooter.jpg) |
2184
+
2185
+ Paint colors studied from the linked photograph. The photographed vehicle may differ in year, trim or body style; this recipe adapts its visible finish to the catalog model. Color values are visual approximations, not measured paint codes. Accessories and any advertising in the photograph are not part of the paint recipe.
2186
+
2187
+ ### Bendy Moped
2188
+
2189
+ Type: `molen.entities.cycle.underbone_moped`.
2190
+
2191
+ | Livery id | Appearance | Photographs |
2192
+ | --- | --- | --- |
2193
+ | `step-through-blue` | Step-through blue-grey | [Photo](https://commons.wikimedia.org/wiki/File:Honda_super_cub,_1st_Gen._1958,_Left_side.jpg) |
2194
+ | `commuter-black` | Commuter gloss black | [Photo](https://commons.wikimedia.org/wiki/File:2026_Honda_Wave_110_Special_Edition_(Alloy_Type).jpg) |
2195
+
2196
+ Paint colors studied from the linked photograph. The photographed vehicle may differ in year, trim or body style; this recipe adapts its visible finish to the catalog model. Color values are visual approximations, not measured paint codes. Accessories and any advertising in the photograph are not part of the paint recipe.
2197
+
2127
2198
  ### Bendy Motorcycle
2128
2199
 
2129
2200
  Type: `molen.entities.cycle.standard_motorcycle`.
@@ -2157,6 +2228,50 @@ Type: `molen.entities.cycle.motor_scooter`.
2157
2228
 
2158
2229
  Paint colors studied from the linked photograph. The photographed vehicle may differ in year, trim or body style; this recipe adapts its visible finish to the catalog model. Color values are visual approximations, not measured paint codes. Accessories and any advertising in the photograph are not part of the paint recipe.
2159
2230
 
2231
+ ### Bendy Share Scooter
2232
+
2233
+ Type: `molen.entities.cycle.kick_scooter`.
2234
+
2235
+ | Livery id | Appearance | Photographs |
2236
+ | --- | --- | --- |
2237
+ | `black` | Black | [Photo](https://commons.wikimedia.org/wiki/File:Xiaomi_M365_Scooter.jpg) |
2238
+ | `graphite` | Graphite | [Photo](https://commons.wikimedia.org/wiki/File:Elektrische-tretroller.jpg) |
2239
+
2240
+ Paint colors studied from the linked photograph. The photographed vehicle may differ in year, trim or body style; this recipe adapts its visible finish to the catalog model. Color values are visual approximations, not measured paint codes. Accessories and any advertising in the photograph are not part of the paint recipe.
2241
+
2242
+ ### Bendy Skateboard
2243
+
2244
+ Type: `molen.entities.cycle.skateboard`.
2245
+
2246
+ | Livery id | Appearance | Photographs |
2247
+ | --- | --- | --- |
2248
+ | `green-graphic` | Green graphic | [Photo](https://commons.wikimedia.org/wiki/File:Nash_Vintage_60's_Wooden_Deck_Shark_Skateboard.jpg) |
2249
+ | `blue-graphic` | Blue graphic | [Photo](https://commons.wikimedia.org/wiki/File:Street-skateboard.jpg) |
2250
+
2251
+ Paint colors studied from the linked photograph. The photographed vehicle may differ in year, trim or body style; this recipe adapts its visible finish to the catalog model. Color values are visual approximations, not measured paint codes. Accessories and any advertising in the photograph are not part of the paint recipe.
2252
+
2253
+ ### Bendy Skis
2254
+
2255
+ Type: `molen.entities.cycle.skis`.
2256
+
2257
+ | Livery id | Appearance | Photographs |
2258
+ | --- | --- | --- |
2259
+ | `black-topsheet` | Black topsheet | [Photo](https://commons.wikimedia.org/wiki/File:Rossignol_Experience_88_Ti_Skis.jpg) |
2260
+ | `white-topsheet` | White topsheet | [Photo](https://commons.wikimedia.org/wiki/File:Snowborad_and_ski.jpeg) |
2261
+
2262
+ Paint colors studied from the linked photograph. The photographed vehicle may differ in year, trim or body style; this recipe adapts its visible finish to the catalog model. Color values are visual approximations, not measured paint codes. Accessories and any advertising in the photograph are not part of the paint recipe.
2263
+
2264
+ ### Bendy Snowboard
2265
+
2266
+ Type: `molen.entities.cycle.snowboard`.
2267
+
2268
+ | Livery id | Appearance | Photographs |
2269
+ | --- | --- | --- |
2270
+ | `white-deck` | White deck | [Photo](https://commons.wikimedia.org/wiki/File:White-Snowboard-With-Bindings.jpg) |
2271
+ | `black-deck` | Black deck | [Photo](https://commons.wikimedia.org/wiki/File:Snowboard-In-The-Snow-2008.jpg) |
2272
+
2273
+ Paint colors studied from the linked photograph. The photographed vehicle may differ in year, trim or body style; this recipe adapts its visible finish to the catalog model. Color values are visual approximations, not measured paint codes. Accessories and any advertising in the photograph are not part of the paint recipe.
2274
+
2160
2275
  ## Transit
2161
2276
 
2162
2277
  ### Bendy Bus
@@ -2657,3 +2772,24 @@ Attribution and license labels below describe the linked source photographs. No
2657
2772
  380. [Little Venice waterbus, London - geograph.org.uk - 3137027.jpg — Jaggery (CC BY-SA 2.0)](https://commons.wikimedia.org/wiki/File:Little_Venice_waterbus,_London_-_geograph.org.uk_-_3137027.jpg)
2658
2773
  381. [Washington State Ferry 2.jpg — Chiwauk (CC BY-SA 4.0)](https://commons.wikimedia.org/wiki/File:Washington_State_Ferry_2.jpg)
2659
2774
  382. [Finferries ship Jurmo.jpg — Ypsilon from Finland (CC0)](https://commons.wikimedia.org/wiki/File:Finferries_ship_Jurmo.jpg)
2775
+ 383. [Auto-rickshaw in Delhi.jpeg — User:psubhashish (CC BY-SA 3.0)](https://commons.wikimedia.org/wiki/File:Auto-rickshaw_in_Delhi.jpeg)
2776
+ 384. [Auto-rickshaw in Mumbai 2009-09-26.jpg — Ting Chen (CC BY-SA 2.0)](https://commons.wikimedia.org/wiki/File:Auto-rickshaw_in_Mumbai_2009-09-26.jpg)
2777
+ 385. [Honda super cub, 1st Gen. 1958, Left side.jpg — Mj-bird (CC BY-SA 3.0)](https://commons.wikimedia.org/wiki/File:Honda_super_cub,_1st_Gen._1958,_Left_side.jpg)
2778
+ 386. [2026 Honda Wave 110 Special Edition (Alloy Type).jpg — Chanokchon (CC BY-SA 4.0)](https://commons.wikimedia.org/wiki/File:2026_Honda_Wave_110_Special_Edition_(Alloy_Type).jpg)
2779
+ 387. [Yadea G5 2023-09-24.jpg — Wikisympathisant (CC BY-SA 4.0)](https://commons.wikimedia.org/wiki/File:Yadea_G5_2023-09-24.jpg)
2780
+ 388. [Niu UQi Sport Electric Scooter.jpg — Anon user (CC BY-SA 4.0)](https://commons.wikimedia.org/wiki/File:Niu_UQi_Sport_Electric_Scooter.jpg)
2781
+ 389. [Xiaomi M365 Scooter.jpg — Sprucecopse (CC0)](https://commons.wikimedia.org/wiki/File:Xiaomi_M365_Scooter.jpg)
2782
+ 390. [Elektrische-tretroller.jpg — Ubahnverleih (CC0)](https://commons.wikimedia.org/wiki/File:Elektrische-tretroller.jpg)
2783
+ 391. [Nash Vintage 60's Wooden Deck Shark Skateboard.jpg — H. Michael Karshis (CC BY 2.0)](https://commons.wikimedia.org/wiki/File:Nash_Vintage_60's_Wooden_Deck_Shark_Skateboard.jpg)
2784
+ 392. [Street-skateboard.jpg — PowerPCG5 (CC BY 4.0)](https://commons.wikimedia.org/wiki/File:Street-skateboard.jpg)
2785
+ 393. [Electric skateboard at TED.jpg — Steve Jurvetson (CC BY 2.0)](https://commons.wikimedia.org/wiki/File:Electric_skateboard_at_TED.jpg)
2786
+ 394. [Electric skateboard(800,600,400watt).jpg — Aleksandr Ponomarenko (Public domain)](https://commons.wikimedia.org/wiki/File:Electric_skateboard(800,600,400watt).jpg)
2787
+ 395. [Rossignol Experience 88 Ti Skis.jpg — Викидим (CC BY-SA 4.0)](https://commons.wikimedia.org/wiki/File:Rossignol_Experience_88_Ti_Skis.jpg)
2788
+ 396. [Snowborad and ski.jpeg — nafoooo (CC BY-SA 3.0)](https://commons.wikimedia.org/wiki/File:Snowborad_and_ski.jpeg)
2789
+ 397. [White-Snowboard-With-Bindings.jpg (public domain)](https://commons.wikimedia.org/wiki/File:White-Snowboard-With-Bindings.jpg)
2790
+ 398. [Snowboard-In-The-Snow-2008.jpg — Kham Tran (CC BY-SA 3.0)](https://commons.wikimedia.org/wiki/File:Snowboard-In-The-Snow-2008.jpg)
2791
+ 399. [Snowmobile Lynx Enduro 400.jpg — Dirk Unger (public domain)](https://commons.wikimedia.org/wiki/File:Snowmobile_Lynx_Enduro_400.jpg)
2792
+ 400. [Snowmobile.jpg — Anthere (CC BY-SA 3.0)](https://commons.wikimedia.org/wiki/File:Snowmobile.jpg)
2793
+ 401. [OV-10As VMO-4 1990.JPEG — Sgt. Joseph Garrison, USMC (public domain)](https://commons.wikimedia.org/wiki/File:OV-10As_VMO-4_1990.JPEG)
2794
+ 402. [OV-10A 21st TASS firing rockets 1989.JPEG — TSgt. Hans H. Deffner, USAF (public domain)](https://commons.wikimedia.org/wiki/File:OV-10A_21st_TASS_firing_rockets_1989.JPEG)
2795
+ 403. [OV-10 Bronco firing White phosphorus.jpg — TSgt. Bill Thompson, USAF (public domain)](https://commons.wikimedia.org/wiki/File:OV-10_Bronco_firing_White_phosphorus.jpg)