Hello hope you can help me, I just need to automatically delete points like this from my geometry.
I am assuming you check if a point has more than one neighbor and if it doesn't delete it but I am not sure how I would go about that.
Any help would be really appreciated. Thank you!
How can I procedurally delete this point?
475 2 0- VGriffith
- Member
- 128 posts
- Joined: Sept. 2018
- Offline
- animatrix_
- Member
- 4540 posts
- Joined: Feb. 2012
- Offline
Hi,
You can do this using the neighbourcount VEX function:
You can do this using the neighbourcount VEX function:
int count = neighbourcount ( 0, @ptnum ); if ( count < chi("point_count") ) removepoint ( 0, @ptnum );
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 | pragmaticvfx.gumroad.com
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
- VGriffith
- Member
- 128 posts
- Joined: Sept. 2018
- Offline
-
- Quick Links