Table 1: Comparing EFSAT with double precision floating-
point implementations of M
¨
oller and SAT.
EFSAT M
¨
oller SAT %
Sep. Sep. Sep. 70.93
Sep. Sep. Int. 0
Sep. Int. Sep. 0.02
Sep. Int. Int. 0
Int. (p.i.) Sep. Sep. 0.13
Int. (p.i.) Sep. Int. 0
Int. (p.i.) Int. Sep. 0.04
Int. (p.i.) Int. Int. 0.77
Int. Sep. Sep. 0
Int. Sep. Int. 0
Int. Int. Sep. 0
Int. Int. Int. 28.13
3.2 Resource Consumption
Implemented in VHDL and synthesized, placed and
routed with Xilinx ISE 8.1 the design’s resource con-
sumption is extraordinarily modest. It uses a total of
only 72 18-bit multipliers and 48% of available gates.
4 CONCLUSIONS
This paper presents the EFSAT approach, a fixed-
point hardware implementation of the SAT algorithm,
which categorizes its results into exact and possibly
incorrect. An additional optimization improves the
resolution of the algorithm, so that it can compete
with double precision floating-point implementations
of M
¨
oller’s algorithm and the standard SAT. The ap-
proach is extremely resource efficient. It was imple-
mented and tested in VHDL. It utilizes a total of only
72 18-bit multipliers and 48% of available gate equiv-
alents. This enables fitting it into a Xilinx Virtex-
II XC 2V6000 together with a hierarchy traversal
module. The overall design is ten times faster than a
state-of-the-art software implementation running on a
system with identical memory bandwidth, which does
not provide any guarantees on correctness or catego-
rization of the results. This renders the EFSAT imple-
mentation resource efficient, fast, and exact.
5 FUTURE WORK
Due to definition 1 every test axis is orthogonal to
at least two triangle edges. Thus the projections of
the two triangle points defining this axis are identical.
This is exploited in the original SAT-test to reduce the
number of projections and comparisons. It remains
unclear if this holds for the given algorithm as well
and thus will be evaluated.
In all our experiments EFSAT returns correct an-
swers to collision queries concerning colinear trian-
gles, although only 11 axes are tested instead of the
17 necessary for this in the original SAT. It remains
an open problem if this can be generalized.
Currently we are working on a software imple-
mentation of the SAT algorithm using interval arith-
metic and floating-point numbers to provide a fast and
precise arithmetic filter.
REFERENCES
Gottschalk, S. (1996). Separating Axis Theorem. Technical
Report TR-96-024.
Held, M. (1996). ERIT – A collection of efficient and re-
liable intersection tests. Technical Report, University
at Stony Brook.
Karamcheti, V., Li, C., Pechtchanski, I., and Yap, C. (1999).
A core library for robust numeric and geometric com-
putation. In SCG ’99, New York, USA. ACM.
Mehlhorn, K. and Schirra, S. (2001). Exact computation
with leda real - theory and geometric applications. In
Symbolic Algebraic Methods and Verification Meth-
ods, pages 163–172.
M
¨
oller, T. (1997). A Fast Triangle-Triangle Intersection
Test. journal of graphics tools, 2(2):25–30.
Plante, E., Cani, M.-P., and Poulin, P. (2001). A layered
wisp model for simulating interactions inside long
hair. In Computer Animation and Simulation 2001,
Computer Science.
Raabe, A., Hochgurtel, S., Zachmann, G., and Anlauf, J. K.
(2006). Space-Efficient FPGAAccelerated Collision
Detection for Virtual Prototyping. In Design Automa-
tion and Test (DATE), pages 206211, Munich, Ger-
many.
Raabe, A., Nett, A., and Niers, A. (2008). A Refinement
Case-Study of a Dynamically Reconfigurable Inter-
section Test Hardware. In ReCoSoc08.
Robbins, S. and Whitesides, S. (2003). On the reliability of
triangle intersection in 3d. In ICCSA (3), pages 923–
930.
Shewchuk, J. R. (1997). Adaptive precision floating-point
arithmetic and fast robust geometric predicates. Dis-
crete & Computational Geometry, 18(3):305–368.
Weller, R., Klein, J., and Zachmann, G. (2006). A model for
the expected running time of collision detection using
aabb trees. In Eurographics Symposium on Virtual En-
vironments (EGVE), Lisbon, Portugal.
Woulfe, M., Dingliana, J., and Manzke, M. (2007). Hard-
ware accelerated broad phase collision detection. In
SIGGRAPH 2007, New York, USA. ACM SIG-
GRAPH.
Zachmann, G. (1998). Rapid Collision Detection by
Dynamically Aligned DOP-Trees. Proc. of IEEE,
VRAIS’98 Atlanta.
GRAPP 2009 - International Conference on Computer Graphics Theory and Applications
360