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.
Question about the number of points after fuse.
1171 2 1- ILIAZHAO
- Member
- 20 posts
- Joined: June 2019
- Offline
- animatrix_
- 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:
after fuse it would be:
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
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | animatrix2k7.gumroad.com
- ILIAZHAO
- Member
- 20 posts
- Joined: June 2019
- Offline
-
- Quick Links