Curves from particles?

   9816   4   1
User Avatar
Member
59 posts
Joined: 5月 2015
Offline
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?
Andrew
Houdini Apprentice
User Avatar
Member
1737 posts
Joined: 5月 2006
Offline
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.

Attachments:
pop_silly_string.gif (854.8 KB)
pop_trails.hipnc (369.8 KB)

http://www.tokeru.com/cgwiki [www.tokeru.com]
https://www.patreon.com/mattestela [www.patreon.com]
User Avatar
Member
30 posts
Joined: 11月 2017
Offline
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
http://paulmillerart.com/ [paulmillerart.com]
User Avatar
Member
1737 posts
Joined: 5月 2006
Offline
No, it's looking up the sourceptnum attribute. Points which have the same @sourceptnum wil be added together into a curve.
Edited by mestela - 2021年2月7日 15:35:26
http://www.tokeru.com/cgwiki [www.tokeru.com]
https://www.patreon.com/mattestela [www.patreon.com]
User Avatar
Member
30 posts
Joined: 11月 2017
Offline
OHHHH wow I see. Thats awesome! Thank you for that!.
http://paulmillerart.com/ [paulmillerart.com]
  • Quick Links