Real-time playback of animated 3D Gaussian Splatting sequences in Unity. This project extends the original UnityGaussianSplatting by Aras Pranckevičius with streaming and sequence playback capabilities.
- GaussianSplatSequence: ScriptableObject that holds multiple GaussianSplatAssets for animated playback
- GaussianSplatPlayer: Component for playing sequences with full transport controls
- Play, Pause, Stop functionality
- Loop, Once, and PingPong playback modes
- Adjustable playback speed (0.1x - 5x)
- Frame-by-frame scrubbing
- Unity Events for sequence completion and frame changes
- Batch Convert PLY Sequence: Convert folders of PLY files into optimized GaussianSplatAssets
- Automatic sequence asset creation
- Multiple quality presets (Very Low to Very High)
- Progress tracking with cancel support
- Interactive timeline with frame slider
- Transport buttons (⏮ ◀ ▶/⏸ ▶ ⏭)
- Real-time preview in edit mode
- Flip Y axis option for coordinate system compatibility
Add the package folder to your Unity project, or reference it via the Package Manager.
- Open Tools → Gaussian Splats → Batch Convert PLY Sequence
- Select your input folder containing PLY files
- Choose output folder and quality settings
- Click Convert to create assets and a
GaussianSplatSequence
- Add a GameObject with
GaussianSplatRenderercomponent - Add the
GaussianSplatPlayercomponent to the same object - Assign your
GaussianSplatSequenceto the player - Press Play!
The projects/URP_Stream folder contains a demo Unity project using the Universal Render Pipeline (URP).
- Open
projects/URP_Streamin Unity 2022.3+ - The demo scene is at
Assets/GSTestScene.unity - Use Tools → Gaussian Splats → Batch Convert PLY Sequence to convert your own PLY files
- Save converted data to
Assets/GaussianSequence/ - Create or assign a
GaussianSplatSequenceto the player in the scene
Note: The
GaussianSequence/folder containing converted splat data is not included in this repository due to size. You'll need to generate your own data from PLY files.
- Unity 2022.3 or later
- D3D12, Metal, or Vulkan graphics API
- URP, HDRP, or Built-in Render Pipeline
| Platform | Status |
|---|---|
| Windows (D3D12/Vulkan) | ✅ Supported |
| macOS (Metal) | ✅ Supported |
| Linux (Vulkan) | ✅ Supported |
| VR (Quest 3, Vive, Varjo) | ✅ Supported |
| WebGL/OpenGL | ❌ Not supported |
This project is built on top of:
- UnityGaussianSplatting by Aras Pranckevičius
- Based on the paper 3D Gaussian Splatting for Real-Time Radiance Field Rendering (SIGGRAPH 2023)
MIT License - see LICENSE.md
Note: The original Gaussian Splatting training software has specific licensing terms for commercial use. This viewer is MIT licensed, but please review how your Gaussian Splat PLY files were created.
