A Whitted ray tracer written in C++
This project mainly serves the purposes of making me more familiar with C++ as well as getting me into computer graphics. I hope though, that it is helpful and/or educational for others too and I try to keep the code understandable, rather than highly performant.
It is written in C++11 and thus requires a compiler capable of that standard. It uses CImg for image import and export,
which at least depends on X11 and pthread libraries. CImg dependencies are handled in its own .cmake
file. For CImg to
be able to handle the .png
files of this project it requires ImageMagick to be installed. CMAKE expects to find
PugiXML in the library path, so either install it system-wide or compile to /usr/local/lib
.
TinyOBJLoader is used as in-tree library.