Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 1.67 KB

README.md

File metadata and controls

39 lines (31 loc) · 1.67 KB

Windows MacOS Linux

C++ implementation for the viewer of SNeRG (Baking Neural Radiance Fields for Real-Time View-Synthesis).

The third-party libraries are organized as git submodules. Therefore, be sure to use the --recursive flag when cloning the repository:

$ git clone --recursive https://github.com/goddice/snerg-viewer-cpp.git

If you accidentally clone the repo without using --recursive, run the following command to also fetch the dependencies:

$ git submodule update --init --recursive

Steps of running the code:

$ python -m pip install --user -r requirements.txt
$ python scripts/download_data.py
$ cmake -S . -B build
$ cmake --build build --config Release

Run it (e.g.: ./build/app models/drums)

screen shot

For the model training and the original webgl viewer, please refer to the official SNeRG repo: https://github.com/google-research/google-research/tree/master/snerg

TODO list

  • Fix rotation issue
  • Support resize
  • Support Android
  • Support iOS
  • Support WebAssembly