Skip to content
Discussion options

You must be logged in to vote

Yes, I see.

Unfortunately, meshToDistanceVolume function does not support that mode yet. We are going to implement it soon.

Meanwhile, please try to call other function. Below C++ names are given, but they shall be available in python as well:

First:

MRVOXELS_API Expected<VdbVolume> meshToVolume( const Mesh& mesh, const MeshToVolumeParams& params = {} );

with MeshToVolumeParams.type = Type::Signed.

Then:

MRVOXELS_API Expected<SimpleVolumeMinMax> vdbVolumeToSimpleVolume(
    const VdbVolume& vdbVolume, const Box3i& activeBox = Box3i(), ProgressCallback cb = {} );

to get the same volume representation as above.

Replies: 8 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@pty0220
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Fedr
Comment options

You must be logged in to vote
1 reply
@Grantim
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants