This 42's curriculum project implements a basic ray tracer in C. Completely from scratch, the only library (functions) allowed where:
- minilibX, a very basic window manager
- open, close, read, write, printf, malloc, free, exit
- sin(), cos(), sqrt() and all other math library functions
It can run as an application or export to a bmp file called scene.bmp
It renders on the CPU, featuring antialiasing and multithreaded rendering
It supports the primitives:
- spheres
- planes
- cylinders
- squares
- triangles
Supports both macOS and Linux
make bonus
./miniRT ./rt/room.rt
./miniRT --save ./rt/room.rt