4 TIMES STUDY
The system was implemented in C++ using gcc and
OpenGL for visualization. We used an Intel Pentium
IV-1.6 GHz processor with 1 MB in a Linux O.S..
We measured the number of frames per second
in the worst case (when collision with the objects
takes place) obtained by the interaction system for
each one of the objects of Figure 7 and the devices
of Figure 1. In this study we have included the time
consumed in obtaining the related triangles and the
collision detection time. The time needed for
visualization has not been included.
In this system the user moves both, the device
and objects freely throughout the scene. In Figure 8
we can see these times providing a real time
interaction system.
Figure 7: Objects used (f=faces): cylinder (60 f), cat (760
f), teapot (993 f), horse (7,172 f), venus (11,241 f), golf-
ball (16,205 f), dragon (201,031 f).
1
10
100
1.000
10.000
100.000
1.000.000
10.000.000
frames/sec.
hand ball-pen pen
hand
256.004 28.273 18.700 6.515 4.251 1.517 748
ball-pen
682.667 90.474 69.456 29.967 18.219 12.135 7.278
pen
1.600.036 904.737 801.411 449.498 404.875 384.285 309.049
cylinder cat teapot horse venus golfball dragon
Figure 8: Interaction times (frames/sec. in the worst case,
with logarithmic scale).
5 CONCLUSIONS
In this paper we have used a data structure for space
decomposition, especially appropriate for the
location of the parts of an object for interaction. This
data structure presents several advantages with
regard to other space decompositions and hierarchies
of bounding volumes based on rectangular cells,
mainly regarding the obtaining of the related
triangles, the accurate level of detail, and with a
better visual appearance and comfort in the
interaction.
The system obtained is able to perform an object
interaction in real time, including collision detection
with devices, by using certain control points on the
device in order to obtain the triangles related to the
interaction.
ACKNOWLEDGEMENTS
This work has been partially funded by the Ministry
of Science and Technology of Spain and the
European Union by means of the ERDF funds, under
the research projects TIN2004-06326-C03-03 and
TIN2007-67474-C03-03, and by the Consejería de
Innovacion, Ciencia y Empresa of the Junta de
Andalucía under the research project P06-TIC-
01403.
REFERENCES
Ayala, D., Brunet, P., Juan, R., Navazo, I., 1985. Object
representation by means of nonminimal division
quadtrees and octrees. ACM Trans. on Graphics 4, 1.
Burdea, G.C., Coiffet, P., 2003. Virtual Reality
Technology. Wiley-IEEE.
Ericson, C., 2005. Real-Time Collision Detection. Morgan
Kaufmann publishers, Elsevier.
Feito, F.R., Torres, J.C., 1997. Inclusion test for general
polyhedra. Computers & Graphics 22, 1, 23–30.
Gottcshalk, S., Lin, M.C., Manocha, D., 1996. OBB-Tree:
A hierarchical structure for rapid interference
detection. Proc. of the ACM SIGGRAPH 96, 171–180.
Hubbard, P.M., 1996. Approximating polyhedra with
spheres for time-critical collision detection. ACM
Transactions on Graphics 15, 3, 179 – 210.
Jiménez, J.J., Feito, F.R., Segura, R.J., Ogáyar, C.J., 2006.
Particle Oriented Collision Detection using Simplicial
Coverings and Tetra-Trees. Computer Graphics
Forum 25, 1, 53 – 68.
Samet, H., 1990. The Design and Analysis of Spatial Data
Structures. Addison-Wesley.
Schneider, M., Klein, R., 2007. Efficient and accurate
rendering of vector data on virtual landscapes. Journal
of WSCG 15, 1, 59 – 65.
Sherman, W.R., Craig, A.B., 2003. Understanding Virtual
Reality: interface, application and design. Morgan
Kaufmann.
Van den Bergen, G., 2004. Collision Detection in
interactive 3D Environments. Morgan Kaufmann
publishers, Elsevier.
GRAPP 2008 - International Conference on Computer Graphics Theory and Applications
438