Hybrid image-based collision detection in Java 3D

  • Authors:
  • Gaoyu Xiao;Aamer Aziz;Wieslaw L. Nowinski

  • Affiliations:
  • Computer Integrated Medical Intervention Laboratory, Nanyang Technological University, Singapore 639798;Singapore Bioimaging Consortium, Agency for Science, Technology and Research, Singapore 138671;Singapore Bioimaging Consortium, Agency for Science, Technology and Research, Singapore 138671

  • Venue:
  • Software—Practice & Experience
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

Collision detection is highly important in computer graphics and virtual reality. Most collision detection methods are object-based, relying on testing the geometrical interference of objects, and their performance therefore depends on the geometrical complexity of the objects. Recently, image-based methods have gained increasing acceptance for their simplicity in implementation, robustness with respect to the object geometry, and the potential to distribute the computational burden onto graphics hardware. However, all existing image-based methods require direct calls to OpenGL, but so far there is no direct way to access OpenGL through the Java 3D API. Although Java 3D provides its own built-in collision detection classes, they are either incorrect or inefficient. In this paper, we present a hybrid image-based collision detection method in Java 3D, which incorporates the Java 3D built-in collision detection and the image-based collision detection in our specially devised scene graph. In addition, we take advantage of the fact that the 3D position of successive offscreen views (i.e. virtual views perceived by the probing object) does not change significantly and thereby reduce the occurrences of offscreen rendering, so that the collision detection becomes even faster (up to 50% in our case). Experimental results prove the correctness and efficiency of our method. Copyright © 2006 John Wiley & Sons, Ltd.