Hi there,
I would like to know how to get the number of points inside of the point cloud search radius. Any advice would be appreciated.
Thank you.
How to get the number of pts inside of the pc search radius?
5747 8 1- tatsu3d
- Member
- 8 posts
- Joined: Sept. 2011
- Offline
- asnowcappedromance
- Member
- 512 posts
- Joined: July 2009
- Offline
- tatsu3d
- Member
- 8 posts
- Joined: Sept. 2011
- Offline
- tamte
- Member
- 8770 posts
- Joined: July 2007
- Offline
it's even easier
it's called Point Cloud Num Found VOP, just connect handle to it and it will return number of found points within radius and max point count limits set on pcopen
this function is available from H12 though so in H11 you still need to count them in loop
it's called Point Cloud Num Found VOP, just connect handle to it and it will return number of found points within radius and max point count limits set on pcopen
this function is available from H12 though so in H11 you still need to count them in loop
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- asnowcappedromance
- Member
- 512 posts
- Joined: July 2009
- Offline
- tamte
- Member
- 8770 posts
- Joined: July 2007
- Offline
it is pcnumfound()
I included example of usage of both functions to For Loop through pointcloud instead of While Loop in this post
http://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&p=121576#121576 [sidefx.com]
Houdini 12.0.517: New VEX point cloud functions pcnumfound and pcimportbyidxFOO, with corresponding VOPs pcnumfound and pcimportbyidx. These allow processing of point cloud searches using a For VOP rather than black magic and ritual sacrifices.
I included example of usage of both functions to For Loop through pointcloud instead of While Loop in this post
http://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&p=121576#121576 [sidefx.com]
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- asnowcappedromance
- Member
- 512 posts
- Joined: July 2009
- Offline
- circusmonkey
- Member
- 2624 posts
- Joined: Aug. 2006
- Offline
- tatsu3d
- Member
- 8 posts
- Joined: Sept. 2011
- Offline
-
- Quick Links