MiniRT is a graphic project from 42School curriculum.
It consists in an implementation of a basic render engine
using the raytracing technique.
This project is a straightforward implementation of ray tracing, as part of the 42School projects. It is capable of rendering a scene specified by a file containing 3D objects and more.
Ray tracing is a technique used to generate realistic images by simulating lights and shadows. It involves projecting rays from the camera to each screen pixel, then detecting collisions to calculate the color of that pixel.
- Camera: Definitions of the view for the render;
- Ambient Light: Basic light to define the darkest level of shadows;
- Light: Point light in 3d space;
- Sphere: 3d sphere in 3d space;
- Cylinder: 3d cylinder in 3d space;
- Plane: Infinite plane in 3d space, rendered by both sides (top and bottom);
- Cone (bonus only): 3d cone in 3d space.