Skip to content

Latest commit

 

History

History
57 lines (30 loc) · 1.25 KB

README.md

File metadata and controls

57 lines (30 loc) · 1.25 KB

Path tracer written in C++

A simple rendering engine written in C++ that implements Monte Carlo Path Tracing technique.

Compatibility

Tested on linux ( ubuntu ) and mac osx.

Requirements ( linux )

Before building the project make sure you install OpenGL dev suite.

sudo apt-get install libglu1-mesa-dev freeglut3-dev mesa-common-dev

Building

From the root of the project, type this commands in order to build it.

mkdir build && cd build

cmake ..

make

Usage

From the building folder launch the program with the path of a scene for render it.

./path_tracer ../scenes/SCENE_NAME

The program outputs its render in the building folder as rendering.png

Credits

Special thanks to:

Some sample renders

Cornell Box

Cornell Box

Star Wars Cornell Box

Star Wars Cornell Box

Cook Torrance Roughness

Cook Torrance Roughness

Star Wars R2D2 and BB8 scene

R2D2 and BB8