[Sidefx-houdini-list] [HOM] Particle type definition
hoknamahn at gmail.com
Tue Jan 29 04:54:21 EST 2008
Yeah this is interesting question and I'd like to know the answer how to do
it in both Python and HDK.
On Jan 29, 2008 6:37 AM, Andras Ikladi <andras.ikladi at gmail.com> wrote:
> Yep, that was the question until you diverted the discussion :)
> Thanks for the correction. I tried pretty much the same after sending the
> email, worked just fine (it doesn't make a huge difference in speed though
> (so small I couldn't even really time it consistently), especially that in
> the second loop I had a lot more going on (setting attributes).
> On Jan 28, 2008 10:48 PM, Olex P <hoknamahn at gmail.com> wrote:
> > When I've tried to change the number of inputs to zero Houdini just
> > crashed.
> > And did it again and again. That's why I've asked. H9.1.117 Linux 32
> > But it works fine for pretty old Windows build.
> > You can merge too loops easily because createPoint() returns a reference
> > to
> > new point. So your code might be like this:
> > geo = hou.pwd().geometry()
> > for point in range(100):
> > pt = hou.Geometry.createPoint(geo)
> > pt.setPosition(hou.Vector3(random.random(), random.random(),
> > random.random()))
> > Now the only one question you have is how to "register" those points as
> > particle system?
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
More information about the Sidefx-houdini-list