Discontinuity (Euler) Filter needs a bit of help #47554

Closed
opened 2016-02-24 18:22:18 +01:00 by Emily Amadhia Albee · 9 comments

System Information
Windows 7 Professional
NVIDIA 960

Blender Version
Broken: 2.76b

Short description of error
"Discontinuity (Euler) Filter" yields a result that still has discontinuity that in some discontinuous areas requires resultant sections of keyframe values to be inverted (in value over 0) before being manually re-positioned in value (offset in increments of 180 degrees) before actual continuity is achieved.

Exact steps for others to reproduce the error
Running the "Discontinuity (Euler) Filter" on the "DiscontinuousEulers_Before.blend"DiscontinuousEulers_Before.blend file (attached) yields "DiscontinuousEulerFilter_Applied.blend" DiscontinuousEulerFilter_Applied.blend file (attached)

*Long description of error
Working with mocap data that has been "baked across" between riggings with World coordinates yielded the "DiscontinuousEulers_Before.blend" on a character's hand. (Actor was dancing intensely)

(It seems like Axis Flipping occurred whenever any axis crossed a 90 degree mark?)

Applied "Discontinuity (Euler) Filter" on XYZ rotations to yield "DiscontinuousEulerFIlter_Applied.blend"

"Discontinuity (Euler) Filter" looks like it does a great start at untangling discontinuous Eulers, but needs to be "plussed" to watch for sections of keys that jump in increments of 180 degrees from one frame to the following frame that need to be raised or lowered to link up to preceeding keys... ...and to watch for sections of keys that jump in increments of 90 degrees from one frame to the following frame that I've seen indicate a section of keys that need to be inverted (eg: "Mirror by Values over Value ___") in value before they can be shifted-in-value in 180 degree increments to yield continuous Euler curves. (eg: Frames 407-432 in "DiscontinuousEulerFIlter_Applied.blend", which must have the X and Z values in that range shifted in value by -180... but the Y VALUES be Key > Mirror > By Values over Value = 0, before having their values shifted by -180 before the curves in that section link up with preceeding keys and also yield the original action.)

**System Information** Windows 7 Professional NVIDIA 960 **Blender Version** Broken: 2.76b **Short description of error** "Discontinuity (Euler) Filter" yields a result that still has discontinuity that in some discontinuous areas requires resultant sections of keyframe values to be inverted (in value over 0) before being manually re-positioned in value (offset in increments of 180 degrees) before actual continuity is achieved. **Exact steps for others to reproduce the error** Running the "Discontinuity (Euler) Filter" on the "DiscontinuousEulers_Before.blend"[DiscontinuousEulers_Before.blend](https://archive.blender.org/developer/F285715/DiscontinuousEulers_Before.blend) file (attached) yields "DiscontinuousEulerFilter_Applied.blend" [DiscontinuousEulerFilter_Applied.blend](https://archive.blender.org/developer/F285716/DiscontinuousEulerFilter_Applied.blend) file (attached) **Long description of error* Working with mocap data that has been "baked across" between riggings with World coordinates yielded the "DiscontinuousEulers_Before.blend" on a character's hand. (Actor was dancing intensely) (It seems like Axis Flipping occurred whenever any axis crossed a 90 degree mark?) Applied "Discontinuity (Euler) Filter" on XYZ rotations to yield "DiscontinuousEulerFIlter_Applied.blend" "Discontinuity (Euler) Filter" looks like it does a great start at untangling discontinuous Eulers, but needs to be "plussed" to watch for sections of keys that jump in increments of 180 degrees from one frame to the following frame that need to be raised or lowered to link up to preceeding keys... ...and to watch for sections of keys that jump in increments of 90 degrees from one frame to the following frame that I've seen indicate a section of keys that need to be inverted (eg: "Mirror by Values over Value ___") in value before they can be shifted-in-value in 180 degree increments to yield continuous Euler curves. (eg: Frames 407-432 in "DiscontinuousEulerFIlter_Applied.blend", which must have the X and Z values in that range shifted in value by -180... but the Y VALUES be Key > Mirror > By Values over Value = 0, before having their values shifted by -180 before the curves in that section link up with preceeding keys and also yield the original action.)

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @Albee

Added subscriber: @Albee
Member

Added subscriber: @JoshuaLeung

Added subscriber: @JoshuaLeung
Member

Indeed, the Euler Filter could do with some improvements to deal with problems like this better. Checking the code, it is a known problem that the current method is too crude to cope with some situations like this.

Marking as todo for now, since this isn't a new issue/regression.

Indeed, the Euler Filter could do with some improvements to deal with problems like this better. Checking the code, it is a known problem that the current method is too crude to cope with some situations like this. Marking as todo for now, since this isn't a new issue/regression.

Added subscriber: @iurimonteiro

Added subscriber: @iurimonteiro

I have lots of euler problems and problems with quaternion rotations in blender 2.8

I have lots of euler problems and problems with quaternion rotations in blender 2.8

Added subscriber: @StanislavOvcharov

Added subscriber: @StanislavOvcharov

Added subscriber: @MarcelLegindi

Added subscriber: @MarcelLegindi
Philipp Oeser removed the
Interest
Animation & Rigging
label 2023-02-09 14:36:46 +01:00
Sybren A. Stüvel added this to the Animation & Rigging project 2023-02-14 15:33:10 +01:00

The 'new' implementation of the Euler filter in e4ca1fc4ea seems to have fixed this.

The 'new' implementation of the Euler filter in e4ca1fc4ea43f795441a319ea96b63a58553f070 seems to have fixed this.
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2023-03-30 15:25:54 +02:00
Sybren A. Stüvel removed this from the Animation & Rigging project 2023-03-30 15:26:15 +02:00
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
6 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#47554
No description provided.