Replies: 11 comments 1 reply
-
There are signed flood fill methods available in |
Beta Was this translation helpful? Give feedback.
-
I tried that but I didn't receive what I expected. The VDBs before and after applying SignedFloodFill are exactly similar, still only surface voxels. I don't know what SignedFloodFill actually does here. I wonder does it really FloodFill algorithm: https://en.wikipedia.org/wiki/Flood_fill |
Beta Was this translation helpful? Give feedback.
-
I think I see what you're after now - the signed flood fill agorithms fill inside/outside voxels with constant values and do not modify active states. They are indeed a flood fill algorithm, but it sounds like what you want to do is activate the interior of your level set with exact distances? These algorithms do not re-compute the distance values. There are a variety of ways to re-construct the interior of a level set, I think the easiest is perhaps just to use
Alternatively there are tools in |
Beta Was this translation helpful? Give feedback.
-
Thank @Idclip, yes, I want to activate the interior bound by the surface voxel. I tried |
Beta Was this translation helpful? Give feedback.
-
@SimonNgj: I tried the problem you're describing by scattering points on the Stanford's bunny model. In the example that I showed, I use this dilate function |
Beta Was this translation helpful? Give feedback.
-
Hi @apradhana, I followed your instruction, but end up with an empty VDB. Could you please help me to check what is wrong here: |
Beta Was this translation helpful? Give feedback.
-
It seems like signedFloodFill function is to estimate the distance value, not to fill the watertight surface |
Beta Was this translation helpful? Give feedback.
-
@SimonNgj Would you mind clarifying what you mean by "filling a watertight surface"? What voxel values are you looking for the interior voxels? (One possible answer is that you want the interior voxels to have a uniform value of, say, 1.f. If that is so, you can use the topology you get from |
Beta Was this translation helpful? Give feedback.
-
Hi @apradhana, I want to achieve a solid voxelization like this: https://orbilu.uni.lu/bitstream/10993/16275/1/GARCIA_Frederic_ICPR2014.pdf |
Beta Was this translation helpful? Give feedback.
-
This image shows what I want to achieve: starting from a point cloud (particles) => surface voxelization (level set) => solid voxelization |
Beta Was this translation helpful? Give feedback.
-
Hi @apradhana, does a higher interior bandwidth take a longer time to execute? |
Beta Was this translation helpful? Give feedback.
-
I'm having a point cloud. After converting it to a FloatGrid, I have a surface voxel model. I want to obtain a solid voxel model. Is there any way I can do that with OpenVDB? I'm thinking of Floodfill 3D algorithm with a requirement that the surface voxel model needs to be watertight. Any suggestion is appreciated
Beta Was this translation helpful? Give feedback.
All reactions