Gaussian splat loader
Turn splat points into a common table.
SPLATLoader reads the compact .splat representation used by Gaussian splat viewers and returns the Mesh Arrow table shape used by loaders.gl applications and rendering layers.
The splat path
Read packed attributes. Preserve the renderer-facing columns.
The loader converts position, color, opacity, scale, and rotation attributes into typed columns without requiring applications to understand the binary record layout.
Input
Raw `.splat` binary data
Decode
Positions, colors, opacity, scales, and rotations
Shape
Mesh Arrow table with Gaussian splat metadata
Next step
Pass the table to a splat renderer or transform
SPLATLoader parses raw .splat Gaussian splat files and returns a native Apache Arrow Table.
Detailed guide
Binary layout and output details
The reference below covers supported fields, output columns, options, and the relationship between the compact file and the common Mesh Arrow representation.
| Property | Value |
|---|---|
| File format | SPLAT |
| Extensions | .splat |
| Worker | ❌ No |
| Input type | ArrayBuffer |
| Output shape | arrow |
Usage
import {load} from '@loaders.gl/core';
import {SPLATLoader} from '@loaders.gl/splats/splat';
const table = await load(url, SPLATLoader);
The returned table uses GraphDECO-style Gaussian splat columns and can be passed to SplatLayer.
Options
| Option | Type | Default | Description |
|---|---|---|---|
splats.shape | 'arrow' | 'arrow' | Returns a native Arrow table. |