20 releases

0.1.11 Feb 11, 2024
0.1.9 Jan 29, 2024
0.1.8 Oct 4, 2023
0.1.5 Jul 31, 2023
0.0.1 Feb 25, 2023

#182 in Graphics APIs

Apache-2.0

320KB
3.5K SLoC

license CI Crates.io docs.rs

Solstrale

A multithreaded Monte Carlo path tracing library, that as such has features like:

  • Global illumination
  • Caustics
  • Reflection
  • Refraction
  • Soft shadows

Additionally, the library has:

  • Loading of obj models with included materials
  • Multithreaded Bvh creation to greatly speed up rendering
  • Post-processing of rendered images by:
  • Bump mapping
  • Light attenuation

Example output

bedroom2 conference happy sponza-bump2

Credits

The ray tracing is inspired by the excellent Ray Tracing in One Weekend Book Series by Peter Shirley

Dependencies

~8MB
~119K SLoC