aframe-gaussian-splatting-component

This component is an A-Frame implementation of real-time rendering for 3D Gaussian Splatting for Real-Time Radiance Field Rendering.
This code is derived from the WebGL implementation developed by antimatter15.

Properties

Property Description Default Value
src url of splat file train.splat

Usage

Browser Installation

Install and use by directly including the file. About the splat file, please refer antimatter15.

<head>
  <script src="https://aframe.io/releases/1.4.2/aframe.min.js"></script>
  <script src="https://unpkg.com/aframe-gaussian-splatting-component@0.0.3/dist/aframe-gaussian-splatting-component.min.js"></script>
</head>

<body>
  <a-scene>
    <a-entity gaussian_splatting="src: https://huggingface.co/cakewalk/splat-data/resolve/main/train.splat;" position="0 -1.5 -2.0"></a-entity>
  </a-scene>
</body>

NPM Installation

Install via NPM:

npm install aframe-gaussian-splatting-component

Then register and use.

require('aframe');
require('aframe-gaussian-splatting-component');