Unity NeRF
About
This project aims to implement real-time rendering of NeRF scenes inside Unity. It is based on the method developed by Yu et al. and works by caching the results of the NeRF network using a sparse voxel octree (SVO) structure with GPU acceleration.
Note: Due to GitHub's file size limits, some of the files required to run the example scenes included in this project are not tracked as part of this repo. These can be found in the "releases" section as downloads. The sample scenes will not render correctly without these files!
Setup
- Download the Unity project, either by cloning this repo directly or by grabbing the latest release
- Download the "Resources.zip" archive from the latest release
- Unzip the contents of "Resources.zip" into the "Assets/Resources" folder of the Unity project
- You should now be able to open the project within the Unity Editor
Documentation
- Rendering Model
- The N3Tree Structure
- The SparseVoxelOctree Structure
- Comparison of Real-Time NeRF Models
- Comparison of Serialization Formats
Requirements
- Unity 2022.3.41f1 (LTS)