This project involves developing a minimalistic ray tracing engine capable of generating images by tracing rays through a 3D scene. The implementation supports multiple geometric primitives: quad, cube, sphere, and cylinder. Each object is defined with its physical properties (position, size, color) and interacts with lighting to produce realistic rendering. The goal is to deepen the understanding of ray tracing algorithms and 3D intersection calculations.
It can be used has a standelone programm and has a crate
-
Build the project
git clone https://github.com/romananas/raytracer
cd raytracer
cargo build --release
./target/release/raytracer > img.ppmExemple used in The Ray Tracing Road to Rust
Scene asked in z01 exercise RT
- Implementing a json parser
- Adding polygonal structures

