Analysis of collision detection algorithms in three-dimensional virtual environments
DOI:
https://doi.org/10.34185/1562-9945-4-153-2024-11Keywords:
collision detection, 3D gaming algorithms, computer graphics, R trees, bounding boxes, performance benchmark, innovations, model processing.Abstract
The problem addressed in this paper concerns the real-time detection of collisions in virtual environments, which can consume a significant portion of computational re-sources, particularly in complex simulations with numerous objects. Ensuring a minimum frame rate of 30 FPS is crucial for user-friendly simulations. The focus is on the narrow phase of collision detection, where objects in close proximity are examined for potential collisions. This paper proposes a collision detection algorithm leveraging Directed Bounding Parallels (AABB) R-tree structure and Oriented Bounding Parallelepiped Inter-section (OAABB) method to address this phase efficiently. Experimental results demon-strate the effectiveness of the algorithm in detecting intersections with high interaction rates. Various publicly available toolkits exist for narrow phase collision detection, em-ploying different bounding volume hierarchies and constraint volumes. Comparing these approaches is challenging due to performance variations influenced by factors such as object shapes, contact types, and model sizes. Nonetheless, these algorithms are crucial for accurately detecting collisions in virtual environments and gaming applications. Bounding Volume Hierarchies (BVH), commonly used for collision detection, organ-ize object geometry and improve performance by reducing test pair numbers through vol-ume constraints. The proposed algorithm utilizes R-tree hierarchies of directed bounding parallelepipeds and OAABB to enhance collision detection efficiency by minimizing up-date and intersect operations. The choice of constraint volume type impacts collision de-tection performance, with oriented parallelepipeds offering faster intersections. To expedite collision detection, each feature is represented by an R-tree data struc-ture in its local coordinate system. Hierarchical trees are constructed by grouping adja-cent surfaces, with leaves indicating surface geometry. Additionally, R-trees are em-ployed to spatially organize triangles within surfaces to quickly discard non-intersecting triangles. The algorithm leverages OAABB, a concept involving the common volume between two oriented bounding parallelepipeds, to filter out primitives that cannot intersect. Tra-versal algorithms are utilized to reduce the number of node visits, addressing inefficien-cies observed in traditional schemes. OAABB contributes significantly to reducing volume refresh operations. Experimental evaluations demonstrate the proposed algorithm's efficacy in real-world industrial applications, achieving interactive performance. Comparisons with al-ternative methods highlight the algorithm's effectiveness in collision detection. Overall, the proposed approach offers a robust solution to the narrow phase collision detection problem in virtual environments.
References
Review of algorithms for 3D object collision detection. Access mode: https://www.inesc-id.pt/ficheiros/publicacoes/7101.pdf
Algorithms for broad-phase collision detection. Access mode: https://d2l.ai/chapter_computer-vision/bounding-box.html
Classical hierarchical collision detection scheme. Access mode: https://cgvr.cs.uni-bremen.de/papers/wscg03/wscg_ext.pdf
[Zachmann03] G. Zachman, and G. Knittel, "An Architecture for Hierarchical Col-lision Detection," Proceedings of WSCG' 2003, the 11th International Conference in Central Europe on Computer Graphics, Visualization and Computer Vision'2003, Czech Republic, 2003.
Efficient operations with R-trees. Access mode: https://www.bartoszsypytkowski.com/r-tree/
Object intersection search using R-trees. Access mode: https://www.researchgate.net/publication/236611860_A_Collision_Detection_Algorithm_for_Polygonal_Models_that_uses_Sequential_and_Parallel_Techniques_for_Improving_Performance
[Guige03] Guige, P. and Devillers, O., 2003. Fast and Robust Triangle-Triangle Overlap Test using Orientation Predicates. Journal of Graphics Tools, 8, 1, 25-42
Review of Siemens Kineo application. Access mode: https://plm.sw.siemens.com/en-US/plm-components/kineo/kineoworks/
Downloads
Published
Issue
Section
License
Copyright (c) 2024 System technologies
This work is licensed under a Creative Commons Attribution 4.0 International License.