The Research on GPU Based Collision Detection Algorithm
- Author
- ShiQi
- Advisor
- XiaoDeGui
- School
- Hunan University
- Major
- Information and Communication Engineering
- Classification
- TP391.41 Image recognition device
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 348
- Citations
- 4
Abstract
Collision detection between two or more objects are used to determine whether to contact or penetrate, computer graphics, virtual reality, computer games, and CAD / CAM and other areas is a very important issue. After years of exploration, the researchers appear a lot more mature to a certain extent collision detection algorithm. However, with the application of three-dimensional model of the increasingly complex and interactive real-time and scene authenticity requirements to improve, to the efficiency of the collision detection algorithm put forward higher requirements. At the same time, the graphics processor Universal rapid development of computing technology, provides a new approach to the problem of real-time collision detection. In-depth analysis of existing collision detection algorithm based on the combination of general-purpose GPU computing platform CUDA design and improved collision detection algorithm from the following three aspects: First, calculate the angle of departure from the GPU Universal, is proposed based on GPU general-purpose computing collision detection algorithm. Mapped to GPU multi-threaded algorithm for an object between all the triangles of the triangle and the other object intersection test to determine whether a collision between two objects; CUDA platform will intersect test calculation to take advantage of the GPU's parallel computing ability. , the complete parallelization collision detection. Secondly, on the basis of the above algorithm, the introduction of a hierarchy tree is to improve the performance of the algorithm, to obtain a GPGPU-based real time collision detection algorithm. Algorithm to traverse a hierarchy of objects for collision detection between two objects, the bounding box tree, the triangle between the bounding box with another object intersection test, quickly removed the two objects clearly disjoint triangles will intersect the computational complexity from O (N2) down to O (N); intersection test then potentially intersecting triangles between two objects, collision detection results. All the intersection test calculations were performed by the GPU multithreaded parallel execution. The algorithm uses the idea of ??\Finally, based on the principle of CUDA programming optimization, the optimized algorithm GPU memory access and thread degree of parallelism. Memory access, effective use of CUDA shared memory mechanism, the global memory reads data from once a thread is reduced to once per block; threads degree of parallelism, computation and GPU computing power of the grid and The dimensions of the block for a reasonable allocation. Experimental results show that the GPGPU-based real-time collision detection algorithm, able to adapt to the collision detection between objects of arbitrary shape, and has a good real-time performance. Results of this research, the theoretical and practical significance of the real-time collision detection between objects, also played a role in promoting the development of GPU Computing.
Table of contents
Abstract 5-6
Abstract 6-10
the
illustration index 10-12
the
Schedule index 12-13
Chapter 1 Introduction 13-18
1.1 research background and significance 13
1.2 Collision Detection Overview 13-15
1.2.1 General method of collision detection 13-14
1.2.2 collision detection algorithm classification 14-15
1.3 related research 15-17
1.4 In this paper, the main work and organizational structure 17-18
Chapter 2 collision detection algorithm and GPU Computing 18-38
2.1 major collision detection algorithm 18-28
2.1.1 bounding box collision detection algorithm based on hierarchical 18-25
2.1.2 collision detection algorithm based on space partitioning 25-26
2.1.3 GPU-based collision detection algorithm 26-28
2.2 GPU General calculation 28-38
2.2.1 GPU technology development 28-31
2.2.2 GPU general computing technology 31-33
2.2.3 CUDA platform introduced 33-38
Chapter 3, a collision detection algorithm based on GPU Computing 38-48
3.1 Introduction 38-39
3.2 Algorithms 39
3.3 triangle texture mapping 39-40
3.4 triangle intersection test 40-43
3.5 intersect calculation to GPU multithreaded mapping 43-44
3.6 collision detection results to obtain 44
3.7 experiments and experimental results analysis 44-47
3.8 Summary 47-48
Chapter 4 GPGPU-based real-time collision detection algorithm 48-63
4.1 Introduction 48
4.2 Algorithms 48-50
4.3 algorithm pretreatment 50
4.3.1 BVH tree construction 50
4.3.2 triangle data to texture mapping 50
4.4 preliminary detection 50-55
4.4.1 hierarchical tree traversal 50-53
4.4.2 bounding box with a triangle intersecting calculated 53-54
4.4.3 intersect calculation to GPU multithreaded mapping 54-55
4.5 detailed detection 55-56
4.5.1 potential acquisition of intersecting triangles set 55-56
4.5.2 triangle intersection calculation 56
4.5.3 collision detection results to obtain 56
4.6 memory access and thread parallelism degree optimization 56-57
4.7 experiments and experimental results analysis 57-61
4.8 Summary 61-63
Summary and Outlook The 63-65
This work summarizes 63
Next Job Outlook 63-65
the
References 65-69
Acknowledgements 69-70
published in Appendix A degree during the academic catalog 70
Related dissertations
- Study on Optimization of hybrid bounding box collision detection algorithm based on
- Study on Method of Dual-Robot Coordination
- Security Interaction Strategy of RBAC Based on Reconcile Domain
- Optical Capture Based Development of Virtual Interaction System
- A Professional Technology Institute Virtual Design and Realization of the System
- Research and Develop on the Simulating System for Binocular Stereo Measurement
- Research on Model and Roam Technology of3D Scene Based on WEB
- Motion Simulation of Guide Wire in Virtual Intravascular
- Natural Landscape Simulation Research Based on Particle System
- The Research of Path Planning and Collision Detection Method in Virtual Battlefield
- Design and Implementation of Virtual Campus Roaming System
- Design and Realization of Virtual3D Scene Roaming System
- Research of Collison Detection Algorithm Based on Spatial Domain
- Research and Realization of Haptic Rendering Virtual Assembly System Based on Force Feed-back
- Research on Parallel Collision Detection Based on Delta3D
- The 3D dynamic simulation of cloth
- Visualization Technology of Wheat Growth
- Research on the Visual Simulation of Tree Motion in Wind and Rain
- Real time simulation of CUDA fluid and solid interaction based on complex shape
- The Research of Continuous Collision Detection