VDB remove interior

   7351   6   1
User Avatar
Member
339 posts
Joined: 12月 2014
Offline
because of the way I'm combining VDB volumes, on conversion I'm getting a lot of polygons on the inside of the mesh, I'm sure there's a way to remove interior voxel data based on a threshold, I'm just not sure exactly how to go about it, tips?
User Avatar
Member
899 posts
Joined: 2月 2016
Offline
are u converting it to polygons?

there's tool in the gamedev toolset called delete small parts
User Avatar
Member
339 posts
Joined: 12月 2014
Offline
I actually figured out a brute force method: Convert to poly, convert back to VDB and then convert to poly once again. Interior prims are culled because the VDB conversion only looks at airtight geometry, at least that's what I think is going on. Either way, it works like a charm.
User Avatar
Member
23 posts
Joined: 3月 2013
Offline
If your polygons are floating on the inside of the mesh and not connected to the outer shell another thing you can try is to convert VDB to polygons just once then plug that into the first input of a boolean sop. Leave the second input of the boolean empty. If the polys are floating on the inside that should remove them and leave just the outer mesh. Saw that on a tutorial somewhere, you can throw down test geometry rubber toy then plug it into the first input of a boolean and see what it does to the inside of the mesh.
User Avatar
Member
339 posts
Joined: 12月 2014
Offline
Great tip, that seems to do the trick
User Avatar
Member
8839 posts
Joined: 7月 2007
Offline
you can also just delete all pieces with negative volume (Measure SOP per connected piece), which are usually all inside pieces since they have inverted normals
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
58 posts
Joined: 11月 2014
Online
doing a vdb resample(voxel size only(refer from the after vdb conversion value) or voxel scale at 1) is removing inside vdbs after the vdb from particles, super fast,
make sure rebuild SDF is checked on
Edited by KN Pavan - 2021年11月28日 01:33:00
Houdini Fx Artist (Build)
  • Quick Links