|
Hey David, here's a small script that should do that for you. Just select the weight map property under the cluster and run the following. It's in python. It assumes that your weight map has a range of 0 to 1 which most do....
cheers, philb
##### start script ##### app = Application wmArray = app.Selection( 0 ).Elements.Array newWmArray = [] for weight in wmArray[0] : newWmArray.append( 1 - weight )
app.Selection( 0 ).Elements.Array = newWmArray ##### end script #####
On 3/25/07, David Gallagher <
daveg(at)blueskystudios.com> wrote:
I'm looking for a way to take a weight map and invert it. So the value
of each point is the opposite (0 becomes 1, .2 becomes .8, etc.
Does anyone have a way to do this?
(I don't see it in the capabilities of lmWeightMapTools. Am I
wrong there?)
-- David Gallagher Animator, Blue Sky Studios
-- phil barrenger philbarrenger(at)gmail.com http://www.users.on.net/~philbarrenger/
|