CN112634409A - Custom animation curve generation method and device - Google Patents
Custom animation curve generation method and device Download PDFInfo
- Publication number
- CN112634409A CN112634409A CN202011584813.1A CN202011584813A CN112634409A CN 112634409 A CN112634409 A CN 112634409A CN 202011584813 A CN202011584813 A CN 202011584813A CN 112634409 A CN112634409 A CN 112634409A
- Authority
- CN
- China
- Prior art keywords
- animation
- interpolation algorithm
- key frames
- animation curve
- curve
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T13/00—Animation
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a method, a medium, equipment and a device for generating a custom animation curve, wherein the method comprises the following steps: acquiring a start-stop time period and key frame information of an animation curve to be generated, and segmenting the start-stop time period of the animation curve to be generated according to the key frame information to split the start-stop time period into a plurality of key frames, wherein the key frame information comprises time corresponding to each key frame and a state value corresponding to each key frame; acquiring an interpolation algorithm corresponding to every two adjacent key frames, generating an animation curve corresponding to every two adjacent key frames according to the interpolation algorithm, and splicing the animation curves between every two adjacent key frames to obtain a complete animation curve; therefore, the animation curve can be flexibly configured, and the animation is not solidified singly; therefore, the animation curve can be flexibly configured, and the animation is not solidified singly.
Description
Technical Field
The invention relates to the technical field of animation design, in particular to a custom animation curve generation method, a computer readable storage medium, computer equipment and a custom animation curve generation device.
Background
Animation is a process of changing a still picture into a moving picture by changing the position, effect, etc. of pictures of different frames, but in the process of changing the still picture into the moving picture, processing needs to be performed depending on animation curves.
In the related art, the animation frames of the existing animation curves all adopt preset fixed values, only a starting value and a terminal value need to be set during animation generation, different time points are transmitted, animation values on corresponding time points are obtained through the animation curves, and the mode causes that the animation curves cannot be set in a user-defined mode, so that the animation solidification is single.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the art described above. Therefore, an object of the present invention is to provide a method for generating a customized animation curve, which can flexibly configure an animation curve by selecting a corresponding interpolation algorithm between adjacent key frames to customize the animation curve, so that the animation is not solidified singly.
A second object of the invention is to propose a computer-readable storage medium.
A third object of the invention is to propose a computer device.
The fourth purpose of the invention is to provide a custom animation curve generation device.
In order to achieve the above object, an embodiment of a first aspect of the present invention provides a method for generating a custom animation curve, including the following steps: acquiring a start-stop time period and key frame information of an animation curve to be generated, and segmenting the start-stop time period of the animation curve to be generated according to the key frame information to split the start-stop time period into a plurality of key frames, wherein the key frame information comprises time corresponding to each key frame and a state value corresponding to each key frame; acquiring an interpolation algorithm corresponding to every two adjacent key frames, and generating an animation curve corresponding to every two adjacent key frames according to the interpolation algorithm; and splicing the animation curves between every two adjacent key frames to obtain a complete animation curve.
According to the method for generating the custom animation curve, firstly, the starting and ending time period and the key frame information of the animation curve to be generated are obtained, and the starting and ending time period of the animation curve to be generated is segmented according to the key frame information to be split into a plurality of key frames, wherein the key frame information comprises the time corresponding to each key frame and the state value corresponding to each key frame; then, acquiring an interpolation algorithm corresponding to every two adjacent key frames, generating an animation curve corresponding to every two adjacent key frames according to the interpolation algorithm, and finally splicing the animation curves between every two adjacent key frames to obtain a complete animation curve; therefore, the animation curve can be flexibly configured, and the animation is not solidified singly.
In addition, the method for generating a custom animation curve proposed by the above embodiment of the present invention may further have the following additional technical features:
optionally, obtaining an interpolation algorithm corresponding to each two adjacent key frames, and generating an animation curve corresponding to each two adjacent key frames according to the interpolation algorithm, includes: acquiring an interpolation algorithm corresponding to every two adjacent key frames, wherein adjustable parameters are correspondingly arranged in the interpolation algorithm; acquiring a parameter value corresponding to each adjustable parameter of the interpolation algorithm, and adjusting the corresponding adjustable parameter according to the parameter value to obtain an animation value corresponding to each two adjacent key frames; and generating an animation curve corresponding to each two adjacent key frames according to the corresponding animation value between each two adjacent key frames.
Optionally, the interpolation algorithm includes any one of a cubic curve interpolation algorithm and a spherical interpolation algorithm.
In order to achieve the above object, a second embodiment of the present invention provides a computer-readable storage medium, on which a custom animation curve generation program is stored, and when the custom animation curve generation program is executed by a processor, the custom animation curve generation method is implemented as described above.
According to the computer-readable storage medium of the embodiment of the invention, the user-defined animation curve generation program is stored, so that the processor can realize the user-defined animation curve generation method when executing the user-defined animation curve generation program, thereby realizing flexible configuration of animation curves and enabling the animation not to be singly solidified.
In order to achieve the above object, a third embodiment of the present invention provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method for generating a custom animation curve as described above.
According to the computer equipment provided by the embodiment of the invention, the computer program is stored through the memory, so that the processor can realize the self-defined animation curve generation method when executing the self-defined animation curve generation program, thereby realizing flexible configuration of animation curves and enabling the animation not to be singly solidified.
In order to achieve the above object, a fourth aspect of the present invention provides a custom animation curve generating device, including: the first acquisition module is used for acquiring the start-stop time period and the key frame information of the animation curve to be generated; the splitting module is used for performing segmentation processing on the start-stop time period of the animation curve to be generated according to the key frame information so as to split the start-stop time period into a plurality of key frames, wherein the key frame information comprises time corresponding to each key frame and a state value corresponding to each key frame; the second acquisition module is used for acquiring an interpolation algorithm corresponding to each two adjacent key frames; the calculation module is used for generating an animation curve corresponding to each two adjacent key frames according to the interpolation algorithm; and the splicing module is used for splicing the animation curves between every two adjacent key frames to obtain a complete animation curve.
According to the custom animation curve generation device provided by the embodiment of the invention, a first acquisition module is arranged for acquiring the start-stop time period and the key frame information of an animation curve to be generated, a splitting module is used for performing segmentation processing on the start-stop time period of the animation curve to be generated according to the key frame information so as to split the start-stop time period into a plurality of key frames, wherein the key frame information comprises the time corresponding to each key frame and the state value corresponding to each key frame, a second acquisition module is used for acquiring the interpolation algorithm corresponding to each two adjacent key frames, a calculation module is used for generating the animation curve corresponding to each two adjacent key frames according to the interpolation algorithm, and a splicing module is used for splicing the animation curve between each two adjacent key frames so as to obtain a complete animation curve; therefore, the animation curve can be flexibly configured, and the animation is not solidified singly.
In addition, the custom animation curve generation device proposed according to the above embodiment of the present invention may further have the following additional technical features:
optionally, obtaining an interpolation algorithm corresponding to each two adjacent key frames, and generating an animation curve corresponding to each two adjacent key frames according to the interpolation algorithm, includes: acquiring an interpolation algorithm corresponding to every two adjacent key frames, wherein adjustable parameters are correspondingly arranged in the interpolation algorithm; acquiring a parameter value corresponding to each adjustable parameter of the interpolation algorithm, and adjusting the corresponding adjustable parameter according to the parameter value to obtain an animation value corresponding to each two adjacent key frames; and generating an animation curve corresponding to each two adjacent key frames according to the corresponding animation value between each two adjacent key frames.
Optionally, the interpolation algorithm includes any one of a cubic curve interpolation algorithm and a spherical interpolation algorithm.
Drawings
FIG. 1 is a schematic flow chart diagram illustrating a custom animation curve generation method according to an embodiment of the invention;
FIG. 2 is a block diagram of a custom animation curve generation apparatus according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
In the related art, preset fixed values are provided for users in animation frames of all platforms, the styles are too single to meet the requirements of design classes (especially applications with high dynamic effect scene requirements), and the provided animation curves are too simple; according to the method for generating the custom animation curve, firstly, the starting and ending time period and the key frame information of the animation curve to be generated are obtained, and the starting and ending time period of the animation curve to be generated is segmented according to the key frame information to be split into a plurality of key frames, wherein the key frame information comprises the time corresponding to each key frame and the state value corresponding to each key frame; then, acquiring an interpolation algorithm corresponding to every two adjacent key frames, generating an animation curve corresponding to every two adjacent key frames according to the interpolation algorithm, and finally splicing the animation curves between every two adjacent key frames to obtain a complete animation curve; therefore, an interpolation algorithm is provided between adjacent key frames to obtain a corresponding animation curve, the corresponding animation curve can be obtained according to the customized interpolation algorithm, the whole animation process is customized, and the problem of single animation solidification is solved.
In order to better understand the above technical solutions, exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.
Fig. 1 is a schematic flow diagram of a custom animation curve generation method according to an embodiment of the present invention, and as shown in fig. 1, the custom animation curve generation method includes the following steps:
That is to say, the start-stop time period and the key frame information of the animation curve to be generated are firstly obtained, then the start-stop time period of the animation curve to be generated is split into a plurality of key frames according to the time point corresponding to each key frame in the key frame information, and in addition, each key frame in the plurality of key frames has a corresponding state value.
It should be noted that the key frame refers to a first frame at the beginning of a certain animation curve to be generated within a start-stop time period of the animation curve to be generated; the starting and stopping time period of the animation curve to be generated is the duration of the animation curve to be generated, which is input by a user and comprises a starting time point and an ending time point; the key frame information comprises a plurality of key frames which are input by a user and positioned at corresponding time points in the starting and stopping time period of the animation curve to be generated and a state value corresponding to each key frame; the state value may be a change state value of the length, width, height, displacement, transparency and other effects of the object to be animated, which is input by the user, and the object to be animated may be information such as an image and characters, which is input by the user.
As an example, it is assumed that the obtained starting and stopping time period of the animation curve to be generated is 12S, and the key frame information is 0S or 1; 3S, 1; 6S, 0.5,9S, 1; 12S, 1; then, according to the obtained key frame information, a key frame can be inserted in the 3 rd S between the starting time period and the ending time period of 0-12S, and the amplification of an object to be subjected to animation processing at the moment is 1 time of that of the previous key frame; inserting a key frame in the 6 th S between the starting time period and the stopping time period of 0-12S, wherein the object to be animated at the moment is reduced to the last key frame, namely 0.5 time of the object to be animated in the 3 th S; and inserting a key frame in the 9 th S between the start-stop time periods 0-12S, amplifying the object to be subjected to animation processing at the moment to be 0.5 times of the previous key frame, namely 6S, and so on, splitting the animation process into a plurality of key frames to enable each key frame to bear the state value at a certain moment.
102, obtaining an interpolation algorithm corresponding to each two adjacent key frames, and generating an animation curve corresponding to each two adjacent key frames according to the interpolation algorithm.
It should be noted that, a plurality of interpolation algorithms are preset, and a corresponding animation curve is generated according to the interpolation algorithm corresponding to each two adjacent key frames input by the user.
As an example, firstly, obtaining an interpolation algorithm corresponding to every two adjacent key frames, wherein the interpolation algorithm corresponds to an adjustable parameter; then obtaining a parameter value corresponding to each adjustable parameter of the interpolation algorithm, and adjusting the corresponding adjustable parameter according to the parameter value to obtain an animation value corresponding to each two adjacent key frames; and then generating an animation curve corresponding to each two adjacent key frames according to the corresponding animation value between each two adjacent key frames.
It should be noted that the interpolation algorithm may be any one of a cubic curve interpolation algorithm and a spherical interpolation algorithm, where the cubic curve interpolation algorithm uses a third-order bezier curve to process, and the spherical interpolation algorithm uses a quaternion slerp to process.
That is to say, in the process of generating animation, the animation curve can be configured, and the corresponding animation curve between adjacent key frames can be generated by using an interpolation algorithm between the adjacent key frames, wherein different difference algorithms can be used between different key frames, so that the animation is richer, and the animation curve can be customized according to the user preference, thereby solving the problem of single solidification of the animation.
And 103, splicing the animation curves between every two adjacent key frames to obtain a complete animation curve.
It should be noted that after a complete animation curve is obtained, when a user needs to customize an animation, a corresponding animation value can be obtained from the generated animation curve according to a time point to complete the animation.
In summary, according to the method for generating a custom animation curve in the embodiment of the present invention, first, a start-stop time period and key frame information of an animation curve to be generated are obtained, and the start-stop time period of the animation curve to be generated is segmented according to the key frame information to split the start-stop time period into a plurality of key frames, where the key frame information includes time corresponding to each key frame and a state value corresponding to each key frame; then, acquiring an interpolation algorithm corresponding to every two adjacent key frames, generating an animation curve corresponding to every two adjacent key frames according to the interpolation algorithm, and finally splicing the animation curves between every two adjacent key frames to obtain a complete animation curve; therefore, the animation curve can be flexibly configured, and the animation is not solidified singly.
In order to implement the above embodiments, an embodiment of the present invention provides a computer-readable storage medium, on which a custom animation curve generation program is stored, and the custom animation curve generation program, when executed by a processor, implements the custom animation curve generation method as described above.
According to the computer-readable storage medium of the embodiment of the invention, the user-defined animation curve generation program is stored, so that the processor can realize the user-defined animation curve generation method when executing the user-defined animation curve generation program, thereby realizing flexible configuration of animation curves and enabling the animation not to be singly solidified.
In order to implement the foregoing embodiments, an embodiment of the present invention provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the method for generating a custom animation curve as described above.
According to the computer equipment provided by the embodiment of the invention, the computer program is stored through the memory, so that the processor can realize the self-defined animation curve generation method when executing the self-defined animation curve generation program, thereby realizing flexible configuration of animation curves and enabling the animation not to be singly solidified.
In order to implement the foregoing embodiment, an embodiment of the present invention provides a custom animation curve generation device, as shown in fig. 2, where the custom animation curve generation device includes: a first acquisition module 10, a splitting module 20, a second acquisition module 30, a calculation module 40, and a stitching module 50.
The first obtaining module 10 is configured to obtain a start-stop time period and key frame information of an animation curve to be generated; the splitting module 20 is configured to perform segmentation processing on a start-stop time period of an animation curve to be generated according to key frame information to split the start-stop time period into a plurality of key frames, where the key frame information includes time corresponding to each key frame and a state value corresponding to each key frame, the second obtaining module 30 is configured to obtain an interpolation algorithm corresponding to each two adjacent key frames, the calculating module 40 is configured to generate an animation curve corresponding to each two adjacent key frames according to the interpolation algorithm, and the splicing module 50 is configured to perform splicing processing on the animation curve between each two adjacent key frames to obtain a complete animation curve.
In some embodiments, obtaining an interpolation algorithm corresponding to each two adjacent key frames, and generating an animation curve corresponding to each two adjacent key frames according to the interpolation algorithm includes: acquiring an interpolation algorithm corresponding to every two adjacent key frames, wherein adjustable parameters are correspondingly arranged in the interpolation algorithm; acquiring a parameter value corresponding to each adjustable parameter of an interpolation algorithm, and adjusting the corresponding adjustable parameter according to the parameter value to obtain an animation value corresponding to each two adjacent key frames; and generating an animation curve corresponding to each two adjacent key frames according to the corresponding animation value between each two adjacent key frames.
In some embodiments, the interpolation algorithm includes any one of a cubic curve interpolation algorithm and a spherical interpolation algorithm.
It should be noted that the foregoing explanation on the embodiment of the custom animation curve generation method is also applicable to the custom animation curve generation device of this embodiment, and is not repeated herein.
In summary, according to the apparatus for generating a custom animation curve in an embodiment of the present invention, a first obtaining module is configured to obtain a start-stop time period and key frame information of an animation curve to be generated, a splitting module is configured to perform a segmentation process on the start-stop time period of the animation curve to be generated according to the key frame information to split the start-stop time period into a plurality of key frames, where the key frame information includes a time corresponding to each key frame and a state value corresponding to each key frame, a second obtaining module is configured to obtain an interpolation algorithm corresponding to each two adjacent key frames, a calculating module is configured to generate an animation curve corresponding to each two adjacent key frames according to the interpolation algorithm, and a splicing module is configured to splice the animation curves between each two adjacent key frames to obtain a complete animation curve; therefore, the animation curve can be flexibly configured, and the animation is not solidified singly.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
In the description of the present invention, it is to be understood that the terms "first", "second" and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the present invention, unless otherwise expressly stated or limited, the first feature "on" or "under" the second feature may be directly contacting the first and second features or indirectly contacting the first and second features through an intermediate. Also, a first feature "on," "over," and "above" a second feature may be directly or diagonally above the second feature, or may simply indicate that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature may be directly under or obliquely under the first feature, or may simply mean that the first feature is at a lesser elevation than the second feature.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above should not be understood to necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.
Claims (8)
1. A method for generating a custom animation curve is characterized by comprising the following steps:
acquiring a start-stop time period and key frame information of an animation curve to be generated, and segmenting the start-stop time period of the animation curve to be generated according to the key frame information to split the start-stop time period into a plurality of key frames, wherein the key frame information comprises time corresponding to each key frame and a state value corresponding to each key frame;
acquiring an interpolation algorithm corresponding to every two adjacent key frames, and generating an animation curve corresponding to every two adjacent key frames according to the interpolation algorithm;
and splicing the animation curves between every two adjacent key frames to obtain a complete animation curve.
2. The method for generating custom animation curves as claimed in claim 1, wherein obtaining an interpolation algorithm corresponding to each two adjacent key frames, and generating animation curves corresponding to each two adjacent key frames according to the interpolation algorithm comprises:
acquiring an interpolation algorithm corresponding to every two adjacent key frames, wherein adjustable parameters are correspondingly arranged in the interpolation algorithm;
acquiring a parameter value corresponding to each adjustable parameter of the interpolation algorithm, and adjusting the corresponding adjustable parameter according to the parameter value to obtain an animation value corresponding to each two adjacent key frames;
and generating an animation curve corresponding to each two adjacent key frames according to the corresponding animation value between each two adjacent key frames.
3. The method of claim 2, wherein the interpolation algorithm comprises any one of a cubic curve interpolation algorithm and a spherical interpolation algorithm.
4. A computer-readable storage medium having stored thereon a custom animation curve generation program which, when executed by a processor, implements the custom animation curve generation method as recited in any one of claims 1 to 3.
5. A computer device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor, when executing the program, implements the custom animation curve generation method as claimed in any one of claims 1 to 3.
6. A custom animation curve generation apparatus, comprising:
the first acquisition module is used for acquiring the start-stop time period and the key frame information of the animation curve to be generated;
the splitting module is used for performing segmentation processing on the start-stop time period of the animation curve to be generated according to the key frame information so as to split the start-stop time period into a plurality of key frames, wherein the key frame information comprises time corresponding to each key frame and a state value corresponding to each key frame;
the second acquisition module is used for acquiring an interpolation algorithm corresponding to each two adjacent key frames;
the calculation module is used for generating an animation curve corresponding to each two adjacent key frames according to the interpolation algorithm;
and the splicing module is used for splicing the animation curves between every two adjacent key frames to obtain a complete animation curve.
7. The apparatus for generating custom animation curve as claimed in claim 6, wherein obtaining the interpolation algorithm corresponding to each two adjacent key frames, and generating the animation curve corresponding to each two adjacent key frames according to the interpolation algorithm comprises:
acquiring an interpolation algorithm corresponding to every two adjacent key frames, wherein adjustable parameters are correspondingly arranged in the interpolation algorithm;
acquiring a parameter value corresponding to each adjustable parameter of the interpolation algorithm, and adjusting the corresponding adjustable parameter according to the parameter value to obtain an animation value corresponding to each two adjacent key frames;
and generating an animation curve corresponding to each two adjacent key frames according to the corresponding animation value between each two adjacent key frames.
8. The custom animation curve generation device as claimed in claim 7, wherein the interpolation algorithm comprises any one of cubic curve interpolation algorithm and spherical interpolation algorithm.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011584813.1A CN112634409B (en) | 2020-12-28 | 2020-12-28 | Custom animation curve generation method and device |
PCT/CN2021/094858 WO2022142081A1 (en) | 2020-12-28 | 2021-05-20 | Self-defined animation curve generation method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011584813.1A CN112634409B (en) | 2020-12-28 | 2020-12-28 | Custom animation curve generation method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112634409A true CN112634409A (en) | 2021-04-09 |
CN112634409B CN112634409B (en) | 2022-04-19 |
Family
ID=75285723
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011584813.1A Active CN112634409B (en) | 2020-12-28 | 2020-12-28 | Custom animation curve generation method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112634409B (en) |
WO (1) | WO2022142081A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113992977A (en) * | 2021-10-21 | 2022-01-28 | 郑州阿帕斯数云信息科技有限公司 | Video data processing method and device |
WO2022142081A1 (en) * | 2020-12-28 | 2022-07-07 | 稿定(厦门)科技有限公司 | Self-defined animation curve generation method and apparatus |
CN116894893A (en) * | 2023-09-11 | 2023-10-17 | 山东捷瑞数字科技股份有限公司 | Nonlinear animation regulation and control method and system based on three-dimensional engine |
Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101964116A (en) * | 2009-07-24 | 2011-02-02 | 迪士尼企业公司 | In compact the inserting |
CN102682459A (en) * | 2011-03-15 | 2012-09-19 | 新奥特(北京)视频技术有限公司 | Method for interpolating keyframe animation curve |
CN102682458A (en) * | 2011-03-15 | 2012-09-19 | 新奥特(北京)视频技术有限公司 | Synchronous regulating method of multi-stunt multi-parameter of key frame animation curve |
CN104318600A (en) * | 2014-10-10 | 2015-01-28 | 无锡梵天信息技术股份有限公司 | Method for achieving role treading track animation by using Bezier curve |
CN104574481A (en) * | 2015-01-26 | 2015-04-29 | 北京科艺有容科技有限责任公司 | Nonlinear modification method for 3D character animation |
CN105578184A (en) * | 2016-01-27 | 2016-05-11 | 努比亚技术有限公司 | Key-frame animation generation apparatus and method |
CN105719330A (en) * | 2014-12-05 | 2016-06-29 | 腾讯科技(北京)有限公司 | Animation curve generation method and device |
CN105809664A (en) * | 2014-12-31 | 2016-07-27 | 北京三星通信技术研究有限公司 | Method and device for generating three-dimensional image |
CN106504267A (en) * | 2016-10-19 | 2017-03-15 | 东南大学 | A kind of motion of virtual human data critical frame abstracting method |
CN110163939A (en) * | 2019-05-28 | 2019-08-23 | 上海米哈游网络科技股份有限公司 | Three-dimensional animation role's expression generation method, apparatus, equipment and storage medium |
US10521938B1 (en) * | 2018-08-28 | 2019-12-31 | Pixar | System and method for smoothing computer animation curves |
CN110930477A (en) * | 2018-09-20 | 2020-03-27 | 深圳市优必选科技有限公司 | Robot animation expression implementation method and device and storage medium |
CN111445562A (en) * | 2020-03-12 | 2020-07-24 | 稿定(厦门)科技有限公司 | Character animation generation method and device |
CN111815737A (en) * | 2019-04-26 | 2020-10-23 | 厦门雅基软件有限公司 | Interpolation data processing method, device and equipment and computer readable storage medium |
CN111899320A (en) * | 2020-08-20 | 2020-11-06 | 腾讯科技(深圳)有限公司 | Data processing method, and training method and device of dynamic capture denoising model |
CN111951355A (en) * | 2020-08-04 | 2020-11-17 | 北京字节跳动网络技术有限公司 | Animation processing method and device, computer equipment and storage medium |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006081504A2 (en) * | 2005-01-26 | 2006-08-03 | Pixar | Interactive spacetime constraints: wiggly splines |
CN112634409B (en) * | 2020-12-28 | 2022-04-19 | 稿定(厦门)科技有限公司 | Custom animation curve generation method and device |
-
2020
- 2020-12-28 CN CN202011584813.1A patent/CN112634409B/en active Active
-
2021
- 2021-05-20 WO PCT/CN2021/094858 patent/WO2022142081A1/en active Application Filing
Patent Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101964116A (en) * | 2009-07-24 | 2011-02-02 | 迪士尼企业公司 | In compact the inserting |
CN102682459A (en) * | 2011-03-15 | 2012-09-19 | 新奥特(北京)视频技术有限公司 | Method for interpolating keyframe animation curve |
CN102682458A (en) * | 2011-03-15 | 2012-09-19 | 新奥特(北京)视频技术有限公司 | Synchronous regulating method of multi-stunt multi-parameter of key frame animation curve |
CN104318600A (en) * | 2014-10-10 | 2015-01-28 | 无锡梵天信息技术股份有限公司 | Method for achieving role treading track animation by using Bezier curve |
CN105719330A (en) * | 2014-12-05 | 2016-06-29 | 腾讯科技(北京)有限公司 | Animation curve generation method and device |
CN105809664A (en) * | 2014-12-31 | 2016-07-27 | 北京三星通信技术研究有限公司 | Method and device for generating three-dimensional image |
CN104574481A (en) * | 2015-01-26 | 2015-04-29 | 北京科艺有容科技有限责任公司 | Nonlinear modification method for 3D character animation |
WO2017128893A1 (en) * | 2016-01-27 | 2017-08-03 | 努比亚技术有限公司 | Keyframe animation creation device and method |
CN105578184A (en) * | 2016-01-27 | 2016-05-11 | 努比亚技术有限公司 | Key-frame animation generation apparatus and method |
CN106504267A (en) * | 2016-10-19 | 2017-03-15 | 东南大学 | A kind of motion of virtual human data critical frame abstracting method |
US10521938B1 (en) * | 2018-08-28 | 2019-12-31 | Pixar | System and method for smoothing computer animation curves |
CN110930477A (en) * | 2018-09-20 | 2020-03-27 | 深圳市优必选科技有限公司 | Robot animation expression implementation method and device and storage medium |
CN111815737A (en) * | 2019-04-26 | 2020-10-23 | 厦门雅基软件有限公司 | Interpolation data processing method, device and equipment and computer readable storage medium |
CN110163939A (en) * | 2019-05-28 | 2019-08-23 | 上海米哈游网络科技股份有限公司 | Three-dimensional animation role's expression generation method, apparatus, equipment and storage medium |
CN111445562A (en) * | 2020-03-12 | 2020-07-24 | 稿定(厦门)科技有限公司 | Character animation generation method and device |
CN111951355A (en) * | 2020-08-04 | 2020-11-17 | 北京字节跳动网络技术有限公司 | Animation processing method and device, computer equipment and storage medium |
CN111899320A (en) * | 2020-08-20 | 2020-11-06 | 腾讯科技(深圳)有限公司 | Data processing method, and training method and device of dynamic capture denoising model |
Non-Patent Citations (3)
Title |
---|
李顺意 等: "基于帧间距的运动关键帧提取", 《计算机工程》 * |
王红霞: "骨骼蒙皮动画关键帧插值算法的研究", 《光电工程》 * |
袁铨 等: "基于Hermite样条曲线的关键帧插值角色动画", 《计算机与现代化》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022142081A1 (en) * | 2020-12-28 | 2022-07-07 | 稿定(厦门)科技有限公司 | Self-defined animation curve generation method and apparatus |
CN113992977A (en) * | 2021-10-21 | 2022-01-28 | 郑州阿帕斯数云信息科技有限公司 | Video data processing method and device |
CN116894893A (en) * | 2023-09-11 | 2023-10-17 | 山东捷瑞数字科技股份有限公司 | Nonlinear animation regulation and control method and system based on three-dimensional engine |
Also Published As
Publication number | Publication date |
---|---|
WO2022142081A1 (en) | 2022-07-07 |
CN112634409B (en) | 2022-04-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112634409B (en) | Custom animation curve generation method and device | |
CN109670558B (en) | Digital image completion using deep learning | |
CN109816762B (en) | Image rendering method and device, electronic equipment and storage medium | |
CN108010112B (en) | Animation processing method, device and storage medium | |
CN105657574B (en) | A kind of video file production method and device | |
JP7247327B2 (en) | Techniques for Capturing and Editing Dynamic Depth Images | |
US20130229581A1 (en) | Juxtaposing still and dynamic imagery for cliplet creation | |
WO2014178044A1 (en) | Method and system for providing personal emoticons | |
CN111462283B (en) | Method, medium, device and apparatus for playing large number of same character animations | |
CN114730483A (en) | Generating 3D data in a messaging system | |
KR101831516B1 (en) | Method and apparatus for generating image using multi-stiker | |
US9396575B2 (en) | Animation via pin that defines multiple key frames | |
CN111553362A (en) | Video processing method, electronic equipment and computer readable storage medium | |
CN110647378A (en) | Dynamic image loading method and device and electronic equipment | |
CN113630557B (en) | Image processing method, apparatus, device, storage medium, and computer program product | |
KR102546631B1 (en) | Apparatus for video data argumentation and method for the same | |
CN108564546B (en) | Model training method and device and photographing terminal | |
CN105118081B (en) | Processing method and device for picture synthesis video | |
CN106920270B (en) | Animation processing method and device | |
CN111445562B (en) | Character animation generation method and device | |
US9396574B2 (en) | Choreography of animated crowds | |
WO2023246403A1 (en) | Model training method, watermark restoration method, and related device | |
CN110415318B (en) | Image processing method and device | |
CN107945243B (en) | Image moving method and device | |
CN105719330A (en) | Animation curve generation method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |