<div dir="ltr"><div>Hi Stefan,</div><div><br></div><div>Good point! The paper doesn't really discuss how the method would work with multiple importance sampling and I did not think of it. Thanks for bringing this to my attention!</div><div><br></div><div>Best,</div><div>Erik<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 27 May 2018 at 09:09, Stefan Werner <span dir="ltr"><<a href="mailto:stewreo@gmail.com" target="_blank">stewreo@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Erik,<br>
<span class=""><br>
> To the best of my knowledge, the construction and sampling of the light BVH are both using top-down algorithms. So hopefully, a bottom-up traversal algorithm should not be necessary. <br>
<br>
</span>I believe it is necessary for multiple importance sampling. When a BRDF ray hits a light source, we need to get the probability of having selected that light source via light sampling. You can take a look at Appleseed's LightTree::evaluate_node_pdf() for reference.<br>
<span class="HOEnZb"><font color="#888888"><br>
-Stefan<br>
</font></span><div class="HOEnZb"><div class="h5">-- <br>
Soc-2018-dev mailing list<br>
<a href="mailto:Soc-2018-dev@blender.org">Soc-2018-dev@blender.org</a><br>
<a href="https://lists.blender.org/mailman/listinfo/soc-2018-dev" rel="noreferrer" target="_blank">https://lists.blender.org/<wbr>mailman/listinfo/soc-2018-dev</a><br>
</div></div></blockquote></div><br></div>