Skip to content

v0.3.2

Choose a tag to compare

@crisbour crisbour released this 15 May 01:13
· 71 commits to main since this release
v0.3.2
ba0b3f1

Non-breaking bug-fixes and improvements

  • Emitter types added
    • Gaussian beam profile
    • Point source
  • Fixing indexing in volume measurements for the upper bound to be
    clipped to the last index, instead of panic with index overflow
  • photon_collector_<detector_name>.csv is now named properly instead
    of photon_collector_{<detector_name>}.csv
  • Intersection distances reworked
  • Photon packet now also holds the inverse of its direction components,
    such that intersection can be computed more easily based on MUL
    operations instead of long DIV operations.
  • Add benchmarks for performance and accuracy
    • Diffusion example is used with conditions to easily satisfy the
      diffusion approximation
    • Silence ProgressBar while benchmarking
  • Cleanup a big bulk of clippy issues
  • Build trait now accepts metadata. Used primarily to pass Set key to
    the underlying value being built, such as in the case of scene, where

What's Changed

  • Nix flakes: env and toolchain setup + git hooks by @crisbour in #92
  • Emitter: Gaussian beam and isotropic point source by @crisbour in #93
  • Fixes: Output volume idx, paths fmt, cleanup, variance in test by @crisbour in #94
  • Invdir: Speed-up holding ray inverse direction by @crisbour in #95
  • Bencher: Add benchmarks and log them to bencher.dev by @crisbour in #96

Full Changelog: v0.3.1...v0.3.2