roamwright 0.61.29 → 0.61.31

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.
@@ -1,12 +1,14 @@
1
1
  /**
2
2
  * Stepped pack-crawler motion solver: moves a group of ground crawlers together with a parent anchor, tracking heading
3
3
  * and speed (ignoring teleport jumps), loosely wandering each member around its pack slot, turning smoothly into the
4
- * heading, clamping each body to the terrain below it, and selecting its baked gait moment. Worker-safe arithmetic only
5
- * (no Three.js dependency) and zero per-frame allocations.
4
+ * heading, clamping each body to the terrain below it, and selecting its baked gait moment. Beside the pack,
5
+ * {@link createWallCrawlerMotion} drives crawlers that dash a little way along a vertical wall and wait. Worker-safe
6
+ * arithmetic only (no Three.js dependency) and zero per-frame allocations.
6
7
  * @module
7
8
  */
8
9
 
9
10
  import { wrapRadians } from '../math/periodic.js';
11
+ import { mulberry32 } from '../math/random.js';
10
12
 
11
13
  /**
12
14
  * Default crawler-pack motion parameters (metres, seconds, radians) and a seven-member formation `[side, ahead, scale]`.
@@ -108,3 +110,137 @@ export function createCrawlerPackMotion({
108
110
 
109
111
  return { members, step };
110
112
  }
113
+
114
+ /**
115
+ * Default wall-dashing crawler parameters (metres, seconds) for {@link createWallCrawlerMotion}: each crawler dashes
116
+ * across its wall face for the first share of each leg, then pauses until the next leg begins.
117
+ */
118
+ export const WALL_CRAWLER_DEFAULTS = Object.freeze({
119
+ /** Number of crawlers placed along the opposing walls. */
120
+ count: 16,
121
+ /** Uniform scale applied to the crawler geometry (e.g. a hand-sized spider). */
122
+ size: 0.55,
123
+ /** Horizontal inset kept clear of each passage end in metres. */
124
+ marginX: 0.8,
125
+ /** Vertical inset kept clear of floor and ceiling in metres. */
126
+ marginY: 0.6,
127
+ /** Small offset inward from the wall plane so legs sit on stone without z-fighting, in metres. */
128
+ wallOffset: 0.008,
129
+ /** Minimum horizontal dash amplitude in metres. */
130
+ reachMin: 0.5,
131
+ /** Random span added to horizontal dash amplitude in metres. */
132
+ reachSpan: 1.1,
133
+ /** Minimum leg cadence in legs per second. */
134
+ paceMin: 0.25,
135
+ /** Random span added to leg cadence in legs per second. */
136
+ paceSpan: 0.4,
137
+ /** Initial phase spread in legs. */
138
+ phaseSpan: 30,
139
+ /** Inverse share of each leg spent dashing (`2.2` dashes for ~45% of each leg, then waits). */
140
+ dashRate: 2.2,
141
+ /** Vertical dash amplitude in metres. */
142
+ verticalReach: 0.45,
143
+ });
144
+
145
+ /**
146
+ * Creates a zero-allocation motion controller for crawlers dashing and pausing along vertical passage walls.
147
+ * Each crawler alternates dashes and waits along its wall plane (`z = origin.z ± (halfWidth - wallOffset)`),
148
+ * computing its world position and wall-aligned pitch/roll (`rx`, `rz`) with belly to the stone and head along travel.
149
+ *
150
+ * @param {object} [options]
151
+ * @param {number} [options.count=WALL_CRAWLER_DEFAULTS.count] Number of wall crawlers.
152
+ * @param {{ x: number, z: number }} [options.origin] Local-to-world horizontal origin in metres (defaults to `{ x: 0, z: 0 }`).
153
+ * @param {number} [options.x0=-10] Minimum local X extent along the wall in metres.
154
+ * @param {number} [options.x1=0] Maximum local X extent along the wall in metres.
155
+ * @param {number} [options.y0=0] Floor elevation at the base of the wall in metres.
156
+ * @param {number} [options.height=3.1] Wall height above `y0` in metres.
157
+ * @param {number} [options.halfWidth=1.3] Half-width between opposing walls in metres.
158
+ * @param {number[] | null} [options.sides=null] Optional wall-side signs (`+1` or `-1`) cycled per crawler; omit to alternate `-1, +1`.
159
+ * @param {() => number} [options.random] Repeatable PRNG stream (5 draws per crawler).
160
+ * @param {number} [options.marginX=WALL_CRAWLER_DEFAULTS.marginX] End-of-wall horizontal inset in metres.
161
+ * @param {number} [options.marginY=WALL_CRAWLER_DEFAULTS.marginY] Floor/ceiling vertical inset in metres.
162
+ * @param {number} [options.wallOffset=WALL_CRAWLER_DEFAULTS.wallOffset] Inward clearance from wall plane in metres.
163
+ * @param {number} [options.reachMin=WALL_CRAWLER_DEFAULTS.reachMin] Minimum horizontal dash reach in metres.
164
+ * @param {number} [options.reachSpan=WALL_CRAWLER_DEFAULTS.reachSpan] Random horizontal reach span in metres.
165
+ * @param {number} [options.paceMin=WALL_CRAWLER_DEFAULTS.paceMin] Minimum leg cadence in legs/s.
166
+ * @param {number} [options.paceSpan=WALL_CRAWLER_DEFAULTS.paceSpan] Random cadence span in legs/s.
167
+ * @param {number} [options.phaseSpan=WALL_CRAWLER_DEFAULTS.phaseSpan] Initial leg phase spread.
168
+ * @param {number} [options.dashRate=WALL_CRAWLER_DEFAULTS.dashRate] Speed factor for the active dash share of each leg.
169
+ * @param {number} [options.verticalReach=WALL_CRAWLER_DEFAULTS.verticalReach] Vertical dash amplitude in metres.
170
+ * @returns {{
171
+ * runs: Array<{ x: number, y: number, sg: number, reach: number, pace: number, phase: number, leg: number, startX: number, startY: number, dx: number, dy: number, roll: number, posX: number, posY: number, posZ: number, rx: number, rz: number }>,
172
+ * step: (t: number) => void,
173
+ * }}
174
+ */
175
+ export function createWallCrawlerMotion({
176
+ count = WALL_CRAWLER_DEFAULTS.count,
177
+ origin = { x: 0, z: 0 },
178
+ x0 = -10,
179
+ x1 = 0,
180
+ y0 = 0,
181
+ height = 3.1,
182
+ halfWidth = 1.3,
183
+ sides = null,
184
+ random = mulberry32(31),
185
+ marginX = WALL_CRAWLER_DEFAULTS.marginX,
186
+ marginY = WALL_CRAWLER_DEFAULTS.marginY,
187
+ wallOffset = WALL_CRAWLER_DEFAULTS.wallOffset,
188
+ reachMin = WALL_CRAWLER_DEFAULTS.reachMin,
189
+ reachSpan = WALL_CRAWLER_DEFAULTS.reachSpan,
190
+ paceMin = WALL_CRAWLER_DEFAULTS.paceMin,
191
+ paceSpan = WALL_CRAWLER_DEFAULTS.paceSpan,
192
+ phaseSpan = WALL_CRAWLER_DEFAULTS.phaseSpan,
193
+ dashRate = WALL_CRAWLER_DEFAULTS.dashRate,
194
+ verticalReach = WALL_CRAWLER_DEFAULTS.verticalReach,
195
+ } = {}) {
196
+ const ox = origin.x,
197
+ oz = origin.z,
198
+ wallZ = halfWidth - wallOffset,
199
+ runs = Array.from({ length: count }, (_, i) => {
200
+ const sg = sides ? sides[i % sides.length] : i % 2 ? 1 : -1;
201
+ return {
202
+ x: x0 + marginX + random() * (x1 - x0 - marginX * 2),
203
+ y: y0 + marginY + random() * (height - marginY * 2),
204
+ sg,
205
+ reach: reachMin + random() * reachSpan,
206
+ pace: paceMin + random() * paceSpan,
207
+ phase: random() * phaseSpan,
208
+ leg: -1,
209
+ startX: 0,
210
+ startY: 0,
211
+ dx: 0,
212
+ dy: 0,
213
+ roll: 0,
214
+ posX: 0,
215
+ posY: 0,
216
+ posZ: oz + sg * wallZ,
217
+ rx: (sg * Math.PI) / 2,
218
+ rz: 0,
219
+ };
220
+ });
221
+
222
+ function step(t) {
223
+ for (let i = 0; i < runs.length; i++) {
224
+ const s = runs[i],
225
+ u = t * s.pace + s.phase,
226
+ leg = Math.floor(u),
227
+ f = Math.min(1, (u - leg) * dashRate), // runs for the first part of each leg, then waits
228
+ e = f * f * (3 - 2 * f);
229
+ // Endpoints and wall-plane bearing stay fixed until the next dash begins.
230
+ if (s.leg !== leg) {
231
+ s.leg = leg;
232
+ s.startX = Math.sin(leg * 2.4 + i) * s.reach;
233
+ s.startY = Math.cos(leg * 1.7 + i * 2) * verticalReach;
234
+ s.dx = Math.sin((leg + 1) * 2.4 + i) * s.reach - s.startX;
235
+ s.dy = Math.cos((leg + 1) * 1.7 + i * 2) * verticalReach - s.startY;
236
+ s.roll = s.sg * (Math.atan2(s.dy, s.dx) - Math.PI / 2);
237
+ }
238
+ s.posX = ox + s.x + s.startX + s.dx * e;
239
+ s.posY = s.y + s.startY + s.dy * e;
240
+ s.posZ = oz + s.sg * wallZ;
241
+ s.rz = s.roll;
242
+ }
243
+ }
244
+
245
+ return { runs, step };
246
+ }
package/motion/index.js CHANGED
@@ -19,7 +19,7 @@ export { horsePose } from './animal-bearing.js';
19
19
  export { caninePose } from './animal-canine-bearing.js';
20
20
  export { catPose } from './animal-cat-bearing.js';
21
21
  export { herdArrays } from './animal-herd-cast.js';
22
- export { CRAWLER_PACK_DEFAULTS, createCrawlerPackMotion } from './crawler-pack.js';
22
+ export { CRAWLER_PACK_DEFAULTS, WALL_CRAWLER_DEFAULTS, createCrawlerPackMotion, createWallCrawlerMotion } from './crawler-pack.js';
23
23
  export { createCrawlFlight } from './flier-swarm-flight.js';
24
24
  export { CARPET_DEFAULTS, createCarpetFlight } from './flier-carpet-flight.js';
25
25
  export { createLampSwarmFlight, pickNearestAnchors } from './flier-lamp-swarm.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "roamwright",
3
- "version": "0.61.29",
3
+ "version": "0.61.31",
4
4
  "description": "A procedural worldbuilding engine built on top of Three.js. Generate landscapes with rivers and changing weather, animate crowds, and explore on foot or in flight.",
5
5
  "keywords": [
6
6
  "threejs",
@@ -6,8 +6,10 @@
6
6
  */
7
7
 
8
8
  import * as THREE from 'three';
9
+ import { spiderGeometry } from '../geometry/crawl-shapes.js';
9
10
  import { GIANT_SPIDER_GAIT, GIANT_SPIDER_LOOK, giantSpiderMoments } from '../geometry/crawler-giant-spider.js';
10
- import { CRAWLER_PACK_DEFAULTS, createCrawlerPackMotion } from '../motion/crawler-pack.js';
11
+ import { TRS } from '../geometry/primitives.js';
12
+ import { CRAWLER_PACK_DEFAULTS, WALL_CRAWLER_DEFAULTS, createCrawlerPackMotion, createWallCrawlerMotion } from '../motion/crawler-pack.js';
11
13
 
12
14
  /**
13
15
  * Builds a `THREE.Group` containing a pack of ground crawlers driven by `createCrawlerPackMotion`, switching each member's
@@ -89,3 +91,44 @@ export function createGiantSpiderPack(options = {}) {
89
91
  });
90
92
  return createCrawlerPack({ ...options, moments });
91
93
  }
94
+
95
+ /**
96
+ * Builds an `InstancedMesh` of wall-dashing crawlers (defaulting to {@link spiderGeometry}) driven by
97
+ * {@link createWallCrawlerMotion}. Calling `crawl(t)` updates every instance matrix in place with zero per-frame allocations.
98
+ *
99
+ * @param {object} [options] Options forwarded to {@link createWallCrawlerMotion}, plus rendering parameters below.
100
+ * @param {THREE.BufferGeometry} [options.geometry] Shared crawler geometry (defaults to `spiderGeometry(shapes, look)`).
101
+ * @param {object} [options.shapes] Unit shapes passed to `spiderGeometry` when `geometry` is omitted.
102
+ * @param {object} [options.look] Linear colours passed to `spiderGeometry` when `geometry` is omitted.
103
+ * @param {THREE.Material} [options.material] Shared material (defaults to vertex-coloured `MeshStandardMaterial`).
104
+ * @param {number} [options.size=WALL_CRAWLER_DEFAULTS.size] Uniform crawler scale factor.
105
+ * @param {Function} [options.transform=TRS] Transform matrix helper (`TRS`).
106
+ * @returns {{ mesh: THREE.InstancedMesh, crawl: (t: number) => void, motion: ReturnType<typeof createWallCrawlerMotion> }}
107
+ */
108
+ export function createWallCrawlers({
109
+ geometry = null,
110
+ shapes,
111
+ look,
112
+ material = new THREE.MeshStandardMaterial({ vertexColors: true, roughness: 0.7, flatShading: true }),
113
+ size = WALL_CRAWLER_DEFAULTS.size,
114
+ transform = TRS,
115
+ ...motionOptions
116
+ } = {}) {
117
+ const motion = createWallCrawlerMotion(motionOptions),
118
+ { runs } = motion,
119
+ geo = geometry ?? spiderGeometry(shapes, look),
120
+ mesh = new THREE.InstancedMesh(geo, material, runs.length);
121
+ mesh.frustumCulled = false;
122
+
123
+ const crawl = t => {
124
+ motion.step(t);
125
+ for (let i = 0; i < runs.length; i++) {
126
+ const s = runs[i];
127
+ // Lying on the wall: belly to the stone, head pointing along the dash.
128
+ mesh.setMatrixAt(i, transform(s.posX, s.posY, s.posZ, size, size, size, 0, s.rx, s.rz));
129
+ }
130
+ mesh.instanceMatrix.needsUpdate = true;
131
+ };
132
+
133
+ return { mesh, crawl, motion };
134
+ }
@@ -6,6 +6,7 @@
6
6
  */
7
7
 
8
8
  import * as THREE from 'three';
9
+ import { geometryView } from '../geometry/builder.js';
9
10
  import { clamp, TAU } from '../math/scalar.js';
10
11
  import { createHash } from '../math/random.js';
11
12
  import { SHOULDERS } from '../motion/figure-bones.js';
@@ -26,6 +27,7 @@ import {
26
27
  crowdGeometry,
27
28
  crowdRig,
28
29
  } from './crowd-rig.js';
30
+ import { onCardOnly } from './textures.js';
29
31
  import { applyCrowdSkinning, bakeCrowdFrame, castCrowdShadow, createCrowdBatch, flushCrowdBatch } from './crowd-skinning.js';
30
32
 
31
33
  const _cc = new THREE.Color();
@@ -161,6 +163,7 @@ export function createLookPicker({
161
163
  * baked distant walks, lazily raised near look batches, and worker look orders.
162
164
  *
163
165
  * @param {object} config
166
+ * @param {boolean} [config.releaseWalkPixels=false] - Drop baked gait pixels on upload when the world recreates its renderer on context loss.
164
167
  * @param {THREE.Object3D} config.scene Scene receiving instanced crowd meshes.
165
168
  * @param {() => THREE.Material} [config.createColourMaterial] Factory returning a fresh base colour material to patch with crowd skinning.
166
169
  * @param {(look: object, seed: number, near: boolean, bodies: object[]) => object} config.buildFigure Builds a rigged figure from its far body.
@@ -183,6 +186,7 @@ export function createLookPicker({
183
186
  */
184
187
  export function createCrowdBatches({
185
188
  scene,
189
+ releaseWalkPixels = false,
186
190
  createColourMaterial = () => new THREE.MeshStandardMaterial({ vertexColors: true, roughness: 0.88, side: THREE.DoubleSide }),
187
191
  buildFigure,
188
192
  buildCrowdLook,
@@ -277,7 +281,9 @@ export function createCrowdBatches({
277
281
  }
278
282
 
279
283
  function bakeWalksOnce(fars) {
280
- if (!walkTextures.length) walkTextures = bakeCrowdWalks(fars, lookFigure(0, ...looks[0]), crowdPose);
284
+ if (walkTextures.length) return;
285
+ walkTextures = bakeCrowdWalks(fars, lookFigure(0, ...looks[0]), crowdPose);
286
+ if (releaseWalkPixels) for (const texture of walkTextures) onCardOnly(texture);
281
287
  }
282
288
 
283
289
  function raiseLook(v, batches) {
@@ -295,8 +301,8 @@ export function createCrowdBatches({
295
301
  });
296
302
  v.lod = v.size
297
303
  ? geos.map((geo, level) => {
298
- const batch = createCrowdBatch(scene, geo.clone(), v.size, v.mat, v.casting, 'Crowd ' + v.kind + LEVELS[level], false);
299
- castCrowdShadow(scene, batch, geos[2].clone(), v.casting, v.size);
304
+ const batch = createCrowdBatch(scene, geometryView(geo), v.size, v.mat, v.casting, 'Crowd ' + v.kind + LEVELS[level], false);
305
+ castCrowdShadow(scene, batch, geometryView(geos[2]), v.casting, v.size);
300
306
  batches.push(batch);
301
307
  return batch;
302
308
  })
@@ -415,7 +421,7 @@ export function createCrowdBatches({
415
421
  farCasting = [crowdMaterial('depth', walk), crowdMaterial('distance', walk)],
416
422
  name = 'Crowd ' + (level ? 'remote' : 'distant');
417
423
  return [
418
- createCrowdBatch(scene, far.clone(), people, farMat, farCasting, name + ' outside shadow map', false),
424
+ createCrowdBatch(scene, geometryView(far), people, farMat, farCasting, name + ' outside shadow map', false),
419
425
  createCrowdBatch(scene, far, people, farMat, farCasting, name),
420
426
  ];
421
427
  });
@@ -5,6 +5,7 @@
5
5
  * @module
6
6
  */
7
7
 
8
+ import { geometryView } from '../geometry/builder.js';
8
9
  import { farCrowdFigure } from '../geometry/crowd-far.js';
9
10
  import { registerCrowd } from './crowd-update.js';
10
11
 
@@ -62,10 +63,7 @@ export function createCrowdLifecycle({
62
63
  function batchCrowds() {
63
64
  if (batchManager.batches?.groupCount === crowds.length) return batchManager.batches;
64
65
  prepareCrowds();
65
- const built = batchManager.buildCrowdBatches(
66
- farFigures.map(f => f.clone()),
67
- crowds,
68
- );
66
+ const built = batchManager.buildCrowdBatches(farFigures.map(geometryView), crowds);
69
67
  batchManager.setBatches(built);
70
68
  return built;
71
69
  }
@@ -32,22 +32,21 @@ export const CROWD_FAR_STILL = Math.floor(CROWD_FAR_FRAMES / CROWD_FAR_STILLS.le
32
32
  export { CROWD_BONES, CROWD_CHEST, CROWD_DYE, CROWD_PANTS };
33
33
 
34
34
  /**
35
- * Wraps welded typed arrays from `crowdArrays` into a `THREE.BufferGeometry` ready for instanced crowd skinning.
35
+ * Borrows the welded typed arrays from `crowdArrays` into a `THREE.BufferGeometry` ready for instanced crowd skinning.
36
36
  *
37
37
  * @param {ReturnType<typeof crowdArrays>} arrays Welded crowd arrays.
38
38
  * @returns {THREE.BufferGeometry}
39
39
  */
40
40
  export function crowdGeometry(arrays) {
41
41
  const geo = new THREE.BufferGeometry();
42
- geo.setAttribute('position', new THREE.Float32BufferAttribute(arrays.position, 3));
42
+ geo.setAttribute('position', new THREE.BufferAttribute(arrays.position, 3));
43
43
  geo.setAttribute('normal', new THREE.BufferAttribute(arrays.normal, 3, true));
44
44
  geo.setAttribute('color', new THREE.BufferAttribute(arrays.color, 3, true));
45
- geo.setAttribute('aPalette', new THREE.Uint8BufferAttribute(arrays.aPalette, 1));
46
- geo.setAttribute('aTag', new THREE.Int8BufferAttribute(arrays.aTag, 1));
47
- geo.setAttribute('aJoints', new THREE.Uint8BufferAttribute(arrays.aJoints, 2));
45
+ geo.setAttribute('aPalette', new THREE.BufferAttribute(arrays.aPalette, 1));
46
+ geo.setAttribute('aTag', new THREE.BufferAttribute(arrays.aTag, 1));
47
+ geo.setAttribute('aJoints', new THREE.BufferAttribute(arrays.aJoints, 2));
48
48
  geo.setAttribute('aWeight', new THREE.BufferAttribute(arrays.aWeight, 1, true));
49
- const Index = arrays.index instanceof Uint32Array ? THREE.Uint32BufferAttribute : THREE.Uint16BufferAttribute;
50
- geo.setIndex(new Index(arrays.index, 1));
49
+ geo.setIndex(new THREE.BufferAttribute(arrays.index, 1));
51
50
  return geo;
52
51
  }
53
52
 
@@ -0,0 +1,66 @@
1
+ import * as THREE from 'three';
2
+
3
+ const corePalette = new Map();
4
+ const poolPalettes = new WeakMap();
5
+ const tint = new THREE.Color();
6
+ const PALETTE_LIMIT = 64;
7
+
8
+ // Most places use only a handful of lights. A weak entry lets a discarded fitting go,
9
+ // and the limit bounds the keys even for worlds that generate colours continuously.
10
+ function glowMaterial(hex, boost, map, fogFades, shared) {
11
+ tint.set(hex).multiplyScalar(boost);
12
+ let palette, key;
13
+ if (shared) {
14
+ palette = corePalette;
15
+ if (map) {
16
+ palette = poolPalettes.get(map);
17
+ if (!palette) poolPalettes.set(map, (palette = new Map()));
18
+ }
19
+ key = `${tint.r},${tint.g},${tint.b},${fogFades}`;
20
+ const kept = palette.get(key)?.deref();
21
+ if (kept) return kept;
22
+ }
23
+ const material = new THREE.MeshBasicMaterial({ color: tint });
24
+ if (map) {
25
+ material.map = map;
26
+ material.blending = THREE.AdditiveBlending;
27
+ material.depthWrite = false;
28
+ material.transparent = true;
29
+ if (fogFades) material.defines = { FOG_FADES: '' };
30
+ }
31
+ if (shared) {
32
+ if (palette.size >= PALETTE_LIMIT && !palette.has(key)) palette.delete(palette.keys().next().value);
33
+ palette.set(key, new WeakRef(material));
34
+ }
35
+ return material;
36
+ }
37
+
38
+ /**
39
+ * Make an unlit mesh of the supplied shape, sRGB colour and linear brightness, optionally adding it to a group.
40
+ * Equal colours share a material. Pass false for shared when the caller will change the material.
41
+ */
42
+ export function glowMesh(geometry, hex, boost, parent, shared = true) {
43
+ const mesh = new THREE.Mesh(geometry, glowMaterial(hex, boost, null, false, shared));
44
+ parent?.add(mesh);
45
+ return mesh;
46
+ }
47
+
48
+ /** Return the shared additive material for a textured pool of light. Clone it before changing its appearance. */
49
+ export function lightPoolMaterial(hex, strength, map, fogFades) {
50
+ return glowMaterial(hex, strength, map, fogFades, true);
51
+ }
52
+
53
+ const flatShapes = new Map();
54
+
55
+ /** A shared horizontal circle (radius, segments) or rectangle (width, depth) for static water and light fittings. */
56
+ export function flatFittingGeometry(shape, width, detail) {
57
+ const key = `${shape}:${width}:${detail}`;
58
+ let geometry = flatShapes.get(key)?.deref();
59
+ if (!geometry) {
60
+ geometry = shape === 'circle' ? new THREE.CircleGeometry(width, detail) : new THREE.PlaneGeometry(width, detail);
61
+ geometry.rotateX(-Math.PI / 2);
62
+ if (flatShapes.size >= PALETTE_LIMIT && !flatShapes.has(key)) flatShapes.delete(flatShapes.keys().next().value);
63
+ flatShapes.set(key, new WeakRef(geometry));
64
+ }
65
+ return geometry;
66
+ }
@@ -39,10 +39,12 @@ export {
39
39
  addWallLantern,
40
40
  createLightPoolTexture,
41
41
  } from './ruins-fittings.js';
42
+ export { flatFittingGeometry, glowMesh } from './glow-mesh.js';
42
43
  export { GROUND_DRAPE_FRAGMENT, createGroundDrape, createGroundDrapeMaterial } from './ground-drape.js';
43
44
  export { meshStreamBanks } from './stream-banks.js';
44
45
  export { meshSprings } from './stream-springs.js';
45
46
  export { layRoads } from './road-ribbons.js';
47
+ export { DEFAULT_TRAFFIC_OXEN, OXEN_DRAWING, createRoadTrafficRenderer } from './road-traffic.js';
46
48
  export { createAvenueHandover, farRoadPavingMaterial, layPavedRoad, layRoadAvenue } from './paved-road.js';
47
49
  export { PAVED_GROUND_LIMITS, createPavedGroundMaterial } from './paved-ground.js';
48
50
  export { TUFT_SHADER, createGrassTuft, createTuftMaterial } from './plant-tuft.js';
@@ -89,7 +91,7 @@ export { buildCamel } from './animal-camel-figure.js';
89
91
  export { buildCanine } from './animal-canine-figure.js';
90
92
  export { createFlierShapes, createSwarm, FLY_WINGS } from './flier-swarm.js';
91
93
  export { CARPET_LEVELS, canineStrideSteps, createCanineStrideCast, createCarpetSwarm } from './flier-carpet.js';
92
- export { createCrawlerPack, createGiantSpiderPack } from './crawler-pack.js';
94
+ export { createCrawlerPack, createGiantSpiderPack, createWallCrawlers } from './crawler-pack.js';
93
95
  export { updateNearGroups } from './detail-range.js';
94
96
  export { createPenFlocks, packPenAnimals } from './pen-flocks.js';
95
97
  export { createLongFlierCompany } from './flier-long-body-company.js';