CN106846444B - Animation production system and method - Google Patents
Animation production system and method Download PDFInfo
- Publication number
- CN106846444B CN106846444B CN201710223355.0A CN201710223355A CN106846444B CN 106846444 B CN106846444 B CN 106846444B CN 201710223355 A CN201710223355 A CN 201710223355A CN 106846444 B CN106846444 B CN 106846444B
- Authority
- CN
- China
- Prior art keywords
- file
- data
- picture
- animation
- module
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T13/00—Animation
Abstract
The invention discloses an animation production system and an animation production method. The animation production system divides the acquired text content into a plurality of picture arrays, arranges the picture arrays, edits the text according to the requirements of users, and finally restores the edited file into a new file arranged like the original file. The invention can make the user who does not draw or make the animation produce the animation according to the requirement, and the produced animation file occupies small disk space.
Description
Technical Field
The invention belongs to the technical field of multimedia production, and particularly relates to an animation production system and an animation production method.
Background
Animation is a widely used technology, and with the popularization of personal computers, users who are not specialized in animation also have a demand for animation. Most of the traditional animation production is hand-drawing or production by using a Flash tool. The Flash tool has the advantages that key frame animation can be generated, and interpolation animation can be created when more than two frames exist, but the animation making process by using the Flash tool is very complicated, so that ordinary users who do not draw pictures or do not make animation cannot make the animation which the users want.
In addition, when animation is produced, the situation that the same picture is reused is usually encountered, and in this situation, the picture is usually stored in a required file in the prior art, so that the phenomenon that the same picture is repeatedly stored in a plurality of files is caused, a large amount of disk space is occupied by the files, the running speed of a computer is influenced, and the problem of poor user experience is caused.
Disclosure of Invention
The invention aims to solve the problems that the animation production method in the prior art is complex in process and occupies a large amount of disk space due to repeated storage of the same picture, and provides an animation production system and a method for producing animation by using the system.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows:
an animation system, comprising the following modules:
the acquisition module is used for acquiring the text content of the animation file to obtain an unordered initial file;
the arrangement module is used for arranging the initial files into a plurality of picture arrays, each picture array is described by a main file and a plurality of sub-files, wherein the main file is described by sequentially changing lines by using a main file name, size data, format data, filter data and repeat data, namely the main file name, size data, format data, filter data and repeat data are arranged in a line mode respectively, and the sub-files are described by sequentially changing lines by using sub-file names, format data, proxy data, size data, orig data, fset data and index data, namely the sub-file names, proxy data, xy data, size data, orig data, offset data and index data are arranged in a line mode respectively;
the editing module is used for editing the main file and the subfiles of the picture array according to the requirements of a user, for example, replacing the main file name or the subfile name of the picture array, modifying the data of 'size', 'format', 'filter' and 'repeat' in the main file, and modifying the data of 'rotate', 'xy', 'size', 'orig', 'offset' and 'index' in the subfile;
and the restoring module is used for restoring the edited file into a new file which is arranged unordered like the initial file.
The acquisition module is used for opening the atlas file of the skeleton animation in a text format and acquiring the file content by using a for-loop sentence.
The restoring module is used for carrying out reverse operation on the edited file and restoring the file into a new file which is unordered in arrangement like the original file.
The restoration module is used for copying the initial file as a copy when the acquisition module acquires the initial file, and modifying the position corresponding to the copy according to the editing content of the editing module to obtain a new file which is arranged unordered like the initial file.
A method for producing animation by using the system is characterized by comprising the following steps:
step 2, opening the atlas file of the animation by using the animation production system, and acquiring an unordered initial file by an acquisition module;
step 3, the arrangement module arranges the initial file into a plurality of picture arrays, each picture array is described by a main file and a plurality of sub-files, wherein the main file is described by sequentially changing lines of a main file name, size data, format data and filter data, namely the main file name, size data, format data, filter data and repeat data are arranged in a line mode, the sub-files are described by sequentially changing lines of sub-file names, format data, xy data, size data, orig data, fset data and index data, namely the sub-file names, format data, xy data, size data, orig data, offset data and index data are arranged in a line mode;
step 4, the user sets the main file and the subfiles of the picture array according to the own requirements, for example, sets the main file name, "size" data, "format" data, "filter" data and "repeat" data in the main file of the picture array, and sets the subfile names, "rotate" data, "xy" data, "size" data, "orig" data, "offset" data and "index" data in the subfiles;
step 5, the editing module modifies the data of the corresponding main file and the subfile of the corresponding picture according to the data set by the user in the step 4;
and 6, restoring the file after the step 5 into a new file which is arranged unordered like the original file by the restoring module, namely forming a new atlas file.
In step 4, when the user needs to use the external resource picture to replace a certain picture or a certain component of a certain picture, the replacement is completed by filling in the storage address and the picture name of the external resource picture, for example, the user needs to replace a certain picture only by replacing the main file name in the picture array with the storage address and the picture name of the external resource picture, and when a certain component of a certain picture needs to be replaced, only the storage address and the picture name of the external resource picture need to replace the subfile name in the picture array.
In step 6, the restoring module performs reverse operation on the files after the step 5 to obtain new files which are unordered in arrangement like the initial files.
In step 6, when the obtaining module obtains the initial file, the restoring module copies the initial file as a copy, and modifies the position corresponding to the copy according to the modification content in step 5, so as to obtain a new file which is arranged unordered as the initial file.
Compared with the prior art, the invention has the following beneficial effects:
1. the animation production system comprises an acquisition module, a sorting module, an editing module and a restoration module, and the system sorts the acquired initial file, modifies the sorted file and finally restores the modified file to obtain a new file. According to the method for making the animation, a user only needs to open the made general animation file in the system and modify the arranged file according to the needs of the user, so that the animation required by the user can be made. The invention can make the animation for the user who does not draw or make the animation according to the drawing requirement.
2. In the prior art, when animation is produced, a source picture which is repeatedly used is usually stored in each used file, so that the phenomenon of repeatedly storing the same picture is caused, and a large amount of disk space is occupied. When the method is used for producing the animation, when a certain source picture is needed, the system can call the source picture no matter which file the source picture is stored in, so that different source pictures can be stored only once to meet the requirement of animation production, the phenomenon of repeated storage of the source pictures is avoided, and the disk space is greatly saved.
3. According to the invention, a user can set the main file and the subfiles of the picture array according to the requirement of the user, and can replace a certain picture or a certain component of the certain picture by using an external resource picture, so that the needed animation is produced.
4. When a plurality of animations need to be made, the needed plurality of animations can be made only by modifying one general animation file according to different requirements by using the invention, thereby avoiding making a plurality of general animation files, greatly reducing the workload of animators and improving the working efficiency.
Drawings
Fig. 1 is a schematic structural diagram of an animation production system provided in embodiment 1;
fig. 2 is the content of the initial file after the atlas file is opened by the acquiring module in step 2 in embodiment 2;
FIG. 3 is the content of the step 3 sorting module in example 2 after sorting the initial file;
FIG. 4 shows the modified content of the sorted file in the editing module in step 5 of embodiment 2;
fig. 5 is a file content obtained after the restoring module in step 6 restores the file edited in step 5 in embodiment 2.
Detailed Description
The present invention will be further described with reference to the following examples, which are intended to illustrate only some, but not all, of the embodiments of the present invention. Based on the embodiments of the present invention, other embodiments used by those skilled in the art without any creative effort belong to the protection scope of the present invention.
Example 1
An animation system, as shown in FIG. 1, comprising the following modules:
the acquisition module is used for opening the atlas file of the general skeleton animation in a text format and acquiring file contents by using for-loop sentences;
the arrangement module is used for arranging the initial files into a plurality of picture arrays, each picture array is described by a main file and a plurality of sub-files, wherein the main file is described by sequentially changing lines by using a main file name, size data, format data, filter data and repeat data, namely the main file name, size data, format data, filter data and repeat data are arranged in a line mode respectively, and the sub-files are described by sequentially changing lines by using sub-file names, format data, proxy data, size data, orig data, fset data and index data, namely the sub-file names, proxy data, xy data, size data, orig data, offset data and index data are arranged in a line mode respectively;
the editing module is used for modifying the main file and the subfiles of the picture array according to the requirements of a user, for example, modifying the main file name, size data, format data, filter data and repeat data in the main file of the picture array, and modifying the subfile names, rotate data, xy data, size data, orig data, offset data and index data in the subfiles;
and the restoring module is used for restoring the edited file into a new file which is arranged unordered like the initial file.
In this embodiment, the reduction mode of the reduction module is as follows: the restoration module carries out reverse operation on the edited file and restores the file into the form of the initial file content;
the reduction mode of the reduction module can also be as follows: when the acquisition module acquires the initial file, the restoration module copies the initial file as a copy, and modifies the position corresponding to the copy according to the editing content of the editing module to obtain a new file which is arranged unordered like the initial file.
The 'reduction' in the invention refers to changing the arrangement form of the content of the file into the same arrangement form as the original file, and does not refer to clearing the content of the file 'sorting' or 'editing'.
Example 2
The invention provides an animation production method, which comprises the following steps:
step 2, opening the atlas file by using the animation production system of the invention, and using a for loop statement by an acquisition module to acquire an unordered initial file, wherein the content of the initial file is shown in fig. 2;
step 3, the arrangement module arranges the initial file into a plurality of picture arrays, each picture array is described by a main file and a plurality of sub-files, wherein the main file is described by sequentially changing lines of a main file name, size data, format data and filter data, namely the main file name, size data, format data, filter data and repeat data are arranged in a line mode, the sub-files are described by sequentially changing lines of sub-file names, format data, xy data, size data, orig data, fset data and index data, namely the sub-file names, format data, xy data, size data, orig data, offset data and index data are arranged in a line mode, and the content of the arranged file is shown in fig. 3;
step 4, the user replaces the main file name or the sub-file name of the picture array according to the requirement of the user, or modifies the 'size' data, the 'format' data and the 'filter' data in the main file, or modifies the 'rotate' data, the 'xy' data, the 'size' data, the 'orig' data, the 'offset' data and the 'index' data in the sub-file;
step 5, the editing module modifies the data of the corresponding main file and the subfile of the corresponding picture according to the data set by the user in the step 4;
and 6, restoring the file after the step 5 into a new file which is arranged unordered like the original file by the restoring module, namely forming a new atlas file.
As shown in fig. 3 and 4, when the user needs to apply the picture of the second subfile in fig. 3 to the first subfile and needs to process the picture represented by the third subfile, the user only needs to replace the subfile name "FS _ MR _ wuqi _ texiao _ hongxigdian" of the first subfile with the subfile name "GJ _ nan _ gongjianshou _ banyuan" of the second subfile and modify the "rotate" data, "xy" data, "size" data, "orig" data, "offset" data, and "index" data in the third subfile; after the editing module modifies the file, the file is restored to the arrangement form shown in fig. 5.
In addition, when a user needs to use an external resource picture to set the subfile, the name of the subfile is replaced by the storage address and the picture name of the external resource picture; when a user needs to replace the whole picture with the external resource picture, the main file name in the picture array is replaced by the storage address and the picture name of the external resource picture.
Claims (7)
1. An animation system, comprising the following modules:
the acquisition module is used for acquiring the text content of the animation file, opening the atlas file of the general skeleton animation in a text format, and acquiring the file content by using a for-loop sentence to obtain an unordered initial file;
the arrangement module is used for arranging the initial files into a plurality of picture arrays, each picture array is described by a main file and a plurality of sub-files, the main file is described by sequentially changing lines by using a main file name, size data, format data, filter data and repeat data, and the sub-files are described by sequentially changing lines by using sub-file names, rotate data, xy data, size data, orig data, offset data and index data; arranging the subfile names, rotate data, xy data, size data, orig data, offset data and index data in a line mode;
the editing module is used for editing the main file and the subfiles of the picture array according to the requirements of a user; modifying the main file and the subfiles of the picture array according to the requirements of a user, modifying the main file name, the size data, the format data, the filter data and the repeat data in the main file of the picture array, and modifying the subfile names, the rotate data, the xy data, the size data, the orig data, the offset data and the index data in the subfiles;
and the restoring module is used for restoring the edited file into a new file which is arranged unordered like the initial file.
2. The animation system of claim 1, wherein: the restoring module is used for carrying out reverse operation on the edited file and restoring the file into a new file which is unordered in arrangement like the original file.
3. The animation system of claim 1, wherein: the restoration module is used for copying the initial file as a copy when the acquisition module acquires the initial file, and modifying the position corresponding to the copy according to the editing content of the editing module to obtain a new file which is arranged unordered like the initial file.
4. A method of producing an animation, using the animation production system of claim 1, comprising the steps of:
step 1, exporting an atlas file of the manufactured animation by a user;
step 2, opening the atlas file of the animation, and acquiring an unordered initial file by an acquisition module;
step 3, arranging the initial files into a plurality of picture arrays by the arrangement module, wherein each picture array is described by a main file and a plurality of sub-files, the main file is described by sequentially changing lines by using a main file name, size data, format data and filter data, and the sub-files are described by sequentially changing lines by using sub-file names, rotate data, xy data, size data, orig data, offset data and index data;
step 4, the user sets the main file and the subfiles of the picture array according to the requirement of the user;
step 5, the editing module edits the data of the corresponding main file and the subfile of the corresponding picture according to the data set by the user in the step 4;
and 6, restoring the file after the step 5 into a new file which is arranged unordered like the original file by the restoring module, namely forming a new atlas file.
5. A method of animating according to claim 4, wherein: in the step 4, when the user needs to use the external resource picture to replace a certain picture or a certain component of a certain picture, the replacement is completed by filling in the storage address and the picture name of the external resource picture.
6. A method of animating according to claim 4, wherein: in the step 6, the restoring module performs reverse operation on the file after the step 5 to obtain a new file which is unordered in arrangement like the initial file.
7. A method of animating according to claim 4, wherein: in the step 6, when the obtaining module obtains the initial file, the restoring module copies the initial file as a copy, and modifies a position corresponding to the copy according to the modification content in the step 5, so as to obtain a new file which is unordered as the initial file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710223355.0A CN106846444B (en) | 2017-04-07 | 2017-04-07 | Animation production system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710223355.0A CN106846444B (en) | 2017-04-07 | 2017-04-07 | Animation production system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106846444A CN106846444A (en) | 2017-06-13 |
CN106846444B true CN106846444B (en) | 2020-09-01 |
Family
ID=59147156
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710223355.0A Active CN106846444B (en) | 2017-04-07 | 2017-04-07 | Animation production system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106846444B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104700444A (en) * | 2015-03-10 | 2015-06-10 | 上海鸿利数码科技有限公司 | Achievement method of picture animation |
CN105513115A (en) * | 2014-10-16 | 2016-04-20 | 腾讯科技(深圳)有限公司 | Method and device for converting SWF into Canvas cartoon |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7881805B2 (en) * | 2002-02-04 | 2011-02-01 | Boston Scientific Neuromodulation Corporation | Method for optimizing search for spinal cord stimulation parameter settings |
CN101882075B (en) * | 2010-03-24 | 2013-06-12 | 深圳万兴信息科技股份有限公司 | Method for editing rich text and for restoring and displaying rich text through FLASH |
CN103971391A (en) * | 2013-02-01 | 2014-08-06 | 腾讯科技(深圳)有限公司 | Animation method and device |
-
2017
- 2017-04-07 CN CN201710223355.0A patent/CN106846444B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105513115A (en) * | 2014-10-16 | 2016-04-20 | 腾讯科技(深圳)有限公司 | Method and device for converting SWF into Canvas cartoon |
CN104700444A (en) * | 2015-03-10 | 2015-06-10 | 上海鸿利数码科技有限公司 | Achievement method of picture animation |
Non-Patent Citations (1)
Title |
---|
谈谈Spine动画在产品中的应用;萌二代;《程序员人生》;20170224;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN106846444A (en) | 2017-06-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111753499B (en) | Method for merging and displaying electronic form and OFD format file and generating directory | |
CN105005642B (en) | A kind of threedimensional model batch format conversion and light weight method | |
CN103593456B (en) | Worksheet self-defining method for designing and device | |
US20130191732A1 (en) | Fixed Format Document Conversion Engine | |
CN105376502A (en) | All media on-line editing tool | |
CN110334332A (en) | A kind of PowerPoint generation method, device, storage medium and electronic equipment | |
CN103051652B (en) | A kind of mobile terminal cloud computing distribution platform | |
CN104035754A (en) | XML (Extensible Markup Language)-based custom code generation method and generator | |
CN103309904A (en) | Method and device for generating data warehouse ETL (Extraction, Transformation and Loading) codes | |
CN104063380A (en) | Method and device for converting picture files into webpage files | |
CN104111994A (en) | Label data screening method and device based on mixed data source | |
CN102663198A (en) | Method and system for designing and manufacturing printed matter on line by combining background and foreground of web | |
CN102306143A (en) | Method and system for generating and editing PDF (portable document format) document | |
CN110471754A (en) | Method for exhibiting data, device, equipment and storage medium in job scheduling | |
CN105975446A (en) | Method and system for displaying word document content by modules in mobile phone terminal | |
CN108959230B (en) | Method and device for generating report template | |
US20170024447A1 (en) | System, method, and apparatus for collaborative editing of common or related computer based software output | |
CN102387120B (en) | File transmission method and network transmission system | |
CN106021464A (en) | Universal multi-terminal editing and printing method for multimedia document | |
CN114973056B (en) | Information density-based fast video image segmentation and annotation method | |
CN109614682B (en) | Method and device for FPGA pin exchange based on Expedition PCB and storage medium | |
CN103309849A (en) | Docx document creating and modifying method based on OpenXML (open extensive markup language) | |
CN1949209A (en) | Method of mfg. to book by network collected works | |
CN106846444B (en) | Animation production system and method | |
CN106021359A (en) | CAD file modification 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 | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220729 Address after: 343600 room 8221-5, floor 2, building 1, Jinggangshan New Economic Industrial Park, Ji'an City, Jiangxi Province Patentee after: Jiangxi Yixin Information Technology Co.,Ltd. Address before: No. 505, building 6, Zone D, Tianfu Software Park, No. 599, shijicheng South Road, high tech Zone, Chengdu, Sichuan 610094 Patentee before: CHENGDU DONOLOGY TECHNOLOGY CO.,LTD. |