Skip to content

Wafelack/raytracer

Repository files navigation

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