This repository contains a differentiable PlenOctree and renderer implementation as a PyTorch CUDA extension. It is used by our conversion and optimization code.
PlenOctrees for Real Time Rendering of Neural Radiance Fields
Alex Yu, Ruilong Li, Matthew Tancik, Hao Li, Ren Ng, Angjoo Kanazawa
https://alexyu.net/plenoctrees
Please also refer to the following repositories
- NeRF-SH training and PlenOctree extraction: https://github.com/sxyu/plenoctree
- C++ volume renderer https://github.com/sxyu/volrend
pip install svox
Please see https://svox.readthedocs.io
If you get SIGSEGV upon importing,
check that your CUDA runtime and PyTorch CUDA versions match. That is,
nvcc --version
should match (Python)
torch.version.cuda
SVOX stands for sparse voxel octree extension.