gangland Posted August 14, 2020 Share Posted August 14, 2020 hello guys, ive a simple sphere volume with a bunch of points scattered in this sphere. i would like to decay the point number after frame 30. but not a clue to wrangle that. please help guys. Quote Link to comment Share on other sites More sharing options...
eimk Posted August 14, 2020 Share Posted August 14, 2020 Assuming by decay you mean the points get deleted, this will do it: int frame_offset = 30; int decay_length = 150; float death_time = fit01(rand(@ptnum), 0, decay_length) + frame_offset; if(@Frame > death_time) { removepoint(0, @ptnum); } Decay will start at frame 30 and last for 150 frames. point_decay.hipnc Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.