cosine lobe sampling PDF

Practical and theoretical implementation discussion.
raider
Posts: 42
Joined: Fri Aug 03, 2012 10:36 pm
Location: Moscow, Russia.

Re: cosine lobe sampling PDF

Post by raider » Mon Apr 06, 2015 9:11 pm

Hi Josh,
you simply taking wrong integral. Your PDF have to normalize to one over hemisphere.
You are right saying that
int1.png
int1.png (4.28 KiB) Viewed 4533 times
but the integral you need have to be this one:
int2.png
int2.png (23.09 KiB) Viewed 4533 times

josh247
Posts: 11
Joined: Sun Mar 29, 2015 11:55 pm

Re: cosine lobe sampling PDF

Post by josh247 » Thu Aug 06, 2015 11:15 am

I hadn't realised there had been anymore responses to this thread. That answered my question completely and you were right in thinking that my original results were incorrect. Cheers for the help guys.

Post Reply