/rayn

A small path tracing renderer written in Rust.

Primary LanguageRustOtherNOASSERTION

rayn

This is a CPU-based path tracing renderer focused on rendering SDFs, specifically fractals. It was originally based on the book "Ray tracing in one weekend" by Peter Shirley, which I heartily recommend, though it has now evolved into a structure of my own design, taking hints from that, pbrt, which is also an excellent reference, and research from NVIDIA on wavefront pathtracing for taking advantage of SIMD.

Features

  • Architected to use 128-wide SIMD to full extent with the help of ultraviolet, and in the future perhaps 256 or 512 as well.
  • Physical light transport algorithm
  • Importance sampling (soon multiple importance sampling)
  • Next Event Estimation / Direct light sampling
  • Depth of field
  • Arbitrary animation and time-sampled motion blur
  • Multiple-bounce indirect lighting/global illumination
  • Signed distance field rendering through leveraging sdfu

Demo images

demo1 Full 8k resolution image of this render available here. demo2 demo3 demo4 demo5 demo6