A Ray Tracer written in C++.
To compile the code the only dependency is the following, used only to create a canvas and display the pixels. Everything else in the engine is done from the ground up.
- Simple and Fast Multimedia Library - A library to help displaying images in a canvas.
A Makefile
is available on the repo as an example.
Not really about versions per se, but there are 2 "different" engines here. On master you have the full ray tracer engine, with all the good stuff (multithreads, kd-trees, textures, area lights, etc). But there is one branch from this repo called rayMarching
, and as the name implies, this branch is slightly different and includes the ray marching stuff that I added to create volumetric lights and volumetric shadows.
Check my github blog to read about both the ray tracing and the ray marching engine implemented in this repo. :)