Sort operator
#1
I know this can be done with script operator, though an operator which sorts the particles by id or other attributes in world space would be very nice.

For example, in a flow with 100 particles, when you sort the particle ids by distance to an object, particle with id 1 will be the closest to the object and 100 will be the farthest. But the positions of the particles wont change, they only will switch places.
  Reply
#2
Hmmm....any particular reason you'd need this? In general particle IDs are somewhat arbitrary...the only guarantee is that there will be no duplicates.

Just wondering what test case this would be useful for, since I don't have any operators that operate directly by BirthID that I can think of...
  Reply


Forum Jump: