joint offsets with multiplydivide node

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 08 August 2013   #1
joint offsets with multiplydivide node

im trying to rig this character and trying to rig up the spine

but i keep running into these problems

was trying to use the multpiply divide node to control the orientation of this joint
it seemed to work fine with one joint, but when i tried to use it for another joint
its like the joints orientation gets offset somehow or something

http://youtu.be/6lXoH5zp4bs
 
Old 08 August 2013   #2
It is working in the x axis because the joints initial value is the same as the output of the md node(which is 0). Because the joints other axis are not zero it is going to rotate the joint once you connect the md node to them as it is setting them to zero. You should transfer the values in your joints rotation channels to it's joint orient channels.

In general you want your rotation channels on your joints zeroed out before starting to rig or skin them to a mesh.

Jake.
 
Old 08 August 2013   #3
zero out the rotation channels on my joints ...
um ... I'm not certain how to do that T_T
 
Old 08 August 2013   #4
OH SNAP!!! I SEE IT NOW
HA HA, THAT's WONDERFUL ^_^
 
Old 08 August 2013   #5
oh no, i shouldn't have skinned it so soon
i think that messed up my shindig (lets see if i can get a picture)

 
Old 08 August 2013   #6
Quote:
Originally Posted by nelson-press
oh no, i shouldn't have skinned it so soon
i think that messed up my shindig (lets see if i can get a picture)



Fortunately you don't have to start from scratch, what you need to do is delete the associated bind pose, de-skin the mesh while keeping history, and rebinding the mesh. There are script around that do that, here's the one I made:

Code:
//this mel should reskin your mesh string $sel[] = `ls -sl`; // select objects, assume there's only one and that's our mesh string $sck = `findRelatedSkinCluster($sel[0])`; // gets the skin cluster string $bindP[] = `listConnections -s 1 ($sck+".bindPose")`; // gets the bindpose from skin cluster, assumes there's only one string $bones[] = `listConnections ($sck+".matrix")`; // retrieves joints delete $bindP[0]; // deletes bind pose skinCluster -e -ubk $sck; // removes the skinning but keeps it in history skinCluster -tsb $bones $sel[0]; // rebinds joints to mesh select -r $sel; // reset to initial selection
__________________
maya@reddit r/maya
 
Old 08 August 2013   #7
Quote:
Originally Posted by berniebernie
Fortunately you don't have to start from scratch, what you need to do is delete the associated bind pose, de-skin the mesh while keeping history, and rebinding the mesh. There are script around that do that, here's the one I made:

Code:
//this mel should reskin your mesh string $sel[] = `ls -sl`; // select objects, assume there's only one and that's our mesh string $sck = `findRelatedSkinCluster($sel[0])`; // gets the skin cluster string $bindP[] = `listConnections -s 1 ($sck+".bindPose")`; // gets the bindpose from skin cluster, assumes there's only one string $bones[] = `listConnections ($sck+".matrix")`; // retrieves joints delete $bindP[0]; // deletes bind pose skinCluster -e -ubk $sck; // removes the skinning but keeps it in history skinCluster -tsb $bones $sel[0]; // rebinds joints to mesh select -r $sel; // reset to initial selection


It's not working, it says "No object matches name:"
it seems to mess up around the point where it's trying to delete the bind pose
 
Old 08 August 2013   #8
Quote:
Originally Posted by nelson-press
It's not working, it says "No object matches name:"
it seems to mess up around the point where it's trying to delete the bind pose



ah, sorry, there's no error checking.. You can manually do the steps it should work.
__________________
maya@reddit r/maya
 
Old 09 September 2013   #9
Quote:
Originally Posted by berniebernie
ah, sorry, there's no error checking.. You can manually do the steps it should work.


yes, i just went back through it, well i went back through the script a while ago
and processed the script piece by piece and it seems to have worked

thanks this really seems to have helped in fixing my rig thing

figuring out how to rig a character in maya feels like an uphill battle the entire way

i guess i could make a more simple rig, but i wanted to do something that was ... well ... more than just a simple kind of rig you know what i mean?
 
Old 09 September 2013   #10
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
 
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 08:51 PM.


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