/rustracer

Primary LanguageRustMIT LicenseMIT

rustracer

Basic raytracing in Rust.

Sample output

demo image

Features:

  • Phong (diffuse/specular) reflectivity
  • Basic shapes: spheres/planes
  • Reflection / Refraction (with refractive index)
  • Area lights / soft shadows
  • Parallelism (using rayon)
  • Anti-aliasing (via multiple rays per pixel)