- Supports Metallic and Lambertian BRDFs
- Uses an OpenCL kernel to render samples in parallel
- Simulates millions of light rays along many bounces, accounting for random reflectance, absorbtion, and more.
- Build with CMake
- Run
PathTracer --listDevices
to list the OpenCL devices available and obtainclPlatformIndex
andclDeviceIndex
for the selected device. - Create a scene configuration file (instructions here).
- Run
PathTracer width height samplesPerPixel clPlatformIndex clDeviceIndex imageOutputFrequency sceneConfigFilename outputImageName
where the output image is a PPM file.
- Build with CMake
- Run
PathTracer_test