<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Tue, Jul 24, 2018 at 9:05 PM Stefan Werner <<a href="mailto:stewreo@gmail.com">stewreo@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Correct. That’s how we sample every motion effect in Cycles. The trick to get the “smear” is that each camera ray gets a different (pseudo-)random time associated with it (ShaderData::time and Ray::time) and we sample everything at exactly that point in time. Given enough primary rays, the result approaches the integral over the open shutter interval. Adding motion blur should turn one density lookup into one velocity + one density lookup.<br></blockquote><div><br></div><div>If we follow the paper it's actually two velocity loops, see formula (7). One velocity lookup works as well, just lower quality I guess.<br></div><br></div></div>