tyFlow Forum
vdb fill with particles doesn't work if source mesh too large - Printable Version

+- tyFlow Forum (https://forum.tyflow.com)
+-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html)
+--- Forum: Bugs and Issues (https://forum.tyflow.com/forum-3.html)
+--- Thread: vdb fill with particles doesn't work if source mesh too large (/thread-2722.html)



vdb fill with particles doesn't work if source mesh too large - ttdww - 10-28-2021

create a cube 10,000 on a side and try to fill it with particles.  does it work?  it doesn't for me.  thanks in advance.

birth vdb / objects to sdf / vdb to particles > shape / display geometry

i only see 1 particle


RE: vdb fill with particles doesn't work if source mesh too large - tyFlow - 10-28-2021

Did you change the VDB to Particles mode to "pack mesh with particles"? Its default mode will just convert the VDB mesh into a single particle...


RE: vdb fill with particles doesn't work if source mesh too large - ttdww - 10-28-2021

Yes, I basically rebuilt this from your teapot example scene but I needed to use it in a scene with super large values. I also tried a fresh scene rebuilt like it, and yes turned off the default vdb mesh node that appears. Then it broke when I get to the higher values - only seeing 1 particle - it never fills the volume.


RE: vdb fill with particles doesn't work if source mesh too large - tyFlow - 10-29-2021

Perhaps you're hitting some memory limit by trying to create such a huge box. For example, a box with length/width/height extents of 10,000 and a voxel size of 1 will attempt to generate 1 trillion voxels. I haven't looked deep enough into the OpenVDB library to find out, but maybe they've implemented a limiter that outputs a single voxel if it recognizes a RAM limit will be reached beforehand.

Beyond that, you could post the file so I can see/test your exact setup.