Cycles - Inconsistent Motion blur based on interpolation mode #73758

Closed
opened 2020-02-12 15:02:31 +01:00 by stephen thomas · 11 comments

System Information
Operating system: Linux-5.3.0-29-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.59

Blender Version
Broken: version: 2.82 (sub 6), branch: master, commit date: 2020-02-11 14:45, hash: c939b4df18
Worked: (optional)

Short description of error
The 'look' of motion blur changes (e.g. frame 1 and frame 2) based on the interpolation mode used, despite there being no room to interpolate between the frames.

blur-test-render_00001.png

blur-test-render_00002.png

blur-test.blend

Above are frames 1 and 2 of a test animation. The cube is parented to the 'child' bone (using the armature modifier). The 'child' bone is parented to the 'parent' bone as an armature relationship.

All of the bones of both armatures have exactly the same keyframe values, but the interpolation mode of the child bone is different. In the top rig, the child bone has 'constant' interpolation. In the bottom example, the child bone has 'bezier' interpolation.

I can understand why the interpolation mode will have an influence on the look of motion blur of keyframes not directly next to each other, but neighbouring keyframes like this should give exactly the same result as there's no room for interpolation.

Exact steps for others to reproduce the error

  • Open 'blur-test.blend'
  • Hit render
**System Information** Operating system: Linux-5.3.0-29-generic-x86_64-with-debian-buster-sid 64 Bits Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.59 **Blender Version** Broken: version: 2.82 (sub 6), branch: master, commit date: 2020-02-11 14:45, hash: `c939b4df18` Worked: (optional) **Short description of error** The 'look' of motion blur changes (e.g. frame 1 and frame 2) based on the interpolation mode used, despite there being no room to interpolate between the frames. ![blur-test-render_00001.png](https://archive.blender.org/developer/F8336401/blur-test-render_00001.png) ![blur-test-render_00002.png](https://archive.blender.org/developer/F8336402/blur-test-render_00002.png) [blur-test.blend](https://archive.blender.org/developer/F8336405/blur-test.blend) Above are frames 1 and 2 of a test animation. The cube is parented to the 'child' bone (using the armature modifier). The 'child' bone is parented to the 'parent' bone as an armature relationship. All of the bones of both armatures have exactly the same keyframe values, but the interpolation mode of the child bone is different. In the top rig, the child bone has 'constant' interpolation. In the bottom example, the child bone has 'bezier' interpolation. I can understand why the interpolation mode will have an influence on the look of motion blur of keyframes not directly next to each other, but neighbouring keyframes like this should give exactly the same result as there's no room for interpolation. **Exact steps for others to reproduce the error** - Open 'blur-test.blend' - Hit render
Author

Added subscriber: @stephenthomas

Added subscriber: @stephenthomas

Added subscriber: @pokedstudio

Added subscriber: @pokedstudio

My understanding is that the keyframe interpolation of the parent bone is being taking into account rather than just that of the child bone. This leads to issues with motion blur when rendering rigged characters with varying keyframe interpolations on different bones. We have noted extra long render times, and odd looking motion blur when this happens.

My understanding is that the keyframe interpolation of the parent bone is being taking into account rather than just that of the child bone. This leads to issues with motion blur when rendering rigged characters with varying keyframe interpolations on different bones. We have noted extra long render times, and odd looking motion blur when this happens.

Added subscriber: @iss

Added subscriber: @iss

This is ultimately same issue as blender/documentation#73756.

I can understand why the interpolation mode will have an influence on the look of motion blur of keyframes not directly next to each other, but neighbouring keyframes like this should give exactly the same result as there's no room for interpolation.

I think, that motion blur will sample position of object at some (arbitrary) resolution, and calculate speed for each sample. Bottom cube has to travel greater distance between 2 samples so blurred trail is weaker. I haven't looked at motion blur design or code to be 100% sure here, but I bet this is pretty good description based on my observations.

This is ultimately same issue as blender/documentation#73756. >I can understand why the interpolation mode will have an influence on the look of motion blur of keyframes not directly next to each other, but neighbouring keyframes like this should give exactly the same result as there's no room for interpolation. I think, that motion blur will sample position of object at some (arbitrary) resolution, and calculate speed for each sample. Bottom cube has to travel greater distance between 2 samples so blurred trail is weaker. I haven't looked at motion blur design or code to be 100% sure here, but I bet this is pretty good description based on my observations.

Closed as duplicate of blender/documentation#73756

Closed as duplicate of blender/documentation#73756

The cubes are travelling the same distance. This is the whole reason the the concern has been raised

The cubes are travelling the same distance. This is the whole reason the the concern has been raised

If you have a parent bone with bezier interpolation between sequential keyframes moving a child bone with bezier interpolation between sequential keyframes, you get one result.
If you have a parent bone with constant interpolation between sequential keyframes moving a child bone with bezier interpolation between sequential keyframes, you get a different and impossible result.
This holds even if the visual distance travelled by the child bone is exactly the same in each test. There is no good reason for the interpolation of the parent bone to be taken into account in any blur calculations when the child is key-framed and animated and has its own keyframe interpolation.

If you have a parent bone with bezier interpolation between sequential keyframes moving a child bone with bezier interpolation between sequential keyframes, you get one result. If you have a parent bone with constant interpolation between sequential keyframes moving a child bone with bezier interpolation between sequential keyframes, you get a different and impossible result. This holds even if the visual distance travelled by the child bone is exactly the same in each test. There is no good reason for the interpolation of the parent bone to be taken into account in any blur calculations when the child is key-framed and animated and has its own keyframe interpolation.

If you have a parent bone with bezier interpolation between sequential keyframes moving a child bone with bezier interpolation between sequential keyframes, you get one result.

You have to account for motion while camera shutter is open.
This does apply not only to bones, but any means to teleport object. If you do so, while camera shutter is open, it wil be interpreted as motion with high speed, because motion is sampled.

If you have a parent bone with constant interpolation between sequential keyframes moving a child bone with bezier interpolation between sequential keyframes, you get a different and impossible result.

You can drive object position with non-deterministic methods, this is not just technical limitation of current design.
It is impossible result for impossible movement.

>If you have a parent bone with bezier interpolation between sequential keyframes moving a child bone with bezier interpolation between sequential keyframes, you get one result. You have to account for motion while camera shutter is open. This does apply not only to bones, but any means to teleport object. If you do so, while camera shutter is open, it wil be interpreted as motion with high speed, because motion is sampled. >If you have a parent bone with constant interpolation between sequential keyframes moving a child bone with bezier interpolation between sequential keyframes, you get a different and impossible result. You can drive object position with non-deterministic methods, this is not just technical limitation of current design. It is impossible result for impossible movement.

This comment was removed by @pokedstudio

*This comment was removed by @pokedstudio*

Screenshot 2020-02-13 at 11.05.51.png in the screen shot both child bones have the same movement in relation to the camera. Also the parent bones move the same amount in relation to the camera but the parents have different interpolation , this ends up create two different motion blur results on the object parented to the child. Multiply that effect on a rig with numerous parents and the results are all over the place.

![Screenshot 2020-02-13 at 11.05.51.png](https://archive.blender.org/developer/F8337854/Screenshot_2020-02-13_at_11.05.51.png) in the screen shot both child bones have the same movement in relation to the camera. Also the parent bones move the same amount in relation to the camera but the parents have different interpolation , this ends up create two different motion blur results on the object parented to the child. Multiply that effect on a rig with numerous parents and the results are all over the place.
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#73758
No description provided.