Skip to content

Wafelack/raytracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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