PDA

View Full Version : how to query vertexpoints of a joint


Borgus
01-24-2008, 07:15 PM
Hi! i need to find out the assigned vertex points of a joint through the skinCluster.
how can i do it? i've only found out how the get the jointname of a given vertex....but
i need a list of vertexpoints ...

need help! thx! :)

Keilun
01-24-2008, 08:05 PM
I don't believe there's an easy way to do this, apart from retrieving the set of skin weights per vertex.

0. Create a list for each joint.
1. Call `skinPercent -v $vtx` for each vertex.
2. For each non-zero weight, add the vertex id to the respective joint list.

Borgus
01-25-2008, 08:39 AM
Hi Keilun!
I feared that thats the way...thx!

borgus

CGTalk Moderation
01-25-2008, 08:39 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.