Walther / clovers

Ray Tracing in Rust
https://walther.github.io/clovers/clovers/
13 stars 1 forks source link

2022-06-04 fixes #145

Closed Walther closed 2 years ago

Walther commented 2 years ago

Before:

Benchmark 1: ./target/release/clovers-cli -w 512 -h 256 -s 100 -q -i scenes/scene.json -o temp.png
  Time (mean ± σ):      3.796 s ±  0.065 s    [User: 202.846 s, System: 0.466 s]
  Range (min … max):    3.744 s …  3.959 s    10 runs

After:

Benchmark 1: ./target/release/clovers-cli -w 512 -h 256 -s 100 -q -i scenes/scene.json -o temp.png
  Time (mean ± σ):      2.893 s ±  0.026 s    [User: 141.226 s, System: 0.488 s]
  Range (min … max):    2.864 s …  2.931 s    10 runs

Approximately 25% decrease in rendering time for some test scenes.