NPM3D MVA project, coded from (almost) scratch, inspired by Space carving and Plenoxels. Requires the NeRF dataset.
Composed of two steps: space carving and opaque voxels optimization. Running main_carve_sph.py
takes approximately 4 minutes on a single GPU.
Spherical harmonics of degree 9 are used to render the shading of each voxel:
Running main_carve.py
takes approximately 1 minute on a single GPU.
Run main.py
to start the training. It takes approximately 30 minutes on a single GPU and saves the final 128x128x128 voxel grid in ./saved_grids/
.