controlling voxel size in vdb from polygon

   3073   5   0
User Avatar
Member
8 posts
Joined: Dec. 2015
Offline
Hello guys,

Is there a way to control the voxel size of VDB from polygon, say using a map or a noise. What I want to do is blur details on a geo I am working on while keeping details in some areas.

Thanks in advance
User Avatar
Member
37 posts
Joined: Aug. 2015
Offline
You can have multiple VDBs with different resolutions but voxel size is constant in a single VDB. What you might be looking for is a VDB mask to localize the blurring.
User Avatar
Member
2036 posts
Joined: Sept. 2015
Offline
Would controlling density per voxel help accomplish your goal?

You could do something like that with a volume wrangle:

https://www.sidefx.com/docs/houdini/nodes/sop/volumewrangle.html [www.sidefx.com]

at the bottom of the list under volume are some functions to aid in that process:

http://www.sidefx.com/docs/houdini/vex/functions/index.html [www.sidefx.com]
User Avatar
Member
8 posts
Joined: Dec. 2015
Offline
Thank you Nicolas,

Now that I know voxel size is constant, I'll try and find a way to combine them. I couldn't find a VDB mask, only the VDB occlusion mask.
User Avatar
Member
8 posts
Joined: Dec. 2015
Offline
Thank you babaJ, I will check this out. I am not sure if volume is what I am looking for in this paBticular case.
Edited by Ray56 - Nov. 19, 2019 11:11:30
User Avatar
Member
2036 posts
Joined: Sept. 2015
Offline
I think you may be misunderstanding me. Using a volume wrangle does not mean volumes exclusively. It's working on the voxels - So you could work on the voxels with say, the volume wrangle after a VDB from polygons(set to DistanceVDB - surface).

Of course I don't know ultimately what your after…but here's an example how you might do some work with the voxels.

Attachments:
VDB voxel wrangling.hiplc (78.6 KB)

  • Quick Links