[Sidefx-houdini-list] POP's: best way to threshold particle emission based on an point attribute

Miles Green Miles.Green at al.com.au
Mon Nov 15 19:11:41 EST 2010

Thanks Peter,
 works a charm if we pipe our custom attribute in to Cd and use $CR as 
in your example below but for some reason it fails on our custom float 
attribute (we have specified to import it an create local variables on 
the source node)

that will do for now..

thanks again


Peter Bowmar wrote:
> Hi Miles,
> No Houdini here right now but if your attribute has local variables,
> you can use the Birth Probability field, for example if you copy your
> attribute into (for example) Cd, make sure Cd is being inherited, then
> put:
> $CR $CR
> in both, where $CR is black you get none, where it is 1 you get full birthing.
> At least, that's how I vaguely remember doing it ;)
> Cheer,s
> Peter B
> On 15 November 2010 15:41, Miles Green <Miles.Green at al.com.au> wrote:
>> Hi,
>>  does anyone have any recommendation's for the best/fastest/most
>> efficient way to birth particles from polygons based on a custom point
>> attribute?
>> the two methods I currently have are;
>> 1)  inherit the custom attribute into pops via the source node, then
>> follow it with a  kill Node that checks if the custom attribute is under
>> a certain threshold
>>  - NOTE: this seems wasteful to me as the particles are created and
>> then killed
>> 2) use a scatter  in sops before the popnetwork to create birth points
>> on the poly, and then use a delete Node to delete those points where the
>> custom attribute is under a certain threshold
>>  - NOTE: this seems slower than solution (1)  above
>> I ideally would like to use the custom attribute directly in the popnets
>> source node to specify that particles never get created if the custom
>> attribute is below a certain value
>> thanks for any help
>>  Miles
>> _______________________________________________
>> Sidefx-houdini-list mailing list
>> Sidefx-houdini-list at sidefx.com
>> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list

Miles Green
Digital Artist, FX Lead TD, Guardians
T: +61 [0]2 938 32378

More information about the Sidefx-houdini-list mailing list