<p>MIS weights for BDPT are calculated with ratios of PDFs for each vertex under different types of light transport (radiance vs. importance). These probabilities are regenerated for frontier vertices during subpath connection, which makes sense - the direction from the $t-1$-th camera vertex to the $s-1$-th light vertex will be different to the direction between the $t-1$-th and $t$th camera vertices.</p>

<p>PBRT also reccomends updating reverse probabilities for <em>previous</em> vertices, though. Why? The probability of tracing a ray from $s-1$ to $s-2$ won't be affected by the probability of tracing a ray between $s-1$ and $t-1$.</p>

CC BY-SA 4.0
2018-06-06T13:32:35.547Z
can you post the line number in the pbrt code too
ali
CC BY-SA 4.0
2018-06-06T13:53:19.013Z
one thing is that you need to reevaluate both back and forth pdfs of the end s and end t vertices of the subpath when computing MIS.
http://rendering-memo.blogspot.com/2016/03/bidirectional-path-tracing-8-combine.html
ali
<pathtracing><importance-sampling>
Reverse PDF updates for s-2 or t-2 vertices in MIS for BDPT
Paul Ferris
# Reverse PDF updates for s-2 or t-2 vertices in MIS for BDPT

(Asked by: username_0 on 2018-06-05)

MIS weights for BDPT are calculated with ratios of PDFs for each vertex under different types of light transport (radiance vs. importance). These probabilities are regenerated for frontier vertices during subpath connection, which makes sense - the direction from the $t-1$-th camera vertex to the $s-1$-th light vertex will be different to the direction between the $t-1$-th and $t$th camera vertices.

PBRT also reccomends updating reverse probabilities for *previous* vertices, though. Why? The probability of tracing a ray from $s-1$ to $s-2$ won't be affected by the probability of tracing a ray between $s-1$ and $t-1$.

**Tags:** pathtracing, importance-sampling

> **Comments:**
> **username_1**: can you post the line number in the pbrt code too  
> **username_1**: one thing is that you need to reevaluate both back and forth pdfs of the end s and end t vertices of the subpath when computing MIS. http://rendering-memo.blogspot.com/2016/03/bidirectional-path-tracing-8-combine.html  

---

## 0 answers

