Package Exports
- t3d-gaussian-splatting
- t3d-gaussian-splatting/build/t3d.gaussiansplatting.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (t3d-gaussian-splatting) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
T3D Gaussian Splatting
This is a t3d-based implementation of 3D Gaussian Splatting for Real-Time Radiance Field Rendering. Supports both .ply and .splat files.
Only supports WebGL2.
Usage
import { SplatLoader, PLYLoader } from 't3d-gaussian-splatting';
// ...
// load splat file and add to scene
const splatLoader = new SplatLoader(); // ro new PlyLoader();
splatLoader.loadAsync('./path/to/xx.splat').then(({ buffer, node }) => {
scene.add(node);
});
function loop() {
// ...
// call node.update in loop function
node.update(camera, renderTargetWidth, renderTargetHeight);
// ...
}Reference
- 3D Gaussian Splatting for Real-Time Radiance Field Rendering SIGGRAPH 2023
- GaussianSplats3D - Three.js-based implementation of 3D Gaussian splatting
- GaussianSplattingMesh - Babylon-based GaussianSplattingMesh