<div dir="ltr">Gavin,<div><br></div><div style>You may also want to poke around in the Appleseed Render source code, as if I recall correctly they have a pretty modern approach to deformation blur, and a very similar architecture to Cycles as a whole.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 10, 2013 at 2:33 PM, Gavin Howard <span dir="ltr">&lt;<a href="mailto:gavin.d.howard@gmail.com" target="_blank">gavin.d.howard@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">     Hello all,</p>
<p dir="ltr">     Brecht, thank you. I will get going on that patch. Stuart, if you don&#39;t think that&#39;s a good idea, let me know. Otherwise, I&#39;ll use that to focus my code exploration.</p>
<p dir="ltr">     Nate, because of the nature of deformation motion blur, it will include curved blur. It has to. The reason is because most deformation is done by rotation. My current plan is to simply add multi-step export to the Cycles addon. (All you smart devs should yell at me if that&#39;s a bad idea.) I am also going to browse LuxRender&#39;s source code to see how they did it. Regardless, at the end of this summer, not only will Cycles have deformation motion blur, it will get multi-step export (steps will be specified by the user) and curved motion blur by side effect.</p>


<p dir="ltr">     God Bless,<br>
     Gavin Howard</p><div class="HOEnZb"><div class="h5">
<div class="gmail_quote">On Jun 10, 2013 9:39 AM, &quot;Nate Wiebe&quot; &lt;<a href="mailto:natewiebe13@gmail.com" target="_blank">natewiebe13@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><div>Not entirely related, but will the scope of this GSOC cover curved motion blur?<br><br></div>-NateW<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 10, 2013 at 11:29 AM, Brecht Van Lommel <span dir="ltr">&lt;<a href="mailto:brechtvanlommel@pandora.be" target="_blank">brechtvanlommel@pandora.be</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Yes Blender supports this, it does scene.frame_set(frame, 0.0) now,<br>
the second value is a subframe value between 0.0 and 1.0.<br>
<div><div><br>
On Mon, Jun 10, 2013 at 4:58 PM, Gavin Howard &lt;<a href="mailto:gavin.d.howard@gmail.com" target="_blank">gavin.d.howard@gmail.com</a>&gt; wrote:<br>
&gt;      Hello,<br>
&gt;<br>
&gt;      Does Blender allow exporting at arbitrary subframes? If not, that might<br>
&gt; be a problem. If so, then Stuart has me exploring the code, and I think that<br>
&gt; I could write the patch while doing so. Does that sound okay?<br>
&gt;<br>
&gt;      God Bless,<br>
&gt;      Gavin Howard<br>
&gt;<br>
&gt; On Jun 9, 2013 6:34 AM, &quot;Brecht Van Lommel&quot; &lt;<a href="mailto:brechtvanlommel@pandora.be" target="_blank">brechtvanlommel@pandora.be</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; We should support exporting at the exact shutter time. At the time I<br>
&gt;&gt; implemented motion blur evaluation at subframes was actually broken<br>
&gt;&gt; for shape keys and physics systems so I didn&#39;t use it, but that has<br>
&gt;&gt; been fixed since.<br>
&gt;&gt;<br>
&gt;&gt; However, exporting motion from the frame positions may be useful to<br>
&gt;&gt; keep as it may give more predictable results in some cases. When<br>
&gt;&gt; you&#39;re editing animations that&#39;s the only thing you actually see in<br>
&gt;&gt; animation playback, so the motion between those frames may contain<br>
&gt;&gt; some unexpected things that you don&#39;t want to render.<br>
&gt;&gt;<br>
&gt;&gt; I don&#39;t know how common that is, did not look at .blend files yet to<br>
&gt;&gt; see how different the results are, if it is an issue we should<br>
&gt;&gt; probably have an option (off by default) to only export motion from<br>
&gt;&gt; integer frame numbers and no subframes.<br>
&gt;&gt;<br>
&gt;&gt; On Sat, Jun 8, 2013 at 7:36 PM, Gavin Howard &lt;<a href="mailto:gavin.d.howard@gmail.com" target="_blank">gavin.d.howard@gmail.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt; &gt;      Hello all,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;      I have a question about implementation. I have been told by<br>
&gt;&gt; &gt; Brecht that currently, the Cycles addon exports three steps for motion<br>
&gt;&gt; &gt; blur to the renderer: one at the previous frame, one at the current<br>
&gt;&gt; &gt; frame, and one at the next frame.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;      Now, my memory may not be serving me well here, so I may have<br>
&gt;&gt; &gt; gotten the details wrong. But if not, shouldn&#39;t the addon actually use<br>
&gt;&gt; &gt; the shutter time to determine the first and third steps? For example,<br>
&gt;&gt; &gt; shouldn&#39;t the addon export a step at the start of the shutter time,<br>
&gt;&gt; &gt; one at the current frame, and one at the end of the shutter time?<br>
&gt;&gt; &gt; Also, I think this type of reasoning should apply even when multi-step<br>
&gt;&gt; &gt; (more than 3) motion blur is added. (Multi-step blur is needed for my<br>
&gt;&gt; &gt; Deformation Motion Blur GSoC project, so I will add it over the<br>
&gt;&gt; &gt; summer.)<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;      In short, I think that the shutter time should be the goto for<br>
&gt;&gt; &gt; exporting motion blur steps. If it is, then just ignore this. But if<br>
&gt;&gt; &gt; it&#39;s not, should we change it? Anyway, that&#39;s my two cents.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;      God Bless,<br>
&gt;&gt; &gt;      Gavin Howard<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; Bf-cycles mailing list<br>
&gt;&gt; &gt; <a href="mailto:Bf-cycles@blender.org" target="_blank">Bf-cycles@blender.org</a><br>
&gt;&gt; &gt; <a href="http://lists.blender.org/mailman/listinfo/bf-cycles" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Bf-cycles mailing list<br>
&gt;&gt; <a href="mailto:Bf-cycles@blender.org" target="_blank">Bf-cycles@blender.org</a><br>
&gt;&gt; <a href="http://lists.blender.org/mailman/listinfo/bf-cycles" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Bf-cycles mailing list<br>
&gt; <a href="mailto:Bf-cycles@blender.org" target="_blank">Bf-cycles@blender.org</a><br>
&gt; <a href="http://lists.blender.org/mailman/listinfo/bf-cycles" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
&gt;<br>
_______________________________________________<br>
Bf-cycles mailing list<br>
<a href="mailto:Bf-cycles@blender.org" target="_blank">Bf-cycles@blender.org</a><br>
<a href="http://lists.blender.org/mailman/listinfo/bf-cycles" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
</div></div></blockquote></div><br></div>
<br>_______________________________________________<br>
Bf-cycles mailing list<br>
<a href="mailto:Bf-cycles@blender.org" target="_blank">Bf-cycles@blender.org</a><br>
<a href="http://lists.blender.org/mailman/listinfo/bf-cycles" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
<br></blockquote></div>
</div></div><br>_______________________________________________<br>
Bf-cycles mailing list<br>
<a href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a><br>
<a href="http://lists.blender.org/mailman/listinfo/bf-cycles" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
<br></blockquote></div><br></div>