Hi!
I'm processing some photogrammetry scans with millions of polygons and I'd like to choose 3 points and create a triangle out of those with a Detail Wrangle.
Is there a way my wrangle could search for the “Base Group” information found in the node called “pick_3_points” from the detail wrangle?
-Olivier
From wrangle, get point list from a group sop?
2368 4 0- olivierth
- Member
- 1069 posts
- Joined: 4月 2017
- Offline
- tamte
- Member
- 8768 posts
- Joined: 7月 2007
- Offline
you can use expandpointgroup() [www.sidefx.com] VEX function
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- olivierth
- Member
- 1069 posts
- Joined: 4月 2017
- Offline
- Hatchery
- Member
- 138 posts
- Joined: 3月 2016
- Offline
Is this what you were thinking - see attached?
Detail wrangle 1
Detail wrangle 2
Detail wrangle 1
i[]@pointnumbers; for(int i = 0; i < npoints(0); i++){ if(inpointgroup(0,"pick_3_points",i)){ append(i[]@pointnumbers,i); } } int firstindex = i[]@pointnumbers[0]; push(i[]@pointnumbers, firstindex);
Detail wrangle 2
addprim(0,"polyline",i[]@pointnumbers);
Love Houdini
- olivierth
- Member
- 1069 posts
- Joined: 4月 2017
- Offline
-
- Quick Links