Jump to content
  • Advertisement
Sign in to follow this  
jameszhao00

Light Probability Distribution - Extra Cos Theta term

This topic is 2265 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi,

According to http://graphics.stan...h-chapter10.pdf , the pdf for choosing a point

PA(yi) = P(projected solid angle) * G
= P(surface area) * conversion to projected solid angle * G
= P(surface area) * (t^2 / (cos(wi) * cos(wo))) * ((cos(wi) * cos(wo)) / t^2)
= P(surface area)

In my case, P(surface area) is (1/(A * 2 * PI)) since I'm unifomely sampling a hemisphere with respect to solid angle.

However, the correct term is P(surface area) * (1/cos(wo)).

I think I'm missing some important concept here. Does anyone familiar with this know what I'm doing wrong? Edited by jameszhao00

Share this post


Link to post
Share on other sites
Advertisement
[s]After some cross referencing, that term comes from the definition of fs(-1->0->1)[/s]

Never mind. This is not correct. Edited by jameszhao00

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!