Raytracer

A simple raytracer program written in Rust. It is adapted from the C++ tutorial “Raytracing in one weekend” book series.

A simple raytracer program written in Rust. It is adapted from the C++ tutorial “Raytracing in one weekend” book series.

Rust Raytracing

The Raytracing in one weekend book series is a really good start for learning about raytracing. It helps building a program that generates images with raytracing technics. This book gives the code for a C++ application, and I rewrote the code (and more!) in Rust. There is a Rust version of this book but I didn’t use it for this project.

The final product is a crate one can use to setup a scene a generate an image of this scene from a specific point of view. I applied multithreading and optimization algorithms to have a fast render.

The code is available on Github: Raytracer