This program mainly focuses on a physical-based rendering technique, namely path tracing as a coursework.Most of ideas coming from the awesome pbrt-book, such as the concept of BRDF/BSDF, lights sampling, Russian Rouslette and so on.
It's very handy to use. You can get a result simply by typing after building:
./PathTracer ./config/cbox.conf
and you will get the following revised Cornell-Box. :O
- clang++
- glfw/OpenGL/GLEW
- jsoncpp
- tinyobj: a header-only obj loader
- OpenMP
- CMake
This program is managed by CMake, has been fully tested on macOS Mojave, and is very easy to build :)
mkdir build/
cd build
cmake ..
make -j10
- ./src/: source codes.
- ./conf/: diversity scenario settings. Feel free to set up your own scenary and arbitary params as you want.
- ./model/: all scene files are put into it.