GPRT is a ray tracing API that wraps the Vulkan ray tracing interface.
- CMake
- C++17
- Vulkan SDK (>= 1.3.231.1)
GPRT's documentation can be found here.
This repository contains submodules for external dependencies, so when doing a fresh clone you need to clone recursively:
git clone --recursive [email protected]:gprt-org/GPRT.git
Existing repositories can be updated manually:
git submodule init
git submodule update
Install the Vulkan SDK for your platform (version 1.3.231.1 or greater).
GPRT uses CMake for configuration. For an empty directory, build
, in the top
directory of this repository, the project can be configured with
cmake ..
and built with
cmake --build .
The following apt-packages should be installed:
sudo apt install xorg-dev libxinerama-dev libglu1-mesa-dev freeglut3-dev mesa-common-dev libglfw3
along with the Vulkan SDK.
Note: if using Ubuntu 22 with Wayland (or other distros for that matter), the above x11 dev packages still work via xwayland.