Tashmika Gimantha VFX

Tashmika_VFX

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Check if a point have any neighbors Aug. 26, 2023, 5:30 a.m.

Hello guys.

I have a VEX problem. I want learn a way to check my points have certain count of neighbors (I specify like let's say 3) within a given search radius (Donno this is correct, but something like neighborcount). If that point doesn't have certain amount of neighbors, i want to delete that point.

For example point 24 (red circle), I want to check if that point has 3 neighbors within the radius (blue circle). So it found only one. So, the point 24 will be deleted.

And I want to do this to all points (For loop type)

Can someone please help me ?

Thank you. Have a nice day.