PDA

View Full Version : joint function


ultrakyo
11-11-2005, 05:49 PM
I need to write a script to read a bunch of skeleton points but while testing the joing function, my Maya create a HUGE joint.

The following code is just and example and meaningless

joint -p 0.649913 0 0.716121 ;
joint -p -1.632459 0 -1.421361 ;
joint -e -zso -oj xyz -sao yup joint1;
joint -p -4.39536 0 -4.269286 ;
joint -e -zso -oj xyz -sao yup joint2;
joint -p -7.758888 0 -7.567763 ;
joint -e -zso -oj xyz -sao yup joint3;

From the above script I get this result

http://chouputra.com/cg/joint.JPG

swardson
11-11-2005, 07:28 PM
not sure about what problem you are having. What are you trying to do exactly and what is happening that you are having trouble with??

mhovland
11-11-2005, 08:38 PM
Under the display menu you can change the size of the joints in the window. Your joints are being created where you specify, they are just drawing huge in the viewport.

ultrakyo
11-12-2005, 03:23 AM
Under the display menu you can change the size of the joints in the window. Your joints are being created where you specify, they are just drawing huge in the viewport.

Yes, they are on the right position, but I do not know how to change their size. Care to teach me?

Bonedaddy
11-12-2005, 03:33 AM
Display->Joint Size->25%.

Their size is really irrelevant in calculations. It only affects what Maya shows you in the viewport.

john_homer
11-13-2005, 06:13 PM
Display->Joint Size->25%.

Their size is really irrelevant in calculations. It only affects what Maya shows you in the viewport.

very true...
BTW..
Joint Size->25%. will set the display globally...

if you want to change the display individually use...
setAttr ($jointName + ".radius") 0.1;

this is also irrelevant in calculations.

.j

ultrakyo
11-15-2005, 06:35 PM
very true...
BTW..
Joint Size->25%. will set the display globally...

if you want to change the display individually use...
setAttr ($jointName + ".radius") 0.1;

this is also irrelevant in calculations.

.j

Thanks for the tip everyone, I'll try that one out later.

Well they irrelevant but sometimes I still need to view them to see do some other modification. However they are so huge that each radius covers half of human body and this bothers me.

CGTalk Moderation
11-15-2005, 06:35 PM
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.