jsFKIK woes...

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 03 March 2003   #1
jsFKIK woes...

Following along with the tutorial and on the new DVD, I get a disconcerting warning when applying the setup - "Warning: Skipped l_wristCtrl.solverEnable because it already had connections."

Still, everything seems to works just fine; set a few keys with IK on, then switch to FK, set a couple of keys and then - horreurs - I can't get the IK switch back on, the controllers visibility still turned off.

Trying this on Maya 4.5 on W2k, with the sample scene as well as a small test setup. Same problem.

Jason - help?

Jay
 
Old 03 March 2003   #2
Small clarification and a little bump: that warning on setup is for ALL the solver.enable(rs) and has got be related to the switch malfunction.

Anybody else run into this? Sure looks like it works sweet in the video...

Jay
 
Old 03 March 2003   #3
Heya!

I've been meaning to run through this script and tighten it up.. if you can send me an example file I'll see if I can chase down the problem.

cheers!

-jason
__________________
jason schleifer
Animator - http://jasonschleifer.com/
Co-Founder - http://www.nimblecollective.com
 
Old 03 March 2003   #4
Hey Jason -

Heck, I'm having this problem just going through the pdf tutorial with the "FkIk_jsSetupArm.ma" sample file from the DVD itself!

Try it - I know you're on a Mac, but it shouldn't make a difference?

Thanks for looking into it.

Jay
 
Old 03 March 2003   #5
it shouldn't make a difference..but...... <grin>

I'll try and give it a go tonight when I get home. this is in maya 4.5, or 4.0?

-jason
__________________
jason schleifer
Animator - http://jasonschleifer.com/
Co-Founder - http://www.nimblecollective.com
 
Old 03 March 2003   #6
Maya 4.5 on W2k. Sample scene unaltered, all scripts from the DVD installed where they oughta be, running them directly from that nice shelf you put together...

Jay
 
Old 03 March 2003   #7
So now I giving Rig referencing a go, and I've hit some snags with the scripts there too

Again, just playing with the included sampe files (MacGuy). The rigs load fine. Can switch between high/low rigs fine. But copying the animation from low to high gets that "One of your rigs wasn't setup correctly...there's nothing for it to copy!" message. And several of these in the Script Editor:

// Error: Connection not made: 'low:left_foot_l_footCtrl_ballLift.output' -> 'lowRN.connectionList[1].connection'. Destination attribute must be writable. //

Tested it out with a really basic setup of my own and hit the same snag at the same spot.

Argh...not having a good day

Jay
 
Old 03 March 2003   #8
Hi, I'm having the same problems with both scripts (Maya 4.5, WinXP).

Whaching the two DVD's of Jason encoureged me to learn MEL and these are my first steps. I hope it's ok to post this here, if not feel free to delete this post.

The referencing is working in a Maya 4.0 PLE version but not in 4.5 Unlimited. There seems to be a problem with connections to unloaded referenced objects in 4.5.
My solution was to change two of the scripts (you have to change both):

For "jsReferenceRig.mel":
1. Delete (or make comments of) the lines 248 - 256 ("if" statement and the "for" loop).
2. Insert the following lines:
int $conCount = size($animControls);
if (!`attributeQuery -exists -node $reference "DPK_animControls"`)
{
	addAttr -ln "DPK_animControls" -multi -dt "string" $reference;
	
	for ($y = 0; $y < $conCount; $y++)
	{
		setAttr ($reference + ".DPK_animControls[" + $y + "]")
				-typ "string" ($nameSpace + ":" + $animControls[$y]);
		setAttr -k 0 -l 1 ($reference + ".DPK_animControls[" + $y + "]");
	}
}



For "jsRigUI":
1. Delete (or make comment of) the line 307 ("$con = `listConn...").
2. Insert the following lines:
int $conCount = `getAttr -s ($ref + ".DPK_animControls")`;
for ($x = 0; $x < $conCount; $x++)
{
	$con[$x] = `getAttr ($ref + ".DPK_animControls[" + $x + "]")`;
}


With these changes everything is working fine for me.

I don't have a solution for the FKIK script though.

Btw thank you for these great DVD's, Jason. They really helped me with my workflow and were inspiring to me, so that I can focus on animation instead of struggeling with a crappy rig.

Daniel
 
Old 03 March 2003   #9
Yup, that fixed the referencing script problems - thanks much Daniel

I'm inspired to learn Mel too, but this was/is waay beyond me. Now hopefully Jason can figure out what's wrong with the FK/IK scripts.

And ditto on the DVDs. Best training materials I've ever purchased - by far.

Jay
 
Old 04 April 2003   #10
Hey Jason -

Don't know if this is any help or not in tracking the nasty down, but I just gave the FK/IK switching scripts a go with the pre-rigged monkey model off the DVD and it's not working there either. Of course, I couldn't say for certain is this a setup problem or the switching script(s) themselves, but something makes me think it's in the switching scripts...

Jay
 
Old 04 April 2003   #11
~bump!

Don't want this one to get forgetten about. Unless the new FK/IK blending (and I assume, switching too?) in 5 is really that good...

Jay
 
Old 04 April 2003   #12
don't worry, it's not forgotten about. I just got new carpet put in today & had to spend this past week stripping all the wood in the house before the new carpet got laid down. I also just received the DVD from alias|wavefront so I can run through it clean and make sure it's all kosher-as-can-be.

cheers!
-jason
__________________
jason schleifer
Animator - http://jasonschleifer.com/
Co-Founder - http://www.nimblecollective.com
 
Old 04 April 2003   #13
Cool. I've a hunch your solution is superior anyway - sure looks like it from the DVD. Thanks (in advance) Jason

Jay
 
Old 04 April 2003   #14
It's not that it's necessarily superior, it's that I thought about it from the creation through editing stages.. that's all. A|W's got some great functionality there, but it doesn't handle editing of the fk/ik very easily.. that's what this solution is trying to handle. It's pretty tough given the current technology that's available in Maya.. maybe for 6.0 they can come up with an entirely new way of doing it.

-jason
__________________
jason schleifer
Animator - http://jasonschleifer.com/
Co-Founder - http://www.nimblecollective.com
 
Old 04 April 2003   #15
Any word on jsFkIKSetup? I get errors about "jsChooseItem".
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 11:41 AM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.