my sentiments exactly. I think you are right, it may be the reading/ writing of the preset that is causing the Snafu..
This is the first time I've seen this problem with xsi, dating back to v1.0.
thanks for the tips. ;-)
Adam
----- Original Message -----
From: javier <javier.vdp(at)gmail.com>
Date: Saturday, March 17, 2007 3:56 pm
Subject: Re: writing weight presets to text /excel files
> thats odd.
> envelope weights are really simple. For every point for every
> deformer in
> the mesh a value 0-> 100. is stored.
> eg, you have 5 deformers and 10 points, there will be 50 values. I
> havewritten a number of envelope algorithms and never seen your
> problem-- of
> course i dont save presets but I save the double arrays and read
> them back.
> If after reading the envelope (Envelope.GetDeformerWeights() in
> cpp and I
> think .GetWeights2().toArray() in js)
> and reapplying it you still have trouble I would look at the following
> issues.
> Are you sure your envelope is normalized?
> Do you have more than one envelope?
> Is your mesh corrupt.
> If you get the info as text then you could actually parse it by
> point, and
> ensure that all deformers are wellweighed.
> I think the issue will be with presets loading and setting as
> really there
> is no mystery to envelopes.
>
>
>
>
> On 3/17/07, Adam Sale <adamsale(at)shaw.ca> wrote:
> >
> > thats the funny thing. same deformer list, same vertex count and
> order for
> > that matter, just the weights beign put on the wrong vert at
> load time. I
> > haven't seen it before..
> >
> > could be a simple answer though, its not a rig I've built, so
> any number
> > of things could have happened before it arrived in my hands...
> but still
> > re-ordering weights on verts.. thats a new one for me..
> >
> > ----- Original Message -----
> > From: Steven Caron <carons(at)gmail.com>
> > Date: Saturday, March 17, 2007 1:17 pm
> > Subject: Re: writing weight presets to text /excel files
> >
> > > deformer list is the same?
> > >
> > > steven
> > >
> > > On 3/17/07, Adam Sale <adamsale(at)shaw.ca> wrote:
> > > >
> > > > Anyone know of any scripts out there that read out envelope
> > > weights to an
> > > > excel or compatible file and allows me to save back into preset
> > > form?>
> > > > I'm running into a problem with something simple.
> > > > reading out weights to a preset
> > > > loading same weights onto an identical object with same vertex
> > > order and
> > > > count, and the weights are being mistakenly placed on the
> > > incorrect vertice.
> > > >
> > > > The order of vertices in the edit weights dialogue seems to
> > > matter here,
> > > > as when I've loaded the weights back onto the object, the order
> > > of vertices
> > > > has changed in the weight editor, and the weights are on the
> > > incorrect> vertices in some instances..
> > > >
> > > > hoping this isn't a bug..
> > > >
> > > > Adam
> > > > ---
> > > > 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
> >
>
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi