Search - User list
Full Version: Curves from particles?
Root » Houdini Learning Materials » Curves from particles?
verysame
Sometimes I hear things like “and then you convert the particles to curve”.
I guess something like this:
https://vimeo.com/150801467 [vimeo.com]

So, what do I need to convert particles to curves?
Just a Convert in the location_particles node?
Or maybe a trail?

What I'm doing right now is a trail, then convert, then a polywire, but I guess if I use a polywire then I don't need a convert?
mestela
Add sop!

If you have an attribute that is unique for each curve you want to make, you can use an add sop in polygon mode, and tell it to group by that attribute.

Eg, here's a pig, i've scattered points on it, and i'm emitting particles from those points at the default rate, and added some noise and drag.

Look at the geometry spreadsheet, you can see there's a sourceptnum attribute. This is unique for each emission point, so its a good candidate for growing curves.

Append an add sop, switch to polygons mode, by group, add ‘by attribute’, and use ‘sourceptnum’ as the attribute. Instant silly string.
Pmiller001
This is so cool! Question though, what is this node at the end, adding?



Is it adding an attribute to use later down the road? sourceptnum
mestela
No, it's looking up the sourceptnum attribute. Points which have the same @sourceptnum wil be added together into a curve.
Pmiller001
OHHHH wow I see. Thats awesome! Thank you for that!.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB