vdb_tool 10.6.1

# This examples demonstrates how to read a narrow-band level set
# from an OpenVDB file and converting the level set into an adaptive
# polygon mesh and writing out the mesh to a binary ply file.

# read OpenVDB file with level set
read bunny.vdb

# Level set to polygon mesh conversion
# Mesh adaptivity is 0.1 %
ls2mesh adapt=0.1

# write polygon mesh to binary ply file
write bunny.ply
