Files
test/intern/cycles/kernel
Weizhen Huang 8d6b935466 Fix #144711: Cycles: rescale throughput when density is above the majorant
The one-sample Monte Carlo estimator of the radiative transfer equation
is
       <L> = T(t) / p(t) * (L_e + σ_s * L_s + σ_n * L),
Which means we can also use another p(t) than majorant * exp(-majorant * t)
for sampling the distance. Thus, we use the baked σ_max for distance
sampling, but adjust the majorant when we encounter a density that is
larger than σ_max.

Note that this is not really unbiased because such scaling is not always
applied, but seems to work well in practice when the majorant is
reasonable.

Pull Request: https://projects.blender.org/blender/blender/pulls/146589
2025-09-23 11:17:19 +02:00
..
2025-07-29 17:05:01 +02:00
2025-09-22 21:54:08 +02:00
2025-09-22 16:02:37 +02:00
2025-09-22 16:02:37 +02:00
2025-09-22 16:02:37 +02:00
2025-09-22 21:54:08 +02:00
2025-09-22 21:54:08 +02:00