Dj. Kim et al., FAST COLLISION DETECTION AMONG MULTIPLE MOVING SPHERES, IEEE transactions on visualization and computer graphics, 4(3), 1998, pp. 230-242
This paper presents an event-driven approach that efficiently detects
collisions among multiple ballistic spheres moving in the 3D space. Ad
opting a hierarchical uniform space subdivision scheme, we are able to
trace the trajectories of spheres and their time-varying spatial dist
ribution. We identify three types of events to detect the sequence of
all collisions during our simulation: collision, entering, and leaving
. The first type of events is due to actual collisions, and the other
two types occur when spheres move from subspace to subspace in the spa
ce. Tracing all such events in the order of their occurring times, we
are able to avoid fixed time step simulation. When the size of the lar
gest sphere is bounded by a constant multiple of that of the smallest,
it takes O((n) over bar(c) log n + (n) over bar(e) log n) time with O
(n) space after O(n log n) time preprocessing to simulate respectively
. n moving spheres, where (n) over bar(c) and (n) over bar(e) are the
number of actual collisions and that of entering and leaving events du
ring the simulation, Since <(n)overbar>(e) depends on the size of subs
paces, we modify the collision model from kinetic theory for molecular
gas to determine the subspace sizes for the space subdivision scheme,
that minimize simulation time. Experimental results show that collisi
on detection can be done in linear time in n over a large range.