Actually I think I'm starting to have a beginning of a clue (or not).
In the following line, oEnvelopeDeformers consists of a XSICollection
17 deformers.
oEnvelopeOperator = oCluster.applyenvelope( oEnvelopeDeformers,
c.siBranch, c.siBranch )
However, immediately after this line, I print the deformers of the
operator, and I get a list of 81 deformers!!
I don't understand that!
Bernard
On 4/28/06, Bernard Lebel <3dbernard(at)gmail.com> wrote:
> Thanks François.
>
> I'm out of ideas. I have tried freezing the autoenvassign operator,
> not freezing anything, chaning the number of deformers in the
> autoenvassign, dumping the array values in the envelopop operator
> .Weight property, in the cluster property .Elements property, both
> together, nothing will work.
>
> *sigh*
>
>
> Bernard
>
>
>
>
> On 4/27/06, Francois Lord <francoislord(at)gmail.com> wrote:
> > My wild guess would be something with the Automatic Envelope Assignment
> > operators. These are often forgotten and can screw the weights big time.
> > Freezing them solved many problems for me.
> >
> >
> > Bernard Lebel wrote:
> > > Hello,
> > >
> > > Anyone has experience with transferring envelope weights? I'm talking
> > > about saving out weights to file, and re-apply those on the same mesh
> > > later on.
> > >
> > > Here are my results:
> > >
> > > http://www.bernardlebel.com/img_remote/3D/XSI/envtransferBefore.png
> > >
> > > After:
> > >
> > > http://www.bernardlebel.com/img_remote/3D/XSI/envtransferAfter.png
> > >
> > >
> > >
> > > I have a run a script that prints the weight values before and after,
> > > and the differences are very minor (rounding errors after the fifth
> > > decimal for 10% of the total values, which I think should be quite
> > > acceptable).
> > >
> > > I have tried both by writing weights to an XML file and to save a preset.
> > > All envelope operators were frozen.
> > > The weights were written when the character is in neutral pose, and
> > > reapplied in the same fashion.
> > > The construction is set to Animation when the weights are imported.
> > >
> > >
> > > One thing: if the character already has an envelope correctly set,
> > > then the ugly deformation does not occurs.
> > >
> > >
> > > Thanks
> > > Bernard
> > >
> > > ---
> > > Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
> > > unsubscribe xsi
> > >
> > >
> > ---
> > Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
> > unsubscribe xsi
> >
>