Skip to content

github-felipe-caputo/raytracer

Repository files navigation

raytracer

A Ray Tracer written in C++.

Compiling the code

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.

A Makefile is available on the repo as an example.

Versions

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.

Read more at

Check my github blog to read about both the ray tracing and the ray marching engine implemented in this repo. :)

Some cool pictures rendered with it