https://wiki.luxcorerender.org/index.php?title=Motion_Blur&feed=atom&action=historyMotion Blur - Revision history2024-03-29T10:48:09ZRevision history for this page on the wikiMediaWiki 1.37.6https://wiki.luxcorerender.org/index.php?title=Motion_Blur&diff=134&oldid=prevPiita at 19:03, 8 December 20172017-12-08T19:03:05Z<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 19:03, 8 December 2017</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l2">Line 2:</td>
<td colspan="2" class="diff-lineno">Line 2:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==How to do it==</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==How to do it==</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"><!-- note to self/anybody:</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">The instructions below explain what I did to enable motion blur in luxblend internal rendering in Blender for luxrender 1.7(?). That is, not blendluxcore.</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Absolute Exposure worked fine. The other two (Degrees and Normalized) made some blur but it looked strange. With Absolute, motion blur was possible to go above 1.0, pushing the blur beyond the location where the object is in the second frame. </ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">For blendluxcore, could this setting be made simpler to the user? One setting, called for instance Range, with a Start and End with values 0 and 1 respectively (and not possible to set it above 1). Range would be just another name for Absolute Exposure but clearer to the user. 0 to 1 to get the motion blur the user might expect. Tweak the values to get a shorter blur.</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> </ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Instructions for luxblend:</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Insert a key frame for the objects that will be moving. Move forward one frame. Move/rotate your objects and insert another key frame. Go back to the previous frame. Select the camera and enable motion blur in your exporter. Set exposure to 'Absolute', Shutter open time: 0 and Shutter close time: 1. Render like a normal still image.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Insert a key frame for the objects that will be moving. Move forward one frame. Move/rotate your objects and insert another key frame. Go back to the previous frame. Select the camera and enable motion blur in your exporter. Set exposure to 'Absolute', Shutter open time: 0 and Shutter close time: 1. Render like a normal still image.</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l8">Line 8:</td>
<td colspan="2" class="diff-lineno">Line 16:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Motion blur doesn't support mesh deformations (modifications to the mesh shape), but only object transformations (moving, scaling, and rotating). However, there is a workaround for these limitations which is described in "Alternate method" section down below.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Motion blur doesn't support mesh deformations (modifications to the mesh shape), but only object transformations (moving, scaling, and rotating). However, there is a workaround for these limitations which is described in "Alternate method" section down below.</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">-------------------------------------------------------------</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Settings==</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Settings==</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l49">Line 49:</td>
<td colspan="2" class="diff-lineno">Line 60:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>===Limitations===</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>===Limitations===</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>With this approach you can workaround all current LuxRender limitations like no motion blur for emitters. However fast moving objects may require quite a lot of subframes and even then some discreteness (individual frames) will be visible.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>With this approach you can workaround all current LuxRender limitations like no motion blur for emitters. However fast moving objects may require quite a lot of subframes and even then some discreteness (individual frames) will be visible.</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> --></ins></div></td></tr>
</table>Piitahttps://wiki.luxcorerender.org/index.php?title=Motion_Blur&diff=131&oldid=prevPiita: Created page with " ==How to do it== Insert a key frame for the objects that will be moving. Move forward one frame. Move/rotate your objects and insert another key frame. Go back to the previ..."2017-12-08T16:50:53Z<p>Created page with " ==How to do it== Insert a key frame for the objects that will be moving. Move forward one frame. Move/rotate your objects and insert another key frame. Go back to the previ..."</p>
<p><b>New page</b></p><div><br />
<br />
==How to do it==<br />
<br />
Insert a key frame for the objects that will be moving. Move forward one frame. Move/rotate your objects and insert another key frame. Go back to the previous frame. Select the camera and enable motion blur in your exporter. Set exposure to 'Absolute', Shutter open time: 0 and Shutter close time: 1. Render like a normal still image.<br />
<br />
The length of the animation does not matter. Motion blur will only cover the range from the current frame to the next one.<br />
<br />
Motion blur doesn't support mesh deformations (modifications to the mesh shape), but only object transformations (moving, scaling, and rotating). However, there is a workaround for these limitations which is described in "Alternate method" section down below.<br />
<br />
==Settings==<br />
====Shutteropen====<br />
This is a float telling luxrender when to open the camera shutter.<br />
====Shutterclose====<br />
This is a float telling luxrender when to close the camera shutter. Longer duration between shutter open and close means more blur.<br />
<br />
====shutterdistribution====<br />
This is a string telling LuxRender what kind of blur to apply. Valid values are "gaussian" and "uniform".<br />
====subdivisions====<br />
Most exporters will also configure a number of steps to use. Internally, motion blur is set via special animated transform, listing the objects transformation at several points in time. This setting will configure the number of points in time set for each object. At least 2 subdivisions (three steps in total when adding the initial step) are required for curved trails.<br />
<br />
==Example==<br />
<table><br />
<tr><td><br />
<div style="border:1px solid black;padding-left:10px;padding-right:10px"><br />
[[Image:Motion_blur.png]]<br /><br />
Motion blur of an object<br />
</div><br />
</td><td><br />
<div style="border:1px solid black;padding-left:10px;padding-right:10px"><br />
[[Image:Motion_blur_camera.png]]<br /><br />
Motion blur of the camera<br />
</div><br />
</td></tr><br />
</table><br />
<br />
==Alternate method: subframes==<br />
The only way to overcome current limitations of LuxRender motion blur (short of postprocessing in graphics editor) is using <i>subframes</i> -- most like some other renderers implement motion blur, e.g. Blender Internal Renderer. Subframes are additional keyframe positions for the moving/deforming object between the starting and final position. More the subframes, more fluent (less discreet) will be the motion in the resulting image.<br />
<br />
===How to do it===<br />
Lets say you're going to use 10 subframes. Then between the first and the final position of object movement add 10 intermediate frame positions. For each subframe you can freely transform an object or deform its shape, but do this subtly to not have discreteness.<br />
<br />
In the exporter of your choice set Halt SPP to 0.1 or 0.15 of the desired SPP for the final image (thus if you want to reach 5000 SPP for the final, set Halt SPP for each subframe to 500-750; if you're going to use not 10, but 25 subframes, correct the values accordingly to 0.04 - 0.06 of the final SPP) and activate FLM file saving. Now render the scene as an animation. You may also want to enable motion blur to make it smoother, but keep in mind the limitations of the normal motion blur listed above. When all frames are finished use the command line luxmerger tool (which is shipped with LuxRender) to merge all of the flm files together into the final film file. This can be done with a single command from the command line. You can now load the completed flm in LuxRender and export to an LDR or HDR image.<br />
<br />
[[Image:Subframe_moblur.png]]<br />
<br />
Or alternately perform an export only of each subframe after the first, then change the name to match that of the original frame and then render, this will negate the need to merge flm files, but will prevent you from further rendering of the subframes if you find it is not enough.<br />
<br />
===Limitations===<br />
With this approach you can workaround all current LuxRender limitations like no motion blur for emitters. However fast moving objects may require quite a lot of subframes and even then some discreteness (individual frames) will be visible.</div>Piita