delete point based on distance threshold

   12622   2   1
User Avatar
Member
2 posts
Joined: July 2008
Offline
Fist off: Hi to eveyone. I am just starting to fiddle around with Houdini and although I must say this package has a rather steep learning curve I already love it.

While experimenting around I ran into this problem: I have a couple of points, say through just a grid and a scatter SOP. Now what I want to do is delete every point, which is closer than X to its nearest neighbour.

Could any of you pros point me into a possible direction of doing this? I'd guess the easiest way would be through a VOP SOP and some pointcloud operations. I did give it a try already, but it *is* a bit weired to wrap my head around for starters

Any input is greatly apperciated,
cheers,
e
User Avatar
Member
401 posts
Joined:
Offline
scatter sop allows you to store the distance to N neighbours in each point.
You can use a deleteSOP to delete the points below the treshold.
hope this helps

Georg
this is not a science fair.
User Avatar
Member
2 posts
Joined: July 2008
Offline
moin rdg, thanks a lot for the quick reply - works like a charm!
  • Quick Links