Skip to content

C++ OpenGL implementation for the viewer of SNeRG (or Baking NeRF)

Notifications You must be signed in to change notification settings

goddice/snerg-viewer-cpp

Repository files navigation

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

About

C++ OpenGL implementation for the viewer of SNeRG (or Baking NeRF)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published