Page 1 of 1

About ray differentials of primary rays

Posted: Tue Dec 02, 2014 8:31 pm
by shiqiu1105
Hi,

I am writing to ask about the ray differentials for primary rays if they don't hit anything.
I still need the differentials info to sample environment map, but how should the differentials be calculated?

Thanks

Re: About ray differentials of primary rays

Posted: Tue Dec 02, 2014 8:56 pm
by beason
Pixel solid angle, or a fraction thereof?

Re: About ray differentials of primary rays

Posted: Thu Dec 04, 2014 1:21 am
by shiqiu1105
Maybe, not sure how the math works.

I think it should depend on the fov, film resolution.