Jump to content

VDBfromPolygon issue with small voxel sizes


Recommended Posts

When using small voxel sizes to gain a more detailed volume, I many times encounter a problem.

Some of the voxels kinda disappear and create gaps in the ConvertVDBtoPoly.

The only remedy I have found so far is to use the VDBreshapesdf in Dilate mode. This fixes things in the areas that had the gaps but pumps up the rest of the mesh as well, which is problematic.

Most common situation for this is when using VDB for collisions and you want the mesh to be detailed so you use small voxel sizes.

I really don't understand why is this happening.

Is there a real way around this?




Small voxel size.hip

Link to comment
Share on other sites

VDB From Polygon requires *closed* geometry, which the default teapot is NOT. Using larger voxel sizes can seem to help because if it's larger than the gap in your geometry then that can cause the rasterization to close it up. To see if your (polygon) geometry is closed, append a Divide SOP and choose Remove Shared Edges. If your geometry is fully closed, then all its edges should be shared by more than 1 polygon, so this should cause all the geometry to be removed. Middle-click on the Divide SOP in the network view to double-check that you have no geometry.

  • Like 1
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.

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