CN102521792A - Method for optimizing skeletal animation reusing and memory usage - Google Patents

Method for optimizing skeletal animation reusing and memory usage Download PDF

Info

Publication number
CN102521792A
CN102521792A CN2011103625059A CN201110362505A CN102521792A CN 102521792 A CN102521792 A CN 102521792A CN 2011103625059 A CN2011103625059 A CN 2011103625059A CN 201110362505 A CN201110362505 A CN 201110362505A CN 102521792 A CN102521792 A CN 102521792A
Authority
CN
China
Prior art keywords
animation
data
bone
skeleton
new
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2011103625059A
Other languages
Chinese (zh)
Inventor
戚军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN2011103625059A priority Critical patent/CN102521792A/en
Publication of CN102521792A publication Critical patent/CN102521792A/en
Pending legal-status Critical Current

Links

Abstract

The invention relates to a skeletal animation reusing method, in particular to a method for optimizing the skeletal animation reusing and the memory usage, and belongs to the field of computer graphics. The mode of carrying out logic blocking on animation data is adopted to carry out recombination on motion data of different skeletons and novel skeletal animations which completely do not need to be fused and calculated are output; the newly formed animations occupy a small memory and most of the novel skeletal animations consist of the existing small logic animation units; meanwhile, the novel skeletal animations are beneficial to the reduction of the workload of a graphic designer; and a great amount of novel skeletal animations are the reused skeletal animations, so that the animation loading speed is provided.

Description

A kind of skeleton cartoon is reused the optimization method with EMS memory occupation
Technical field
The present invention relates to a kind of skeleton cartoon method for reusing, be specifically related to a kind of skeleton cartoon and reuse the optimization method with EMS memory occupation, it belongs to field of Computer Graphics.
Background technology
Present role animation adopts the mode of key-frame animation or skeleton cartoon mode to realize usually.Key-frame animation; Through prepare one group of value (extracting in the frame of these values comparison key from animation sequence) with time correlation for the attribute that needs animation effect; And the value in the frame can be used these key values At All Other Times; The employing linear interpolation method calculates, thereby reaches the smooth animation effect of comparison.In the common 3D role animation, key-frame animation is that grid (Mesh) model to the personage adopts key frame to generate animation.Yet,, so need bigger storage space because key-frame animation all must be stored the position on all summits for each key frame.Comprise complex component, relate to for the role of a lot of key points for one, need bigger storage space.In addition, because the role is an articulate structure (not being a rigid body), the linear interpolation method on summit can not guarantee polygonal relevant dimension, and middle frame will twist body, thereby produces the distortion of grid.
In skeleton cartoon, the animated character is represented by two parts: a part is a series of skeleton that form level, i.e. skeleton (skeleton), and each skeleton data all comprises the animation data of himself; Another part is the skin (skin) that covers on skeleton, and promptly grid model is used to provide needed geometric model of animate and texture and material information.Through skeleton is carried out animation simulation, utilize skeleton control skin deformation just to realize role animation again.
Skeleton cartoon itself also has its shortcoming, and it is not high that it is mainly reflected in the animation reusability.Why reuse is low for animation, is because identical animation seldom exists.Although can merge dealing with problems of part through animation, but the animation fusion need be play a plurality of animations simultaneously, and just meaning needs additional calculation, does not utilize the lifting of frame number.
Summary of the invention
Defective in view of existing method existence; This reality invention is to provide a kind of bone to reuse the optimization method with EMS memory occupation; It adopts and animation data is carried out logic partitioning gets mode; To the method that the exercise data of different bones makes up once more, reached and improved bone and reduce skeleton cartoon storage space and the purpose that improves reuse.
To achieve these goals, a kind of bone of the present invention is reused the optimization method with EMS memory occupation, and implementation step is following:
(1) skeleton cartoon of all existing usefulness is added up, skeleton cartoon is carried out logic partitioning according to statistics;
(2), split according to the logic partitioning data all existing skeleton cartoons; The animation of a model splits into the animation of a plurality of little logical blocks exactly;
(3) in little logical block animation, seek and the new approaching skeleton cartoon unit of animation demand key frame;
(4) through the reorganization skeleton cartoon, form the brand-new property quoted skeleton cartoon according to the logical block piece, he only comprises index, does not have real data.
Said step 1 pair all skeleton cartoons have a standard to carry out logic groups; The formulation principle of its standard is following:
(1) be elder generation with minimum skew joint frame bone;
(2) be elder generation with the actual bone of human body;
Seek the zero offset number of times of each point through the facility of many all existing skeleton cartoons,, be divided into head to the people like our custom in conjunction with our rational faculty, health, arm, shank several sections are example, and personage's bone is carried out logic partitioning.
Work in the said step 3 further comprises:
(1) skeleton cartoon of new demand is made the key frame of number percent, confirmed matching value substantially;
(2) according to being worth substantially, the logic key frame behind the existing piecemeal is mated the debugging effect.
The coupling aspect of said close animation, we adopt following formula to carry out:
Approximation coefficient=(data-sample skeleton data of new animation bone 1) * (data-sample skeleton data of new animation bone 1)+(data-sample skeleton data of new animation bone 2) * (data-sample skeleton data of new animation bone 2) ... .. (data-sample skeleton data of new animation bone n) * (data-sample skeleton data of new animation bone n);
What adopt here is Euclidean distance, the reaction of his image 2 vectors, i.e. the direct deviation of the animation data of bone; We formulate the accurate degree that we mate animation through control deviation.
(3) when finding that all logic partitionings do not satisfy the animation of current logic partitioning, import new logical block to enrich the animation logical base by the art designing.
The invention has the advantages that: adopt this that animation data is carried out logic partitioning and get mode, the exercise data of different bones is made up once more, export completely newly, need not merge the skeleton cartoon of calculating fully; The new animation that forms takies internal memory seldom, and he is made up of existing little logic animation unit major part, and he also helps reducing art designing's workload simultaneously, owing to much reuse the speed that provides animation to load.
Embodiment
A kind of bone is reused the optimization method with EMS memory occupation, and implementation step is following:
(1) skeleton cartoon of all existing usefulness is added up, skeleton cartoon is carried out logic partitioning according to statistics;
(2), split according to the logic partitioning data all existing skeleton cartoons; The animation of a model splits into the animation of a plurality of little logical blocks exactly;
(3) in little logical block animation, seek and the new approaching skeleton cartoon unit of animation demand key frame;
(4) through the reorganization skeleton cartoon, form the brand-new property quoted skeleton cartoon according to the logical block piece, he only comprises index, does not have real data.
Said step 1 pair all skeleton cartoons have a standard to carry out logic groups; The formulation principle of its standard is following:
(3) be elder generation with minimum skew joint frame bone;
(4) be elder generation with the actual bone of human body;
Seek the zero offset number of times of each point through the facility of many all existing skeleton cartoons,, be divided into head to the people like our custom in conjunction with our rational faculty, health, arm, shank several sections are example, and personage's bone is carried out logic partitioning.
Work in the said step 3 further comprises:
(1) skeleton cartoon of new demand is made the key frame of number percent, confirmed matching value substantially;
(2) according to being worth substantially, the logic key frame behind the existing piecemeal is mated the debugging effect.
The coupling aspect of said close animation, we adopt following formula to carry out:
Approximation coefficient=(data-sample skeleton data of new animation bone 1) * (data-sample skeleton data of new animation bone 1)+(data-sample skeleton data of new animation bone 2) * (data-sample skeleton data of new animation bone 2) ... .. (data-sample skeleton data of new animation bone n) * (data-sample skeleton data of new animation bone n);
What adopt here is Euclidean distance, the reaction of his image 2 vectors, i.e. the direct deviation of the animation data of bone; We formulate the accurate degree that we mate animation through control deviation.
(3) when finding that all logic partitionings do not satisfy the animation of current logic partitioning, import new logical block to enrich the animation logical base by the art designing.
Implementation process of the present invention is divided into: the logic bone splits module 1, the animation logic splits module 2, new animation demand module 3 and animation frame module 4; Said logic bone splits module 1: output is as the set of each bone that splits point; Said animation logic splits module 2: according to the output of module 1, promptly bone divides into groups current skeleton cartoon is split, and splits its skeleton cartoon by a completion, forms the skeleton cartoon of group one by one; Said new animation demand module 3: in the logic animation library, search close frame, make non-existent new logic frame; Said animation frame module 4: form brand-new animation frame by the logical frame of each sub-module.
At first split module 1 and will have the bone fractionation now, form the set that splits each skeleton point of back through the logic bone; Split module 2 through the animation logic, divide into groups current skeleton cartoon is split, split its skeleton cartoon by a completion according to bone; Form the skeleton cartoon of group one by one; Through new animation demand module 3, in the logic animation library, searching close frame, make non-existent new logic frame; Through animation frame module 4, the logical frame of each sub-module is formed brand-new animation frame at last.

Claims (3)

1. a bone is reused the optimization method with EMS memory occupation, and implementation step is following:
(1) skeleton cartoon of all existing usefulness is added up, skeleton cartoon is carried out logic partitioning according to statistics;
(2), split according to the logic partitioning data all existing skeleton cartoons; The animation of a model splits into the animation of a plurality of little logical blocks exactly;
(3) in little logical block animation, seek and the new approaching skeleton cartoon unit of animation demand key frame;
(4) through the reorganization skeleton cartoon, form the brand-new property quoted skeleton cartoon according to the logical block piece, he only comprises index, does not have real data.
2. a kind of bone according to claim 1 is reused the optimization method with EMS memory occupation, it is characterized in that: said step 1 pair all skeleton cartoons have a standard to carry out logic groups; The formulation principle of its standard is following:
(1) be elder generation with minimum skew joint frame bone;
(2) be elder generation with the actual bone of human body;
Seek the zero offset number of times of each point through the facility of many all existing skeleton cartoons,, be divided into head to the people like our custom in conjunction with our rational faculty, health, arm, shank several sections are example, and personage's bone is carried out logic partitioning.
3. a kind of bone according to claim 1 is reused the optimization method with EMS memory occupation, it is characterized in that: the work in the said step 3 further comprises:
(1) skeleton cartoon of new demand is made the key frame of number percent, confirmed matching value substantially;
(2) according to being worth substantially, the logic key frame behind the existing piecemeal is mated the debugging effect;
The coupling aspect of said close animation, we adopt following formula to carry out:
Approximation coefficient=(data-sample skeleton data of new animation bone 1) * (data-sample skeleton data of new animation bone 1)+(data-sample skeleton data of new animation bone 2) * (data-sample skeleton data of new animation bone 2) ... .. (data-sample skeleton data of new animation bone n) * (data-sample skeleton data of new animation bone n);
What adopt is Euclidean distance, the reaction of his image 2 vectors, i.e. the direct deviation of the animation data of bone; We formulate the accurate degree that we mate animation through control deviation;
(3) when finding that all logic partitionings do not satisfy the animation of current logic partitioning, import new logical block to enrich the animation logical base by the art designing.
CN2011103625059A 2011-11-16 2011-11-16 Method for optimizing skeletal animation reusing and memory usage Pending CN102521792A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011103625059A CN102521792A (en) 2011-11-16 2011-11-16 Method for optimizing skeletal animation reusing and memory usage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011103625059A CN102521792A (en) 2011-11-16 2011-11-16 Method for optimizing skeletal animation reusing and memory usage

Publications (1)

Publication Number Publication Date
CN102521792A true CN102521792A (en) 2012-06-27

Family

ID=46292697

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011103625059A Pending CN102521792A (en) 2011-11-16 2011-11-16 Method for optimizing skeletal animation reusing and memory usage

Country Status (1)

Country Link
CN (1) CN102521792A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968815A (en) * 2012-12-05 2013-03-13 上海创图网络科技发展有限公司 Complex bone animation data transmission method based on texture data and implementation method thereof
CN105427365A (en) * 2015-11-26 2016-03-23 盛趣信息技术(上海)有限公司 Animation implementation method, system and animation updating method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968815A (en) * 2012-12-05 2013-03-13 上海创图网络科技发展有限公司 Complex bone animation data transmission method based on texture data and implementation method thereof
CN102968815B (en) * 2012-12-05 2016-01-06 上海创图网络科技发展有限公司 Based on complicated bone animation data transmission and its implementation of data texturing
CN105427365A (en) * 2015-11-26 2016-03-23 盛趣信息技术(上海)有限公司 Animation implementation method, system and animation updating method

Similar Documents

Publication Publication Date Title
Wang et al. Pixel2Mesh: 3D mesh model generation via image guided deformation
CN100530244C (en) Randomly topologically structured virtual role driving method based on skeleton
CN104463788B (en) Human motion interpolation method based on movement capturing data
Miao et al. Parallel learning: Overview and perspective for computational learning across Syn2Real and Sim2Real
US8681145B2 (en) Attribute transfer between computer models including identifying isomorphic regions in polygonal meshes
CN101727766B (en) Sign language news broadcasting method based on visual human
CN108665537A (en) The three-dimensional rebuilding method and system of combined optimization human body figure and display model
US20020000996A1 (en) Method for progressively constructing morphs
Dai et al. Skeletal animation based on BVH motion data
CN110310351A (en) A kind of 3 D human body skeleton cartoon automatic generation method based on sketch
CN103377484A (en) Method for controlling role expression information for three-dimensional animation production
CN102521860A (en) Skeletal animation implementation method
CN112785668A (en) Animation three-dimensional character action track fusion system
Li et al. Fast simulation of deformable characters with articulated skeletons in projective dynamics
US10410393B2 (en) Animating a virtual object in a virtual world
CN104658024A (en) Human face expression synthesis method based on characteristic point
CN102521792A (en) Method for optimizing skeletal animation reusing and memory usage
CN109801350B (en) Character motion simulation method based on example animation
Wang et al. Three-dimensional reconstruction based on improved marching cubes algorithm
CN115908651A (en) Synchronous updating method for three-dimensional human body model and skeleton and electronic equipment
CN105427363A (en) Storage method of bone animation file
CN105653638A (en) Movement retrieval method and device
CN109993818A (en) Three-dimensional (3 D) manikin moves synthetic method, device, equipment and medium
CN103699214A (en) Three-dimensional tracking and interacting method based on three-dimensional natural gestures
Papadogiorgaki et al. VSigns–a virtual sign synthesis web tool

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120627