Hello everyone,
I am a rookie of the excellent library and I run into some problems. Hope to get some help.
In general, I have two questions
(1) can I directly iterate all the inside voxels (which have negative values)?
I converted a closed mesh to level sets, and want to get all the inside voxels. Essentially, I would like to visit inside voxels and their 6 neighbor voxels.
However, it seems that I have to iterate all the values(include both tile and voxel, and test value and level or depth) to get what I want. Is there any faster way to iterate just all the voxels (without tile), or even ambitiously just the inside voxels ?
( Because the document says " For more specialized tasks, OpenVDB provides lower-level data
accessors that enable fast iteration over all or selected voxels and
over the elements of a Tree ")
(2) fail to write .vdb file to disk
the error says openvdb::v3_0_0::IoError: Blosc encoding is not supported
However, I test function file.hasBloscCompression() , it returns true. And the file.DEFAULT_COMPRESSION_FLAGS is 6.
when I set the file.setCompression to other type, it works well. I have no idea what the problem is.
Thanks in advance,
Bo