Say I have a point with a normal direction N, and a hemisphere of outgoing directions Lo around N leaving this point. Both N and Lo are just normalized directions. From the books it says the integral of N dot Lo for all possible Lo over the hemisphere is Pi, but I always get 2Pi, can you help with the math?
Assume the angle from N to any Lo is theta, so the integral should be
2Pi * Integrate(cosine(theta) * dtheta)
where theta goes from 0 to Pi / 2, and the 2Pi represents all possible azimuths of Lo.
Since the antiderivative of cosine is sine, sin(Pi / 2) - sin(0) = 1
So I get a result of 2Pi
Assume the angle from N to any Lo is theta, so the integral should be
2Pi * Integrate(cosine(theta) * dtheta)
where theta goes from 0 to Pi / 2, and the 2Pi represents all possible azimuths of Lo.
Since the antiderivative of cosine is sine, sin(Pi / 2) - sin(0) = 1
So I get a result of 2Pi