You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,It's a nice work.
However,I have no idea about :https://github.com/NVlabs/nvdiffrecmc/blob/main/render/optixutils/c_src/envsampling/kernel.cu#L180.
Why the numerator of pdf_weight is params.cols.size(0) * params.cols.size(1)?
My understanding is that the function of pdf_weight is to convert the probability density function p(u,v) in the uv coordinate system into the probability density function p(w_i) in the spatial coordinate system.
The text was updated successfully, but these errors were encountered:
The pdf_weight ratio is normalization between the area of the 2D sampling domain [w,h] and the unit sphere + an additional term to account for latlong mapping area warp. Intuitively the nominator / denominator is flipped because you'll end up dividing by the pdf. The sampling code is inspired by: https://cs184.eecs.berkeley.edu/sp18/article/25
Hi,It's a nice work.
However,I have no idea about :https://github.com/NVlabs/nvdiffrecmc/blob/main/render/optixutils/c_src/envsampling/kernel.cu#L180.
Why the numerator of pdf_weight is params.cols.size(0) * params.cols.size(1)?
My understanding is that the function of pdf_weight is to convert the probability density function p(u,v) in the uv coordinate system into the probability density function p(w_i) in the spatial coordinate system.
The text was updated successfully, but these errors were encountered: