Distributed export method and device for animation model in maya and medium

By implementing the distributed export method of animation models in maya, the problems of long export time, low efficiency and insufficient flexibility in the traditional export method are solved, and efficient and flexible animation model export is realized, and the changing parts of the animation model frame can be exported separately.

CN120147103APending Publication Date: 2025-06-13FANTAWILD DIGITAL FILM
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510313586.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-17
Publication Date
2025-06-13

AI Technical Summary

Technical Problem

When exporting animation models in traditional Alembic file format, distributed export cannot be achieved, resulting in long export time, low efficiency, and insufficient flexibility, so that the changing parts of the animation model frame cannot be exported separately.

Method used

By implementing the distributed export method of animation models in maya, the total server is used to evenly divide the export task into multiple split export frame tasks, and allocate it to the sub-server for processing, a sequence sub-file that only records the position information of the animation model is obtained, and finally stored in the form of a total file.

Benefits of technology

It improves the efficiency of animation model export, enhances the flexibility of the animation production process, and can export the changing parts of the animation model frame separately, shortens the export time and saves storage resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120147103A_ABST
    Figure CN120147103A_ABST
Patent Text Reader

Abstract

The invention discloses a distributed export method and device for an animation model in maya and a medium, and belongs to the field of animation production. The method comprises the following steps of: 1, judging whether the attribute of an animation model to be exported in maya is rigid or non-rigid; 2, determining an export frame range of the animation model; step 3, uniformly dividing the export task into a plurality of split export frame tasks by the total server according to the determined export frame range, the calculated amount of the export task and the number of the sub-servers, and distributing the split export frame tasks to each sub-server for export processing to obtain each sequence sub-file; and 4, recording the storage path information and the corresponding playing rule of each sequence sub-file of each sub-server by using a total file of the total server, and taking the storage path information and the corresponding playing rule as a final export file. According to the distributed exporting method, the animation model exporting efficiency can be improved, and the advantage of reducing the occupied space of the exporting model is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of maya animation production, and particularly relates to a distributed export method for animation models in maya. Background Art

[0002] In the traditional animation production process, the model is generally exported in the Alembic file format to export the animation model, generating a file with the extension.abc, so this export method is also called ABC. The animation model can be read and produced in the subsequent production process only after being exported as an independent file. Therefore, the animation model export link is of great significance in animation production.

[0003] When exporting the animation model in the ABC method, only one task can be exported at a time, and all data of the animation model need to be recorded when exporting the animation model. It cannot be split and exported in a distributed manner. At the same time, when the actions of the animation model change within a certain period of time, the frames of the changed animation model cannot be exported separately, and all frames of the animation model need to be exported again. It lacks flexibility and has great limitations. At the same time, it causes a long export time and low efficiency.

[0004] In view of this, the present invention is specifically proposed. Summary of the Invention

[0005] The purpose of the present invention is to provide a distributed export method, device and medium for animation models in maya, which can realize the distributed export of animation models, effectively improve the export efficiency of animation models, and has strong flexibility in the animation production process, thereby solving the above technical problems existing in the prior art.

[0006] The purpose of the present invention is achieved through the following technical solutions:

[0007] A distributed export method for animation models in maya includes:

[0008] Step 1, determine the attribute of the animation model to be exported in the animation production software maya, and the attribute is one of a rigid model and a non-rigid model;

[0009] Step 2, determine the export frame range of the animation model;

[0010] Step 3, according to the export frame range determined in Step 2, the calculation amount of the export task and the number of sub-servers, the main server evenly divides the export task into multiple split export frame tasks, and distributes each split export frame task to a sub-server. Each sub-server performs the export processing of the corresponding split export frame task simultaneously at the same time according to the attribute of the animation model determined in Step 1, and respectively obtains each sequence sub-file that only records the position information of the animation model without recording the original information;

[0011] Step 4: Use the total file stored in the total server to record the storage path information and corresponding playback rules of each sequence sub-file of each sub-server, and use the total file as the final exported file.

[0012] A processing device includes:

[0013] At least one memory for storing one or more programs;

[0014] At least one processor capable of executing the one or more programs stored in the memory. When the one or more programs are executed by the processor, the processor can implement the method described in the present invention.

[0015] A readable storage medium stores a computer program that can implement the method described in the present invention when executed by a processor.

[0016] Compared with the prior art, the distributed export method, device and medium for animation models in maya provided by the present invention have the following beneficial effects:

[0017] Since the distributed calculation is used to export the animation model according to the determined export frame range, the calculation amount of the export task and the number of sub-servers, the export efficiency of the animation model can be effectively improved, and the flexibility of the animation production process is strong. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.

[0019] Figure 1 It is a flowchart of the distributed export method for animation models in maya provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0020] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the specific content of the present invention; obviously, the described embodiments are only some embodiments of the present invention, not all of the embodiments, which do not constitute a limitation to the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the protection scope of the present invention.

[0021] First, the following explanations will be made for the terms that may be used in this article:

[0022] The term "and / or" means that either or both of the two can be achieved. For example, X and / or Y means that it includes three cases: the case of "X" or "Y" and the case of "X and Y".

[0023] Descriptions such as the terms "comprise", "include", "contain", "have" or other similar semantic descriptions shall be construed as non-exclusive inclusion. For example: including a certain technical feature element (such as raw material, component, ingredient, carrier, dosage form, material, size, part, component, mechanism, device, step, process, method, reaction condition, processing condition, parameter, algorithm, signal, data, product or article, etc.) shall be construed as not only including the specifically listed certain technical feature element, but also including other technical feature elements well-known in the art that are not specifically listed.

[0024] The term "consisting of" means excluding any technical feature element not specifically listed. If this term is used in a claim, then this term will make the claim a closed type, making it not include technical feature elements other than the specifically listed technical feature elements, except for related conventional impurities. If this term only appears in a certain clause of a claim, then it only limits the elements specifically listed in that clause, and the elements recorded in other clauses are not excluded from the overall claim.

[0025] Unless otherwise clearly specified or limited, terms such as "install", "connect", "join", "fix", etc. shall be understood in a broad sense. For example: it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and it can be the communication inside two elements. For those of ordinary skill in the art, the specific meanings of the above terms in this article can be understood according to specific circumstances.

[0026] When a concentration, temperature, pressure, size or other parameter is expressed in the form of a numerical range, this numerical range shall be understood to specifically disclose all ranges formed by the pairing of any upper limit value, lower limit value, and preferred value within this numerical range, regardless of whether this range is clearly recorded; for example, if the numerical range "2 - 8" is recorded, then this numerical range shall be construed as including ranges such as "2 - 7", "2 - 6", "5 - 7", "3 - 4 and 6 - 7", "3 - 5 and 7", "2 and 5 - 7", etc. Unless otherwise specified, the numerical ranges recorded in this article include both their end values and all integers and fractions within this numerical range.

[0027] The following provides a detailed description of the solution provided by the present invention. The content not described in detail in the embodiments of the present invention belongs to the prior art well-known to those skilled in the art. In the embodiments of the present invention, those not specified in specific conditions are carried out according to the conventional conditions in the art or the conditions recommended by the manufacturer. The reagents or instruments used in the embodiments of the present invention not specified in the manufacturer are all conventional products that can be obtained through commercial purchase.

[0028] As Figure 1 shown, an embodiment of the present invention provides a distributed export method for an animation model in Maya, including:

[0029] Step 1, determine the attributes of the animation model to be exported in the animation production software Maya, where the attributes are one of a rigid model and a non-rigid model;

[0030] Step 2, determine the export frame range of the animation model;

[0031] Step 3, according to the export frame range determined in Step 2, the calculation amount of the export task, and the number of sub-servers, the master server evenly divides the export task into multiple split export frame tasks, and distributes each split export frame task to a sub-server. Each sub-server performs the export processing of the corresponding split export frame task simultaneously at the same time according to the attributes of the animation model determined in Step 1, and respectively obtains each sequence sub-file that only records the position information of the animation model without recording the original information;

[0032] Step 4, use the master file stored in the master server to record the storage path information and corresponding playback rules of each sequence sub-file of each sub-server, and use the master file as the final export file.

[0033] Preferably, in the above export method, the animation model with the attribute of a rigid model refers to a model that will not undergo overall deformation but only spatial position changes;

[0034] The animation model with the attribute of a non-rigid model refers to a model that will undergo deformation.

[0035] Preferably, in the above export method, in Step 4, if the attribute of the animation model determined in Step 1 is a rigid model, the export operation method of the corresponding sub-server is:

[0036] Record the position change information of the entire rigid model and export it.

[0037] Preferably, in the above export method, in Step 4, if the attribute of the animation model determined in Step 1 is a non-rigid model, the export operation method of the corresponding sub-server is:

[0038] Record the position information of each point of each frame of the entire non-rigid model, that is, the deformation information, and export it.

[0039] Preferably, in the above export method, in step 4, each sequence sub-file that only records the position information of the animation model without recording the original information is a USD format file.

[0040] Preferably, in the above export method, in step 5, the total file stored in the total server is a USD format file.

[0041] Preferably, in the above export method, the export frame range of the animation model refers to selecting a specific range of frames from the animation sequence of the animation model and extracting this range of frames from the working environment of the animation production software maya.

[0042] An embodiment of the present invention further provides a processing device, including:

[0043] At least one memory for storing one or more programs;

[0044] At least one processor capable of executing the one or more programs stored in the memory. When the one or more programs are executed by the processor, the processor can implement the above method.

[0045] An embodiment of the present invention further provides a readable storage medium storing a computer program that can implement the above method when executed by a processor.

[0046] In summary, in the distributed export method of the embodiment of the present invention, the export frame task of an animation model is evenly divided into multiple split export frame tasks according to the calculation amount. The total server distributes each split export frame task to each sub-server for export frame task processing, and the corresponding sequence sub-files obtained by export are all in USD format files. The storage path information and corresponding playback rules of each sequence sub-file are recorded in the total file, and the total server uses the total file as the final export file. Since the exported USD format file does not record the original data but only records the actually changed data, it has the advantage of small storage space occupation. The export method of the present invention is based on the USD framework and uses a distributed computing method to export the animation model, which can effectively improve the export efficiency of the animation model, has strong flexibility in the animation production process, and well solves the problems of insufficient flexibility, large limitations, long export time, and low efficiency existing in the existing method of exporting animation models based on the traditional Alembic file format.

[0047] In order to more clearly show the technical solutions provided by the present invention and the technical effects produced, the following uses specific embodiments to describe in detail the solutions provided by the embodiments of the present invention.

[0048] Example 1

[0049] like Figure 1 As shown, this embodiment provides a distributed export method for animation models in Maya, including:

[0050] Step 1, determining the attribute of the animation model to be exported in the animation production software Maya, wherein the attribute is one of a rigid model and a non-rigid model;

[0051] Step 2, determining the export frame range of the animation model;

[0052] Step 3: According to the export frame range determined in step 2, the computational amount of the export task and the number of sub-servers, the main server evenly divides the export task into multiple split export frame tasks, and assigns each split export frame task to a sub-server. Each sub-server simultaneously performs the export processing of the corresponding split export frame task at the same time according to the attributes of the animation model determined in step 1, and obtains each sequence sub-file that only records the position information of the animation model but does not record the original information;

[0053] Step 4: Use the master file stored in the master server to record the storage path information and corresponding playback rules of each sequence sub-file of each sub-server, and use the master file as the final export file.

[0054] In the animation software Maya, the rigid model refers to the model that will not deform as a whole but only change its spatial position, such as the animation models of pens, balls, screens, etc. The deformable models are called non-rigid models, such as the animation models of people and fingers. Determine the export frame range of the animation model to be exported. Exporting frames means selecting specific frames or a range of frames from the animation sequence and extracting them from the working environment of the animation software, just like capturing certain scenes from a movie and saving them.

[0055] Each animation model has many points, and these points have unique three-dimensional coordinates in the virtual space. If a certain point of an animation model is set as the reference point and the precise point is used as the origin, then other points have a relative three-dimensional coordinate based on the origin. The coordinates of these points record the position information, normal information, UV information, etc. of the animation model.

[0056] The export task is subdivided into multiple subtasks according to the selected export frame range. Specifically, on the main server side, the export task is evenly divided into multiple split export frame tasks according to the computational workload, and each split export frame task is assigned to a sub-server. Each sub-server processes the split export frame task simultaneously within the same time to obtain the corresponding sequence sub-files, greatly accelerating the export rate of the entire animation model. For each of the exported sequence sub-files, they can be exported in the form of a total file reference, which is concise and clear, and it is more convenient to call animations within a specific frame rate range for each exported frame, facilitating subsequent animation production.

[0057] This way of exporting the total file does not record the original information (normal information, uv information, etc.), but only records the position information of the animation model. Since before exporting the animation model, a rigid and non-rigid property judgment will be made on the animation model, and different export modes will be selected according to the rigid and non-rigid properties of the model, and then the operation of exporting the animation model will be carried out. During the export process, the system will export the necessary data according to the type of the selected model. If it is a rigid model, only the position information of several vertices that determine the shape of the rigid model for each frame needs to be recorded, that is, the position change information of the entire rigid model is recorded and exported; if it is a non-rigid model, the position information of each point for each frame needs to be recorded, that is, the information of the model deformation is recorded and exported.

[0058] Through the above-mentioned distributed computing method, the work of exporting by a traditional single server is distributed to multiple sub-servers, and the efficiency is increased by several times, greatly shortening the export time and improving the export efficiency; at the same time, since only the position information data that actually changes needs to be output and the original information does not need to be recorded, the final exported file size is greatly reduced, realizing the effective utilization of resources; for the animation production link, due to the distributed export and the way of using a total file to reference each sequence sub-file, for the adjustment of actions during the animation production process, only the frames within a certain time period need to be re-exported, instead of re-exporting all frames as in the past, which is time-consuming and laborious. Only the frames within the time period where deformation occurs need to be exported, thus saving a lot of time.

[0059] The logic of distributed output is to evenly allocate the computational workload of the total export task to each sub-server. Taking an animation character with 1000 frames as an example, if 100 sub-servers (i.e., 100 computers) are used for parallel processing, each sub-server only needs to be responsible for the export work of 10 frames. Compared with the traditional way where only one server can export one file, the efficiency is doubled, which depends on the number of sub-servers.

[0060] The overall file reference actually refers to a single overall file that references a large number of exported sub-files. The overall file is essentially a path storage information and rule record file. It records the path storage information of each sub-file and the rules for activating certain frames at a certain time point and for how long. Therefore, this overall file does not take up much memory and is automatically generated after the export task is completed. This file is generated in accordance with the USD file specification, which is common knowledge in the industry and will not be elaborated further.

[0061] The distributed export method of this embodiment has at least the following advantages:

[0062] (1) Improve export efficiency: Compared with the traditional ABC export method, when using the distributed method to export an animation model to the USD format and splitting the task among multiple servers to work simultaneously, the efficiency is greatly improved.

[0063] (2) Save storage resources: The amount of data recorded by this method is significantly less than that recorded by the traditional ABC method, saving hard disk space and resources.

[0064] (3) Facilitate subsequent animation production and have high flexibility in use: In this method, when a certain animation model changes within a certain period of time, it is not necessary to re-export the entire model. Instead, only the animation model within a specific time period needs to be re-exported. Compared with the traditional method, it is more flexible, and at the same time, it shortens the export time by a large amount, which also provides convenience for subsequent production processes.

[0065] (4) Adopt the method of using the overall file to reference sub-files, and the overall file is a file that records the storage path information and playback rules of sub-files. Therefore, in actual applications, specific animation actions at specific times can be arbitrarily specified and called for production, which provides convenience for downstream production.

[0066] As mentioned above, the above are only the preferred specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by those skilled in the art within the technical scope disclosed by the present invention should be covered by the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims. The information disclosed in the background art part of this article is only intended to deepen the understanding of the overall background technology of the present invention, and should not be regarded as an admission or any form of suggestion that this information constitutes prior art already known to those skilled in the art.

Claims

1. A distributed export method for animation models in Maya, characterized in that: include: Step 1, determining the attribute of the animation model to be exported in the animation production software Maya, wherein the attribute is one of a rigid model and a non-rigid model; Step 2, determining the export frame range of the animation model; Step 3: According to the export frame range determined in step 2, the computational amount of the export task and the number of sub-servers, the main server evenly divides the export task into multiple split export frame tasks, and assigns each split export frame task to a sub-server. Each sub-server simultaneously performs the export processing of the corresponding split export frame task at the same time according to the attributes of the animation model determined in step 1, and obtains each sequence sub-file that only records the position information of the animation model but does not record the original information; Step 4: Use the master file stored in the master server to record the storage path information and corresponding playback rules of each sequence sub-file of each sub-server, and use the master file as the final export file.

2. The distributed export method of animation model in Maya according to claim 1, characterized in that: Animation models with the attribute of rigid model refer to models that will not undergo overall deformation but only change in spatial position; Animated models with the attribute of non-rigid models are models that will deform.

3. The distributed export method of animation model in Maya according to claim 1 or 2, characterized in that: In step 4, if the attribute of the animation model determined in step 1 is a rigid model, the export operation mode of the corresponding sub-server is: Record the position change information of the entire rigid model and export it.

4. The distributed export method of animation model in Maya according to claim 1 or 2, characterized in that: In step 4, if the attribute of the animation model determined in step 1 is a non-rigid model, the export operation mode of the corresponding sub-server is: The position information of each point in each frame of the entire non-rigid model, that is, the deformation information, is recorded and exported.

5. The distributed export method of animation model in Maya according to claim 1 or 2, characterized in that: In step 4, each sequence sub-file that only records the position information of the animation model but does not record the original information is a USD format file.

6. The distributed export method of animation model in Maya according to claim 1 or 2, characterized in that: In step 5, the total file stored in the main server is a file in USD format.

7. The distributed export method of animation model in Maya according to claim 1 or 2, characterized in that: The exported frame range of the animation model refers to selecting a specific frame range from the animation sequence of the animation model, and extracting this frame range from the working environment of the animation production software Maya.

8. A processing device, characterized in that: include: at least one memory for storing one or more programs; At least one processor can execute one or more programs stored in the memory, and when the one or more programs are executed by the processor, the processor can implement the method described in any one of claims 1 to 7.

9. A readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 can be implemented.