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

Method and device for detecting pixel collisions in gpu-rendered animations on mobile devices

A mobile terminal and pixel technology, applied in animation production, image data processing, instruments, etc., can solve problems such as inability to obtain object pixels, poor game experience of players, and inaccurate collision detection, so as to improve the game experience of players and improve collision detection The effect of precision

Active Publication Date: 2015-11-18
4399 NETWORK
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Because it is accurate to the pixel level, it has the advantage of high collision detection accuracy, but because the collision detection algorithm is usually more complicated, it requires higher hardware requirements
[0004] However, for the GPU rendering animation on the mobile terminal, although the picture display effect is greatly improved, because the animation is rendered by the GPU, the pixels of the object cannot be obtained. Therefore, the above-mentioned pixel collision detection method cannot be used, and usually only rectangle collision detection can be used. Therefore, it has the problem of inaccurate collision detection. For various games, it will lead to the problem of poor game experience for players.

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
  • Method and device for detecting pixel collisions in gpu-rendered animations on mobile devices
  • Method and device for detecting pixel collisions in gpu-rendered animations on mobile devices

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The present invention is described in detail below in conjunction with accompanying drawing:

[0034] Such as figure 1 As shown, the present invention provides a method for detecting GPU rendering animation pixel collision on a mobile device, comprising the following steps:

[0035] S1, acquire the sequence diagram and configuration file of each object used in the GPU rendering animation generation process; wherein, the sequence diagram of each object includes a plurality of frame bitmaps; locate the frame bitmap of each object through the configuration file;

[0036] For the convenience of storage, each frame bitmap of each object can be stored in one picture; the configuration file is composed of multiple configuration tables, and each configuration table is used to record the position information of each frame bitmap of an object. Among them, each frame bitmap is surrounded by the minimum rectangular frame; the configuration table can record the name of each frame b...

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 method for detecting GPU (Graphics Processing Unit) rendering animation pixel collision on mobile terminal equipment. The method comprises the following steps of when the pixel collision of an object A and an object B needs to be detected, obtaining a transformation matrix A and a position A corresponding to the object A at the current moment, and also obtaining a transformation matrix B and a position B corresponding to the object B; by reading a configuration file, obtaining a frame bitmap A of the object A in the current frame and a frame bitmap B of the object B in the current frame; by combining the frame bitmap A, the transformation matrix A and the position A, generating a simulated native bitmap A; by combining the frame bitmap b, the transformation matrix B and the position B, generating a simulated native bitmap B; by comparing the pixels of the native bitmap A and the native bitmap B, whether the pixel collision of the native bitmap A and the native bitmap B occurs or not is detected, therefore whether the pixel collision of the object A and the object B at the current moment occurs or not is directly detected. The collision detection accuracy can be effectively improved, thus the game experience of players is enhanced.

Description

technical field [0001] The invention belongs to the technical field of mobile terminals, and in particular relates to a method and a device for detecting pixel collision of animation rendered by a GPU on a mobile terminal device. Background technique [0002] GPU rendering is pixel rendering or pixel filling. Through GPU rendering, the graphics display effect can be improved, and at the same time, the CPU burden can be reduced. Especially for mobile terminals such as smartphones, GPU rendering technology has been widely used. [0003] For terminal equipment such as computers, animation collision detection methods mainly include: (1) Rectangular collision detection method: each object records the coordinates of the upper left corner and the length and width of the smallest rectangle that can frame itself. By judging the rectangle and Whether there is overlap between the rectangles, so as to judge whether the two objects collide. This method has the problem of low collision ...

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 Patents(China)
IPC IPC(8): G06T13/00
Inventor 丁志琨
Owner 4399 NETWORK
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