Jump to content

Polygon from vdb topology problem


hindukush

Recommended Posts

Hi everybody!

I'm facing issues when meshing a vdb, i have a dirt blotch on a cloth, the cloth is moving, the blotch is obtained converting a point cloud to mesh, of course the blotch while moving is changing topology,and..my bad...is flickering in time..

There is a way to freexe the topology at frame one..or some work around to make the blotch more stable?

Thanks alot!

Carlo

Link to comment
Share on other sites

Timeshift your dirt geo (after vdb, might get heavy if its a dense mesh) and insert it to input#01 on a pointwrangle

Timeshift your cloth and insert into input#02

Take the moving cloth and insert it into input#03

int prim_id;
vector prim_uv;
float dist = xyzdist(1,@P,prim_id,prim_uv); 
vector surface_pos = primuv(2,"P",prim_id,prim_uv);
vector surface_normal = primuv(2,"N",prim_id,prim_uv);
@P = surface_pos + (surface_normal * dist);
Link to comment
Share on other sites

  • 1 year later...

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