Closed wahn closed 4 years ago
Commit 31f74d7e97753204c66bd99fddacb9f36448fed8 implements the MaxMinDistSampler, but the result differs from the C++ versions:
> imf_diff -d -f pbrt.exr pbrt_rust.exr diff.jpg
differing pixels: 83.680% (209199 of 250000)
average difference: 6.693%
maximum difference: 80.439%
Summary: Many pixels differ strongly.
== "pbrt.exr" and "pbrt_rust.exr" are different
Commit 2b34e5d2066c2d51bbe9657fe746cd24365f294e fixes the problem and the issue can be closed ...
> imf_diff pbrt.exr pbrt_rust.exr
pbrt.exr pbrt_rust.exr: no differences.
== "pbrt.exr" and "pbrt_rust.exr" are identical
On the C++ side:
TODO: Rust counterpart ...