Simple raytracer.
- OpenGL 3.3 compatible hardware*
- g++ (with c++17 support)
- make
- GLEW*
- glfw3*
- GL*
- GLU*
- assimp
- GLM*
- GLAD* (Included in this repository for GL 3.3 Core)
- tqdm.cpp (See Setup below)
*
- denotes libraries required by viewer and are not necessary for the raytracer.
NOTE:
If you are compiling libraries from sources remember to modify LDPATHS
in Makefile to contain paths with compiled libs.
-
Download tqdm.cpp submodule
@> git submodule update --init --recursive
@> make raytracer
@> ./build/raytracer --help
to get list of commands- To use raytracer with point lights defined in rtc file:
./build/raytracer path/to/scene.rtc
- If no point lights are defined, BRDF pathtracer will run
- To use raytracer with point lights defined in rtc file:
@> make viewer
@> ./build/rviewer path/to/config.rtc
Parameters used for this render:
- max depth = 100
- samples per pixel = 2048
- light samples = 2
- resolution = 1920x1080
Render time: 5126.4s (roughly 1h25m)