Unlock instant, AI-driven research and patent intelligence for your innovation.

Compression method and device for role play

A compression device and role technology, applied in the field of data processing, can solve the problem of occupying a large storage space and achieve the effect of reducing the memory of the mobile terminal

Active Publication Date: 2015-06-24
BEIJING PIXEL SOFTWARE TECH
View PDF4 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a character animation compression method and device to solve the problem that character key frame animation games occupy a large storage space

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
  • Compression method and device for role play
  • Compression method and device for role play
  • Compression method and device for role play

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] The embodiment of the present invention provides a character animation compression method, which is suitable for compressing character key frame animation games, such as figure 1 As shown, it specifically includes the following steps:

[0035] Step S101, respectively collect the data increment of each skeleton data of the current frame relative to each skeleton data of the previous frame.

[0036] In step S101, due to the continuity of the key frame animation, the action generated during the movement from the bone position in the previous frame to the bone position in the current frame can be regarded as the difference between the bone action in the current frame and the bone action in the previous frame. The relative action increment between them. The current skeletal motion can be obtained by superimposing the relative motion increment of the previous frame skeletal motion. Therefore, collecting the data increment of each skeleton data of the current frame relative ...

Embodiment 2

[0043] Embodiments of the present invention provide a character animation compression method on the basis of the above embodiments, such as image 3 shown, including:

[0044] Step S301, respectively collecting data increments of each skeleton data of the current frame relative to each skeleton data of the previous frame.

[0045] Step S302, converting the type of the data increment to compress the data increment.

[0046] Step S303, compressing the converted data increments into a Zip format, so as to compress the converted data increments.

[0047] In step S303, the WinRAR compression software can be used to compress the converted data increments into Zip format. If the converted data increments are binary codes, the WinRAR compression software can compress the binary codes, and the adjacent 0,1 Code reduction, for example, if there is 000000, it can be changed to 60 with 6 zeros to reduce the memory occupied by the converted data increment.

[0048] The embodiment of the...

Embodiment 3

[0050] An embodiment of the present invention provides a compression device for character animation, such as Figure 4 As shown, the device specifically includes: a data increment acquisition module 41 and a first compression module 42 .

[0051] Among them, the data increment acquisition module 41 is used to respectively collect the data increments of each skeleton data of the current frame relative to the respective skeleton data of the previous frame; the first compression module is used to convert the type of data increments to compress data increments. quantity.

[0052]In the data incremental acquisition module 41, due to the continuity of the key frame animation, the action generated during the movement from the bone position in the previous frame to the bone position in the current frame can be regarded as the difference between the bone action of the current frame and the previous frame. The relative motion delta between frame bone motions. The current skeletal moti...

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 embodiment of the invention discloses a compression method and device for role play. The method includes the steps that data increments of bone data of a current frame relative to bone data of a previous frame are acquired; the types of the data increments are converted so that the data increments can be compressed. By the adoption of the compression method and device for the role play, a mobile terminal memory occupied by the role key frame animation play can be reduced.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of data processing, and in particular to a compression method and device for role games. Background technique [0002] With the development of science and technology, the game functions of mobile terminals are becoming more and more powerful. They are no longer games with simple pictures and simple rules such as "Tetris" and "Snake", but highly entertaining and interactive games. Character keyframe animation game. [0003] For character key frame animation games, the game character is composed of many bones, and each bone in each frame corresponds to a set of bone key frame position data and bone key frame rotation data. In order to restore the game character on the mobile terminal, it is necessary to store the number of bones of the game character and the bone key frame position data and bone key frame rotation data corresponding to each bone in the storage space of the mobile ter...

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): G06T13/40G06F9/44A63F13/355
Inventor 刘龙
Owner BEIJING PIXEL SOFTWARE TECH