This is a simple path tracer written in pure python for the CPU. It supports the following features:
- Monte Carlo path tracing with Importance Sampling
- Parallel execution with the
multiprocessingmodule - Lambertian diffuse surfaces
- Emissive materials
- Save path tracer state and resume remaining iterations later
- Live execution in
pygamewindow or console
You can use conda to setup the environment using the included environment.yml file. The following commands will create the environment and run the included example.
conda env create -f environment.yml
conda activate pytracer-env
pip install .
cd examples/window
python main.py
This work is made available under the MIT License