Cycles Motion Blur is broken #39840

Closed
opened 2014-04-22 13:36:27 +02:00 by Maverick · 8 comments

System Information
win64 i7 gtx titan

Blender Version
blender-2.70-b179647-win64

Short description of error
Multiple issues here both with Cycles and Internal. Cycles is more severe though.

Cycles:
1.Mblur fails for simple scaling
2.Mblur looks washed for last frame of the animation.
For example if you render the frame #6 you won't see any mblur even for a shutter time of 4.0

Blender Internal
1.Sampled motion blur fails for the last frame. Internal seems to sample only after the active frame instead of before and after.

Exact steps for others to reproduce the error
Check attached files.

Thank you

mblurbug.png

mblur_bug.blend

**System Information** win64 i7 gtx titan **Blender Version** blender-2.70-b179647-win64 **Short description of error** Multiple issues here both with Cycles and Internal. Cycles is more severe though. Cycles: 1.Mblur fails for simple scaling 2.Mblur looks washed for last frame of the animation. For example if you render the frame #6 you won't see any mblur even for a shutter time of 4.0 Blender Internal 1.Sampled motion blur fails for the last frame. Internal seems to sample only after the active frame instead of before and after. **Exact steps for others to reproduce the error** Check attached files. Thank you ![mblurbug.png](https://archive.blender.org/developer/F85626/mblurbug.png) [mblur_bug.blend](https://archive.blender.org/developer/F85628/mblur_bug.blend)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @dragostanasie

Added subscriber: @dragostanasie

Added subscriber: @joel.godin

Added subscriber: @joel.godin

I think it is still not enabled.
"Currently scale motion is not supported, only object transformations like translation and rotation. "
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Integrator

I think it is still not enabled. "Currently scale motion is not supported, only object transformations like translation and rotation. " http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Integrator

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Brecht Van Lommel self-assigned this 2014-04-22 16:28:01 +02:00

Cycles does not currently support scale motion as mentioned here:
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Integrator#Motion_Blur

Further object motion only supports taking three samples, one at a earlier frame, current frame and later frame. For fast motion and/or long shutter time this indeed not great, but it's again a documented limitation, the steps option is only for deformation motion blur.
http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.71/Cycles

Blender Internal for some reason has always taken the shutter time after the current frame, rather than centering it around the current frame. That's easily changed with a patch like this, but it would break backwards compatibility to change this so I won't.

diff --git a/source/blender/render/intern/source/pipeline.c b/source/blender/render/intern/source/pipeline.c
index 1a3d07f..61a1c48 100644
  - a/source/blender/render/intern/source/pipeline.c
+++ b/source/blender/render/intern/source/pipeline.c
@@ -1334,6 +1334,7 @@ static void do_render_blur_3d(Render *re)
        /* do the blur steps */
        while (blur--) {
                re->mblur_offs = re->r.blurfac * ((float)(re->r.mblur_samples - blur)) / (float)re->r.mblur_samples;
+               re->mblur_offs -= 0.5f * re->r.blurfac;

                re->i.curblur = re->r.mblur_samples - blur;    /* stats */
Cycles does not currently support scale motion as mentioned here: http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Integrator#Motion_Blur Further object motion only supports taking three samples, one at a earlier frame, current frame and later frame. For fast motion and/or long shutter time this indeed not great, but it's again a documented limitation, the steps option is only for deformation motion blur. http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.71/Cycles Blender Internal for some reason has always taken the shutter time after the current frame, rather than centering it around the current frame. That's easily changed with a patch like this, but it would break backwards compatibility to change this so I won't. ``` diff --git a/source/blender/render/intern/source/pipeline.c b/source/blender/render/intern/source/pipeline.c index 1a3d07f..61a1c48 100644 ``` - a/source/blender/render/intern/source/pipeline.c ``` +++ b/source/blender/render/intern/source/pipeline.c @@ -1334,6 +1334,7 @@ static void do_render_blur_3d(Render *re) /* do the blur steps */ while (blur--) { re->mblur_offs = re->r.blurfac * ((float)(re->r.mblur_samples - blur)) / (float)re->r.mblur_samples; + re->mblur_offs -= 0.5f * re->r.blurfac; re->i.curblur = re->r.mblur_samples - blur; /* stats */
Author

Thanks for clearing this up brecht.

Will motion blur be improved to allow fast motion by sampling fractional frames or more frame ahead and before ?
This is needed for things like insect wings, hands, fingers, and other character interactions with objects.

About the internal, maybe sampling before and ahead could be added as an option without the need to break backwards compatibility if it's not too much trouble.

Thank you.

Thanks for clearing this up brecht. Will motion blur be improved to allow fast motion by sampling fractional frames or more frame ahead and before ? This is needed for things like insect wings, hands, fingers, and other character interactions with objects. About the internal, maybe sampling before and ahead could be added as an option without the need to break backwards compatibility if it's not too much trouble. Thank you.

The Cycles issue will be solved at some point, not sure yet when.

For Blender Internal, I've added it to the To Do list. There's no maintainer for that anymore so not sure if/when that will be fixed.
http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Render

The Cycles issue will be solved at some point, not sure yet when. For Blender Internal, I've added it to the To Do list. There's no maintainer for that anymore so not sure if/when that will be fixed. http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Render
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#39840
No description provided.