---
title: "Introduction to 3D Gaussian Splatting"
description: "3D Gaussian Splatting renders photorealistic scenes in real time by rasterizing millions of gaussians, each with a position, covariance, color and alpha, instead of triangles."
url: "https://swe.quest/articles/introduction-to-3d-gaussian-splatting-4bae5755704fcc0e"
canonical: "https://huggingface.co/blog/gaussian-splatting"
source: "Hugging Face"
published: "2023-09-18"
difficulty: "medium"
kind: "Deep dive"
reading_minutes: 6
tags: ["computer-vision","machine-learning","algorithms"]
---

# Introduction to 3D Gaussian Splatting

A post on [Hugging Face](https://swe.quest/sources/hugging-face.md), published 2023-09-18, 6 min read, Deep dive. Original: [https://huggingface.co/blog/gaussian-splatting](https://huggingface.co/blog/gaussian-splatting)

## Summary

3D Gaussian Splatting renders photorealistic scenes in real time by rasterizing millions of gaussians, each with a position, covariance, color and alpha, instead of triangles. The pipeline runs Structure from Motion (e.g. COLMAP) to get a point cloud and turns each point into a gaussian. It then trains the parameters with SGD through a differentiable rasterizer that projects gaussians to 2D, depth-sorts them and alpha-blends front to back, splitting, cloning and pruning gaussians along the way. Tradeoffs include high VRAM use (4GB to view, 12GB to train), scene files of 1GB+, static scenes and incompatibility with existing pipelines. The main porting bottleneck is the CUDA-only CUB radix sort used to sort the gaussians.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Computer vision](https://swe.quest/tags/computer-vision.md) (AI & ML)
- [Machine learning](https://swe.quest/tags/machine-learning.md) (AI & ML)
- [Algorithms](https://swe.quest/tags/algorithms.md) (Architecture & design)

## Prerequisites

- rasterization basics
- gradient descent
- 3D graphics fundamentals

## Keywords

3D Gaussian Splatting, COLMAP, Structure from Motion, CUDA, CUB radix sort, WebGPU, WebGL

## Related posts

- [The Definitive Fine-Tuning Guide for 3D Generation Models](https://swe.quest/articles/the-definitive-fine-tuning-guide-for-3d-generation-models-4970a5decd2d7843.md): Hugging Face · 2026-11-12 · Hard · 17 min read · Model training, Computer vision, Machine learning
  TRELLIS.2, an image-to-3D model built on sparse O-Voxel structured latents, can be specialized with LoRA adapters on just the stages that control shape: the dense sparse-structure flow DiT (rank 8, attention and MLP) and the sparse shape flow DiT (rank 16, attention), about 9.3M trainable parameters in total.
- [It's all about the angle: Your photos, re-composed](https://swe.quest/articles/it-s-all-about-the-angle-your-photos-re-composed-ebe04e199dcb7c6a.md): Google Research · 2026-04-22 · Easy · 5 min read · Computer vision, Machine learning
  Google Photos' Auto frame can now re-compose a portrait from a new camera angle by treating the 2D photo as a 3D scene.
- [Split-and-Scale Latent 3D Representations](https://swe.quest/articles/split-and-scale-latent-3d-representations-688a895328f8fe5f.md): Apple Machine Learning Research · 2026-11-16 · Hard · 1 min read · Computer vision, Machine learning
  Split-and-scale expands the capacity of latent 3D representations at inference time by applying a single pretrained tokenizer to arbitrarily small sub-regions of a scene, which works because scenes are represented as continuous functions of 3D coordinates.
- [3D Asset Generation: AI for Game Development #3](https://swe.quest/articles/3d-asset-generation-ai-for-game-development-3-dc2ebb89cd6c9a2a.md): Hugging Face · 2023-01-20 · Easy · 4 min read · Computer vision, Games, Machine learning
  As of early 2023, text-to-3D generation is not yet practical for game development.
- [WebGPU now available for testing in Safari Technology Preview](https://swe.quest/articles/webgpu-now-available-for-testing-in-safari-technology-preview-fb9a82b78536ace0.md): WebKit · 2023-12-21 · Medium · 3 min read · Browsers, JavaScript, Hardware
  Safari Technology Preview 185 ships an early WebGPU implementation, enabled via the "WebGPU", "GPU Process: DOM Rendering" and "GPU Process: Canvas Rendering" feature flags.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
