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

#134 in Graphics APIs

Download history 14/week @ 2024-01-29 4/week @ 2024-02-05 6/week @ 2024-02-19 14/week @ 2024-02-26 7/week @ 2024-03-11 276/week @ 2024-03-18

298 downloads per month

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

~16MB
~117K SLoC