[Sidefx-houdini-list] [HOM] Particle type definition

Andras Ikladi andras.ikladi at gmail.com
Tue Jan 29 05:39:10 EST 2008


In HDK it should be something like
(based on a source code from David Illes):

GU_PrimParticle* h_particle;
GEO_Point *ppt = 0;

for(int i=0;i<numParticles;i++) {
ppt = h_particle->getVertex(i).getPt();
ppt->getPos()(O) = particles[i].position.x();
ppt->getPos()(1) = particles[i].position.y();
ppt->getPos()(2) = particles[i].position.z();
}

I don't think the same can be done in HOM as there is no particle class at
all from what I can see.

Andras

On Jan 29, 2008 10:54 AM, Olex P <hoknamahn at gmail.com> wrote:

> Yeah this is interesting question and I'd like to know the answer how to
> do
> it in both Python and HDK.
>
> Cheers,
> Alex.
>



More information about the Sidefx-houdini-list mailing list