Remove less adjacent points
1806 1 0-
- zello
- Member
- 9 posts
- Joined: 3月 2022
- オフライン
-
- animatrix_
- Member
- 5135 posts
- Joined: 2月 2012
- オフライン
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] https://lnk.bio/animatrix [lnk.bio]
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com] https://lnk.bio/animatrix [lnk.bio]
-
- Quick Links

