nbvh

(β˜… 140)

Source Code for "N-BVH: Neural ray queries with bounding volume hierarchies" (SIGGRAPH 2024)

  • .clang-format
  • .gitignore
  • .gitmodules
  • CMakeLists.txt
  • LICENSE
  • README.md

# Installation Guide

1. Get the code
git clone https://github.com/WeiPhil/nbvh

Downloads the entire project code from GitHub to your computer.

cd nbvh

Moves into the project folder you just downloaded.

2. CMake

Medium Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • CMake The tool used to generate build configuration.
  • C/C++ 컴파일러 Windows needs Visual Studio (Community edition, free), macOS needs Xcode Command Line Tools, Linux needs the gcc/g++ package.
cmake -G "Visual Studio 17 2022" -DCMAKE_CUDA_ARCHITECTURES=89 -A x64 -B build

Type this command into your terminal and run it.

cmake --build build --config Release && .\build\Release\ntwr.exe

Type this command into your terminal and run it.

cmake -G Ninja -DCMAKE_CUDA_ARCHITECTURES=89 -B build

Type this command into your terminal and run it.

cmake --build build --config Release && ./build/ntwr

Type this command into your terminal and run it.

βœ… Check that an executable was created inside the build folder, then run it directly (e.g. ./build/app_name).

Pulled directly from this repo's README.

// repository documentation