A minimal PyTorch implementation of PixGS: Pixel-Space Diffusion for Direct 3D Gaussian Splat Generation, which is a single-stage pixel-space diffusion model that directly generates 3D Gaussian Splats from text or image conditioning. This repository is a compact, self-contained reimplementation intended for experimentation and understanding of the core ideas from the paper.
- Flow Matching objective
- Multi-view DiT backbone
- Pixel-aligned Gaussian attribute representation
- Plucker ray conditioning
- Differentiable Gaussian splat renderer
- Pure PyTorch renderer
- Optional
gsplatbackend
- Multi-stage training schedule
- RGB, depth, normal, LPIPS, and LoG supervision
- Toy synthetic dataset for end-to-end testing
- End-to-end training pipeline
- Sampling
- PLY export
- Smoke test
- Procedural toy dataset (
ToyBlobs)
Smoke test:
python main.py --smokeTrain on the toy dataset:
python main.pyUse the CUDA gsplat renderer:
python main.py --renderer gsplatOutputs are written to out_pixgs_mini/.
PixGS: Pixel-Space Diffusion for Direct 3D Gaussian Splat Generation
Duy Cao, Phong Nguyen-Ha