Cannoth Posted January 26, 2009 Share Posted January 26, 2009 So here's the setup. I have a sphere dropping onto a plane via dops. Where the sphere lands it temporarily changes the color of the plane. The color change is only where the sphere is at that moment on the plane, once it moves on the plane's color returns to normal. This works as a select to determine which points will become particle emitters. But I only want the points to emit ONE particle each. What happens is that, lets say at point 52, the point emits 5 particles all at the same moment. Is there an expression i can use that will kill any particles coexisting at the same location in space save one. So if over the course of the simulation, the sphere hits upon 36 different points, I should only have 36 emited particles, not the 225 I have now. Thanks, C Quote Link to comment Share on other sites More sharing options...
ragupasta Posted January 28, 2009 Share Posted January 28, 2009 So here's the setup. I have a sphere dropping onto a plane via dops. Where the sphere lands it temporarily changes the color of the plane. The color change is only where the sphere is at that moment on the plane, once it moves on the plane's color returns to normal. This works as a select to determine which points will become particle emitters. But I only want the points to emit ONE particle each. What happens is that, lets say at point 52, the point emits 5 particles all at the same moment. Is there an expression i can use that will kill any particles coexisting at the same location in space save one. So if over the course of the simulation, the sphere hits upon 36 different points, I should only have 36 emited particles, not the 225 I have now. Thanks, C Care to upload a .hip(nc) file? Quote Link to comment Share on other sites More sharing options...
GallenWolf Posted January 29, 2009 Share Posted January 29, 2009 Cannoth, are you using the impact positions to emit particles? If not, I'm kinda finding it tough to understand what's going on. If yes, perhaps just only choose 1 point to emit from? Say, just emit using point 0? Hip file will be good Quote Link to comment Share on other sites More sharing options...
superdjo Posted February 26, 2009 Share Posted February 26, 2009 Ok it's a bit late to answer this but better late than never as they say. if you want just 1 particle emitted per point at a given frame, the basic expression would be in the rate of the source node of your pop network if you decide to put it in the impulse rate : npoints(opinputpath("../",0)) and turning off the const. activation if you decide to put it in the const rate npoints(opinputpath("../",0))*$FPS and turning off the impulse activation don't forget to put the emission type to points(ordered) or you won't have a particle per point this will hower emit the exact amount of points your emitter sop has per frame, so if your emitter has points that last 2 frames, you'll have 2 particles per point after 2 frames. Quote Link to comment Share on other sites More sharing options...
stevenong Posted February 26, 2009 Share Posted February 26, 2009 Hi, You can use $NPT instead of npoints(). Also, you don't have to use Points (Ordered). Points (Random) will be fine too because you're emitting the same number of points as your source so every point will be used. Cheers! steven 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.