Research and Implementation of Collision Detection Algorithm in Three-dimensional Game

Author
LiuYi
Advisor
GaoShu
School
Wuhan University of Technology
Major
Computer Science and Technology
Classification
TP391.41 Image recognition device
Degree
Master's thesis
Year
2010
Downloads
264
Citations
3

Request the full text

Abstract

It is quite challenging to detect collision between objects in domains of virtual reality, computer animation, computer graphics, computer game, etc. Its basic task is to identify whether a contact or penetration has happened in virtual environment, the reality and enhanced immersion of which depend largely on fast and exact collision detection. A huge number of objects with complicate geometries exist in such environment that collision detection often takes up a lot of storage space and processing time, so the efficiency of collision detection exerts a very great influence to real-time and authenticity of virtual environment.Two rigid object collision detection problems in three-dimensional games are researched in this paper, including collision detection between dynamic objects and static objects, and that between dynamic objects and dynamic objects. According to the existing collision detection algorithms, a corresponding solution is proposed for the two collision detections for three-dimensional games.(1) The general framework of collision detection algorithms is described and some classification and comparison are done as well. AABB hierarchical bounding volume is adopted during detailed testing phase, after optimizing its storage structure.(2) As for the first type of detection, an algorithm that combines Space subdivision algorithm with hierarchical bounding volume algorithm is proposed, identifying potential intersection with BSP space subdivision algorithm in the first detection phase, while AABB hierarchical bounding volume in the coming detailed testing phase.Moreover, surrounded by a ball-based approach is used to optimize the BSP tree construction.(3) While for the collision detection between dynamic objects and dynamic objects, an algorithm combining Projection Interval Ranking Method with hierarchical bounding volume Method is designed. In the first testing phase, AABB projection range ranking algorithm is used to identify potential intersection. And then, AABB hierarchical bounding volume is used in the detailed testing phase. Temporal and spatial correlation is introduced to the whole process of collision detection to accelerate collision detection.(4) Finally, the efficiency of the algorithm is proved by experimental results.

Table of contents

Abstract 4-5 Abstract 5-10 Chapter 1 Introduction 10-16 1.1 Background and Significance 10 - 11 1.2 research status 11-13 1.3 dissertation research 13-14 1.4 papers organizational structure 14-15 < br /> 1.5 Chapter Summary 15-16 Chapter 2 collision detection technology infrastructure 16-26 2.1 collision detection Overview 16 2.2 collision detection algorithm classification 16-18 2.2.1 time-based collision detection algorithm domain classification 17-18 2.2.2 spatial domain -based collision detection algorithm classification 18 2.3 space partition method 18-20 2.3.1 evenly split 19 2.3.2 octree subdivision 19-20 2.3.3 binary split 20 2.4 hierarchical bounding box method 20-23 2.4.1 bounding sphere 21 <br / > 2.4.2 axial bounding box 21-22 2.4.3 oriented bounding box 22-23 2.4.4 discrete direction polyhedron 23 <br / > 2.5 basic geometric elements intersection test 23-25 ?? 2.6 Chapter Summary 25-26 Chapter 3 dimensional game collision detection 26-36 3.1 three-dimensional game collision detection classification 26-27 3.2 general framework for collision detection algorithm 27 3.3 three-dimensional game analysis and comparison of two types of collision detection 27-28 3.4 BVH algorithm selection 28-29 3.5 AABB bounding box hierarchy tree construction and updating 29-35 3.5.1 AABB bounding box hierarchy tree degree choices 29-30 3.5.2 AABB bounding box hierarchy tree construction 30-32 3.5.3 AABB bounding volume hierarchies tree update 32-33 3.5.4 AABB bounding box hierarchy tree storage optimization 33-34 3.5.5 AABB bounding box hierarchy tree intersection test 34-35 3.6 Summary 35-36 Chapter 4 dynamic objects and static objects collision detection 36-47 4.1 algorithm framework 36-37 4.2 static scene management 37-38 4.3 BSP tree management static scene 38-41 4.4 BSP tree construction 41 -42 4.5 BSP tree split plane selected improvement 42-45 4.6 improved BSP combined with AABB collision detection 45-46 4.7 of this chapter Summary 46-47 Chapter 5 dynamic objects and dynamic objects collision detection 47-53 5.1 algorithm framework 47-48 5.2 space correlation 48 5.3 AABB projection interval sort method 48-50 5.4 sorting process 50-51 5.5 sorting process optimization 51-52 5.6 Chapter Summary 52-53 Chapter 6 System design and experimental analysis 53-66 6.1 test environment to build 53 -54 6.1.1 OpenGL 53 6.1.2 3DS format 53-54 6.2 system framework 54-58 6.2.1 preprocessing stage 56 6.2.2 collision detection phase 56-57 6.2.3 collision response phase 57 6.2.4 drawing shows stage 57 6.2.5 function module execution flow 57-58 6.3 system implementation 58-63 6.3.1 main categories structure 59-61 6.3.2 algorithm code 61-63 6.4 experimental Analysis 63-65 6.4.1 exists only dynamic objects and dynamic objects collide 63-64 6.4.2 exists only dynamic objects and static objects collide 64 6.4.3 two kinds of collisions exist 64-65 6.4.4 analysis 65 6.5 Chapter Summary 65-66 Chapter 7 Summary and Outlook 66-67 <br / > 7.1 thesis work summarizes 66 7.2 job Outlook 66-67 Thanks 67-68 References 68-72 master's degree in school during the published papers 72

Related dissertations

  1. Study on Method of Dual-Robot Coordination
    OuYangFan ·South China University of Technology ·2013 ·Doctoral dissertation
  2. Security Interaction Strategy of RBAC Based on Reconcile Domain
    DaiJia ·Harbin Institute of Technology ·2012 ·Master's thesis
  3. Optical Capture Based Development of Virtual Interaction System
    ZhouXiaoYang ·Harbin Institute of Technology ·2012 ·Master's thesis
  4. A Professional Technology Institute Virtual Design and Realization of the System
  5. Research and Develop on the Simulating System for Binocular Stereo Measurement
  6. Research on Model and Roam Technology of3D Scene Based on WEB
    HeYingYing ·Harbin Engineering University ·2013 ·Master's thesis
  7. Motion Simulation of Guide Wire in Virtual Intravascular
    JieChengKai ·Beijing University of Technology ·2013 ·Master's thesis
  8. Natural Landscape Simulation Research Based on Particle System
  9. The Research of Path Planning and Collision Detection Method in Virtual Battlefield
    LiTeng ·Nanchang University of Aeronautics and ·2013 ·Master's thesis
  10. Design and Implementation of Virtual Campus Roaming System
  11. Design and Realization of Virtual3D Scene Roaming System
  12. Research of Collison Detection Algorithm Based on Spatial Domain
    LiZhen ·Hunan Normal University ·2013 ·Master's thesis
  13. Research and Realization of Haptic Rendering Virtual Assembly System Based on Force Feed-back
  14. Research on Parallel Collision Detection Based on Delta3D
    KouZhaoKun ·Harbin Engineering University ·2013 ·Master's thesis
  15. The 3D dynamic simulation of cloth
    Jia ·Liaoning Normal University ·2013 ·Master's thesis
  16. Visualization Technology of Wheat Growth
    SongWeiGuo ·Nanjing Agricultural College ·2013 ·Master's thesis
  17. Research on the Visual Simulation of Tree Motion in Wind and Rain
  18. Real time simulation of CUDA fluid and solid interaction based on complex shape
  19. The Research of Continuous Collision Detection
    ZhangLongTao ·Anhui University ·2014 ·Master's thesis
  20. The research of path planning collision free of large-scale group animation
    YangZengQiao ·Shandong Normal University ·2014 ·Master's thesis