Implement CreateMaxMinDistSampler
wahn opened this issue · 2 comments
wahn commented
On the C++ side:
> rg -tcpp CreateMaxMinDistSampler
core/api.cpp
827: sampler = CreateMaxMinDistSampler(paramSet);
samplers/maxmin.h
85:MaxMinDistSampler *CreateMaxMinDistSampler(const ParamSet ¶ms);
samplers/maxmin.cpp
73:MaxMinDistSampler *CreateMaxMinDistSampler(const ParamSet ¶ms) {
TODO: Rust counterpart ...
wahn commented
Commit 31f74d7 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