Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Collision detection method implementing 3D animation model in display card, display card and system therefor

A technology of skeletal animation and collision detection, applied in the field of collision detection, which can solve the problems of high CPU usage and consumption of CPU resources.

Active Publication Date: 2009-06-17
TENCENT TECH CHENGDU
View PDF0 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the inventors have found that in the prior art, although the data calculation and processing when drawing the skeletal animation is completed by the GPU of the computer graphics card, the conversion of the skeletal animation cannot be returned to the CPU of the computer after being carried out in the GPU of the graphics card. Therefore, when performing collision detection on the skeletal animation implemented by the graphics card, the conversion of the skeletal animation must still be performed in the CPU. There are disadvantages of consuming CPU resources and high CPU usage

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
  • Collision detection method implementing 3D animation model in display card, display card and system therefor
  • Collision detection method implementing 3D animation model in display card, display card and system therefor
  • Collision detection method implementing 3D animation model in display card, display card and system therefor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] This embodiment provides a collision detection method for realizing a 3D skeletal animation model in a graphics card, through which the collision detection of the 3D skeletal animation model generated by the graphics card can be directly completed in the graphics card of the computer. The method is as follows: figure 1 As shown, it is used to detect whether the triangle of a 3D skeletal animation model intersects with the edge of another 3D skeletal animation model to detect whether two 3D skeletal animation models collide, specifically including the following steps:

[0041] Step 1: when the graphics card generates the triangle face vertex texture of the first 3D skeletal animation model, the information of the determined triangle face vertex is passed to the pixel shader of the graphics card as the information of the pixel point of the output triangle face texture;

[0042] Step 2: when the graphics card generates the edge and vertex texture of the second 3D skeletal a...

Embodiment 2

[0057]This embodiment provides another collision detection method for implementing a 3D skeleton animation model in a graphics card, which is to detect whether the triangle of a 3D skeleton animation model intersects with the triangle of another 3D skeleton animation model in the graphics card to detect two 3D skeletons Whether the animation model collides, the method is as figure 2 As shown, it specifically includes the following steps:

[0058] Step 21: when the graphics card generates the triangle face vertex texture of the first 3D skeletal animation model, the information of the determined triangle face vertex is passed to the pixel shader of the graphics card as the pixel point information of the first 3D skeletal animation model triangle face texture;

[0059] Step 22: when the graphics card generates the triangle face vertex texture of the second 3D skeletal animation model, the information of the determined triangle face vertex is passed to the pixel shader of the gr...

Embodiment 3

[0062] This embodiment provides yet another collision detection method for realizing a 3D skeletal animation model in a graphics card, which is to detect whether the edge of a 3D skeletal animation model intersects with the triangle of another 3D skeletal animation model in the graphics card to detect two 3D skeletons Whether the animation model collides, the method is as image 3 As shown, it specifically includes the following steps:

[0063] Step 31: when the graphics card generates the edge and vertex texture of the first 3D skeletal animation model, the information of the determined edge and vertex is passed to the pixel shader of the graphics card as the information of the pixel point of the output edge texture;

[0064] Step 32: when the graphics card generates the triangle face vertex texture of the second 3D skeletal animation model, the information of the determined triangle face vertices is passed to the pixel shader of the graphics card as the pixel point informati...

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 a collision detection method for realizing 3D skeleton animation in display card, a display card and a system therefore, belonging to computer graphic technical field. The method comprises: in the generation of triangle surface top point texture or edge top point texture of a first 3D skeleton animation model, transmitting the determined information of the triangle surface top point or the edge top points to a pixel coloring device of the display card; in the generation of edge top point texture or triangle surface top point texture of a second 3D skeleton animation model, transmitting the determined information of the edge top point or the triangle surface top point to the pixel coloring device of the display card; using the pixel coloring device of the display card to output the crossed pixel points of the triangle surface or edge of the first 3D skeleton animation model and the edge or triangle surface of the second 3D skeleton animation model; inquiring if there is pixel point output of the pixel coloring device of the display card, thinking there is collision between the first 3D skeleton animation model and the second 3D skeleton animation model. The method utilizes display card to complete collision detection of generated 3D skeleton animation models, to save CPU resource and reduce CPU utility.

Description

technical field [0001] The invention relates to the field of computer drawing processing, in particular to a collision detection method for realizing a 3D skeletal animation model in a graphics card, a graphics card and a system. Background technique [0002] At present, along with the raising of computer graphics processing technology, the interface of computer game becomes more and more beautiful, and 3D game (three-dimensional game) is more subject to the favor of the player because of its scene and the characteristics of lifelike image of fighting scene. In 3D games, in order to simulate real fighting scenes of characters, it is often necessary to perform a large amount of 3D animation drawing processing on the computer running the 3D game, which makes the amount of data calculation during drawing larger. In the past, these data calculations were all performed by the computer The central processing unit CPU completes the processing and then transmits it to the graphics c...

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): G06T15/70G06T1/00G06T13/20
Inventor 刘皓
Owner TENCENT TECH CHENGDU
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products