Mike0021's picture
Publish Phase A cleared procedural Three.js 3D scenes dataset (26 rows with validated GLBs, renders, code, and scrubbed traces)
59c7fd7 verified
|
Raw History Blame Contribute Delete
1.6 kB
# Dutch Timber Windmill — procedural Three.js scene
A traditional Dutch smock mill on a grassy mound beside a dirt path, built entirely from
procedural geometry and CanvasTexture maps (no external assets, no build step).
## Files
- `index.html` — full-screen canvas + import map to `./vendor/three` (r186).
- `textures.js` — procedural PBR texture sets: brick (albedo/bump/roughness), weathered
cladding boards, layered reed thatch, flax sail canvas (seams/stitches/stains), meadow
grass, dirt with wheel ruts, grass-clump alpha card and soft cloud sprite.
- `subject.js` — the mill only, returned as `THREE.Group` named `"subject"`:
octagonal tapered brick base with stone plinth, iron bands, arched door/windows, timber
smock body with corner posts, banding and braces, plank stage with railings, brackets
and stairs, thatched boat-shaped cap (LatheGeometry + TubeGeometry ridges), windshaft
and four slatted canvas sails (sculpted cloth vertex billow + InstancedMesh crossbars),
rear tail-pole ladder and spoked winch, hoist beam and pulley.
- `environment.js` — sky-dome gradient shader with sun glow, displaced vertex-coloured
meadow, ribbon dirt path, instanced grass tufts/clump cards/flowers/cobbles, fence,
clustered trees, cloud sprites, warm key + cool fill/rim lighting and soft shadows.
- `main.js` — renderer (ACES, PCF shadows), PMREM RoomEnvironment IBL, hero camera,
slow sail rotation and `window.__three = { scene, camera, renderer }` after first frame.
## Controls
None required — the scene renders and animates on load. Sails rotate slowly.