ludus::foundation::math::WeightedRadiance¶
Ludus Wiki · API overview · Browse API
Struct
Compensated RGB numerator and scalar denominator of a weighted radiance estimate. No allocation or thread affinity. Each chain/pixel owns its accumulator exclusively.
Declared in modules/foundation/math/include/ludus/foundation/math/metropolis.hpp
#include <ludus/foundation/math/metropolis.hpp>
struct ludus::foundation::math::WeightedRadiance final
Fields¶
Sum¶
Vector4 ludus::foundation::math::WeightedRadiance::Sum {}
XYZ is sum(weight * radiance), W is sum(weight).
Related types: Vector4
Declared in modules/foundation/math/include/ludus/foundation/math/metropolis.hpp
Compensation¶
Vector4 ludus::foundation::math::WeightedRadiance::Compensation {}
Kahan compensation for the four sums; not another contribution.
Related types: Vector4
Declared in modules/foundation/math/include/ludus/foundation/math/metropolis.hpp