12-18-2010, 01:24 AM
oh... yes, I see...
but you could sort the particles before applying the forces so every voxel knows how many particles it keeps inside? (btw, every particle could have its own density/velocity ect. value driven by particle attribute - on the end this values get just averaged )
after sorting should be not a problem for multi threading
just a thought...
cheers,
Bandu
but you could sort the particles before applying the forces so every voxel knows how many particles it keeps inside? (btw, every particle could have its own density/velocity ect. value driven by particle attribute - on the end this values get just averaged )
after sorting should be not a problem for multi threading
just a thought...
cheers,
Bandu

