Hello there I'm a new person to Houdini and running into an issue.
I have a Geo and I'm trying to get where all the line merge into a single point to place said points into a group instead of manually selecting each vertex.
I started with- int near = nearpoints(0,v@P,0.01,5);but kinda had a brain melt after that. Vex is also very new to me as well
Any help is greatly appreciated!
Grouping of interconnected points on a Geo
997 3 0- MichaneRicketts1
- Member
- 1 posts
- Joined: 5月 2021
- Offline
- Hatchery
- Member
- 139 posts
- Joined: 3月 2016
- Offline
You might want to provide and example of what you are trying to do. Also do you actually mean vertex or point. If new then the way houdini deals with all this is slightly different to other 3D apps - This explains quite nicely - https://www.tokeru.com/cgwiki/Points_and_Verts_and_Prims#Shadesails_and_verts_and_prims [www.tokeru.com]
Love Houdini
- animatrix_
- Member
- 4742 posts
- Joined: 2月 2012
- Offline
Hi,
Here is one way using pcfind:
Here is one way using pcfind:
int maxpts = chi("maxpts"); int pts [ ] = pcfind ( 0, "P", @P, ch("radius"), maxpts ); if ( len ( pts ) == maxpts ) i@group_pts = 1;
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
- Hatchery
- Member
- 139 posts
- Joined: 3月 2016
- Offline
-
- Quick Links