Trail connected as polygons

   3779   2   2
User Avatar
Member
217 posts
Joined: March 2006
Offline
Hi all,
maybe simple, but after 1/2 day and searching the forum I've found no solution.

It should be a welding effect and my idea was it to work with the trail sop in the “source_particle”-SOP.

At frame 51 the connections are wrong for me. I think it has something to do with the point number but can't find where to fix it.
maybe someone has an idea?
Thanks for help

Detlef (31°C in Hamburg!

Houdini 15.5.564

Attachments:
welding_tmp.hip (754.8 KB)

User Avatar
Member
402 posts
Joined: June 2014
Offline
Hi there,

Yes it is indeed a point number issue, connected to the lifespan of your particles. When one dies, all the point numbers above it shift by one, and that's what the trail SOP uses to connect them. The trail SOP can compute velocity by point id but not connect them by id, which is a shame. Anyway, there's a solution that was posted here [forums.odforce.net],

make sure you've set the POP source to create an id attribute, and then set the trail to ‘Preserve Original’ and use an Add SOP to add polygons by Group, and ‘add By Attribute: id’.

Should do the trick
Henry Dean
User Avatar
Member
217 posts
Joined: March 2006
Offline
HI,
thanks.. that was the trick!

Detlef
  • Quick Links