16 releases

0.1.7 Sep 17, 2023
0.1.6 Aug 3, 2023
0.1.5 Jul 31, 2023
0.0.8 Jul 16, 2023
0.0.1 Feb 25, 2023

#148 in Graphics APIs

Download history 30/week @ 2023-06-04 7/week @ 2023-06-11 46/week @ 2023-06-18 20/week @ 2023-06-25 44/week @ 2023-07-02 4/week @ 2023-07-09 67/week @ 2023-07-16 68/week @ 2023-07-23 73/week @ 2023-07-30 34/week @ 2023-08-06 17/week @ 2023-08-13 6/week @ 2023-08-20 22/week @ 2023-08-27 5/week @ 2023-09-03 11/week @ 2023-09-10 55/week @ 2023-09-17

93 downloads per month

GPL-3.0-only

290KB
3K SLoC

license CI Crates.io docs.rs

Solstrale

A multi-threaded 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
  • Multi-threaded 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
~116K SLoC