tangmg

I am trying to decode an existing vbd from other resource and recreate it in Maya. I noticed its voxel size in Houdini as 0.15, 0.15, 0.05. However, its voxel size in Maya only displayed as 0.15, without displaying z.  I was wondering if Maya vbd will allow generating a vbd based a mesh input with a none-uniformed voxel size, so the x, y , and z are not necessary the same value? Thanks! old_snow_VDB_11.jpg  old_snow_VDB_10.jpg 

Quote 0 0
besha1
you want to see a uniformed voxel size or none-uniformed voxel size or you want to create a VDB grid with a none-uniformed voxel size?
Quote 0 0
tangmg
I want to create a vdb grid with a none-uniformed voxel size, from a mesh.
Quote 0 0
besha1
BE_VDBFromPolygons creates vdb only from Linear Transform and uniform voxel size.
But if you need non uniform voxel size you can use BE_VDBResample for resample vdb grid created in
BE_VDBFromPolygons (uniform voxel size) from your grid (non uniform voxel size) for example created in 
maya fluid.

watch the scene nonUniformVoxel.ma
and replace BE_OpenVDB.mll
I added in BE_VDBArnoldRender->Info: voxel count and if voxel non uniform show all three values
Quote 0 0
tangmg
Cool. I can see all three values now if the vdb is voxel size is none-uniform. One more questions: what is the meaning of "count" in the info?
Quote 0 0
besha1
This is the number of active voxels
Quote 0 0