PDA

View Full Version : special weight locking?


sagmam
06-22-2004, 07:20 AM
hi all,
I know that weight locking make sure that a certain weight doesn't change up nor down. But is there a way to make sure that, for a specific joint, the weight will only be locked for a min OR max value?
for example, I have the joint J1, and I never want its weight to be over 0.5 or below 0.1, something like that... I want this "limit lock" to exist even while I paint weights for other joints, and that the weight normalization will take this limit into consideration.

I really don't know mel, so I don't know how to do this myself, but maybe someone as an idea how to do this?

dwalden74
06-22-2004, 07:50 AM
You´re talking about a locked range in relation to specific geometry points - I´m not sure how/if Maya could handle that, because you´d need to specify a locked range for every point on your geometry. Nah, I don´t see that very feasible... :shrug:


...I have the joint J1, and I never want its weight to be over 0.5 or below 0.1
Keep in mind that joints themselves do not have weight - points are weighted to joints. That´s an important distinction.

sagmam
06-23-2004, 06:09 AM
Ok, a different question, then:
Can I somehow override the way maya normalizes weights when I change them?
For instance, I've noticed the following behavior by the normalization function:

Take any point, and its weights to some joints: W1,W2... where W1 is related to the ROOT joint J1, W2 is related to joint J2 and so on.

1. If MORE than one weight is non-zero, the normalization occurs ONLY between the non-zero weights. The zero-weights are not modified.

2. If only one weight Wa is 1.0, and it is reduced, Maya selects several weights and normalizes them, always starting at W1, and along the hierarchy branch of the joint Ja. The number of affected weights seems to depend on the original setting of Max Influence at bind-time. I could not detemine why Maya chose the values it did for those weights. It wasn't linear, anyway.

I want to change/add to this logic somehow... I noticed that when I use the the Skin Paint tool, and I paint some weights, nothing gets recorded in the script editor except for "ArtPaintSkinWeightsTool;", but there's no mel script for it, nor a mel script containing that text.

Any ideas?
Thanks...

CGTalk Moderation
01-18-2006, 12:00 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.