Cargo Pile
A seeded heap of dockside cargo: wooden crates, barrels standing and lying on their sides, burlap sacks, small kegs and a coil of rope, some stacked two high, with an optional heap of fishing net with cork floats in front. Every seed is a different arrangement; about 3.5 × 2.5 m.
- Size
- 2.4 × 1.3 × 2.7 m
- Triangles
- 762
- Kit
- Pirates
Tune it
4 knobs: Arrangement, Amount, Mix, Fishing net.
Specs
- Size
- 2.4 × 1.3 × 2.7 m width × height × depth
- Triangles
- 762 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/cargo-pile.mjs';
const cargoPile = createAsset();
scene.add(cargoPile); // rests on y = 0, front faces +Zimport { useMemo } from 'react';
import { createAsset } from 'https://gaitkit.com/cdn/cargo-pile.mjs';
export function CargoPile() {
const model = useMemo(() => createAsset(), []);
return <primitive object={model} />;
}# Import cargo-pile.glb (download below). It is a static mesh, one material per colour.
add_child(preload("res://cargo-pile.glb").instantiate())// Import cargo-pile.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": "cargo-pile", "want": "default look" })
then place the result.
# MCP endpoint
https://gaitkit.com/mcpKnobs
| Knob | Type | Values | Default | What it does |
|---|---|---|---|---|
seed | range | 1 to 60, step 1 | 22 | Seed for which goods go where, their sizes, turns and shades. Every number is a different pile. |
amount | range | 3 to 10, step 1 | 8 | Number of cargo pieces (a crate, a barrel or a pair of sacks each). About a third of them end up stacked on top. |
mix | choice | mixed barrels crates sacks | mixed | What the pile is mostly made of: mixed, barrels (rum and water casks), crates, or sacks (grain, coffee, spice). |
net | toggle | on / off | true | A heaped fishing net with cork floats lying in front of the pile. |
Presets: rum shipment {"mix":"barrels","amount":10,"seed":12,"net":false} · spice cargo {"mix":"sacks","amount":7,"seed":3} · fishermans corner {"mix":"mixed","amount":4,"seed":21,"net":true}
Files
| File | What |
|---|---|
| cargo-pile.glb | GLB, default look · 112 KB |
| cargo-pile.mjs | ES module, every knob live |
| cargo-pile.obj | OBJ, static, no colour |
| cargo-pile-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.