Walther / clovers

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

feat: blue noise sampling #201

Closed Walther closed 3 months ago

Walther commented 7 months ago

Initial implementation of Blue Noise Sampling, as described in https://dl.acm.org/doi/10.1145/3306307.3328191.

Fixes #166

Note: this is not a 100% full implementation yet - even when using the --sampler blue, some decisions are made based on a rng.gen() random sampler. Fully deterministic use of the sampler should be completed in later PRs.


Check the full-resolution images at 100% zoom level. Left: random sampling. Right: blue noise sampling.

colorchecker, 1spp colorchecker-1

colorchecker, 16spp colorchecker-16

cornell, 1spp cornell-1

cornell, 16spp cornell-16