Copy SOP/Stamp tab
variable 1: switch
value: fit01(rand($PT),0,(opninputs("../switch1")))
switch SOP
Select Input: stamp("../copy","switch",0)
Houdini Sketchbook
Friday, 19 August 2016
Thursday, 4 February 2016
particle expressions #01
$PSCALE * 0.5
Cuts the scale down in half
fit($PSCALE, 0, 1, 0.2, 0.8)
remaps the pscale attribute to a new fit range.
smooth($AGE, 0, 2) * $PSCALE
will scale up the instance geometry from 0 to $PSCALE according to the age of each particle.
(smooth($AGE, 0, 2) - smooth($AGE, 4, 6)) * $PSCLAE
will ease in the scale between age 0 to 2 then scale them back down to 0 from age 4 to 6.
$PSCALE * fit(length($VX, $VY, $VZ), 0, 10, 0, 1.25)
will increase the psacle as the particles move faster.
Cuts the scale down in half
fit($PSCALE, 0, 1, 0.2, 0.8)
remaps the pscale attribute to a new fit range.
smooth($AGE, 0, 2) * $PSCALE
will scale up the instance geometry from 0 to $PSCALE according to the age of each particle.
(smooth($AGE, 0, 2) - smooth($AGE, 4, 6)) * $PSCLAE
will ease in the scale between age 0 to 2 then scale them back down to 0 from age 4 to 6.
$PSCALE * fit(length($VX, $VY, $VZ), 0, 10, 0, 1.25)
will increase the psacle as the particles move faster.
Subscribe to:
Comments (Atom)