drag to orbit
Prop · Still
Barrel
A bulging wooden barrel of staves bound with metal hoops, with a plank head and a bung. Stand it upright or lay it on its side for a dock, cellar or tavern scene.
- Size
- 0.64 × 0.90 × 0.68 m
- Triangles
- 552
Tune it
4 knobs: Wood, Hoops, Pose, Size.
Specs
- Size
- 0.64 × 0.90 × 0.68 m width × height × depth
- Triangles
- 552 of 6,000
- Draw calls
- 1 one vertex-colour material
- Knobs
- 4 2 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/barrel.mjs';
const barrel = createAsset();
scene.add(barrel); // rests on y = 0, front faces +Zimport { useMemo } from 'react';
import { createAsset } from 'https://gaitkit.com/cdn/barrel.mjs';
export function Barrel() {
const model = useMemo(() => createAsset(), []);
return <primitive object={model} />;
}# Import barrel.glb (download below). It is a static mesh, one material per colour.
add_child(preload("res://barrel.glb").instantiate())// Import barrel.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": "barrel", "want": "default look" })
then place the result.
# MCP endpoint
https://gaitkit.com/mcpKnobs
| Knob | Type | Values | Default | What it does |
|---|---|---|---|---|
wood | choice | oak pine weathered dark | oak | oak (warm brown), pine (pale yellow), weathered (silver-grey driftwood), dark (stained, old cellar). |
hoops | choice | iron copper brass black | iron | Metal of the four hoops: iron (dark grey), copper, brass or black. |
pose | choice | standing lying | standing | standing (upright on its head) or lying (on its side, bung hole up, axis along x). |
size | range | 0.5 to 1.4, step 0.05 | 1 | Uniform scale. 1 is a 90 cm cask; 0.5 a small keg, 1.4 a big storage tun. |
Presets: cellar cask {"pose":"lying","wood":"dark","hoops":"black"} · dock barrel {"wood":"weathered","hoops":"copper"}
Files
| File | What |
|---|---|
| barrel.glb | GLB, default look · 63 KB |
| barrel.mjs | ES module, every knob live |
| barrel.obj | OBJ, static, no colour |
| barrel-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.