LookMiddleweight
Gaussian splatting
Photoreal 3D scans you can walk around.
A newer kind of 3D scan you can walk around in the browser. The scene is stored as millions of soft colored blobs that look like a photograph from any angle. Files are large (20 to 200 MB), and the result is the most photoreal thing on this map.
- Breaks when
- files are 20-200MBper-frame sort is costly on mobile
- Also called
- 3DGS, splats, .splat/.ply, Spark
Prompts
Captured object in a product page
Load a .splat (or .ply from a Gaussian-splatting pipeline) with the Spark renderer for Three.js. Center and orient it (the capture is usually y-down), fit it to a 2-unit box, and set an OrbitControls with polar limits 60–100° so the unscanned underside is never seen. Fade in over 600 ms once the file is fully sorted. Show the file size and splat count; refuse to load over 4G if the file exceeds 40 MB and show a poster instead.
Splats with a real mesh
Combine a splat scene with a Three.js mesh: a MeshStandardMaterial sphere that sits on the scanned table and casts a soft contact shadow (ShadowMaterial plane) onto it. Explain how depth is handled between the splat renderer and ordinary meshes and what breaks when the splat file has floaters.
Scroll-scrubbed capture
A splat of a room drives a story: three camera positions stored as {position, target}; scroll progress lerps between them with smoothstep, so the reader walks through the scan while reading. Reduce splat count to 30% while scrolling and restore when idle.Related
Resources · 2
- WebGL Gaussian Splat ViewerSplats with zero dependencies; sorting on a worker.antimatter15GitHub · code · demoAug 20, 2026
- Spark: 3DGS renderer for three.jsSplats as a THREE object; mixes with normal meshes.sparkjsdevGitHub · code · demoAug 19, 2026