A personal uni-directional path-tracer project. "Diya" is named after the small oil lamps found in India.
This path-tracer is based on examples from Scratchapixel, Ray-Tracing in One Weekend and PBRT and is still work-in-progress.
- Monte Carlo sampling for brute force global illumination
- Triangle Mesh (.obj) rendering
- KD-Tree acceleration structure
- Diffuse, Specular and Emissive BRDF shaders
- Area lighting
- Simple multi-threaded with OpenMP
- Object-to-World and Cam-to-World matrices to directly read in Maya scenes.
- ACES RRT+ODT Display Transform for sRGB
>>> mkdir build
>>> cd build
>>> cmake ..
>>> make
And then
>>> ./diya [SAMPLES]