Solution cache output method based on shotgun process foundation
By using the solution cache output method based on the shotgun process in the solution process of three-dimensional animation production, the problem of dispersed computing resources and irregular naming caused by excessive animation files is solved, and a more efficient solution process and more standardized cache management are achieved.
Patent Information
- Application Number
- CN202110450324.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-25
- Publication Date
- 2025-03-07
- Estimated Expiration
- 2041-04-25
AI Technical Summary
In the existing three-dimensional animation production, the animation files in the solution process are too large, resulting in scattered computing resources, slow progress, and may even cause rendering files to crash. In addition, the lack of tool coordination and naming specifications leads to inconsistent naming of solution caches, which is prone to problems of collection and search errors.
The solution cache output method based on the shotgun process is adopted. By creating solution asset tasks on the shotgun process tool, obtaining and verifying solution assets and animation caches, connecting and solving the cache information, and finally submitting the solution task results in the shotgun database and outputting the solution cache.
It effectively avoids the problem of computing resource occupation caused by excessive animation files in traditional methods, improves computing efficiency, and uses the information management technology of the shotgun process tool to ensure that the naming specifications and process sequence of computing caches are understood, reducing the possibility of errors.
Smart Images

Figure CN113160363B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of three-dimensional animation production, and in particular to a solution cache output method based on a shotgun process. Background Art
[0002] The increasing demand for film and television quality has led to a market that is constantly driving the advancement of 3D technology, and high-quality solution effects have become the standard for high-quality 3D films. Fabric plug-ins such as qualoth, hair plug-ins such as xgen and yeti are mature and widely used solution production plug-ins, which ensure the convenience of production for individual production personnel and can achieve excellent solution effects. However, from the perspective of the production pipeline, even the most convenient production tools have room for improvement in efficiency.
[0003] In the traditional 3D animation production method, after entering the solving stage, the solving production personnel will take over the animation file that needs to be solved, extract the solving content from the animation file, add dynamics, perform solving simulation, adjustment and reshaping, and adjust the solving dynamics of the cloth or hair to the appropriate effect. The obtained solving cache is output to the local as a cache file, and then the solving cache is obtained from the solving node of the cache file for final reshaping. After the reshaping is completed, the completed version of the solving cache will be placed on the server. After retrieving the solving cache uploaded to the server from the solving node of the cache file, the saved animation file will be handed over to the post-rendering department.
[0004] However, in the animation files used for solving, there are a large number of deformer nodes (inherited from the binding stage), animation information nodes, and constraint nodes (inherited from the animation stage). These nodes will occupy the computer's computing resources when playing or moving keyframes. In this way, the computing resources that could have been allocated to solving will be shared, resulting in slow solving progress. The rendering file may even crash due to the large solving cache and calculation content.
[0005] When the solvers and producers are performing the solvers and producers, they lack the tools to coordinate, and the solver nodes of some plug-ins do not support the synchronous setting of numerical values (such as the setting of yeti attributes on the CV curve of the hair plug-in yeti). This will greatly increase the operation intensity of the solvers and producers, not only the numerical adjustment, but the entire solver and producer process.
[0006] There are also risks in the solution cache transfer process. Due to the lack of process and tool coordination, the solution cache output by the solver is usually named by themselves. This mechanism has the risk of receiving the wrong solution cache when receiving it. Once this happens, the file will be reworked. In addition, because the solution cache is named by itself and there is a lack of standards, even finding errors will become a very difficult task. This solution method is inefficient and risky for the entire animation production process. Summary of the invention
[0007] Based on the problems existing in the prior art, the purpose of the present invention is to provide a solution cache output method based on the Shotgun process, which can solve the solution link of the existing three-dimensional animation production. The solution cache and calculation content are too large, which can easily lead to file crashes, and self-naming of the solution cache will cause collection and search errors.
[0008] The objective of the present invention is achieved through the following technical solutions:
[0009] The embodiment of the present invention provides a solution cache output method based on the shotgun process, comprising the following steps:
[0010] Step 1, create a solution asset task: create a solution asset task on the Shotgun pipeline tool, claim the solution asset task and verify whether the Shotgun database of the Shotgun pipeline tool has the solution asset and the animation cache obtained from the animation file. If yes, proceed to step 2. If not, create the solution asset and obtain the animation cache from the animation file and submit them to the Shotgun database.
[0011] Step 2, receive the solving task: after the solving asset task is created, enter the solving phase according to the signal that can start solving fed back by the Shotgun database, receive the solving task, name the established lens solving file according to the predetermined rules, and receive the solving assets and animation cache created in step 1;
[0012] Step 3, cache information connection: import the received solution assets and animation cache into the lens solution file to automatically connect the cache information, so that the solution assets are solved based on the dynamics in the inherited animation cache;
[0013] Step 4, solution processing: after receiving the solution asset, adjust the solution node attributes of the solution asset and the solution simulation time to perform the solution. After the solution is completed, submit the solution file and solution cache to the Shotgun database as the solution task result;
[0014] Step 5, solution cache output: After the submitted solution task result is reviewed and approved, the shotgun database sends a trigger signal for receiving the solution cache to the assembly department, thus completing the output of the solution cache.
[0015] It can be seen from the technical solution provided by the present invention that the solution cache output method based on the shotgun process provided by the embodiment of the present invention has the following beneficial effects:
[0016] Since in the step of creating a solution asset task, a solution asset task is created with the solution asset and the animation cache obtained from the animation file, and subsequently the solution is only performed on the established lens solution file, the traditional solution processing based on the animation file is avoided, which occupies a lot of resources and is prone to the problem of solution file crash; and, the method can modify the traditional linear process of the original ABC cache process in which the solution production link and the lighting assembly link are carried out in sequence into a process parallel to the lighting assembly link, thereby improving processing efficiency. At the same time, the information management technology of the shotgun process tool is adopted to ensure that the overall process sequence will not be confused, which is convenient for supervision and control of the process. This method allows the downstream links to smoothly receive the solution cache and complete the production of the overall process. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0018] Figure 1 A flowchart of a solution cache output method provided by an embodiment of the present invention;
[0019] Figure 2 A specific flow chart of the solution cache output method provided by an embodiment of the present invention;
[0020] Figure 3 A schematic diagram of the relationship between the animation file output and the shotgun database in the solution cache output method provided in an embodiment of the present invention;
[0021] Figure 4 A schematic diagram of lens solution files and cache data submission in the solution cache output method provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0022] The following is a clear and complete description of the technical solutions in the embodiments of the present invention in combination with the specific content of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work belong to the protection scope of the present invention. The contents not described in detail in the embodiments of the present invention belong to the prior art known to professional and technical personnel in this field.
[0023] See also Figure 1 , 2 The embodiment of the present invention provides a solution cache output method based on the shotgun process, comprising the following steps:
[0024] Step 1, create a solution asset task: create a solution asset task on the Shotgun pipeline tool, claim the solution asset task and verify whether the Shotgun database of the Shotgun pipeline tool has the solution asset and the animation cache obtained from the animation file. If yes, proceed to step 2. If not, create the solution asset and obtain the animation cache from the animation file and submit them to the Shotgun database.
[0025] Step 2, receive the solving task: after the solving asset task is created, enter the solving phase according to the signal that can start solving fed back by the Shotgun database, receive the solving task, name the established lens solving file according to the predetermined rules, and receive the solving assets and animation cache created in step 1;
[0026] Step 3, cache information connection: import the received solution assets and animation cache into the lens solution file to automatically connect the cache information, so that the solution assets are solved based on the dynamics in the inherited animation cache;
[0027] Step 4, solving process: after receiving the solved asset, adjust the solving node attributes of the solved asset and the time of the solving simulation to solve. After the solving is completed, submit the lens solving file and cache data to the Shotgun database as the solving task result;
[0028] Step 5, solution cache output: After the submitted solution task result is reviewed and approved, the shotgun database sends a trigger signal for receiving the solution cache to the assembly department, thus completing the output of the solution cache.
[0029] In step 2 of the above method, in the shotgun database, if the lens has been assigned a solving task, and the task statuses of solving assets and animation cache are both passed, it is confirmed that the triggering conditions of the solving task are met, and a signal that the solving can be started is fed back.
[0030] In step 2 of the above method, the lens solution file is named according to a predetermined rule using automatic naming software.
[0031] In step 2 of the above method, the predetermined rule for naming the shot solution file is: scene name_shot name.task name.version number.extension.
[0032] In step 2 of the above method, the solution assets and animation cache created in step 1 are obtained through the lens solution asset collection tool.
[0033] In step 5 of the above method, after receiving the trigger signal for receiving the solution cache, the assembly department first refreshes the lens assembly file or opens the lens assembly file, and then receives the solution cache.
[0034] Step 5 of the above method further includes: after the assembly department receives the solution cache, the assembly department imports the solution cache into the lens assembly file for connection according to the connection information of the solution cache.
[0035] In the above method, the solution cache is imported into the lens assembly file for connection in the following manner, including:
[0036] The solution cache is imported into the lens assembly file in the lighting assembly link, and the solution cache is connected to the corresponding node according to the cache connection information, so that the character participates in the rendering with the dynamic cache.
[0037] Step 1 of the above method also includes: processing of sending animation file related information: after the animation file is submitted, according to the predetermined project configuration, the ABC cache file of the assets and cameras used in the animation shot of the animation file, the animation cache data information and the lens assembly file that references the animation ABC cache data are generated, and the animation file, version description file and lens assembly file information are sent to the shotgun database as related information of the animation file.
[0038] The above-mentioned project configuration refers to the information specified in the animation production project specifications, such as file naming format, file storage path, etc. This information is saved in the form of a Python dictionary as a project-independent json configuration file for configuring the project.
[0039] The present invention can adapt well to the solution cache output of the current pipeline with the help of the convenient process management provided by the shotgun process tool, and in Maya software, through various detections (such as file name detection, asset reference method detection, asset space name detection, detection of solution nodes and connection methods in assets, etc.), a cache input and output tool is developed to ensure that various cache and proxy information such as abc, yeti, xgen, Arnold, etc. output by the file meets the project production specifications.
[0040] The embodiments of the present invention are described in further detail below.
[0041] See also Figure 1 , 2 The embodiment of the present invention provides a solution cache output method based on the shotgun process, comprising the following steps:
[0042] Step 1) Create a solution asset task: Create a solution asset task on the Shotgun pipeline tool, claim the solution asset task and verify whether the Shotgun database of the Shotgun pipeline tool has the solution asset and the animation cache obtained from the animation file. If yes, proceed to step 2. If not, create the solution asset and obtain the animation cache from the animation file and submit them to the Shotgun database.
[0043] In the above step 1, a solve asset task is created on the Shotgun pipeline tool, and the production staff produces the solve asset; when the animation file is submitted, the ABC cache file of the assets and camera in the animation file lens, cache data information and lens assembly file that references the ABC cache data will be generated in the background according to the project configuration, and the animation file, version description file and lens assembly file will be sent to the Shotgun database of the Shotgun pipeline tool at the same time;
[0044] Step 2, receive the solving task: after the solving asset task is created, enter the solving phase according to the signal that can start solving fed back by the Shotgun database, receive the solving task, name the established lens solving file according to the predetermined rules, and receive the solving assets and animation cache created in step 1;
[0045] See also Figure 3 In the above step 2, in the shotgun database, if the lens assembly file is assigned a solution task, and the task status of the solution asset and animation cache are both passed, the trigger condition of the solution task is met, and a signal that the solution can be started is fed back;
[0046] In the above step 2, firstly name the lens solution file according to the predetermined rules. The file naming can be automatically named using the shotgun workfile tool software. The assigned solver can select his own solution task, right-click in the workfile tab bar and select New to complete. After the lens solution file is named, all the approved solution assets in the lens assembly file will be automatically matched according to the lens solution file name. Select the assets to be solved and click to receive. The solution assets and corresponding animation information can be received into the lens solution file. The solution asset collection can be realized through the solution asset collection tool software.
[0047] Step 3, cache information connection: import the received solution assets and animation cache into the lens solution file to automatically connect the cache information, so that the solution assets are solved based on the dynamics in the inherited animation cache;
[0048] In step 3 above, after the cache information connection is completed, the solving asset can inherit the dynamics in the animation cache, so that the solving link can solve based on the animation dynamics, and avoid inheriting too many unnecessary nodes;
[0049] Step 4, solving process: after receiving the solved asset, adjust the solving node attributes of the solved asset and the time of the solving simulation to solve. After the solving is completed, submit the lens solving file and cache data to the Shotgun database as the solving task result;
[0050] See also Figure 4 In the above step 4, the solver takes time to adjust the attributes and solve the simulation. After the solve is completed, the lens solve file and cache data need to be submitted. Specifically, the solve file submission process involves the lens solve file and its derived cache data. The cache data derived from the lens solve file includes the solve cache and cache information. The solve cache will eventually be imported into the lens assembly file in the lighting assembly stage. According to the cache connection information of the cache information, the cache is connected to the corresponding node, so that the character can participate in the rendering with the dynamic cache.
[0051] Step 5, solution cache output: After the submitted solution task result is reviewed and approved, the shotgun database sends a trigger signal for receiving the solution cache to the assembly department, thus completing the output of the solution cache.
[0052] In step 5 above, after the solution task is submitted and approved, the Shotgun process tool will send a trigger signal to the assembly department to receive the solution cache, that is, the output of the solution cache is completed. Subsequently, the assembly department refreshes the lens assembly file or opens the lens assembly file, receives the solution cache, and imports the solution cache into the lens assembly file according to the cache connection information and connects it to the corresponding node.
[0053] The method of the present invention has at least the following advantages:
[0054] 1) Use independent assets and animation cache for solving, with fewer file nodes, reducing the demand for processing resources in the solving process and improving solving efficiency.
[0055] 2) The solution production is separated from the traditional linear production process and can be carried out in parallel with the lighting assembly process, which improves the overall production efficiency from a process perspective.
[0056] 3) Combined with the Shotgun pipeline tool (full name Shotgun software, an existing mature project pipeline management software), the solution production can still perfectly cooperate with the entire animation production process under independent production conditions.
[0057] The method of the present invention is based on the abc cache production technology, modifies the original solution production link from the traditional linear process to a process that can be parallel with the lighting assembly link, and adopts database information management technology to ensure that the overall process sequence will not be chaotic. The process is supervised and controlled by the shotgun information management system. With the help of API and commands provided by Maya software, various detection functions are developed in Python language to ensure that no content that violates the production process specification will appear in the solution file production process. Cache input and output tools are developed to ensure that various cache and proxy information such as abc, yeti, xgen, Arnold, etc. output by the file meet the project production specifications, so that the downstream links can smoothly receive the cache and complete the process production.
[0058] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0059] The above is only a preferred specific embodiment 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 a person skilled in the art within the technical scope disclosed in the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A solution cache output method based on the shotgun process, characterized in that: The following steps are involved: Step 1, create a solution asset task: create a solution asset task on the Shotgun pipeline tool, claim the solution asset task and verify whether the Shotgun database of the Shotgun pipeline tool has the solution asset and the animation cache obtained from the animation file. If yes, proceed to step 2. If not, create the solution asset and obtain the animation cache from the animation file and submit them to the Shotgun database. Step 2, receive the solving task: after the solving asset task is created, enter the solving phase according to the signal that can start solving fed back by the Shotgun database, receive the solving task, name the established lens solving file according to the predetermined rules, and receive the solving asset and animation cache created in step 1; Step 3, cache information connection: import the received solution asset and animation cache into the lens solution file to automatically connect the cache information, so that the solution asset is solved based on the dynamics in the inherited animation cache; in step 3, after the cache information connection is completed, the solution asset is allowed to inherit the dynamics in the animation cache, and the solution link is solved based on the animation dynamics, while avoiding inheriting too many unnecessary nodes; Step 4, solving process: after receiving the solved asset, adjust the solving node attributes of the solved asset and the time of the solving simulation to solve. After the solving is completed, submit the lens solving file and cache data to the Shotgun database as the solving task result; Step 5, solution cache output: After the submitted solution task result is reviewed and approved, the shotgun database sends a trigger signal for receiving the solution cache to the assembly department to complete the output of the solution cache.
2. The solution cache output method based on the shotgun process according to claim 1 is characterized in that: In step 2, in the shotgun database, if the lens assembly file has been assigned a solving task, and the task statuses of solving assets and animation cache are both passed, it is confirmed that the triggering conditions of the solving task are met, and a signal that the solving can be started is fed back.
3. The solution cache output method based on the shotgun process according to claim 1 is characterized in that: In step 2, the lens solution file is named according to a predetermined rule using automatic naming software.
4. The solution cache output method based on the shotgun process according to claim 1 or 3 is characterized in that: In step 2, the predetermined rule for naming the shot solution file is: scene name_shot name.task name.version number.extension.
5. The solution cache output method based on the Shotgun process according to any one of claims 1 to 3, characterized in that: In the step 2, the solution assets and animation cache created in the step 1 are obtained through the lens solution asset collection tool.
6. The solution cache output method based on the shotgun process according to any one of claims 1 to 3, characterized in that: In step 5, after receiving the trigger signal for receiving the solution cache, the assembly department first refreshes the lens assembly file or opens the lens assembly file, and then receives the solution cache.
7. The solution cache output method based on the shotgun process according to any one of claims 1 to 3, characterized in that: The step 5 also includes: after the assembly department receives the solution cache, according to the connection information of the solution cache, the solution cache is imported into the lens assembly file for connection.
8. The solution cache output method based on the Shotgun process according to claim 7 is characterized in that: Import the solution cache into the lens assembly file for connection in the following manner, including: The solution cache is imported into the lens assembly file in the lighting assembly link, and the solution cache is connected to the corresponding node according to the cache connection information, so that the character participates in the rendering with the dynamic cache.
9. The solution cache output method based on the shotgun process according to any one of claims 1 to 3, characterized in that: The step 1 also includes: processing of sending animation file related information: after the animation file is submitted, according to the predetermined project configuration, the ABC cache file of the assets and cameras used in the animation shot of the animation file, the animation cache data information and the lens assembly file that references the animation ABC cache data are generated, and the animation file, version description file and lens assembly file information are sent to the shotgun database as the animation file related information.
Citation Information
Patent Citations
Branch target buffer arrangement for instruction prefetching
CN111971654A
Frame animation processing method applied to theme
CN112231029A