rich_lord Posted June 18, 2016 Share Posted June 18, 2016 (edited) Ive got two vdbs, and im using one to cut away from the other with the VDB combine node. On the VDB that has been booleaned, i'd like to know how far the surface is from the original surface. Im not sure how best to get this info. I guess one way to think about this is that im eroding away one volume, and id like to know how much it has eroded by comparing it to the original. Heres my first attempt, converting back to polygons and using a ray SOP in minimum distance mode. Im hoping theres a better way using some volume tool I don't know about. Its just a test, I don't want to use circles for the final effect. Thanks for any input! vdb_colour_distance.hip Edited June 18, 2016 by rich_lord Quote Link to comment Share on other sites More sharing options...
rich_lord Posted June 21, 2016 Author Share Posted June 21, 2016 Ok, my file above was right in theory, i'd just connected it up stupidly. Also, you can do this effect even easier by just samling the sdf volume. oops. Anyway, in case anyone else also cant remember these concepts, heres a file which works. It contains both the ray SOP method, and the better(I think) volume sample method. ray_erode_distance.hip 3 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.