------_=_NextPart_001_01C88AD3.C0A69B94
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.6000.16608" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D536061121-20032008><FONT face=3DArial size=3D2>I'm =
think the answer=20
is right under my nose, but for whatever reason I'm not seeing=20
it.</FONT></SPAN></DIV>
<DIV><SPAN class=3D536061121-20032008><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D536061121-20032008><FONT face=3DArial size=3D2>From =
script, I'm=20
modifying weights of a skeletal envelope. I'm also adding/removing =
deformers on-the-fly. Because of this, I cannot use the array =
returned from=20
Envelope.Weights. So I'm using Envelope.GetDeformerWeights() and=20
Envelope.SetDeformerWeights() to read/write weights on the =
envelope. The=20
tool I'm writing needs to zero out weights from deformers native to =
the=20
envelope and put new weight values on the deformers that are dynamically =
added=20
to the envelope. The problem I'm encountering is XSI won't let me =
zero out=20
all the weights on the envelope's native deformers. The last =
deformer in=20
the list assumes 100% of the weight and isn't reduced until I apply =
weight=20
values to the dynamically added deformers. To add to the =
complications,=20
the combined weight of the added deformers won't necessarily reach =
100%. =20
Therefore there is always some garbage weight hanging around on the last =
native=20
deformer of the envelope.</FONT></SPAN></DIV>
<DIV><SPAN class=3D536061121-20032008><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D536061121-20032008><FONT face=3DArial size=3D2>In the =
weight editor=20
I can correct this problem by explicitly unassigning weight to selected=20
vertices, but how do I do this in script?</FONT></SPAN></DIV>
<DIV><SPAN class=3D536061121-20032008><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D536061121-20032008><FONT face=3DArial size=3D2>BTW - =
I've frozen=20
the envelope before doing any work on it.</FONT></SPAN></DIV>
<DIV><SPAN class=3D536061121-20032008><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D536061121-20032008><FONT face=3DArial=20
size=3D2>thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=3D536061121-20032008><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D536061121-20032008><FONT face=3DArial=20
size=3D2>Matt</FONT></SPAN></DIV>
<DIV><SPAN class=3D536061121-20032008><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV></BODY></HTML>
------_=_NextPart_001_01C88AD3.C0A69B94--
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi