Blazing fast raytracing in one weekend. Written in Rust.
Not all this repository is copy-pasta. Some features that I felt like adding:
-
Fibonacci sampling of the sphere and unit disk.
-
Added a
Plane
class. I felt it was a more elegant solution than using a massive sphere. -
Parallelization via the
rayon
crate. Sped-up the last renders by at least 4x.
Implemented the next chapter in Rust. If all goes well, you too can obtain the following image: