A small program to demonstrate wrapping an interactive CUDA path tracer with a PyQt UI.
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
- 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