API

Gaussian Splatting File Loader Plugin

Babylon.js supports multiple Gaussian splatting file formats:

Loader options, supported variants (compressed and half-float PLY, SPZ v4) and streaming are described in the Gaussian Splatting page.

To use it, you just have to reference it after Babylon.js:

<script src="Babylon.js"></script>
<script src="babylon.splatFileLoader.js"></script>

If you want to import splat files statically (not recommended), you can do so via:

import "@babylonjs/loaders/SPLAT/splatFileLoader";

You can read more about NPM support.