i have to admit i just had a idea and i tried briefly to solve it with
ICE, but i just don't have enough knowledge yet, and neither much
time.
so i solved the problem with brute force handwork anyway but in
general i think a little tool, programmed in ICE, would be quite
helpful.
what i want to create is a little tool, that can take a selection of
points from 2 meshes, and then copies over the envelope weights from
one mesh to the other, with looking for the closest point in the
source mesh. taking its envelope weight and puts it in the destination
mesh.
both meshes have the same deformers in it.
this would come in handy in cases where you have to make sure the
envelope of, lets say a belt, is the same as the shirt underneath, or
parts of the skirt go along with the leg etc. so they never penetrate.
i know there is a copy weights tool in the legacy netview, buts its
cumbersome doing them one by one.
in my humble starting tries i was able to read the weights from one
mesh and write it onto another mesh. but thats about it.
if somebody could give me some hints in how to handle a conversion of
a closest location and the resulting point position, getting this
weight and write it on to the destination, i would be really happy.
ciao
franky
I tried making one out of ICE, but had problems coming up with an
elegant way to sort out the mappings between deformer and vertex for
weighting. Plus for a tool like this you want to only assign deformers
to the mesh that actually contribute to weighting, not all the deformers
availabe in the mesh you're pulling the weight info from. Example: If
you're trying to copy weights from a shirt to the belt, you don't want
the shirt's deformers from the shoulders and chest area added to the
belt's deformer list. You only want the deformers from the belt area
that actually drive the belt.
ICE is good for situations where you need persistent evaluation (eg:
operators), but for single copy/paste operation like this a command is
better suited to the task.
Matt
Steven
On Oct 12, 2009, at 11:55 AM, Frank Lenhard <frank....@gmail.com>
wrote:
ciao
franky
stating the obvious, but what about GATOR? I gather you are only interested in copying SOME point weights on a target instead of all of the weights...Adam