Implementation method of real-time collision detection system

A technology of collision detection and collision model, applied in 2D image generation, image data processing, instruments, etc., can solve the problems of not being suitable for large-scale scenes and long preprocessing time, so as to reduce the calculation amount of collision detection, process efficiently, and meet The effect of high-volume and efficient calculation

Active Publication Date: 2012-06-20
BEIJING PIXEL SOFTWARE TECH
View PDF7 Cites 30 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But based on the collision detection of BSP tree, the generation of BSP tree requires a long preprocessing time, which is not suitable for calculation during loading; BSP division often produces polygons with three to four times the number of original polygons. Considering that there is no need to save normals, colors, The resource capacity of uv and other information will also increase by nearly double, so it is not suitable for dealing with collisions in large scenes

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Implementation method of real-time collision detection system
  • Implementation method of real-time collision detection system
  • Implementation method of real-time collision detection system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0070] figure 1 It shows the implementation method flow of a real-time collision detection system proposed by the embodiment of the present invention, including the following steps:

[0071] Step 101: Divide the scene into quadtrees;

[0072] Step 102: Make a collision model with a logical level of objects that need to collide in the scene;

[0073] Step 103: Generate the model data file of the collision model of the scene and the quadtree information file of the quadtree information of the scene;

[0074] Step 104: Read the quadtree information file, create a quadtree for the management model, read the model data file, read the triangle data in the collision model according to the number of collision models, create an array for saving the triangle data, and generate Aligned Axis Bounding Box (AABB, Aligned Axis Bounding Box) of the collision model, sorts the collision model according to the longest coordinate axis, and then builds the AABB tree;

[0075] Step 105: Detect t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides an implementation method of a real-time collision detection system. The implementation method comprises the following steps of: (A) segmenting a scene into a quadtree, making collision models with logic grades of objects needed to be in collision in the scene, and generating model data files of the collision models and information files of the quadtree and nodes of the scene; (B) reading the information files of the quadtree and the nodes, creating a quadtree of a management model, reading the model data files, reading triangle data from the collision models according to the number of the collision models, creating and storing the digit groups of the triangle data, generating an aligned axis bounding box (AABB) of the collision models, sequencing the collision models according the longest coordinate axis, and then creating an AABB tree; and (C) detecting the collisions between rays in a ray detection distance and the quadtree, and the collisions among the rays, leaf nodes of the quadtree, the AABB tree and triangles, at a client and the server side, wherein the closest collision points are tested at the client, and whether the collision exists or not is judged at the server side.

Description

technical field [0001] The invention relates to the technical fields of computer games and virtual reality, in particular to a method for realizing a real-time collision detection system. Background technique [0002] Collision detection techniques are used to determine whether one or more pairs of objects occupy the same area at the same moment in a given time domain. It is one of the unavoidable problems in the fields of robot motion planning, computer simulation, virtual reality, games and so on. [0003] In today's large-scale 3D scene games, real-time collision detection technology is very common. It can make the performance of various effects in the game more accurate and the player's experience more realistic, but the efficiency of real-time detection of complex scenes is sometimes not satisfactory. Affect the overall performance of the game and affect the gaming experience. For some large-scale shooting online games, if only the detection of the client is performed...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06T11/00
Inventor 张明阳龚静
Owner BEIJING PIXEL SOFTWARE TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products