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.99 kB
# Oak Workbench — Sunlit Timber Workshop
A fully procedural, real-time Three.js r186 scene of a traditional oak carpenter's
workbench in a sunlit timber workshop.
## What is in the scene
- **Subject group** (`THREE.Group` named `subject`): a heavy laminated oak bench with
breadboard ends, apron, through-tenoned lower stretchers, drawbore pegs, bench-dog
holes and dogs, and an all-wood front vise (turned wooden screw with helical thread,
guide dowels, garter, long turned handle).
- Tools on the bench: two wooden hand planes with sculpted bezier tote, turned knob,
steel blade/chipbreaker/lever cap, a block plane, a row of chisels with turned oak
handles and brass ferrules, a lathe-turned oak mallet, a marking gauge, a pencil,
a small rosewood offcut block, sawdust and prominent curled/ribbon shavings modelled
with `TubeGeometry` and custom ribbon buffers.
- **Environment** (outside `subject`): worn concrete floor, timber plank walls and
framing, a large glowing workshop window with deep reveal and mullions, rafters,
saw beams, workbench-side sawhorse, lumber stacks, tool chest, wall tool board,
plane till, shelves/jars, hanging saws, clamps, ladder, crates and a shaving bucket.
- Rich procedural `CanvasTexture` albedo/bump/roughness maps for oak, rosewood, end
grain, brushed steel, concrete and window light; PMREM `RoomEnvironment`; warm sun
plus cool fill and rim, spot key light, soft PCF shadows, fog, dust motes and sky dome.
## Files
`index.html` — import map to `./vendor/three`, full-window canvas.
`textures.js` — seeded procedural canvas PBR texture generators.
`subject.js` — bench, vise, planes, chisels, mallet, shavings (all inside `subject`).
`environment.js` — ground, workshop architecture, props, atmosphere.
`main.js` — renderer, camera, lights, environment map, animation loop and
`window.__three = { scene, camera, renderer, render }`.
Serve the directory with any static HTTP server and open `index.html`.