Sun Lounger
A sun lounger at real size (about 1.95 m long, seat at 35 cm): a slatted teak lounger with wheels, a white moulded plastic pool lounger, or a striped folding canvas deck chair. The lounger backrest is a hinged part named backrest (about x) set by the back knob, with an optional cushion and towel.
- Size
- 0.72 × 0.86 × 2.0 m
- Triangles
- 464
- Kit
- Outdoors
Tune it
5 knobs: Style, Backrest, Fabric, Cushion, Towel.
Specs
- Size
- 0.72 × 0.86 × 2.0 m width × height × depth
- Triangles
- 464 of 6,000
- Draw calls
- 1 one vertex-colour material
- Moving parts
- 1 backrest · rotate
- Knobs
- 5 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/sun-lounger.mjs';
const sunLounger = createAsset();
scene.add(sunLounger); // rests on y = 0, front faces +Z
// 'backrest' pivots on its hinge: 0° to 75° around x
sunLounger.getObjectByName('backrest').rotation.x = THREE.MathUtils.degToRad(0);import { useMemo } from 'react';
import { createAsset } from 'https://gaitkit.com/cdn/sun-lounger.mjs';
export function SunLounger() {
const model = useMemo(() => createAsset(), []);
return <primitive object={model} />;
}# Import sun-lounger.glb (download below). Moving parts are separate nodes, pivoted on their hinge.
$SunLounger/backrest.rotation_degrees.x = 0// Import sun-lounger.glb with glTFast (com.unity.cloud.gltfast).
transform.Find("backrest").localEulerAngles = new Vector3(/* x: */ 0, 0, 0);Use the gaitkit MCP server: get_variant({ "id": "sun-lounger", "want": "default look" })
then place the result.
# MCP endpoint
https://gaitkit.com/mcpKnobs
| Knob | Type | Values | Default | What it does |
|---|---|---|---|---|
style | choice | teak plastic deckchair | teak | teak (a slatted hardwood lounger with two wheels at the head end), plastic (a white moulded pool lounger) or deckchair (a folding wooden deck chair with a striped canvas sling). |
back | range | 0 to 75, step 1 | 40 | Backrest angle in degrees: 0 lies flat for sunbathing face down, 40 for reading, 75 sitting up. Same as rotating the backrest part. (The deck chair has a fixed recline.) |
color | choice | navy cream teal terracotta yellow | navy | Colour of the cushion and towel stripes, or of the deck chair stripes: navy, cream, teal, terracotta or yellow. |
cushion | toggle | on / off | true | A padded cushion on the seat and backrest (loungers only). |
towel | toggle | on / off | false | A striped beach towel laid on the seat with a rolled towel as a pillow. |
Presets: hotel pool {"style":"plastic","cushion":false,"towel":true,"color":"teal"} · seaside deckchair {"style":"deckchair","color":"terracotta"} · flat out {"style":"teak","back":0,"color":"cream"}
Files
| File | What |
|---|---|
| sun-lounger.glb | GLB, default look · 73 KB |
| sun-lounger.mjs | ES module, every knob live |
| sun-lounger.obj | OBJ, static, no colour |
| sun-lounger-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.