This is the Vulkan renderer for Radiance Meshes. The training code can be found here.
The training code emits ckpt.ply files that can be rendered using this program.
Sorting in Vulkan is based on the work done by bones164 here.
- WASD to move
- Q to go down, E to go up
- Shift to go faster
- Left click+drag to move the viewpoint
- Right click to select points, scroll to adjust selection depth
- Press
gto initiate a move points, Pressgto end the move.
The Vulkan SDK must be installed. Eigen3 must be installed and findable via CMake's find_package(Eigen3). We recommend installing it via vcpkg with vcpkg install eigen3.
All other dependencies are already included.
Install dependencies for Ubuntu:
sudo apt install build-essentials libxrandr-dev libx11-dev libvulkan-dev libxinerama-dev libxcursor-dev libxi-dev libxcb-keysyms1-dev
Slang is expected to be found in /usr/local/lib/libslang.so. I usually install Slang by building from the source here.
However, it also ships with the latest version of Vulkan APIs.
This could be necessary to execute:
echo "/usr/local/lib" | sudo tee /etc/ld.so.conf.d/local-slanguages.conf
Then, finally, just run cmake and make.
cmake -S . -B build
cmake --build build -j8