[Sidefx-houdini-list] connect all verts w/ a specific attribute

Tom Nixon tnixon at laika.com
Mon Feb 2 20:30:54 EST 2009


In the add sop, under the Polygons|By Group, you can set By Attribute and then put in the Attribute Name.

Does this not do what you need? 

T


----- Original Message -----
From: "Michael K O'Brien" <mobrien at pixar.com>
To: sidefx-houdini-list at sidefx.com
Sent: Monday, February 2, 2009 5:02:08 PM GMT -08:00 US/Canada Pacific
Subject: Re: [Sidefx-houdini-list] connect all verts w/ a specific attribute

Hola~

> -----Original Message-----
> From: sidefx-houdini-list-bounces at sidefx.com [mailto:sidefx-houdini-list-
> bounces at sidefx.com] On Behalf Of Andrew D Lyons
> Sent: Monday, February 02, 2009 4:44 PM
> To: sidefx-houdini-list at sidefx.com
> Subject: Re: [Sidefx-houdini-list] connect all verts w/ a specific
> attribute
> 
> Hi,
> 
> You can group points by attribute (using the expression option). ie. $ID=1
> etc
> Then you can filter out those points, apply an add sop selectively
> etc. It kind of depends on what sort of connection you want from
> there...

Doesn't that imply I know how many add sops I need to create? For example,
if I create a pop network with three split nodes in it. I want to connect
all of the points with the same parent value. The number of different parent
values depends on how long the sim has run, and the probability of a child
being born.

If I do the following:

	POP -> copy spheres -> attrib promote parent -> for each (add inside
of foreach)

I get what I want. The foreach fires for each distinct parent value. I want
to do that same thing without having to make everything a primitive value.

MO

--
Michael K O'Brien
mobrien at pixar.com
Pixar

LARRY THE CABLE GUY: I believe... that sometimes you've got to wreck the 
                     truck to get the insurance money to make the truck 
                     payment.

> 
> Cheers
> 
> 2009/2/2 Michael K O'Brien <mobrien at pixar.com>:
> > Hola~
> >
> > I'm trying to connect all points with the same attribute value with a
> line.
> > The points are from a particle simulation. The attribute value is
> sparse,
> > and I don't know how many different values I have on the particles.
> >
> > Is there a way to do this?
> >
> > I tried the foreach sop, but it only wants to iterate on primitive attrs
> or
> > primitive groups. Copying a primitive per particle, then using a foreach
> > works, but seems really clunky.
> >
> > I'm about to start diving into the HDK or Python to write a node that
> does
> > this. However, it seems like something Houdini would already do. What am
> I
> > missing?
> >
> > MO
> >
> >
> > --
> > Michael K O'Brien
> > mobrien at pixar.com
> > Pixar
> >
> > LARRY THE CABLE GUY: I believe... that sometimes you've got to wreck the
> >                     truck to get the insurance money to make the truck
> >                     payment.
> >
> >
> > _______________________________________________
> > Sidefx-houdini-list mailing list
> > Sidefx-houdini-list at sidefx.com
> > https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
> >
> 
> 
> 
> --
> =======================================
> Andrew D Lyons | Digital Artist | http://www.tstex.com
> =======================================
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list

_______________________________________________
Sidefx-houdini-list mailing list
Sidefx-houdini-list at sidefx.com
https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list

_____________________________________________________________________
The information contained in this message and its attachments is
confidential and proprietary to LAIKA, Inc.  By opening this email
or any of its attachments, you agree to keep all such information
confidential and not to use, distribute, disclose or copy any part
of such information without the prior written consent of LAIKA,
Inc.  If you are not the intended recipient of this message, any use,
distribution, disclosure or copying of such information is prohibited.
If received in error, please contact the sender. 




More information about the Sidefx-houdini-list mailing list