Gaitkit Open the lab
Barracks, A long quonset-style army hut: a corrugated half-cylinder shell about 6 m wide on a concrete slab, with a gabled entry porch and hinged door (part door) on the +Z side and rows of awning windows down both flanks that glow at night. Length is a real-metre knob; the shell is painted in woodland, desert, arctic or grey camouflage.
Building · 1 moving part

Barracks

A long quonset-style army hut: a corrugated half-cylinder shell about 6 m wide on a concrete slab, with a gabled entry porch and hinged door (part door) on the +Z side and rows of awning windows down both flanks that glow at night. Length is a real-metre knob; the shell is painted in woodland, desert, arctic or grey camouflage.

Size
12.8 × 5.1 × 8.4 m
Triangles
1,772
Open in the lab Ready for any engine. The download carries the knobs you set here.

Tune it

4 knobs: Length, Camo, Stove pipe, Sandbags.

Specs

Size
12.8 × 5.1 × 8.4 m
width × height × depth
Triangles
1,772
of 6,000
Draw calls
1
one vertex-colour material
Moving parts
1
door · rotate
Knobs
4
3 presets
Night lights
2
window, lamp

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.

JavaScript
import { createAsset } from 'https://gaitkit.com/cdn/barracks.mjs';

const barracks = createAsset();
scene.add(barracks);                      // rests on y = 0, front faces +Z

// 'door' pivots on its hinge: -100° to 0° around y
barracks.getObjectByName('door').rotation.y = THREE.MathUtils.degToRad(-100);

More in the docs; agents can fetch all of this through MCP.

Knobs

KnobTypeValuesDefaultWhat it does
lengthrange8 to 18, step 112Length of the hut in metres. 8 is a small office hut, 12 sleeps a platoon, 18 is a mess hall or store.
camochoicewoodland desert arctic greywoodlandPaint on the corrugated shell: woodland (olive, brown and black blotches), desert (sand and tan), arctic (white and pale grey), grey (plain urban grey).
chimneytoggleon / offtrueA stove chimney pipe with a rain cap poking out of the roof near the back.
sandbagstoggleon / offfalseA low blast wall of sandbags along the front on both sides of the porch.

Presets: desert mess hall {"camo":"desert","length":18,"chimney":true} · arctic hut {"camo":"arctic","length":9} · frontline quarters {"camo":"woodland","sandbags":true,"length":14}

Files

FileWhat
barracks.glbGLB, default look · 241 KB
barracks.mjsES module, every knob live
barracks.objOBJ, static, no colour
barracks-params.jsonknob 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.