Jump to content

POPs Alpha based on point proximity (distance between neighbours)


kio0o

Recommended Posts

Hey guys,

I am trying to set the Alpha of my particles based on their distance, meaning I would like my particles to disappear  if they don't have a certain amount of neighbours beside them. Do you have any suggestions how to do it? I was trying to us Nearest Distance Attribute and Point Cloud Radius Comparison, but unsuccessfully.

Link to comment
Share on other sites

Hey this is just neighbors based. I'm not exactly sure how I'd go about distance, except by per point, add the sum of all the distance from pts found in its vicinity and store in each and normalize for the whole cloud. I'm not very good at point clouds so I would end up doing something silly like creating all the prims, and measuring those and summing them haha.

But if you want based on neighbors beside them. just refit the number of neighbors found and play with that normalized value?

 

Cheers, hope this is a step in the right direction.

MM_Send_AlphaPointProximity.hiplc

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...