I wonder for dw, shouldn't it be dw = dA'cos(theta')/|p' - p|^2 instead of dw = dA'cos(theta)/|p' - p|^2 here? Also, I think there is a typo here, it should be: ###### Outgoing radiance from light point p', in direction w' towards p ###### for the illustration of Lo.
I wonder for dw, shouldn't it be dw = dA'cos(theta')/|p' - p|^2 instead of dw = dA'cos(theta)/|p' - p|^2 here? Also, I think there is a typo here, it should be: ###### Outgoing radiance from light point p', in direction w' towards p ###### for the illustration of Lo.
@BRCA You are right---this should be
cos(theta')
.