AcademySoftwareFoundation / AcademySoftwareFoundation/openvdb
Loosing surface in level set when decreasing voxel size
- Dominant language
- C++
- Stars
- 3.4k
- Forks
- 774
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 34
Description
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 voxel size 0.001
https://www.dropbox.com/scl/fi/mi0ohre5cn61fiyg89vaj/bunny0.001000.vdb?rlkey=8he6qjv4gkfewn7c5v8tsk3zs&dl=0

Am I doing something wrong, or there is a certain limit due to number precision, or something else that I am missing?
Cheers!
Contributor guide
Research direction
Start by reproducing the report with the supplied bunny .vdb files at voxel sizes 0.01 and 0.001, using meshToLevelSet and viewing the results in vdb_view. Compare the narrow-band settings and determine whether the missing surface is caused by input parameters, precision, or display behavior; done means identifying the cause and documenting or fixing the failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100