Bidirectional path tracing and pinhole camera

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

Recommended Posts

I'm implementing a bidirectional path tracer as described in chapter 10 of the Veach thesis: http://graphics.stanford.edu/papers/veach_thesis/ Now my problem is how to calculate the probability density function (PDF) with respect to projected solid angle for the primary ray (z0->z1) for a pinhole camera. This is important to calculate the relative probabilities with which the other sampling techniques would have created the same path and needed to calculate the weight for the contribution of the path. According to equations (10.9) from the thesis the relative probabilities can be calculated. As an example consider the path generated by a (1,2) sampling technique. Then the ratio p2/p1 = ( P(x0->x1) * G(x0<->x1) ) / ( P(x2->x1) * G(x2<->x1) ), where P(x->x') is the PDF with respect to projected solid angle for extending the path at x into the direction to x'. Now the term P(x2->x1) is the same as P(z0->z1), where z0 is the location of the camera (and origin of all primary rays) and z1 is the vertex hit by the primary ray. So how to compute the value of P(z0->z1) ? [Edited by - nmi on February 27, 2010 2:05:06 AM]

1. 1
2. 2
Rutin
19
3. 3
4. 4
5. 5

• 9
• 9
• 9
• 14
• 12
• Forum Statistics

• Total Topics
633298
• Total Posts
3011249
• Who's Online (See full list)

There are no registered users currently online

×