Incrementally mesh a changing level set

141 views
Skip to first unread message

Steven Tondeur

unread,
Jan 19, 2015, 10:54:51 AM1/19/15
to openvd...@googlegroups.com
Hi all,

does anyone know if it's possible to only mesh part of a grid using openvdb? E.g. in a voxel sculpting scenario where you're only adapting (e.g. boolean operations (think: remove/add material) ) a small part of an existing grid, it would be good if you didn't have to remesh the bulk of the grid that hasn't changed.

I searched around for a method that could extract part of a grid to see if I could make something myself using low-level operations, but I didn't find any. Am I missing something?

Kind regards,
steven

edward

unread,
Jan 19, 2015, 7:40:46 PM1/19/15
to openvd...@googlegroups.com
If you directly use the VolumeToMesh class, you can set a mask for what to convert to polygons.

http://www.openvdb.org/documentation/doxygen/classopenvdb_1_1v3__0__0_1_1tools_1_1VolumeToMesh.html#aad8409de3285ed2eca9535f24ce03b7e

Best Regards,
-Edward

Steven Tondeur

unread,
Jan 22, 2015, 9:53:23 AM1/22/15
to openvd...@googlegroups.com
Thanks edward! That did the trick!
Reply all
Reply to author
Forward
0 new messages