Dart Throw

I have modify the scatter compound to do a dart throwing compound. It tries to find place for the XFOs that are not already occupied by another one, based on size. It will reduce size every times it fails to place one for a maximum of time (maxIter), and leave it there if it doesn't succeed. So, it does not guaranty that all XFOs will be separated, but they will all be there. The sizeDivByTwo Boolean is there to cover a difference of the way they treat size in Maya and Canvas.
When the time variation of the alembic will be available, this will be perfect to generate crowds. ;)



Sign In or Register to comment.