MiniRT
3D raytracer from scratch in C

3D raytracing engine written in C as a duo, without an external graphics engine, rendered through MiniLibX. The program reads a scene from a .rt file, initialises a camera, lights and objects, then computes the image pixel by pixel through ray casting.
The project requires a lot of geometry: vectors, normalisation, ray/sphere intersections, ray/plane intersections, ray/cylinder intersections, normals, camera distance, field of view and object placement in 3D space. Rendering then relies on ambient lighting, light sources, shadows and materials.
MiniRT is interesting because it makes mathematical logic visible. A tiny sign, normalisation or coordinate-system mistake can break the whole scene. The final result shows both calculation rigour and the ability to structure a small rendering engine that remains debuggable and extensible.


