Jump to content

Random delete points by threshold


Follyx

Recommended Posts

You changed your Evaluation Node Path to "../scatter1", this means that any ch() references you make will look to that node instead of the wrangle node itself. So it's looking for a parameter called "threshold" on the scatter, which doesn't exist so it returns 0, thereby deleting all of your points. 

Link to comment
Share on other sites

  • 6 years later...
why this will not work:
 
a scatter sop and a pointwrangle with:
 
if ( rand(@ptnum) > ch('threshold') ) {
removepoint(,@ptnum);
}

This worked for me after inputting it after scatter node , you need to check the Geometry spreadsheet and see the values to insert before removepoint(??,@ptnum); For me it was -0.5 just an average and then played with the threshold . It worked !

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