Skip to main content
GitHub
0.0s

The default scene places two copies of a captured cat figurine at different depths. On WebGPU, the transparent pane moves between them. The depth-interval shader plugin draws the splats behind the pane first, blends the glass, then draws the splats in front. Use Moving tinted glass in Settings to compare the result, and drag to orbit the scene.

The example downloads one 2 MB cat figurine SPZ scan from SharedTestModels under CC0 1.0 Universal.

Turn off the pane to inspect standard WebGPU rendering in GPU Graph and GPU Trace. Choose CPU depth ordering to compare the portable renderer. WebGL2 uses attribute-backed rendering. The example keeps format parsing in loaders.gl and uses @luma.gl/engine/arrow to convert decoded Gaussian batches into GPU data.

Spherical-harmonic DC colors remain unclamped floating-point radiance from loading through GPU rendering. Standard displays use configurable exposure and tone mapping, while compatible WebGPU displays can present directly to an extended-range rgba16float canvas.

To explore complete captured scenes, open the Gaussian Splat Viewer. It starts with the 741,883-splat Train capture and offers Truck, Dr Johnson, Playroom, GitHub fallback, and custom public source URLs without requiring a local loaders.gl checkout.

The standalone example also supports an optional neighboring loaders.gl 5 alpha checkout. Start it with VITE_LOADERS_GL_ROOT=/path/to/loaders.gl and open ?loaders=local; use ?loaders=local&scene=fixture for the small parser test asset.

Known GraphDECO captures use scene-specific camera-up conventions instead of assuming every scene is Z-up; Truck also starts from its published camera position. Foreground-based framing keeps the subject visible, manual orbit and zoom persist while additional batches stream in, and stationary scenes avoid unnecessary redraws.