Jump to content

Creating a trail from VDBadvectpoints


leohak

Recommended Posts

probably a simple one, but still I'm not sure i understand how it works.

im advecting scattered points through a VDB vel field in a solver than i trail those points.

I'm trying to polywire the result for the render but i see only a series of points. 

what is the right way to do it?

 

circut.hipnc

Link to comment
Share on other sites

Hi Lior,

Before your solver, you should set an "id" attribute after the scatter. In a pointwrangle, you can do

i@id = @ptnum;

Each little "seed" point will have an id, then every copy he leaves behind in the solver will have that same id. So you can use that attribute to connect them!

Then, before you do your polywire, you need to put an "add" sop down, go to the "Polygons" tab, select "By Group", and change the "Add" Parameter to "By Attribute". The attribute name will just be

id

Then do your polywire, and you're all set!

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