A program for drawing 3D mathematical functions using the ray tracing (ray marching) method. Written in C++.
Created as a project for my Mathematical Modelling course. You can find the report in docs/report.pdf
.
This program has no dependencies. You only need GCC and Make to compile it.
- Installing GCC and Make:
sudo apt-get install build-essential
Make sure to run the following commands in the base directory of the repository. The result will be stored as render.bmp
.
- Compiling and linking the code:
make
- Running the program:
build/raytracer
You can check out more rendered images here.