/raytracer

Raytracer written in Rust following https://raytracing.github.io/books/RayTracingInOneWeekend.htm

Primary LanguageRustMozilla Public License 2.0MPL-2.0

raytracer

Simple raytracer written in Rust following Ray Tracing in One Weekend

Run spheres demo

  • Download the spheres demo binary
  • Run ./raytracer > spheres.ppm
  • open the ppm file produced with GIMP or any image viewer supporting PPM files

Demos

Random spheres

Image produced:

spheres demo

Cornell box

Image produced:

cornell