Garage Scene 3D
- group .........
- 3D and WebGL scenes
- source ........
- https://ui.aryank.space/components/garage-scene-3d
- markdown ......
- /lab/garage-scene-3d.md
- human .........
- /lab/garage-scene-3d
── WHAT_IT_IS ────────────────────────────────────────────────────────────────────────────────
A GLTF interior lit almost entirely by coloured point lights and orbited with damped controls. Ambient is set to zero, so every surface you see is being reached by one of four points with hand-tuned decay, and a single dim directional fills the rest. An UnrealBloom pass on top of the render is what turns those hot spots into the neon look, and the orbit is clamped to a polar half turn and a distance range so the camera cannot leave the room or drop through the floor. Three.js with EffectComposer, no animation library.
── BEHAVIOUR ────────────────────────────────────────────────────────────────────────────────
* Ambient is zero on purpose
Nothing is lit for legibility. Every visible surface is reached by one of four points with hand-tuned decay, which is why the room has deep unlit corners instead of a flat floor.
* Bloom does the neon, not the materials
The lights are ordinary point lights; the glow is an UnrealBloom pass reading the tone-mapped render. Raising the strength spreads the halo without touching a single material.
* The orbit is fenced
Polar angle is clamped to a half turn and distance to a ten-to-fifty range, so the camera cannot pass through the floor or leave the room and expose the model's open back.