chaindriver Posted January 13, 2013 Share Posted January 13, 2013 Hi, I'm trying to get particles to move along lines and grids. Is there any particular way this can be done? Quote Link to comment Share on other sites More sharing options...
gui Posted January 14, 2013 Share Posted January 14, 2013 yes. Create normals tangent to line (use a poli-frame sop, and change tangent name to N), and use those tangents to drive de velocity of particles. In a pop-vop, use a point cloud open to import the normals of the line, and add that to the velocity. If you don´t know how to use point clouds in houdini, try seeing peter quint´s great tutorials in this subject first. You can create forces in the points in the line to drive the simulation, but in my experience, is far more difficult. Try adding a point sop in the line and change parameters in the forces tab. Then, in the pop net, use an attractor to feed the forces into the simulation. Quote Link to comment Share on other sites More sharing options...
chaindriver Posted January 14, 2013 Author Share Posted January 14, 2013 Thanks for the tips Gui! I'm trying them out now! Quote Link to comment Share on other sites More sharing options...
gui Posted January 14, 2013 Share Posted January 14, 2013 welcome! the benefit of using point cloud is that it interpolates the attributes (in this case, the normals in the curve), so you wont need too many points, but make sure that the point cloud radius encompass some points of the curve. Quote Link to comment Share on other sites More sharing options...
chaindriver Posted January 14, 2013 Author Share Posted January 14, 2013 Got it Quote Link to comment Share on other sites More sharing options...
eetu Posted January 14, 2013 Share Posted January 14, 2013 Last time I had to do this I needed it to be very precise and controllable, so I ended up creating the grid/lines and then just carving points from those lines. It's not instant gratification either, takes some twiddling to get what you want, but there will not be any unwanted surprises like there can very well be with a simulation.. So, Carve SOP with animated parameters might be your friend - it all depends, as always 1 Quote Link to comment Share on other sites More sharing options...
Scratch Posted January 18, 2013 Share Posted January 18, 2013 Use a creep POP, it does exactly that! http://www.sidefx.com/docs/houdini12.1/nodes/pop/creep Quote Link to comment Share on other sites More sharing options...
stig_olsen Posted July 25, 2014 Share Posted July 25, 2014 eetu, is this still valid? or do you have better ways to do this today? Can you walk med through this way? Stig Quote Link to comment Share on other sites More sharing options...
eetu Posted July 25, 2014 Share Posted July 25, 2014 Here's a quick hip to illustrate the idea. I did the crawling dots on this alien artifact in this way. In fact they are short line segments, but that's trivial with this technique - just use ch("domainu1")+0.01 or somesuch in the Second U parameter in the Carve SOP. ee_grid_crawling_particles.hip ee_grid_crawling_particles.mov 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.