This project is a self-coded raytracer by fkernbac and rbetz. It uses the glfw Lib, MLX42 V2.3.0 and rbetz' libft Lib.
For the original school project with Norm compliance, refer to v1.0.0.
You need to install 'cmake' and 'glfw3' manually!
This project should compile under Mac OS and Unix:
git clone https://github.com/Alphacharge/miniRT.git
cd miniRT
make
The raytracer supports the following objects:
- Cameras
- Ambient Lights
- Point Lights
- Planes
- Spheres
- Cylinders
- Cuboids
Additionally you can declare a Resolution in the scenefile.
This multithreaded raytracer handles hard shadows and introduces soft shadows.
You can declare all objects multiple times, expect resolution.
./miniRT scenes/box.rt
Keyhooks:
- ESC Exit programm
- Space switch to next camera
- W Move up
- S Move down
- A Move left
- D Move right
- E Zoom in
- Q Zoom out
Note
Movement keys work based on the global coordinate system. Camera rotation doesn't matter!