Gaussian Splatting: Real-Time Radiance Fields with AI
Dive into 3D Gaussian Splatting, the groundbreaking technique enabling real-time radiance field rendering. This guide breaks down the open-source implementation from graphdeco-inria, making it accessible even for beginners.

What is Gaussian Splatting?
Gaussian Splatting is a revolutionary approach to rendering 3D scenes captured from multiple viewpoints. Unlike traditional methods that rely on complex neural networks, it represents the scene using a collection of 3D Gaussians. These Gaussians store color and density information, allowing for incredibly fast and high-quality novel view synthesis – essentially creating realistic images from new perspectives.
The beauty of Gaussian Splatting lies in its efficiency. By optimizing the parameters of these Gaussians (position, color, rotation, scale), it achieves real-time rendering speeds while maintaining impressive visual fidelity. This makes it a game-changer for applications like virtual reality, augmented reality, and interactive 3D experiences.
Who is it for?
- Computer graphics researchers and enthusiasts
- Virtual reality (VR) and augmented reality (AR) developers
- Anyone interested in exploring the latest advancements in 3D rendering
- Users with a strong interest in AI-powered image processing
Minimum requirements
- Operating System: Windows 10 or Ubuntu Linux 22.04 (recommended)
- GPU: CUDA-ready GPU with Compute Capability 7.0+ (at least 24 GB VRAM for optimal results)
- RAM: Estimated 32 GB
- Free Disk Space: Estimated 50 GB (including datasets and dependencies)
- Required Software:
- Python 3.7.13 or higher
- Git
- CUDA Toolkit 11.8 (compatible with PyTorch 1.12.1 – important!)
- C++ Compiler (Visual Studio 2019 for Windows)
Installation, step by step
Before you begin, make sure you have Git and Python installed. You can download Git from https://git-scm.com/downloads and Python from https://www.python.org/downloads/. On Windows, ensure you select 'Add Python to PATH' during installation.
To open a terminal (command prompt) on Windows, search for 'cmd' in the start menu. On macOS, use Terminal (located in /Applications/Utilities/). On Linux, you can usually find it by searching for 'Terminal'.
- Open your terminal.
- Clone the repository: git clone https://github.com/graphdeco-inria/gaussian-splatting --recursive (This downloads the code to your computer.)
- Create a Conda environment: conda env create --file environment.yml (This sets up a dedicated Python environment with all necessary dependencies.)
- Activate the environment: conda activate gaussian_splatting (This switches your terminal session to use the newly created environment.)
Note: If you encounter issues with CUDA, ensure that your NVIDIA drivers are up-to-date and compatible with the installed CUDA Toolkit version. Refer to the repository's FAQ for troubleshooting tips.
Your first run
To quickly test if everything is set up correctly, try training a model on the provided Tanks & Temples dataset. Navigate to the directory where you cloned the repository and then execute: python train.py -s <path to COLMAP or NeRF Synthetic dataset> Replace <path to COLMAP or NeRF Synthetic dataset> with the actual path to the 'datasets/input/tandt_db' folder within the Gaussian Splatting repository.
Common problems
- Out of Memory (OOM): Reduce batch size or use a GPU with more VRAM. Try using the --data_device cpu flag to move data processing to your CPU.
- Missing CUDA: Ensure you have a compatible NVIDIA driver and CUDA Toolkit installed correctly. Double-check that PyTorch is configured to use CUDA.
- Incorrect Python Version: The repository requires Python 3.7.13 or higher. Verify your Python version using python --version in the terminal.
- Building Submodules Errors (Windows): Some users experience issues building submodules on Windows. Try setting the environment variable DISTUTILS_USE_SDK=1 before activating the Conda environment.
Links
You can find the complete Gaussian Splatting repository on GitHub: https://github.com/graphdeco-inria/gaussian-splatting. The official project webpage with more information and pre-trained models is available here: https://repo-sam.inria.fr/fungraph/3d-gaussian-splatting/



