Lighthouse
A tapered striped lighthouse tower with a railed gallery and a lantern room. The lamp is a part named lamp that spins about y and glows after dark; the keeper's windows glow too. The door faces +Z.
- Size
- 8.5 × 14.2 × 8.0 m
- Triangles
- 1,672
- Kit
- Coastal Town
Tune it
4 knobs: Stripe colour, Stripes, Height, Base.
Specs
- Size
- 8.5 × 14.2 × 8.0 m width × height × depth
- Triangles
- 1,672 of 6,000
- Draw calls
- 1 one vertex-colour material
- Loop clip
- 1 m of travel per cycle
- Moving parts
- 1 lamp · spin
- Knobs
- 4 3 presets
- Night lights
- 2 lamp, window
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/lighthouse.mjs';
const lighthouse = createAsset();
scene.add(lighthouse); // rests on y = 0, front faces +Zimport { useMemo } from 'react';
import { createAsset } from 'https://gaitkit.com/cdn/lighthouse.mjs';
export function Lighthouse() {
const model = useMemo(() => createAsset(), []);
return <primitive object={model} />;
}# Import lighthouse.glb (download below). Moving parts are separate nodes, pivoted on their hinge.
add_child(preload("res://lighthouse.glb").instantiate())// Import lighthouse.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": "lighthouse", "want": "default look" })
then place the result.
# MCP endpoint
https://gaitkit.com/mcpKnobs
| Knob | Type | Values | Default | What it does |
|---|---|---|---|---|
stripeColor | choice | red black blue green | red | Colour of the bands on the white tower, the lantern roof and the door: red, black, blue or green. |
stripes | range | 0 to 6, step 1 | 3 | Number of coloured bands around the tower. 0 gives a plain white tower. |
height | range | 8 to 24, step 0.5 | 14 | Total height in metres from the ground to the tip of the roof. 8 is a harbour-wall light, 24 a major coastal landmark. |
base | choice | rock plain | rock | rock (tower stands on a craggy granite outcrop, for a headland or an islet) or plain (round stone plinth with steps, for a pier or a town). |
Presets: headland light {"stripeColor":"red","stripes":3,"height":18,"base":"rock"} · harbour light {"stripeColor":"green","stripes":1,"height":9,"base":"plain"} · storm coast {"stripeColor":"black","stripes":5,"height":22}
Files
| File | What |
|---|---|
| lighthouse.glb | GLB, default look · 244 KB |
| lighthouse.mjs | ES module, every knob live |
| lighthouse.obj | OBJ, static, no colour |
| lighthouse-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.