iTaSC solver mixes up parent relationship #29041

Closed
opened 2011-10-26 18:13:46 +02:00 by Tobias Oelgarte · 4 comments

%%%The iTaSC solver mixes up the parent relationship while it is in posemode. Even so the bone has its correct parent in edit-mode iTaSC thinks that it is the child of another bone. This makes the bone-chain act as if it really was parented to the other bone. But since this isn't true it also misses it's goal by the offset of the "right" and "wrong" parent.

I assume that the structure that is passed to the solver is build incorrectly, while the solver does it's job depending on the wrong relationship input.

I appended an example file in which this error occurs. I marked the bones with colors. The red bone is the "wrong parent", the blue bone is the "right parent" and the green bone is the child that uses the "wrong parent" as a parent for IK in pose mode. If you switch between edit- and pose-mode you should clearly see that it suddenly changes it's parent, while the rest of the chain is missing it's goal by the offset between the right and wrong parent.

This bug occurred to me under Ubuntu 10.10. with the revisions r39294 and r41275 and makes it impossible to use iTaSC in this case, while the legacy solver can't handle the situation at all (very wrong looking results).%%%

%%%The iTaSC solver mixes up the parent relationship while it is in posemode. Even so the bone has its correct parent in edit-mode iTaSC thinks that it is the child of another bone. This makes the bone-chain act as if it really was parented to the other bone. But since this isn't true it also misses it's goal by the offset of the "right" and "wrong" parent. I assume that the structure that is passed to the solver is build incorrectly, while the solver does it's job depending on the wrong relationship input. I appended an example file in which this error occurs. I marked the bones with colors. The red bone is the "wrong parent", the blue bone is the "right parent" and the green bone is the child that uses the "wrong parent" as a parent for IK in pose mode. If you switch between edit- and pose-mode you should clearly see that it suddenly changes it's parent, while the rest of the chain is missing it's goal by the offset between the right and wrong parent. This bug occurred to me under Ubuntu 10.10. with the revisions r39294 and r41275 and makes it impossible to use iTaSC in this case, while the legacy solver can't handle the situation at all (very wrong looking results).%%%

Changed status to: 'Open'

Changed status to: 'Open'

%%%Hi,

At least in this case it seems depth in tree is used for parent index which omits branching. I'm attaching a patch that does an array search of the tree from parent's depth index onwards (the "default" case) to the end to find a match.%%%

%%%Hi, At least in this case it seems depth in tree is used for parent index which omits branching. I'm attaching a patch that does an array search of the tree from parent's depth index onwards (the "default" case) to the end to find a match.%%%

%%%Fix in svn, thanks for the patch. Also fixed legacy solver.%%%

%%%Fix in svn, thanks for the patch. Also fixed legacy solver.%%%

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
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#29041
No description provided.