主权项 |
1. A computer-implemented method for animating, in a computer-generated simulation, a plurality of objects that are placed across a surface of a graphics object, the method comprising:
receiving a specification of a total duration for the computer-generated simulation; applying, to a first object in the plurality of objects, a first motion from a set of motions; applying, to a second object in the plurality of objects, a second motion from the set of motions; establishing, for the first object, a first bounding area that represents a largest area covered by the first object when animated by the first motion; establishing, for the second object, a second bounding area that represents a largest area covered by the second object when animated by the second motion; determining that the first motion terminates prior to the total duration and prior to the second motion; identifying a third motion in the set of motions that is a valid motion to be applied to the first object; establishing a third bounding area for the first object based on the third motion; determining that the third bounding area does not intersect with the second bounding area of the second object; and scheduling, via a processor, the third motion to be applied to the first object when the first motion terminates. |