Jump to content

find points within range


freaq

Recommended Posts

given a grid, and some scattered points,
I want to know the "density of the points on the surface.

 

ideally mixing the colour value of these points by distance. ( essentially an attribtransfer that just adds all the values together weighted by the distance.)

but as a simplified version something like this could work:

4 points are closest to point 3 so point 3 gets a colour value of 4.

 

I tried doing this with a point cloud iterate but can't get anything useful going :/
 

Link to comment
Share on other sites

For your simple example you should be able to do it with just a "point cloud open" vop and a "point cloud num found". You set the radius on pcopen and the pcnumfound tells you the number of other points within that radius.

 

You can do the weighted transfer inside of a for loop from there. I'll try to throw an example file together later tonight, if someone else doesn't beat me to it.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...