Parallel rigid body collision detection method and device based on sparse octree
A collision detection and rigid body technology, applied in the direction of drawing from basic elements, instruments, calculations, etc., can solve problems such as low efficiency and reduce the complexity of collision detection, and achieve the effect of improving efficiency and reducing computational overhead.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2022-07-29
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The invention belongs to the field of computer graphics and human-computer interaction, and in particular relates to a parallel rigid body collision detection method and device based on a sparse octree. Background technique
[0002] Octree is a very common data structure in the field of computer simulation and is widely used in collision detection, ray tracing, and simplification of 3D scenes. With the improvement of people's demand for simulation realism and frame rate, more and more simulation algorithms are not satisfied with the calculation of CPU, and start to use GPU to accelerate the solution in parallel. However, although the parallel computing speed of the GPU is relatively fast, the current GPU design architecture does not support recursive algorithms and dynamic memory allocation, resulting in a big difference in the implementation process of some GPU algorithms and CPU algorithms. Many complex data structures and algorithms are not suitabl...
Examples
Embodiment Construction
[0060] In order to make the above objects, features and advantages of the present invention more clearly understood, the present invention is described in detail below through specific implementations and accompanying drawings, but does not constitute a limitation of the present invention.
[0061] The hardware platform of the method of the invention adopts the CPU of the model Intel i7-8700, the main frequency is 3.2GHz, the NVIDIA GeForce GTX 1080Ti graphics card, and the video memory 8GB. The system program is written in C++, and the parallel computing part is accelerated by the CUDA language, and the program is compiled and executed with the help of Microsoft Visual Studio 2017. Open source libraries such as OpenGL and Freeglut are used in the development process.
[0062] The flow chart of the method of the present invention is as follows figure 1 As shown, the whole process is mainly divided into five parts. First, build a bounding box tree (including: AABB tree (axis-p...