WO2017050004A1 - 动画管理方法及其系统 - Google Patents
动画管理方法及其系统 Download PDFInfo
- Publication number
- WO2017050004A1 WO2017050004A1 PCT/CN2016/090729 CN2016090729W WO2017050004A1 WO 2017050004 A1 WO2017050004 A1 WO 2017050004A1 CN 2016090729 W CN2016090729 W CN 2016090729W WO 2017050004 A1 WO2017050004 A1 WO 2017050004A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- animation
- parameter
- template
- key
- operation object
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T13/00—Animation
Definitions
- the invention relates to the field of animation production resource management, in particular to an animation management method and a system thereof.
- the existing animation production technology usually applies the actually generated animation object to the element, and the operations of editing, playing, storing, etc. directly operate the animation object, but the actually generated animation object contains many default fields and attributes,
- the editing, playing, and storing operations of the animated object occupy more memory resources, and the generated animation is stored in the hard disk while the software is running, and also occupies more hard disk resources.
- animated objects occupy too much storage resources can affect the smoothness of animation preview, editing, playback or storage, and even cause the device terminal to crash and damage files.
- the aim of the present invention is to provide an animation management method and a system thereof, which occupies less storage resources and improves the smoothness of animation management. Sex.
- An animation management method includes the following steps:
- An animation is generated based on the animation parameter object.
- the animation management method of the invention first generates a key parameter template according to the acquired key parameters, and then generates an animation parameter template of the animation operation object according to the key parameter template, and then sets according to the input instruction. Setting a parameter value of the animation parameter in the animation parameter template, and generating an animation parameter object according to the animation parameter template and the parameter value, and finally generating an animation according to the animation parameter object. Since the animation process is an animation parameter object generated only by the animation parameter template and the parameter values, the production, generation, and subsequent storage and playback of the animation management occupy less storage resources. Thereby improving the fluency of animation management.
- An animation management system comprising:
- a key parameter template module configured to acquire key parameters for implementing an animation action, and generate a key parameter template according to the key parameter
- An animation parameter template module configured to acquire an animation operation object, and generate an animation parameter template of the animation operation object according to the key parameter template
- An animation parameter object module configured to set a parameter value of the animation parameter in the animation parameter template according to the input instruction, and generate an animation parameter object according to the animation parameter template and the parameter value;
- An animation generation module is configured to generate an animation according to the animation parameter object.
- the key parameter template module generates a key parameter template according to the acquired key parameters
- the animation parameter template module generates an animation parameter template of the animation operation object according to the key parameter template
- the animation parameter object module according to the input instruction Setting a parameter value of the animation parameter in the animation parameter template, and generating an animation parameter object according to the animation parameter template and the parameter value
- the animation generation module generates an animation according to the animation parameter object. Since the animation process is an animation parameter object generated only by the animation parameter template and the parameter values, the production, generation, and subsequent storage and playback of the animation management occupy less storage resources. Thereby improving the fluency of animation management.
- FIG. 1 is a schematic flow chart of an animation management method of an embodiment
- FIG. 2 is a schematic flow chart of an animation management method of another embodiment
- FIG. 3 is a schematic structural diagram of an animation management system of an embodiment.
- An animation management method includes the following steps:
- the key parameter is a parameter necessary for implementing an animation action, for example, including parameters such as direction, duration, transparency, and the like necessary for implementing the animation; and the key parameter template is generated according to parameters necessary for implementing the animation action.
- the step of obtaining the key parameters for implementing the animation action may obtain key parameters for implementing the animation action from the preset animation template, and may also obtain key parameters for implementing the animation action by inputting key parameter instructions.
- the preset animation template may be an animation template pre-stored in the animation software, or may be imported into the animation software through a separate animation template file.
- the key parameter template only contains the parameters necessary to implement the animation action, such as the animation of a picture from top to bottom.
- the key parameter template only contains the parameters such as the running track, duration, speed and other parameters necessary for the animation to be rendered from top to bottom. . Therefore, the key parameter template occupies less storage resources, thereby improving the efficiency of generating key parameter templates.
- the animation operation object includes a picture, a text, and the like required for the animation;
- the animation parameter template is a parameter template of the animation operation object generated according to the key parameter template.
- the animation operation object is the image rendered from top to bottom, and the key parameter template only contains the necessary parameters such as the running track, duration, speed, etc. of the animation rendered from top to bottom.
- the animation parameter template is a template generated based on the necessary parameters such as the running track, duration, and speed of the image from top to bottom.
- the step of acquiring an animation operation object includes:
- the local image may be imported from the local image file path as an animation operation object by using the animation software, or the local image may be input as an animation operation object through the input device; or, if To use animation to implement animation, you can use the input device to input the text that realizes the animation as an animation operation object in the animation interface.
- the step of generating an animation parameter template of the animation operation object according to the key parameter template includes:
- An animation parameter template of the animation operation object is generated according to the parameters of the animation operation object.
- the animation parameter template occupies less storage resources, and further improves the generation efficiency of the animation parameter template.
- generating an animation parameter template that is rendered from top to bottom firstly, according to key parameters such as running trajectory, duration, speed, etc. of the animation in the key parameter template, key parameters such as running trajectory, duration, speed, etc. of the image are generated. And then generating an animation parameter template of the picture according to key parameters such as the running track, duration, and speed of the picture, so that the animation parameter template presented by the picture from top to bottom occupies less storage resources, further improving the picture from above.
- key parameters such as running trajectory, duration, speed, etc. of the animation in the key parameter template
- the input instruction includes a parameter value setting instruction set according to the key parameter, and a default parameter value default instruction of the key parameter. For a key parameter that is not set by the parameter value setting instruction, the parameter value is performed by the parameter value default instruction. Settings.
- the parameter value of the animation parameter can be set, and since the animation parameter template only includes the parameters of the animation operation object, the animation parameter object is generated according to the animation parameter template and the parameter value, so that the animation parameter object occupies less
- the storage resources further improve the efficiency of the generation of animation parameter objects.
- the step of setting a parameter value of the animation parameter in the animation parameter template according to the input instruction comprises:
- initial data is provided for generating an animation.
- setting a parameter value of an animation parameter presented by a picture from top to bottom first obtaining an animation parameter of a running track, a duration, a speed, and the like of the picture, and setting a corresponding parameter value according to an input instruction to an animation parameter of the picture, such as Set the image running track from top to bottom, the duration is set to three seconds, and the speed is set to three centimeters per second.
- the parameter value setting of the picture animation parameter is completed, and the initial data is provided for generating the animation.
- the actual animation is generated. Since the animation parameter object includes only the animation parameter template and the parameter values, generating an animation according to the animation parameter object improves the efficiency of animation generation.
- the step of generating an animation according to the animation parameter object includes:
- the animation production software includes software having an animation production tool such as a StoryBoard based on WPF (Windows Presentation Foundation) and PowerPoint in Microsoft Office.
- an animation production tool such as a StoryBoard based on WPF (Windows Presentation Foundation) and PowerPoint in Microsoft Office.
- the corresponding variable in the animation constructor is initialized, and the parameter value is set.
- the animation constructor variable that generates the animation corresponds to the following settings: set the variable of the image running track to the variable from top to bottom, the duration variable is set to three seconds, and the speed is set. For a constant speed of three centimeters per second.
- the embodiment first acquires an animation parameter object and an animation generation execution code in the animation production software, and invokes the animation to generate an animation constructor in the execution code;
- the number object initializes the variable in the animation constructor, and also assigns the parameter value in the animation parameter object to the corresponding variable in the animation constructor as the initial value of the variable; finally executes the animation generated after the parameter value is assigned Execute the code to generate the actual animation. Since the initial value of the corresponding variable in the animation parameter object is initialized during the initialization of the animation constructor, the animation generation process occupies less storage resources, thereby improving the efficiency of animation generation.
- a preferred embodiment of the animation management method of the present invention is: first acquiring key parameters for implementing an animation action, and generating a key parameter template according to the key parameter; and acquiring the animation operation object from an import path of the animation operation object file, according to the The parameter in the key parameter template generates a parameter of the animation operation object, and generates an animation parameter template of the animation operation object according to the parameter of the animation operation object; and then acquires an input instruction, and respectively sets an animation parameter in the animation parameter template. Parameter value; finally, obtaining an animation generation execution code in the animation production software, calling the animation generation execution function in the execution code, initializing the animation construction function according to the key parameter animation object, and running the animation generation Execute the code to generate an animation. Since the animation process is an animation parameter object generated only by the animation parameter template and the parameter values, the production, generation, and subsequent storage and playback of the animation management occupy less storage resources. Thereby improving the fluency of animation management.
- the key parameters such as the direction, duration and mode of the fade-in action are obtained from the FadeAnimation, and the key parameter template is generated according to the direction, duration and mode of the fade-in action.
- the fade-in is implemented.
- Animation Run the animation to generate the execution code, and generate the image.
- Animation of the way Since the animation of the image fade-in method and the process of generating only involve key parameters such as direction, duration, and mode, and their corresponding parameter values, whether it is the production, generation, or subsequent storage of the image fade-in animation management. Playback, which occupies less storage resources, improves the smoothness of animation management.
- the invention also provides an animation management system, as shown in FIG. 3, comprising:
- the key parameter template module 300 is configured to acquire key parameters for implementing an animation action in the preset animation template, and generate a key parameter template according to the key parameter;
- An animation parameter template module 301 is configured to acquire an animation operation object, and generate an animation parameter template of the animation operation object according to the key parameter template;
- the animation parameter object module 302 is configured to set a parameter value of the animation parameter in the animation parameter template according to the input instruction, and generate an animation parameter object according to the animation parameter template and the parameter value;
- the animation generating module 303 is configured to generate an animation according to the animation parameter object.
- the key parameter template module 300 generates a key parameter template according to the acquired key parameters
- the animation parameter template module 301 generates an animation parameter template of the animation operation object according to the key parameter template
- the animation parameter object module 302 according to the input.
- the instruction sets a parameter value of the animation parameter in the animation parameter template, and generates an animation parameter object according to the animation parameter template and the parameter value
- the animation generation module 303 generates an animation according to the animation parameter object. Since the animation process is an animation parameter object generated only by the animation parameter template and the parameter values, the production, generation, and subsequent storage and playback of the animation management occupy less storage resources. Thereby improving the fluency of animation management.
- the animation parameter template module 301 further includes:
- the animation operation object module is configured to acquire the animation operation object from an import path of the animation operation object file, or obtain an input animation operation object from the animation production interface.
- An animation parameter module configured to acquire the key parameter template, and generate parameters of the animation operation object according to parameters in the key parameter template
- An animation parameter template sub-module configured to generate an animation parameter template of the animation operation object according to the parameter of the animation operation object.
- the animation parameter template occupies less storage resources, and further improves the generation efficiency of the animation parameter template.
- the animation parameter object module 302 further includes:
- An animation parameter setting module is configured to acquire an animation parameter in the animation parameter template, obtain an input instruction, and respectively set a parameter value of the animation parameter.
- the input instruction includes a corresponding parameter value instruction set according to the key parameter, and a default parameter value instruction of the key parameter.
- the parameter value setting is performed by using a default parameter value instruction.
- the parameter value of the animation parameter can be set, and since the animation parameter template only includes the parameters of the animation operation object, the animation parameter object is generated according to the animation parameter template and the parameter value, so that the animation parameter object occupies less
- the storage resources further improve the efficiency of the generation of animation parameter objects.
- the animation generating module 303 further includes:
- a code acquisition module configured to acquire an animation generation execution code in the animation production software, and invoke the animation to generate an animation constructor in the execution code
- a code running module configured to initialize the animation constructor according to the animation parameter object, and run the animation to generate an execution code to generate an animation.
- the animation production software includes software with an animation production tool such as a StoryBoard based on WPF (Windows Presentation Foundation) and PowerPoint in Microsoft Office.
- an animation production tool such as a StoryBoard based on WPF (Windows Presentation Foundation) and PowerPoint in Microsoft Office.
- the code acquisition module acquires an animation generation execution code in the animation production software, and invokes the animation to generate an animation constructor in the execution code; the code execution module pairs the animation according to the animation parameter object
- the corresponding variable in the constructor is initialized, and the parameter value in the animation parameter object is given to the corresponding variable in the animation constructor as the initial value of the variable, and the execution code that generates the animation after the parameter value is generated, and an animation is generated. Since the initial value of the corresponding variable in the animation parameter object is initialized during the initialization of the animation constructor, the animation generation process occupies less storage resources, thereby improving the efficiency of animation generation.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Processing Or Creating Images (AREA)
Abstract
本发明提供一种动画管理方法及其系统,包括以下步骤:获取预设动画模板的关键属性参数,根据所述关键属性参数生成关键参数动画模板;获取动画的动画元素,根据所述关键参数动画模板生成所述动画元素的关键参数动画对象;根据所述关键参数动画对象生成动画。根据通过从预设动画模板获取关键属性参数生成关键参数动画模板,获取动画元素,根据所述关键参数动画模板生成所述动画元素的关键参数动画对象,并根据所述关键参数动画对象生成动画。由于动画编辑操作的是关键参数动画对象,从而使得动画编辑过程中占用较少的存储资源,提高动画管理的流畅性。
Description
本发明涉及动画制作资源管理领域,特别涉及一种动画管理方法及其系统。
随着动画制作产业的发展,动画制作教育产业在近年来出现了蓬勃发展的现状,而其中动画管理有着极其重要的地位。
现有的动画制作技术方案通常是将实际生成的动画对象应用于元素中,编辑、播放、存储等操作都是直接操作所述动画对象,然而实际生成的动画对象含有很多默认字段和属性,对动画对象的编辑、播放以及存储等操作均占用较多的内存资源,进而在软件运行的同时将生成的动画存储到硬盘中,亦占用较多的硬盘资源。然而动画对象占用过多的存储资源会影响动画预览、编辑、播放或者存储的流畅性,甚至造成设备终端死机,损坏文件。
发明内容
针对上述现有技术中存在的动画管理占用过多存储资源的问题,本发明的目的在于提供一种动画管理方法及其系统,使得动画管理过程中占用较少的存储资源,提高动画管理的流畅性。
一种动画管理方法,包括以下步骤:
获取实现动画动作的关键参数,根据所述关键参数生成关键参数模板;
获取动画操作对象,根据所述关键参数模板生成所述动画操作对象的动画参数模板;
根据输入指令设置所述动画参数模板中动画参数的参数值,并根据所述动画参数模板以及参数值生成动画参数对象;
根据所述动画参数对象生成动画。
本发明的动画管理方法,先根据获取的关键参数生成关键参数模板,再根据所述关键参数模板生成动画操作对象的动画参数模板,然后根据输入指令设
置所述动画参数模板中动画参数的参数值,并根据所述动画参数模板以及参数值生成动画参数对象,最后根据所述动画参数对象生成动画。由于动画的制作过程中,操作的是仅由动画参数模板以及参数值生成的动画参数对象,所以无论是动画管理前期的制作、生成,还是后续的存储、播放,均占用较少的存储资源,从而提高动画管理的流畅性。
一种动画管理系统,包括:
关键参数模板模块,用于获取实现动画动作的关键参数,根据所述关键参数生成关键参数模板;
动画参数模板模块,用于获取动画操作对象,根据所述关键参数模板生成所述动画操作对象的动画参数模板;
动画参数对象模块,用于根据输入指令设置所述动画参数模板中动画参数的参数值,并根据所述动画参数模板以及参数值生成动画参数对象;
动画生成模块,用于根据所述动画参数对象生成动画。
本发明的动画管理系统,所述关键参数模板模块根据获取的关键参数生成关键参数模板,动画参数模板模块再根据所述关键参数模板生成动画操作对象的动画参数模板,动画参数对象模块根据输入指令设置所述动画参数模板中动画参数的参数值,并根据所述动画参数模板以及参数值生成动画参数对象,动画生成模块根据所述动画参数对象生成动画。由于动画的制作过程中,操作的是仅由动画参数模板以及参数值生成的动画参数对象,所以无论是动画管理前期的制作、生成,还是后续的存储、播放,均占用较少的存储资源,从而提高动画管理的流畅性。
图1为一个实施例的动画管理方法的流程示意图;
图2为另一个实施例的动画管理方法的流程示意图;
图3为一个实施例的动画管理系统的结构示意图。
为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述。
请参阅图1中一个实施例的动画管理方法的流程示意图。
一种动画管理方法,包括以下步骤:
S102,获取实现动画动作的关键参数,根据所述关键参数生成关键参数模板。
其中,所述关键参数为实现动画动作所必需的参数,例如包括实现动画所必需的方向、时长、透明度等参数;所述关键参数模板根据实现动画动作所必需的参数所生成。
所述获取实现动画动作的关键参数的步骤,可以从预设动画模板中获取实现动画动作的关键参数,也可以通过输入关键参数指令获取实现动画动作的关键参数。其中,所述预设动画模板可以是动画制作软件中预存的动画模板,也可以是通过独立的动画模板文件导入到动画制作软件中。
关键参数模板中仅包含了实现动画动作所必需的参数,例如实现一个图片从上到下呈现的动画,关键参数模板中仅包含动画从上到下呈现所必需的运行轨迹、时长、速度等参数。因此使得关键参数模板占用较少的存储资源,从而提高关键参数模板的生成效率。
S104,获取动画操作对象,根据所述关键参数模板生成所述动画操作对象的动画参数模板。
其中,所述动画操作对象包括动画所需的图片、文字等;所述动画参数模板是根据关键参数模板生成的动画操作对象的参数模板。例如,一个图片从上到下呈现的动画中,动画操作对象为从上到下呈现的该图片,关键参数模板仅包含了从上到下呈现的动画的运行轨迹、时长、速度等必需参数,动画参数模板则是根据该图片从上到下呈现的运行轨迹、时长、速度等必要参数生成的模板。
在其中一个实施例中,所述获取动画操作对象的步骤包括:
从动画操作对象文件的导入路径获取所述动画操作对象,或者从动画制作
界面获取输入的动画操作对象。
例如,若用户想要使用本地图片实现动画,则可以通过动画制作软件从本地的图片文件路径导入所述本地图片作为动画操作对象,也可以通过输入设备输入本地图片作为动画操作对象;或者,若要使用文字实现动画,则可以通过输入设备在动画制作界面输入实现动画的文字作为动画操作对象。
在其中一个实施例中,所述根据关键参数模板生成所述动画操作对象的动画参数模板的步骤包括:
获取所述关键参数模板,并根据所述关键参数模板中的参数生成所述动画操作对象的参数;
根据所述动画操作对象的参数生成动画操作对象的动画参数模板。
通过该实施例,由于所述关键参数模板仅包含了实现动画动作所必需的参数,从而使得动画参数模板占用较少的存储资源,进一步提高动画参数模板的生成效率。
例如,生成一个图片从上到下呈现的动画参数模板:先根据所述关键参数模板中动画的运行轨迹、时长、速度等关键参数,生成所述图片相应的运行轨迹、时长、速度等关键参数,然后根据所述图片相应的运行轨迹、时长、速度等关键参数生成图片的动画参数模板,从而使得图片从上到下呈现的动画参数模板占用较少的存储资源,进一步提高所述图片从上到下呈现的动画参数模板的生成效率。
S106,根据输入指令设置所述动画参数模板中动画参数的参数值,并根据所述动画参数模板以及参数值生成动画参数对象。
其中,所述输入指令包括根据所述关键参数设置的参数值设置指令,以及关键参数默认的参数值默认指令,对于没有通过参数值设置指令设置的关键参数,则通过参数值默认指令进行参数值设置。
通过该步骤,可以设置动画参数的参数值,而且,由于所述动画参数模板仅包括动画操作对象的参数,根据所述动画参数模板以及参数值生成动画参数对象,从而使得动画参数对象占用较少的存储资源,进一步提高动画参数对象的生成效率。
在其中一个实施例中,所述根据输入指令设置所述动画参数模板中动画参数的参数值的步骤包括:
获取所述动画参数模板中的动画参数;
获取输入指令,分别设置所述动画参数的参数值。
通过该实施例,从而为生成动画提供了初始数据。
例如,设置一个图片从上到下呈现的动画参数的参数值:先获取所述图片的运行轨迹、时长、速度等动画参数,根据输入指令对所述图片的动画参数设置相应的参数值,比如将图片运行轨迹设置为从上到下、时长设置为三秒、速度设置为匀速三厘米每秒,则完成了该图片动画参数的参数值设置,为生成该动画提供了初始数据。
S108,根据所述动画参数对象生成动画。
通过该步骤,生成实际动画。由于所述动画参数对象仅包括动画参数模板以及参数值,因此,根据所述动画参数对象生成动画,提高了动画生成的效率。
在其中一个实施例中,如图2所示,所述根据动画参数对象生成动画的步骤包括:
S202,获取动画制作软件中的动画生成执行代码,并调用所述动画生成执行代码中的动画构造函数。
所述动画制作软件包括具有基于WPF(Windows Presentation Foundation,Windows呈现基础)的StoryBoard(故事板)、Microsoft Office中的PowerPoint等具有动画制作工具的软件。
S204,根据所述动画参数对象对所述动画构造函数的变量进行初始化。
根据动画参数对象,对所述动画构造函数中的对应变量进行初始化,设置参数值。例如,一个图片从上到下呈现的动画,其生成动画的动画构造函数变量对应作如下设置:将图片运行轨迹的变量设置为从上到下、时长的变量设置为三秒、速度的变量设置为匀速三厘米每秒。
S206,运行所述动画生成执行代码,生成动画。
该实施例具体地,先获取动画参数对象、以及动画制作软件中的动画生成执行代码,调用所述动画生成执行代码中的动画构造函数;再根据所述动画参
数对象,对所述动画构造函数中的变量进行初始化,亦即将动画参数对象中的参数值赋予动画构造函数中对应的变量,作为所述变量的初始值;最后执行赋予参数值后的动画生成执行代码,即可生成实际动画。由于在动画构造函数的初始化过程中,只针对动画参数对象中对应的变量进行初始化赋值,因此动画生成过程中占用较少的存储资源,从而提高了动画生成的效率。
本发明的动画管理方法的一个优选实施方式为:先获取实现动画动作的关键参数,根据所述关键参数生成关键参数模板;再从动画操作对象文件的导入路径获取所述动画操作对象,根据所述关键参数模板中的参数生成所述动画操作对象的参数,并根据所述动画操作对象的参数生成动画操作对象的动画参数模板;然后获取输入指令,分别设置所述动画参数模板中动画参数的参数值;最后,获取动画制作软件中的动画生成执行代码,调用所述动画生成执行代码中的动画构造函数,根据所述关键参数动画对象对所述动画构造函数进行初始化,运行所述动画生成执行代码,生成动画。由于动画的制作过程中,操作的是仅由动画参数模板以及参数值生成的动画参数对象,所以无论是动画管理前期的制作、生成,还是后续的存储、播放,均占用较少的存储资源,从而提高动画管理的流畅性。
以下以图片的淡入方式动画为例,阐述本发明的一种动画管理方法的一个具体实施方式:
先从淡入方式动画FadeAnimation中获取实现淡入动作的方向、时长以及模式等关键参数,根据所述实现淡入动作的方向、时长以及模式生成关键参数模板;再在基于WPF的StoryBoard软件中,从实现淡入动作的图片的导入路径获得所述图片,根据淡入动画的方向、时长以及模式等关键参数生成所述图片的淡入动作的方向、时长以及模式等参数,根据所述图片的淡入动作的方向、时长以及模式等参数生成该图片的动画参数模板FadeAnimationInfo;然后根据输入指令设置FadeAnimationInfo中该图片淡入动作的方向、时长以及模式等参数的参数值;最后,获取StoryBoard中的动画生成执行代码,调用动画生成执行代码中的动画构造函数,对动画构造函数中对应该图片淡入动作的方向、时长以及模式等参数的变量进行赋值,运行所述动画生成执行代码,生成该图片淡
入方式的动画。由于该图片淡入方式的动画制作和生成的过程都只涉及方向、时长以及模式等关键参数及其对应的参数值,所以无论是该图片淡入方式动画管理前期的制作、生成,还是后续的存储、播放,均占用较少的存储资源,从而提高动画管理的流畅性。
本发明还提供一种动画管理系统,如图3所示,包括:
关键参数模板模块300,用于获取预设动画模板中实现动画动作的关键参数,根据所述关键参数生成关键参数模板;
动画参数模板模块301,用于获取动画操作对象,根据所述关键参数模板生成所述动画操作对象的动画参数模板;
动画参数对象模块302,用于根据输入指令设置所述动画参数模板中动画参数的参数值,并根据所述动画参数模板以及参数值生成动画参数对象;
动画生成模块303,用于根据所述动画参数对象生成动画。
本实施例中,所述关键参数模板模块300根据获取的关键参数生成关键参数模板,动画参数模板模块301再根据所述关键参数模板生成动画操作对象的动画参数模板,动画参数对象模块302根据输入指令设置所述动画参数模板中动画参数的参数值,并根据所述动画参数模板以及参数值生成动画参数对象,动画生成模块303根据所述动画参数对象生成动画。由于动画的制作过程中,操作的是仅由动画参数模板以及参数值生成的动画参数对象,所以无论是动画管理前期的制作、生成,还是后续的存储、播放,均占用较少的存储资源,从而提高动画管理的流畅性。
在其中一个实施例中,所述动画参数模板模块301还包括:
动画操作对象模块,用于从动画操作对象文件的导入路径获取所述动画操作对象,或者从动画制作界面获取输入的动画操作对象。
动画参数模块,用于获取所述关键参数模板,并根据所述关键参数模板中的参数生成所述动画操作对象的参数;
动画参数模板子模块,用于根据所述动画操作对象的参数生成动画操作对象的动画参数模板。
通过该实施例,由于所述关键参数模板仅包含了实现动画动作所必需的参数,从而使得动画参数模板占用较少的存储资源,进一步提高动画参数模板的生成效率。
在其中一个实施例中,所述动画参数对象模块302还包括:
动画参数设置模块,用于获取所述动画参数模板中的动画参数,获取输入指令,分别设置所述动画参数的参数值。
其中,所述输入指令包括根据所述关键参数设置的对应参数值指令,以及关键参数默认的参数值指令,对于没有设置参数值指令的关键参数,则通过默认参数值指令进行参数值设置。
通过该步骤,可以设置动画参数的参数值,而且,由于所述动画参数模板仅包括动画操作对象的参数,根据所述动画参数模板以及参数值生成动画参数对象,从而使得动画参数对象占用较少的存储资源,进一步提高动画参数对象的生成效率。
在其中一个实施例中,所述动画生成模块303还包括:
代码获取模块,用于获取动画制作软件中的动画生成执行代码,并调用所述动画生成执行代码中的动画构造函数;
代码运行模块,用于根据所述动画参数对象对所述动画构造函数进行初始化,并运行所述动画生成执行代码,生成动画。
其中,所述动画制作软件包括具有基于WPF(Windows Presentation Foundation,Windows呈现基础)的StoryBoard(故事板),以及Microsoft Office中的PowerPoint等具有动画制作工具的软件。
该实施例具体地,当生成动画时,代码获取模块获取动画制作软件中的动画生成执行代码,并调用所述动画生成执行代码中的动画构造函数;代码运行模块根据动画参数对象对所述动画构造函数中的对应变量进行初始化,亦即将动画参数对象中的参数值赋予动画构造函数中对应的变量,作为所述变量的初始值,并执行赋予参数值后的动画生成执行代码,生成动画。由于在动画构造函数的初始化过程中,只针对动画参数对象中对应的变量进行初始化赋值,因此动画生成过程中占用较少的存储资源,从而提高了动画生成的效率。
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。
Claims (9)
- 一种动画管理方法,其特征在于,包括以下步骤:获取实现动画动作的关键参数,根据所述关键参数生成关键参数模板;获取动画操作对象,根据所述关键参数模板生成所述动画操作对象的动画参数模板;根据输入指令设置所述动画参数模板中动画参数的参数值,并根据所述动画参数模板以及参数值生成动画参数对象;根据所述动画参数对象生成动画。
- 根据权利要求1所述的动画管理方法,其特征在于,所述获取动画操作对象的步骤包括:从动画操作对象文件的导入路径获取所述动画操作对象,或者从动画制作界面获取输入的动画操作对象。
- 根据权利要求1所述的动画管理方法,其特征在于,所述根据关键参数模板生成所述动画操作对象的动画参数模板的步骤包括:获取所述关键参数模板,并根据所述关键参数模板中的参数生成所述动画操作对象的参数;根据所述动画操作对象的参数生成动画操作对象的动画参数模板。
- 根据权利要求1所述的动画管理方法,其特征在于,所述根据输入指令设置所述动画参数模板中动画参数的参数值的步骤包括:获取所述动画参数模板中的动画参数;获取输入指令,分别设置所述动画参数的参数值。
- 根据权利要求1至4任意一项所述的动画管理方法,其特征在于,所述根据动画参数对象生成动画的步骤包括:获取动画制作软件中的动画生成执行代码,并调用所述动画生成执行代码中的动画构造函数;根据所述动画参数对象对所述动画构造函数的变量进行初始化;运行所述动画生成执行代码,生成动画。
- 一种动画管理系统,其特征在于,包括:关键参数模板模块,用于获取预设动画模板中实现动画动作的关键参数,根据所述关键参数生成关键参数模板;动画参数模板模块,用于获取动画操作对象,根据所述关键参数模板生成所述动画操作对象的动画参数模板;动画参数对象模块,用于根据输入指令设置所述动画参数模板中动画参数的参数值,并根据所述动画参数模板以及参数值生成动画参数对象;动画生成模块,用于根据所述动画参数对象生成动画。
- 根据权利要求6所述动画管理系统,其特征在于,所述动画参数模板模块还包括:动画操作对象模块,用于从动画操作对象文件的导入路径获取所述动画操作对象,或者从动画制作界面获取输入的动画操作对象。动画参数模块,用于获取所述关键参数模板,并根据所述关键参数模板中的参数生成所述动画操作对象的参数;动画参数模板子模块,用于根据所述动画操作对象的参数生成动画操作对象的动画参数模板。
- 根据权利要求6所述动画管理系统,其特征在于,所述动画参数对象模块还包括:动画参数设置模块,用于获取所述动画参数模板中的动画参数,获取输入指令,分别设置所述动画参数的参数值。
- 根据权利要求6至8任意一项所述动画管理系统,其特征在于,所述动画生成模块还包括:代码获取模块,用于获取动画制作软件中的动画生成执行代码,并调用所述动画生成执行代码中的动画构造函数;代码运行模块,用于根据所述动画参数对象对所述动画构造函数进行初始化,并运行所述动画生成执行代码,生成动画。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510621620.1 | 2015-09-24 | ||
| CN201510621620.1A CN105204859B (zh) | 2015-09-24 | 2015-09-24 | 动画管理方法及其系统 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2017050004A1 true WO2017050004A1 (zh) | 2017-03-30 |
Family
ID=54952565
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/090729 Ceased WO2017050004A1 (zh) | 2015-09-24 | 2016-07-20 | 动画管理方法及其系统 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN105204859B (zh) |
| WO (1) | WO2017050004A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114489408A (zh) * | 2022-02-11 | 2022-05-13 | 百果园技术(新加坡)有限公司 | 动画处理系统、方法、设备及存储介质 |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105204859B (zh) * | 2015-09-24 | 2018-09-25 | 广州视睿电子科技有限公司 | 动画管理方法及其系统 |
| CN106251389B (zh) * | 2016-08-01 | 2019-12-24 | 北京小小牛创意科技有限公司 | 制作动画的方法和装置 |
| CN108038160B (zh) * | 2017-12-06 | 2019-03-08 | 央视动画有限公司 | 动态动画保存方法、动态动画调用方法及装置 |
| CN108038894B (zh) * | 2017-12-11 | 2021-07-23 | 武汉斗鱼网络科技有限公司 | 动画创建方法、装置、电子设备及计算机可读存储介质 |
| CN108182062A (zh) * | 2017-12-12 | 2018-06-19 | 上海葡萄纬度科技有限公司 | 一种反向编程的方法及系统 |
| CN111596983A (zh) * | 2020-04-23 | 2020-08-28 | 西安震有信通科技有限公司 | 一种基于动画组件的动画显示方法、装置及介质 |
| CN112233209B (zh) * | 2020-12-14 | 2021-03-16 | 成都完美时空网络技术有限公司 | 虚拟环形波扩散动画的生成方法、装置、设备及存储介质 |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102479687A (zh) * | 2010-11-22 | 2012-05-30 | 中芯国际集成电路制造(上海)有限公司 | 提高后层曝光工艺宽容度的方法 |
| CN104461486A (zh) * | 2013-09-17 | 2015-03-25 | 腾讯科技(深圳)有限公司 | 一种网页页面中动画效果实现的方法、装置及系统 |
| CN105204859A (zh) * | 2015-09-24 | 2015-12-30 | 广州视睿电子科技有限公司 | 动画管理方法及其系统 |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101079153A (zh) * | 2006-09-20 | 2007-11-28 | 腾讯科技(深圳)有限公司 | 一种快速生成动画的方法及系统 |
| CN101308579B (zh) * | 2008-05-12 | 2011-05-18 | 中山大学 | 一种三维动画模型的自适应简化方法 |
| CN103617041B (zh) * | 2013-11-29 | 2018-03-16 | Tcl集团股份有限公司 | 一种基于模板的动画管理系统及方法 |
| CN104463937B (zh) * | 2014-12-05 | 2018-04-06 | 无锡梵天信息技术股份有限公司 | 基于不规则物体的动画生成方法及装置 |
-
2015
- 2015-09-24 CN CN201510621620.1A patent/CN105204859B/zh active Active
-
2016
- 2016-07-20 WO PCT/CN2016/090729 patent/WO2017050004A1/zh not_active Ceased
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102479687A (zh) * | 2010-11-22 | 2012-05-30 | 中芯国际集成电路制造(上海)有限公司 | 提高后层曝光工艺宽容度的方法 |
| CN104461486A (zh) * | 2013-09-17 | 2015-03-25 | 腾讯科技(深圳)有限公司 | 一种网页页面中动画效果实现的方法、装置及系统 |
| CN105204859A (zh) * | 2015-09-24 | 2015-12-30 | 广州视睿电子科技有限公司 | 动画管理方法及其系统 |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114489408A (zh) * | 2022-02-11 | 2022-05-13 | 百果园技术(新加坡)有限公司 | 动画处理系统、方法、设备及存储介质 |
| CN114489408B (zh) * | 2022-02-11 | 2023-11-24 | 百果园技术(新加坡)有限公司 | 动画处理系统、方法、设备及存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105204859B (zh) | 2018-09-25 |
| CN105204859A (zh) | 2015-12-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2017050004A1 (zh) | 动画管理方法及其系统 | |
| US20250341935A1 (en) | System and method for interface display screen manipulation | |
| WO2019086037A1 (zh) | 视频素材的处理方法、视频合成方法、终端设备及存储介质 | |
| CN103955367A (zh) | 一种生成页面的方法及装置 | |
| CN106779576B (zh) | 一种业务字段的配置方法 | |
| CN108182120A (zh) | 接口调用方法和系统、存储介质和计算机设备 | |
| CN109101298B (zh) | Windows跨进程窗口管理方法、存储介质、电子设备及系统 | |
| CN110795162B (zh) | 生成容器镜像文件的方法和装置 | |
| KR101720635B1 (ko) | 웹 기반의 3d 영상 컨텐츠 제작 방법 및 이를 운영하는 서버 | |
| CN105808229A (zh) | 智能终端及其app处理方法 | |
| CN115766971A (zh) | 演示视频生成方法、装置、电子设备和可读存储介质 | |
| CN107491311B (zh) | 生成页面文件的方法、系统以及计算机设备 | |
| US20090259450A1 (en) | physics-based simulation | |
| CN111124386B (zh) | 基于Unity的动画事件处理方法、装置、设备和存储介质 | |
| CN119478077A (zh) | 用于使用机器学习模型以基于图像块来生成场景的技术 | |
| CN112348928A (zh) | 动画合成方法、动画合成装置、电子设备及介质 | |
| CN108399173A (zh) | 一种页面组件的样式配置、页面生成方法及其装置 | |
| CN118197305A (zh) | 语音控制方法、装置和电子设备 | |
| CN112800736B (zh) | 生成单元格编辑组件的方法、装置、介质及计算机设备 | |
| CN104462137A (zh) | 互动对象的创建方法及装置 | |
| CN113082720B (zh) | 提示信息确定方法、装置及电子设备 | |
| US20210240333A1 (en) | Media effects system | |
| CN115512033A (zh) | 一种3d场景渲染方法、装置、电子设备及存储介质 | |
| CN113867712A (zh) | 游戏代码生成方法、装置、计算机设备和存储介质 | |
| CN107203453B (zh) | 一种设备视图的生成方法、装置及电子设备 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16847886 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 16847886 Country of ref document: EP Kind code of ref document: A1 |