PGFind workaround in grains

   1864   0   0
User Avatar
Member
83 posts
Joined: Nov. 2018
Offline
Hey all, working on a heavy sand project soon & have just noticed that the grains solver isn't using the accelerated pgfind VEX function as I was hoping so I did some investigations. Got quite a speed up from using it, but found this in the ‘get_neighbours’ node …

“// pgfind is faster, but fails if particles are too separated in OpenVDB 3.0”

Is there any work around for this at all, or a way to fallback to pcfind if pgfind fails at all?


Thanks
Dan
Dan Warder
Senior FX TD - Framestore
  • Quick Links