Question about the number of points after fuse.

   1171   2   1
User Avatar
Member
20 posts
Joined: June 2019
Offline
I just encountered a very basic problem, but I haven't figured it out. I hope to get some detailed explanations. When I use the ‘fuse‘ function to connect a curve end to end in Houdini, I find that the number of points in my viewport and spreadsheet has changed. However, when I try to store these points in a list with the primtpoints() function, I access the len of the list. I find that the len here is still the number of points before ’fuse‘. Why is this?
I’ll appreciate any suggestion.

Attachments:
f2.jpg (497.7 KB)
f1.jpg (546.2 KB)

User Avatar
Member
4495 posts
Joined: Feb. 2012
Offline
Hi,

That's because your vertex count doesn't change, and primpoints returns the points used by the vertices of the primitive.

So before fuse it would be:

[ 0, 1, 2, 3, ..., N (last point) ]

after fuse it would be:

[ 0, 1, 2, 3, ..., 0 (first point) ]
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]

youtube.com/@pragmaticvfx | patreon.com/animatrix | animatrix2k7.gumroad.com
User Avatar
Member
20 posts
Joined: June 2019
Offline
Oh, so that's it. Thank you so much.
  • Quick Links