skip to content
sacha.lemee
> cd projects/raytracer

Raytracer

Realistic images from a scene description file

context
EPITECH · team of 3
period
Apr → May 2026
platforms
C++20 · CMake
Five spheres on a chessboard: matt red, blue and green, a perfect mirror and a golden, semi-reflective mirror

> cat context.md

An EPITECH project, built with Marin Jeunot and Evans Ramin. My part: the renderer, the materials (chessboard, textures read from PPM files, transparency), several scenes and all the documentation, including tutorials for adding primitives and materials, plus a share of the primitives.

> cat how-it-works.md

  1. 01A scene is described in a .cfg file: the camera (resolution, position, field of view), the primitives, their materials and the lights.
  2. 02A Builder assembles the scene, and Factories create the primitives and materials it describes.
  3. 03Materials range from a flat colour to a chessboard, a texture, a mirror with its own reflectivity and tint, and transparency.
  4. 04Two tutorials explain how to add a new primitive or a new material.