[no subject]

------_=_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>&nbsp;</DIV>
<DIV><SPAN class=3D536061121-20032008><FONT face=3DArial size=3D2>From =
script, I'm=20
modifying weights of a skeletal envelope.&nbsp; I'm also adding/removing =

deformers on-the-fly.&nbsp;Because of this, I cannot use the array =
returned from=20
Envelope.Weights. So&nbsp;I'm using Envelope.GetDeformerWeights() and=20
Envelope.SetDeformerWeights() to read/write weights on the =
envelope.&nbsp; The=20
tool I'm writing needs to zero out weights from deformers native&nbsp;to =
the=20
envelope and put new weight values on the deformers that are dynamically =
added=20
to the envelope.&nbsp; The problem I'm encountering is XSI won't let me =
zero out=20
all the weights on the envelope's native deformers.&nbsp; 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.&nbsp; To add to the =
complications,=20
the combined weight of the added deformers won't necessarily reach =
100%.&nbsp;=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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</DIV></BODY></HTML>

------_=_NextPart_001_01C88AD3.C0A69B94--
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.