Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 806 Bytes

README.md

File metadata and controls

29 lines (24 loc) · 806 Bytes

CUDA/PyQt Path Tracer demo

Converged

A small program to demonstrate wrapping an interactive CUDA path tracer with a PyQt UI.

Build instructions

git clone --recursive https://github.com/chellmuth/cuda-pyqt-path-tracer.git
cd cuda-pyqt-path-tracer
pip install -r requirements.txt
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make
cd ..
PYTHONPATH=./build python app.py

Technical details

  • Forward path tracer with sphere and triangle primitives, diffuse brdfs, and environment lighting
  • CUDA buffer shared directly with OpenGL to avoid overhead displaying the rendered image
  • Scene interaction instrumented through Python via pybind11 bindings

Features

BRDF Updates

BRDF

Geometry Updates

Geometry