Last active
September 28, 2020 11:43
#houdini #vellum #rbd #vex #geometry_wrangle #prim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// get first point on each prim | |
i@point_zero = primpoints(0, @primnum)[0]; | |
// get that point's emit frame | |
i@emit_frame = point(0, '__frame', @point_zero)*.01; | |
// subtract emit frame from current frame to create age | |
i@age = @Frame - @emit_frame; | |
// at a certain frame lower the strength | |
if (@age == chi('frame')) { | |
f@strength = @strength_orig * chf('low_strength'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment