Skip to content

gprt-org/GPRT

Repository files navigation

License CI

GPRT (General Purpose Raytracing Toolkit)

GPRT is a ray tracing API that wraps the Vulkan ray tracing interface.

Sample "Attribute Aware RBFs" images

Dependencies

  • CMake
  • C++17
  • Vulkan SDK (>= 1.3.231.1)

Documentation

GPRT's documentation can be found here.

Cloning

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

Build Instructions

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 .

Ubuntu Dependencies

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.