pbrt-v4 icon indicating copy to clipboard operation
pbrt-v4 copied to clipboard

pbrt v4 book formula 13.9 maybe error

Open AndrewChan2022 opened this issue 1 year ago • 2 comments

simple path trace, direct light evaluate 13.9, P(pi¯) = Le(pi -> pi-1) * f(pi -> pi-1 -> pi-2) * |cosθi| * V(pi <->pi-1) / (pl(wi) * p(l)) * β

here cosθi should be angle on shading surface, so cosθi-1

the code also using shading point angle.

AndrewChan2022 avatar Jul 09 '23 08:07 AndrewChan2022

formula 14.8,
integrate over majorant segment: third line: miss σ_maj^3

AndrewChan2022 avatar Jul 11 '23 09:07 AndrewChan2022

text 11.2, delta tracking:

If the Russian roulette termination probability at each sampled point is set to be equal to the ratio of σn and σmaj, then the scaling cancels and the estimator becomes -> termination probability should be 1 - ratio of σn and σmaj

code also using termination probability 1 - σn / σmaj

AndrewChan2022 avatar Jul 11 '23 09:07 AndrewChan2022