Projects

Path tracer

A physically based renderer in C++17, with two integrators, a BVH and plugins loaded at runtime.

Year
2026
Context
School
Team
Epitech team
Status
Completed
Technologies
C++17, CMake, SFML, ImGui, Open Image Denoise

A second-year object-oriented programming project. The engine has two integrators: a Whitted raytracer, fast and deterministic, and a Monte Carlo path tracer for global illumination (soft shadows, inter-reflections, next event estimation, Russian roulette).

Architecture

  • A BVH built with the surface area heuristic brings intersection cost down from linear to logarithmic.
  • Rendering is split into tiles spread across all cores, with progressive display in an SFML window.
  • Every primitive, material, texture, mesh loader (OBJ, STL) and denoiser is a plugin loaded at runtime. The core only knows pure virtual interfaces.
  • An ImGui scene editor lets you change the scene live, and the scene file is hot-reloaded.

Materials

Lambert, metal, glass (with refractive index presets), emissive lights, and a physically based Cook-Torrance material with more than twenty presets (gold, chrome, jade, marble…).