lucyray

A CPU ray tracer written in Odin

A software ray tracer, written in Odin by following the Ray Tracing in One Weekend book series (books 1 and 2).

renders

Beyond the books

  • Multithreading: the image is split into 32x32 tiles; threads claim the next tile through an atomic counter.
  • Fast random number generator.
  • Monte Carlo sampling for random points.