Kev Posted March 20, 2012 Share Posted March 20, 2012 Hi! I have exhausted all of my own thoughts, and thought to pitch the idea to you gurus out there. Maybe you can help. On an animated object, I have scattered points. I would like to emit a particle from each point, but only on the first time it passes a velocity threshold. I have it working for each frame that it passes the threshold, but cannot seem to collect all of the points in a group or give an attribute "switch" so they won't emit again later in the sequence. I've attached a simple version. Thanks! VelocityEmit.hipnc Quote Link to comment Share on other sites More sharing options...
Annon Posted March 20, 2012 Share Posted March 20, 2012 I'll have a go at it tomorrow for you. Maybe something like making a random number (fit to $RFEND) on each point saved to an attribute ($emit), then if($F == $emit, 1, 0). That way each point will only emit on the random frame given to it. If you want it to constantly emit from then on out, guess you could instead make a group that has if($emit < $F, 1, 0) to stick it in a group, then emit from that... Hope that helps Christian Quote Link to comment Share on other sites More sharing options...
Annon Posted March 20, 2012 Share Posted March 20, 2012 Sorry just realised you said velocity. Same kinda idea. I'm off duty at the minute, I'll send you a scene tomorrow if someone else doesn't post one before. Quote Link to comment Share on other sites More sharing options...
Kev Posted March 20, 2012 Author Share Posted March 20, 2012 I'm pretty sure I've got it working. Looked at magneto's post that was just before mine. Solver SOP really is the way to go. I just needed to dive in there and figure what it was all about. 1 Quote Link to comment Share on other sites More sharing options...
Annon Posted March 21, 2012 Share Posted March 21, 2012 OK I added in a SOPSolver to keep the attribute etc... Basically you just want to use a max, so it's going to generate the attribute based on the velocity, but if it's lower than the last frames attribute, it'll just use the last frames one. Meaning that if a point has had an emit value of 1, it'll always have 1... Hope that helps, I've tried commenting as best I can in a hurry. Christian VelocityEmit_SOPSOLVER.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.