Several issues with constraints in a negative scaled armature #47557

Closed
opened 2016-02-25 03:41:58 +01:00 by Karja Krähwald · 6 comments

System Information
Windows 7 64, GTX 980

Blender Version
Broken: f337fea + da81227 (2.77)

Short description of error
As title says, there are problems with armature constraints if the armature object is scaled negativ on at least one axis.
Some constraints get wrong rotation or scale the bone negativ.

Not sure if this is a known issue. Aligorith has mentioned something about rotation & scale handling in this blog: http://code.blender.org/2015/03/animation-system-roadmap-2015-edition/

After reading about the New Interpolation Method for Constraints in 2.77, I was curious to see if this fixes some issues.
But unfortunately it introduces more problems, so 2.77 was a step back in this case.

Exact steps for others to reproduce the error
To find out whats going wrong with the constraints, I have prepared a file with a problem showcase:
NegativeArmatureConstraintTest.blend

Please note that the armature object is scaled negativ on X.
All constraint checkboxes are disabled. Keep this in mind when testing copy/limit rotations.

This causes two main issues:

  • Some Constraints automatically scale the bone negativ, although nothing should happen.
  • In 2.77, reducing the influence under 100% causes the same effect and in addition heavy rotation errors, for example on "damped track" and "copy rotation" constraints.

Why scaling armatures or its parents negativ?
To have a mirrored setup without taking much changes or breaking links.
For example to use a right hand object as left hand object.

**System Information** Windows 7 64, GTX 980 **Blender Version** Broken: f337fea + da81227 (2.77) **Short description of error** As title says, there are problems with armature constraints if the armature object is scaled negativ on at least one axis. Some constraints get wrong rotation or scale the bone negativ. Not sure if this is a known issue. Aligorith has mentioned something about rotation & scale handling in this blog: http://code.blender.org/2015/03/animation-system-roadmap-2015-edition/ After reading about the New Interpolation Method for Constraints in 2.77, I was curious to see if this fixes some issues. But unfortunately it introduces more problems, so 2.77 was a step back in this case. **Exact steps for others to reproduce the error** To find out whats going wrong with the constraints, I have prepared a file with a problem showcase: [NegativeArmatureConstraintTest.blend](https://archive.blender.org/developer/F285753/NegativeArmatureConstraintTest.blend) Please note that the armature object is scaled negativ on X. All constraint checkboxes are disabled. Keep this in mind when testing copy/limit rotations. This causes two main issues: - Some Constraints automatically scale the bone negativ, although nothing should happen. - In 2.77, reducing the influence under 100% causes the same effect and in addition heavy rotation errors, for example on "damped track" and "copy rotation" constraints. Why scaling armatures or its parents negativ? To have a mirrored setup without taking much changes or breaking links. For example to use a right hand object as left hand object.

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @karja

Added subscriber: @karja

Added subscriber: @Sergey

Added subscriber: @Sergey

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sergey Sharybin self-assigned this 2016-02-25 10:33:21 +01:00

This is just a limitation of conatraint stack, which passes transformation as a 4x4 matrix and when individual transform channels are needed constraint will decomposite the matrix. This decomposition is not mathematically defined for the cases when there's negative scale present: basically you can't distinguish negative scale from 180 rotation, roughly speaking.

There's no simple fix for this issue, any solution would mean re-writing constraints stack from scratch. So thanks for the report, but it's a known limitation.

This is just a limitation of conatraint stack, which passes transformation as a 4x4 matrix and when individual transform channels are needed constraint will decomposite the matrix. This decomposition is not mathematically defined for the cases when there's negative scale present: basically you can't distinguish negative scale from 180 rotation, roughly speaking. There's no simple fix for this issue, any solution would mean re-writing constraints stack from scratch. So thanks for the report, but it's a known limitation.
Member

Added subscriber: @JoshuaLeung

Added subscriber: @JoshuaLeung
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#47557
No description provided.