Remove less adjacent points
579 1 0- zello
- Member
- 8 posts
- Joined: 3月 2022
- Offline
- animatrix_
- Member
- 4455 posts
- Joined: 2月 2012
- Offline
Hi,
You can do this using a Point Wrangle:
For more complex geometry, you can do it iteratively:
But it gets a bit more involved to set this up from scratch compared to the above VEX code.
You can do this using a Point Wrangle:
int maxpts = chi("maxpts"); int pts [ ] = pcfind ( 0, "P", @P, ch("radius"), maxpts ); if ( len ( pts ) >= maxpts ) removepoint ( 0, @ptnum );
For more complex geometry, you can do it iteratively:
But it gets a bit more involved to set this up from scratch compared to the above VEX code.
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
-
- Quick Links