Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.6 Bug Tracker: Browse

[#25554] Auti IK don't work with constrains (even if constrain are turned off)

Date:
2011-01-09 12:25
Priority:
3
State:
Closed
Submitted by:
Daniel Lara (Pepeland) (pepeland)
Assigned to:
Ton Roosendaal (ton)
Category:
Animation system
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
Auti IK don't work with constrains (even if constrain are turned off)
Detailed description
Auti IK don't work with constrains (even if constrain is turned off)

1- Open "AutoIK.Blend" ( a basic arm rig inside)
2- Make sure that you have turn on the auto IK feature
3- Try to move the "arm_lowarm__BA.L" and auto IK feature don't work
4- Select the "arm_uparm__BA.L" and tourn off the "ChildOf" constrain, auto IK feature don't work
5- Detete the "ChildOf" constrain and auto IK feature work

Daniel






----------------------------------------------------------------------------------------------------------------------------------
version 2.56 (sub 0), revision 34188. Release
build date: 2011-01-09, 12:03:11
platform: Linux:32bit
binary path: /home/dani/blendersource/install/linux2/blender
build cflags: -pipe -fPIC -funsigned-char -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fopenmp -O2 -O2 -fopenmp
build cxxflags: -pipe -fPIC -funsigned-char -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fopenmp -pipe -fPIC -funsigned-char -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -fopenmp -O2 -fopenmp
build linkflags: -pthread
build system: SCons

Followup

Message
  • Date: 2011-01-09 18:49
  • Sender: Ton Roosendaal
  • Hey Daniel,

    I wasn't aware people were using Auto-IK that much... i added this really long ago for fun mostly, but the implementation totally ignores constraints on chains.
    Then were were bugreports here about bad behavior of auto-IK with constraints, it flips to unexpected positions then. So I've made auto-IK chains stop on constrainted bones...

    So here's the dilemma; we can accept a buggy auto-ik, which fails in some cases, or have a working Auto-IK which fails user expectations in some cases. :)
    What i can commit - will do in a minute - is to check for disabled constraints (influence zero or user-disabled). But that's as far I like to go now, until someone recodes auto IK to properly work for constraints. :)
  • Date: 2011-01-09 22:19
  • Sender: Daniel Lara (Pepeland)

  • But in the official 2.55 AutoIK works with costrains, I've just check "AutoIK.Blend" with 2.55 and works OK.

    AutoIK feature is one of the greatest animation features, believe me, is a huge timesavig when you are posing FK arms, spines, antennas, limbs, etc
    In fact is one of the first thing that I show to other animators (Maya, Max users) and say WOW , when an animator use It, just loved :)

    Daniel
  • Date: 2011-01-10 11:10
  • Sender: Ton Roosendaal
  • It was for this report that it didn't work, also a child-of constraint:
    http://projects.blender.org/tracker/?func=detail&atid=498&aid=21825&group_id=9

    Can you explain a bit more how you control auto-IK precisely? It of course shouldn't go to the entire tree back to a root bone.
    What kind of constraints on bones are acceptable to be in a auto-IK chain for you? Maybe i can whip up something that satisfies the common use cases :)
  • Date: 2011-01-10 17:57
  • Sender: Daniel Lara (Pepeland)
  • Here is a very-very quick example video using AutoIK to make two poses in a character, all this work in Blender 2.55 but not in 2.56 !!???
    http://www.daniel3d.com/pepeland/misc/3dstuff/blender/possing_with_autoIK.ogv

    Basically I use AutoIK for arms, spine and fingers, is very fast make a first pose with AutoIK and the fine tune with rot and pos.
    The acceptable constraints on bones to be in a auto-IK chain basically are all constraints that have offset option, so can rotate the bone
    after applied like "ChildOf" and maybe with "Copy Rotation", but basically I am happy how work AutoIK in 2.55.

    Daniel




  • Date: 2011-01-10 18:02
  • Sender: Ton Roosendaal
  • Did you check the .blend file in Bassam's report (link in previous message). It looks to me like a very common case...
  • Date: 2011-01-10 19:45
  • Sender: Daniel Lara (Pepeland)
  • Yes I tested it, In this case the "Jump" problem is solved if you click on "Clear Inverse" and "Set Inverse" in "ChildOf" constrain, after that AutoIK
    works fine but this is only in 2.55, not working at all in 2.56.

    Daniel
  • Date: 2011-01-10 20:08
  • Sender: Ton Roosendaal
  • good tip, I'll check on this tomorrow... today was a messy day with too many other jobs, didnt check a line of code :)
  • Date: 2011-01-14 00:55
  • Sender: Joshua Leung
  • Daniel: Indeed that was the problem. Reverted fixes in svn so everything works nicely again (I think)
 

Attached Files:

Name Date Download
autoIK.blend 2011-01-09 12:25 Download

Changes:

Field Old Value Date By
status_idOpen2011-01-14 00:55aligorith
close_dateNone2011-01-14 00:55aligorith
StatusReopened2011-01-14 00:55aligorith
status_idClosed2011-01-10 13:04ton
close_date2011-01-09 18:492011-01-10 13:04ton
details Auti IK don\'t work with constrains (even if constrain is turned off) 1- Open "AutoIK.Blend" ( a basic arm rig inside) 2- Make sure that you have turn on the auto IK feature 3- Try to move the "arm_lowarm__BA.L" and auto IK feature don\'t work 4- Select the "arm_uparm__BA.L" and tourn off the "ChildOf" constrain, auto IK feature don\'t work 5- Detete the "ChildOf" constrain and auto IK feature work Daniel ---------------------------------------------------------------------------------------------------------------------------------- version 2.56 (sub 0), revision 34188. Release build date: 2011-01-09, 12:03:11 platform: Linux:32bit binary path: /home/dani/blendersource/install/linux2/blender build cflags: -pipe -fPIC -funsigned-char -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fopenmp -O2 -O2 -fopenmp build cxxflags: -pipe -fPIC -funsigned-char -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fopenmp -pipe -fPIC -funsigned-char -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -fopenmp -O2 -fopenmp build linkflags: -pthread build system: SCons 2011-01-10 13:04ton
StatusFixed / Closed2011-01-10 13:04ton
details Auti IK don\'t work with constrains (even if constrain is turned off) 1- Open "AutoIK.Blend" ( a basic arm rig inside) 2- Make sure that you have turn on the auto IK feature 3- Try to move the "arm_lowarm__BA.L" and auto IK feature don\'t work 4- Select the "arm_uparm__BA.L" and tourn off the "ChildOf" constrain, auto IK feature don\'t work 5- Detete the "ChildOf" constrain and auto IK feature work Daniel ---------------------------------------------------------------------------------------------------------------------------------- version 2.56 (sub 0), revision 34188. Release build date: 2011-01-09, 12:03:11 platform: Linux:32bit binary path: /home/dani/blendersource/install/linux2/blender build cflags: -pipe -fPIC -funsigned-char -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fopenmp -O2 -O2 -fopenmp build cxxflags: -pipe -fPIC -funsigned-char -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fopenmp -pipe -fPIC -funsigned-char -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -fopenmp -O2 -fopenmp build linkflags: -pthread build system: SCons 2011-01-10 11:10ton
CategoryNone2011-01-09 18:49ton
StatusNew2011-01-09 18:49ton
details Auti IK don\'t work with constrains (even if constrain is turned off) 1- Open "AutoIK.Blend" ( a basic arm rig inside) 2- Make sure that you have turn on the auto IK feature 3- Try to move the "arm_lowarm__BA.L" and auto IK feature don\'t work 4- Select the "arm_uparm__BA.L" and tourn off the "ChildOf" constrain, auto IK feature don\'t work 5- Detete the "ChildOf" constrain and auto IK feature work Daniel ---------------------------------------------------------------------------------------------------------------------------------- version 2.56 (sub 0), revision 34188. Release build date: 2011-01-09, 12:03:11 platform: Linux:32bit binary path: /home/dani/blendersource/install/linux2/blender build cflags: -pipe -fPIC -funsigned-char -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fopenmp -O2 -O2 -fopenmp build cxxflags: -pipe -fPIC -funsigned-char -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fopenmp -pipe -fPIC -funsigned-char -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -fopenmp -O2 -fopenmp build linkflags: -pthread build system: SCons 2011-01-09 18:49ton
status_idOpen2011-01-09 18:49ton
close_dateNone2011-01-09 18:49ton
assigned_tonone2011-01-09 18:49ton
File Added14444: autoIK.blend2011-01-09 12:25pepeland