/Diopter

Vulkan 1.3 real-time path tracer using rpp and rvk

Primary LanguageC++MIT LicenseMIT

Diopter

Vulkan 1.3 real-time path tracer using rpp and rvk.

You can download a standalone Windows executable here.

Scenes

Diopter supports most PBRT and GLTF scenes. You can find scenes here:

Support

Diopter requires a GPU with hardware ray tracing support. The following GPUs have been tested:

  • RTX 3080ti
  • RTX 4050

Diopter has only been tested on Windows, but also builds and theoretically works on linux.

Build from Source

Download the source:

git clone --recursive https://github.com/TheNumbat/Diopter

Windows

Install the latest Vulkan SDK, Visual Studio Build Tools, and CMake.

mkdir build && cd build
cmake ..
cmake --build . --config Release

Linux

Install the following dependencies:

  • cmake 3.22+
  • clang++ 17+
  • pkg-config
  • libgtk-3-dev
  • libsdl2-dev
mkdir build && cd build
CXX=clang++ cmake .. -DCMAKE_BUILD_TYPE=Release
make -j

To build the shaders, you'll need to download DXC separately.

Renders

Contemporary Bathroom

Bedroom

Lumberyard Bistro

Old Vintage Car

Coffee Maker

Cornell Box

GPU-RT

Country Kitchen

Landscape

Landscape

Spaceship

The Wooden Staircase

Modern Hall

Glass of Water

Zero Day

Sponza