openvdb icon indicating copy to clipboard operation
openvdb copied to clipboard

Loosing surface in level set when decreasing voxel size

Open Jaisiero opened this issue 1 year ago • 2 comments

Hi guys, I was playing with openVDB and testing with some input params using the meshToLevelSet method.

When I tried to increase the resolution to certain level by decreasing voxel size, I find out that I cannot see the SDF (surface) anymore on the vdb_view app.

Both volumes has 3.0f as a narrow band.

I can attach some images so you can compare. I also copy links to the vdb files that I generated in case you need'em.

Bunny voxel size 0.01 https://www.dropbox.com/scl/fi/vhf54s59kteqpa43c7akx/bunny0.010000.vdb?rlkey=2e5gfeanndwqh0zg8f46ji8iu&dl=0

bunny_0 01f

Bunny voxel size 0.001 https://www.dropbox.com/scl/fi/mi0ohre5cn61fiyg89vaj/bunny0.001000.vdb?rlkey=8he6qjv4gkfewn7c5v8tsk3zs&dl=0

bunny_0 001f

Am I doing something wrong, or there is a certain limit due to number precision, or something else that I am missing?

Cheers!

Jaisiero avatar Nov 13 '23 18:11 Jaisiero

Hi @Jaisiero,

Can you provide the input mesh you were using to test?

Idclip avatar Dec 06 '23 22:12 Idclip

Here you are @Idclip .

bunny obj

Cheers.

Jaisiero avatar Dec 18 '23 15:12 Jaisiero