Re: TypeID (Particle) of PType and mixed up instances

Date : Wed, 17 Jan 2007 20:16:20 +0100
To : XSI(at)Softimage.COM
From : "guillaume laforge" <guillaume.laforge.3d(at)gmail.com>
Subject : Re: TypeID (Particle) of PType and mixed up instances
>And what approach did you use to create the particle cloud?

Houdini at the moment :-)


On 1/17/07, Bernard Lebel < 3dbernard(at)gmail.com> wrote:
And what approach did you use to create the particle cloud?

;-)




On 1/17/07, guillaume laforge <guillaume.laforge.3d(at)gmail.com> wrote:
> var oCloud = Selection(0);
> var oPrimitive = oCloud.ActivePrimitive ;
>  var oConstructionHistory = oPrimitive.ConstructionHistory ;
>
> oEnum = new Enumerator( oConstructionHistory  ) ;
> for (;!oEnum.atEnd();oEnum.moveNext() )
> {
>      var oOp = oEnum.item () ;
>     if(oOp.Type == siParticlesOpType )
>      {
>         var PartOp = oOp;
>          var CacheMode = oOp.Parameters("ExecMode");
>
>          //Set caching to standard mode.
>         CacheMode.Value = 2;
>      }
> }
>
> Cheers
>
>
> --
> Guillaume Laforge
> freelance TD | cg Artist
> my blog ! http://vol2blog.blogspot.com/
>
>
>
> On 1/17/07, Bernard Lebel <3dbernard(at)gmail.com> wrote:
> > I should add that I create the cloud through scripting, using the
> > AddParticleCloud method.
> >
> >
> > Bernard
> >
> >
> >
> >
> > On 1/17/07, Bernard Lebel <3dbernard(at)gmail.com > wrote:
> > > Noob question: I have a hard time finding the cache parameter. Where is
> it?
> > >
> > > Thanks
> > > Bernard
> > >
> > >
> > >
> > > On 1/17/07, Halfdan Ingvarsson < hingvars(at)softimage.com> wrote:
> > > > Is the cloud cached? If so, the PtypeID is carried with each particle
> which now refers to the wrong PType. You might have to clear the cache and
> re-simulate.
> > > >
> > > > If not, I've no idea.
> > > >
> > > >  - ½
> > > >
> > > > -----Original Message-----
> > > > From: owner-xsi(at)Softimage.COM [mailto: owner-xsi(at)Softimage.COM] On
> Behalf Of Bernard Lebel
> > > > Sent: 17-Jan-07 12:05
> > > > To: XSI(at)Softimage.COM
> > > > Subject: Re: TypeID (Particle) of PType and mixed up instances
> > > >
> > > > On 1/17/07, Halfdan Ingvarsson <hingvars(at)softimage.com> wrote:
> > > > > When I say "Particle ID" I mean the numerical ID of each individual
> particle, which is different from the "Particle Type ID", and should stay
> the same, if the simulation properties haven't changed. It's that numerical
> ID, and that alone, which is used to pick an instance from the group of
> instances, not the "Particle Type ID".
> > > >
> > > > Ok, thanks for clarifying.
> > > >
> > > >
> > > >
> > > > > So if the order of the objects within the instance group (not the
> ptype list) has changed, the items will be assigned differently.
> > > >
> > > > I could hardly see that happening: there is only one object per
> instance group.
> > > >
> > > >
> > > >
> > > > Cheers
> > > > 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
> > > >
> > >
> >
> > ---
> > 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



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.