Wooden Fence
A tileable run of wooden fence along X: picket, post-and-rail or woven wattle. Each segment is exactly 2 m post-centre to post-centre, so a run of n segments is 2n m between its end posts; place copies 2n m apart and their end posts overlap exactly.
- Size
- 6.1 × 1.2 × 0.22 m
- Triangles
- 536
Tune it
4 knobs: Segments, Style, Finish, Weathering.
Specs
- Size
- 6.1 × 1.2 × 0.22 m width × height × depth
- Triangles
- 536 of 6,000
- Draw calls
- 1 one vertex-colour material
- Knobs
- 4 3 presets
- Night lights
- 0 none
Passed the validator: real scale, rests on y = 0, front faces +Z, deterministic.
Use it
Code for the specimen as it is set up above; it follows your knobs.
import { createAsset } from 'https://gaitkit.com/cdn/wooden-fence.mjs';
const woodenFence = createAsset();
scene.add(woodenFence); // rests on y = 0, front faces +Zimport { useMemo } from 'react';
import { createAsset } from 'https://gaitkit.com/cdn/wooden-fence.mjs';
export function WoodenFence() {
const model = useMemo(() => createAsset(), []);
return <primitive object={model} />;
}# Import wooden-fence.glb (download below). It is a static mesh, one material per colour.
add_child(preload("res://wooden-fence.glb").instantiate())// Import wooden-fence.glb with glTFast (com.unity.cloud.gltfast).
// Drop it in the scene: 1 unit = 1 metre, +Z is its front.Use the gaitkit MCP server: get_variant({ "id": "wooden-fence", "want": "default look" })
then place the result.
# MCP endpoint
https://gaitkit.com/mcpKnobs
| Knob | Type | Values | Default | What it does |
|---|---|---|---|---|
segments | range | 1 to 8, step 1 | 3 | Number of 2 m bays. The run is 2 × segments metres long between end-post centres, centred on the origin along X. |
style | choice | picket rail wattle | picket | picket (pointed boards on two rails, cottage garden), rail (rough posts with three split rails, paddock or field), wattle (woven withies between stakes, medieval hurdle). |
finish | choice | natural whitewash grey dark | natural | Wood finish: natural (warm brown), whitewash (painted off-white, classic for picket), grey (sun-bleached), dark (tarred). |
seed | range | 1 to 50, step 1 | 4 | Seed for weathering: post lean, board height, shade and the odd missing picket. End posts never move so runs still tile. |
Presets: cottage garden {"style":"picket","finish":"whitewash","segments":4} · paddock {"style":"rail","finish":"grey","segments":6,"seed":17} · wattle hurdle {"style":"wattle","segments":2}
Files
| File | What |
|---|---|
| wooden-fence.glb | GLB, default look · 87 KB |
| wooden-fence.mjs | ES module, every knob live |
| wooden-fence.obj | OBJ, static, no colour |
| wooden-fence-params.json | knob schema, presets, night zones |
Licence
Use it in games, apps, renders and client work, commercially and without credit. Do not resell it as an asset or train a 3D generator on it. The full licence.