View Full Version : Copy cluster weight over to a bone
jornp 01-11-2010, 02:33 PM I was having a hard time skinning some parts of the face I was working on, so I tried using a cluster where I could smooth out the weighting so that it looked pretty good. So I thought I could do this, and then go into the component editor and manually copy the weight of each vertex with weight, and then assign the same vertexes the same weight on a joint instead.
The problem is that I have to write down the weight for each of the vertexes assigned to the cluster, and then manually put them in on the bone's weight one at a time.
So I was wondering if there was a script that could do this automaticly? Export all of the vertexes with weight on the selected cluster, and then paste the information back in on the selected joint?
|
|
Garciaone
01-12-2010, 02:15 AM
Im sure there is something that will help you over at creativecrash.com.
However depending on what your doing with the clusters, the effect probably wont look exactly the same when you transfer it to joints, as joints use weight normalization , opposed to the layering effect that cluster use.
Im not sure just how much it will make a difference, but i think its something that needs to be thought about first.
jornp
01-12-2010, 03:12 AM
Im sure there is something that will help you over at creativecrash.com.
However depending on what your doing with the clusters, the effect probably wont look exactly the same when you transfer it to joints, as joints use weight normalization , opposed to the layering effect that cluster use.
Im not sure just how much it will make a difference, but i think its something that needs to be thought about first.Thanks for your reply :) I've looked around on creativecrash, and I've found some that looks interesting, but none that can do what I want :shrug:
I've actually tried to do this manually, I didn't notice any difference on the joints oposed to the clusters, but thanks for pointing that out :)
Garciaone
01-12-2010, 03:54 AM
Yeah i believe it will be apparent if say you have two clusters that share common vertex's, say cluster A and cluster B both affect vertex 4. If the weighting on both clusters is set to 1, or 100%. then when both clusters are moved at the same time. The vertex will move twice as much effectively. 100% of cluster A's transform and 100% of cluster B's transform will be applied to vertex 4. since both clusters are transformed in the same way.... the vertex gets transformed effectively double as much...also known as double transformation.
Now lets say we move this over to joint world. This same situation will only be repeatable with weight normalization turned off. Because normalization will mean that the total amount that the vertice can be deformed (100%) is going to be distributed between the joints that effect it. So with both clusters effecting the same vert at 100% ... their joint equivelents could only effect the same vert at 50%.
Hope that makes sense , i forgot about the ability to turn off normilization. Which in theory will fix such a problem
jornp
01-12-2010, 03:57 AM
Ah I see, that makes sense :)
CGTalk Moderation
01-12-2010, 03:57 AM
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.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.