  | | | Biasing an averave.. | Biasing an averave.. 2004-06-07 - By Raffaele "ThE_JacO" Fragapane
Back If the bones are curling too much you could be experiencing an axis screw up due to some gimbal lockin, and it’s only normal that it’s more obvious in the last bones of a chain, where the bones are rotating the most and getting really close to locking.
Since you are working only on the Zaxis I seem to understand you could want to change the order of rotation of your bones to a different order, maybe one with Z on top of it, so that the axis will never overlap and Z will drive the whole set.
Also bear in mind that constraints work on a global level, not local, this means that rotations could have a different meaning to that bone then they do on the reference chain.
In that case rotation orders properly set, and a set of expressions including a bias variable (a slider in a CPset) could solve your problem.
Also remember that your 3rd chain is better off in FK mode, even if you didn’t keyframe the effector.
Last but not least, since you are dealing with what is fundamentally a link driven FK, you could also want to create your own hierarchy of objects and setup of expressions, with centers set in the proper positions, rather then using a chain.
More control and easier to troubleshoot.
I think that closely monitoring the orders of rotation and figuring out what’s the axis orientation will cut you some beef.
Always work in add mode btw, at least you will see the correct axis repositioning and can figure out locking issues with proper visual feedback.
~Raffaele Fragapane ~Freelance Technical Animator & TD ~Senior TA @ Peerless Camera
__ __
From: owner-xsi@(protected) [mailto:owner-xsi@(protected)] On Behalf Of Jamie McDonnell Sent: Monday, June 07, 2004 6:35 PM To: XSI@(protected) Subject: Re: Biasing an averave..
Cheers Raffaele...
I tried using constraints on a 6 bone chain, see I want each bone to be blendable between an IK chain and a chain with the Spring Op on. It seems to work fine for the firct 4 bones, then kinks at the 5th, non-comprehende!
I'll try using 2 x 3 bone chains and see if that works, any other suggestions?
Cheers
Jamie
-- -- Original Message -- --
From: HYPERLINK "mailto:jaco@(protected)"Raffaele "ThE_JacO" Fragapane
To: HYPERLINK "mailto:XSI@(protected)"XSI@(protected)
Sent: Monday, June 07, 2004 2:05 PM
Subject: RE: Biasing an averave..
If you constrain the orientation of this 3rd bone to the other 2 the blend of the second constrain is going to act exactly like a bias, with 0.5 averaging and anything below or over 0.5 moving toward one or the other bone.
If constrains are not an option you are then looking forward to scripted operators and slerping quaternions.
~Raffaele Fragapane ~Freelance Technical Animator & TD ~Senior TA @ Peerless Camera
__ __
From: owner-xsi@(protected) [mailto:owner-xsi@(protected)] On Behalf Of Jamie McDonnell Sent: Monday, June 07, 2004 2:59 PM To: XSI@(protected) Subject: Biasing an averave..
Afternoon all,
Great to see the new features in 4, soooo looking forward to owning a copy... anyways...
I'm trying to create a Bias slider for an average of the z angle of 2 bones onto a third.
This makes the Z angle of Bone C sit in the middle of bones A and B, I need to find a way of biasing that average through a slider.
I hope I am having a dumb day and the answer is staring me in the face!
Cheers all
Jamie
--- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.638 / Virus Database: 409 - Release Date: 21-Mar-04 (See http://Mar-04.ora-code.com)
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.638 / Virus Database: 409 - Release Date: 21-Mar-04 (See http://Mar-04.ora-code.com)
--- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.638 / Virus Database: 409 - Release Date: 21-Mar-04 (See http://Mar-04.ora-code.com)
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.638 / Virus Database: 409 - Release Date: 21-Mar-04 (See http://Mar-04.ora-code.com)
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft -com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1= "urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC -html40">
<head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=Windows-1252 (See http://ows-1252.ora-code.com)">
<meta name=Generator content="Microsoft Word 11 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--><o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/> <!--[if !mso]> <style> st1\:*{behavior:url(#default#ieooui) } </style> <![endif]--> <style> <!-- /* Font Definitions */ @(protected) {font-family:Tahoma; panose-1 (See http://ose-1.ora-code.com):2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} p {mso-margin-top-alt:auto; margin-right:0cm; mso-margin-bottom-alt:auto; margin-left:0cm; font-size:12.0pt; font-family:"Times New Roman";} span.EmailStyle18 {mso-style-type:personal; font-family:Arial; color:navy;} span.EmailStyle19 {mso-style-type:personal-reply; font-family:Arial; color:navy;} @(protected) Section1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext="edit" spidmax="1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext="edit"> <o:idmap v:ext="edit" data="1" /> </o:shapelayout></xml><![endif]--> </head>
<body bgcolor=white lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'>If the bones are curling too much you could be experiencing an axis screw up due to some gimbal lockin, and it’ ;s only normal that it’s more obvious in the last bones of a chain, where the bones are rotating the most and getting really close to locking.<o:p></o:p></span></font> </p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'>Since you are working only on the Zaxis I seem to understand you could want to change the order of rotation of your bones to a different order, maybe one with Z on top of it, so that the axis will never overlap and Z will drive the whole set.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'>Also bear in mind that constraints work on a global level, not local, this means that rotations could have a different meaning to that bone then they do on the reference chain.<o:p></o:p></span>< /font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'>In that case rotation orders properly set, and a set of expressions including a bias variable (a slider in a CPset) could solve your problem.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'>Also remember that your 3<sup>rd</sup> chain is better off in FK mode, even if you didn’t keyframe the effector.<o:p>< /o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'>Last but not least, since you are dealing with what is fundamentally a link driven FK, you could also want to create your own hierarchy of objects and setup of expressions, with centers set in the proper positions, rather then using a chain.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'>More control and easier to troubleshoot.<o :p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'>I think that closely monitoring the orders of rotation and figuring out what’s the axis orientation will cut you some beef.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'>Always work in add mode btw, at least you will see the correct axis repositioning and can figure out locking issues with proper visual feedback. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<p><font size=2 color=navy face="Times New Roman"><span style='font-size:10.0pt; color:navy'>~Raffaele Fragapane<br> ~Freelance Technical Animator & TD<br> ~Senior TA @ Peerless Camera</span></font><o:p></o:p></p>
</div>
<div>
<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'> <font size=3 face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal style='margin-left:36.0pt'><b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font ></b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> owner-xsi@(protected) [mailto:owner-xsi@(protected)] <b><span style='font-weight:bold'>On Behalf Of </span></b>Jamie McDonnell<br> <b><span style='font-weight:bold'>Sent:</span></b> Monday, June 07, 2004 6:35 PM<br> <b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">XSI @(protected)</st1:PersonName><br> <b><span style='font-weight:bold'>Subject:</span></b> Re: Biasing an averave..< /span></font><o:p></o:p></p>
</div>
<p class=MsoNormal style='margin-left:36.0pt'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><o:p> </o:p></span>< /font></p>
<div>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Cheers Raffaele...</span></font><o:p ></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:36.0pt'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span>< /font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>I tried using constraints on a 6 bone chain, see I want each bone to be blendable between an IK chain and a chain with the Spring Op on. It seems to work fine for the firct 4 bones, then kinks at the 5th, non-comprehende!</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:36.0pt'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span>< /font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>I'll try using 2 x 3 bone chains and see if that works, any other suggestions?</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:36.0pt'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span>< /font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Cheers</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:36.0pt'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span>< /font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Jamie</span></font><o:p></o:p></p>
</div>
<blockquote style='border:none;border-left:solid black 1.5pt;padding:0cm 0cm 0cm 4.0pt; margin-left:3.75pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'>
<div>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>-- -- Original Message -- -- <o:p>< /o:p></span></font></p>
</div>
<div style='font-color:black'>
<p class=MsoNormal style='margin-left:36.0pt;background:#E4E4E4'><b><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial;font-weight: bold'>From:</span></font></b><font size=2 face=Arial><span style='font-size: 10.0pt;font-family:Arial'> <a href="mailto:jaco@(protected)" title="jaco@(protected)">Raffaele "ThE_JacO" Fragapane</a> <o:p></o:p ></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:36.0pt'><b><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial;font-weight:bold'>To:</span></font>< /b><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> <a href="mailto:XSI@(protected)" title="XSI@(protected)">XSI@(protected)</a> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:36.0pt'><b><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial;font-weight:bold'>Sent:</span></font> </b><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> Monday, June 07, 2004 2:05 PM<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:36.0pt'><b><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial;font-weight:bold'>Subject:</span>< /font></b><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> RE: Biasing an averave..<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:36.0pt'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><o:p> </o:p></span>< /font></p>
</div>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>If you constrain the orientation of this 3<sup>rd</sup> bone to the other 2 the blend of the second constrain is going to act exactly like a bias, with 0.5 averaging and anything below or over 0.5 moving toward one or the other bone.<o:p></o:p>< /span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>If constrains are not an option you are then looking forward to scripted operators and slerping quaternions.<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<p style='margin-left:36.0pt'><font size=2 color=navy face="Times New Roman"> <span style='font-size:10.0pt;color:navy'>~Raffaele Fragapane<br> ~Freelance Technical Animator & TD<br> ~Senior TA @ Peerless Camera</span></font><o:p></o:p></p>
</div>
<div>
<div style='margin-left:36.0pt'>
<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'> <font size=3 face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabIndex=-1>
</span></font></div>
</div>
<p class=MsoNormal style='margin-left:72.0pt'><b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font ></b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> owner-xsi@(protected) [mailto:owner-xsi@(protected)] <b><span style='font-weight:bold'>On Behalf Of </span></b>Jamie McDonnell<br> <b><span style='font-weight:bold'>Sent:</span></b> Monday, June 07, 2004 2:59 PM<br> <b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">XSI @(protected)</st1:PersonName><br> <b><span style='font-weight:bold'>Subject:</span></b> Biasing an averave..< /span></font><o:p></o:p></p>
</div>
<p class=MsoNormal style='margin-left:72.0pt'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><o:p> </o:p></span>< /font></p>
<div>
<p class=MsoNormal style='margin-left:72.0pt'><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Afternoon all,</span></font><o:p></o :p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span>< /font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Great to see the new features in 4, soooo looking forward to owning a copy... anyways...</span></font><o:p></o:p>< /p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span>< /font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>I'm trying to create a Bias slider for an average of the z angle of 2 bones onto a third.</span></font><o:p></o:p> </p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span>< /font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>This makes the Z angle of Bone C sit in the middle of bones A and B, I need to find a way of biasing that average through a slider.</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span>< /font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>I hope I am having a dumb day and the answer is staring me in the face!</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span>< /font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Cheers all</span></font><o:p></o:p>< /p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span>< /font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:72.0pt'><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Jamie</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal style='margin-left:36.0pt'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><o:p> </o:p></span>< /font></p>
<p style='margin-left:36.0pt'><font size=2 face="Times New Roman"><span style='font-size:10.0pt'>---<br> Incoming mail is certified Virus Free.<br> Checked by AVG anti-virus system (http://www.grisoft.com).<br> Version: 6.0.638 / Virus Database: 409 - Release Date: 21-Mar-04 (See http://Mar-04.ora-code.com)</span></font> <o:p></o:p></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><o:p> </o:p></span>< /font></p>
<p style='margin-left:36.0pt'><font size=2 face="Times New Roman"><span style='font-size:10.0pt'>---<br> Outgoing mail is certified Virus Free.<br> Checked by AVG anti-virus system (http://www.grisoft.com).<br> Version: 6.0.638 / Virus Database: 409 - Release Date: 21-Mar-04 (See http://Mar-04.ora-code.com)</span></font> <o:p></o:p></p>
</blockquote>
</div>
</body>
</html> <BR>
<P><FONT SIZE=2>---<BR> Incoming mail is certified Virus Free.<BR> Checked by AVG anti-virus system (http://www.grisoft.com).<BR> Version: 6.0.638 / Virus Database: 409 - Release Date: 21-Mar-04 (See http://Mar-04.ora-code.com)<BR> </FONT> </P><BR>
<P><FONT SIZE=2>---<BR> Outgoing mail is certified Virus Free.<BR> Checked by AVG anti-virus system (http://www.grisoft.com).<BR> Version: 6.0.638 / Virus Database: 409 - Release Date: 21-Mar-04 (See http://Mar-04.ora-code.com)<BR> </FONT> </P>
|
|
 |