Jump to content

How to reduce dot particles using point wrangle?


maulen

Recommended Posts

1. use Unpack Points SOP instead of Convert VDB Points

2. you don't have @id attribute on your points, and you are compressing the points so having a valid @id on them is crucial, so make sure you enable id on your solver, recache and you should be fine

 

if however you really need to reduce only a single frame or you decide to recache without reseeding and without compressing, making sure your pointcloud is stable and you don't need @id, then you can use @ptnum in rand function instead

if (rand(@ptnum, chf("seed")) < chf("percent") ) {
    removepoint(0, @ptnum);
}

 

Edited by anim
  • Like 1
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...