hindukush Posted September 12, 2018 Share Posted September 12, 2018 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 Quote Link to comment Share on other sites More sharing options...
ThomasPara Posted September 12, 2018 Share Posted September 12, 2018 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); Quote Link to comment Share on other sites More sharing options...
hindukush Posted July 4, 2020 Author Share Posted July 4, 2020 Sorry my bad..didn't thank you!! Ill do it now!! Thanks alot for the tip!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.