[Sidefx-houdini-list] Point count from a group

robert east east.robert at gmail.com
Thu Apr 23 19:38:12 EDT 2009


Hi Lucio ,
                 Thats exactly the reason I am looking for a better workflow


Rob


On Fri, Apr 24, 2009 at 4:42 AM, Lucio Flores <dogboy_l at yahoo.com> wrote:

>
> I think he means a way to do it without trashing memory. If you had to do
> this over millions of points and hundreds of point groups, it would take
> forever. The solution doesn't scale well. I personally try to avoid the
> whole copy/stamp/delete group thing as much as possible for this same
> reason. I mean, you're creating and deleting all the geometry n times, where
> n is the number of groups. That is not elegant.
>
> Maybe try using the 'add' sop to connect the points by group, then create a
> point attribute called 'count' initialized to one. Do attribute promote
> 'count' to primitive using sum. That'll count all the points in a group and
> assign the value to the primitive.
>
>

"Houdini is a pipeline in a box. Maya is a box that you have to build a
pipeline for"



More information about the Sidefx-houdini-list mailing list