Nebula: Enable City-Scale 3D Gaussian Splatting in Virtual Reality via Collaborative Rendering and Accelerated Stereo Rasterization
demo.mp4
This repo provides a software implementation of Nebula, a coherent acceleration framework for large-scale 3DGS collaborative rendering. This framework addresses the scalability issue of 3DGS rendering and significantly reduces the bandwidth requirement by 1925% compared to conventional video streaming with three contributions:
- Temporal-aware LoD search exploits frame-to-frame coherence to accelerate tree traversal.
- Runtime Gaussian management tracks a reuse window to incrementally transfer Gaussians.
- Stereo rasterization uses triangulation to share computation between left and right eyes while maintaining bit-accurate quality.
This repo implements the algorithmic core of all three on a single CUDA GPU. Compared to the paper, it offloads SH coefficients between CPU and GPU instead of transferring Gaussians from cloud to client. It provides three render pipelines:
- Baseline (
render.py): Standard hierarchical rendering, all data on GPU. - Offload (
render_offload.py): SH coefficients cached in CPU pinned memory, on-demand GPU transfer via CUDA kernel. - Stereo (
render_stereo.py): Binocular rendering with stereo rasterizer + SH offloading.
git clone https://github.com/StoneSix16/Nebula --recursive
cd Nebula
conda create -n nebula python=3.12 -y
conda activate nebula
pip install torch==2.6.0 torchvision==0.21.0 --index-url https://download.pytorch.org/whl/cu124
pip install -r requirements.txt# Hierarchy tools (C++ only)
cd submodules/gaussianhierarchy
cmake . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build -j --config Release
cd ../..Dataset preparation and model training follow the exact same full-training pipeline as Hierarchical 3D Gaussians(graphdeco-inria/hierarchical-3d-gaussians). Refer to the linked repository for detailed instructions.
Our rendering scripts load the full hierarchy and render a camera trace generated from the test set.
DATASET_DIR=<Path to your dataset>
# Baseline
python render.py --eval -s ${DATASET_DIR} \
--model_path ${DATASET_DIR}/output \
--hierarchy ${DATASET_DIR}/output/merged.hier \
--scaffold_file ${DATASET_DIR}/output/scaffold/point_cloud/iteration_30000
# Offload
python render_offload.py --eval -s ${DATASET_DIR} \
--model_path ${DATASET_DIR}/output \
--hierarchy ${DATASET_DIR}/output/merged.hier \
--scaffold_file ${DATASET_DIR}/output/scaffold/point_cloud/iteration_30000
# Stereo
python render_stereo.py --eval -s ${DATASET_DIR} \
--model_path ${DATASET_DIR}/output \
--hierarchy ${DATASET_DIR}/output/merged.hier \
--scaffold_file ${DATASET_DIR}/output/scaffold/point_cloud/iteration_30000| Parameter | Description |
|---|---|
--taus |
LoD granularity thresholds. Smaller = more Gaussians = higher quality. Accepts multiple values. |
--benchmark |
Enable measuring per-frame latency breakdown (LoD search, rendering, eviction) and GPU memory usage |
If you use this code in your research, please cite the Nebula paper:
@inproceedings{zhu2026nebula,
title={Nebula: Infinite-Scale 3D Gaussian Splatting in VR via Collaborative Rendering and Accelerated Stereo Rasterization},
author={Zhu, He and Liu, Zheng and Li, Xingyang and Wu, Anbang and Zhao, Jieru and Liu, Fangxin and Gan, Yiming and Leng, Jingwen and Feng, Yu},
booktitle={Proceedings of the 31st ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 2},
pages={1235--1250},
year={2026}
}This codebase builds on several prior works:
- Hierarchical 3D Gaussians (Kerbl*, Meuleman* et al., SIGGRAPH 2024) — the underlying hierarchical representation and training pipeline
- 3D Gaussian Splatting (Kerbl et al., SIGGRAPH 2023) — the foundational rendering algorithm