Method and system for importing animation special effect into engine level
By identifying the special effects schematic effects in Maya animation files and generating special effects attribute information files, creating the association relationship between the lens folder and the UE level, the complex operation and inefficiency in the Maya-UE special effects transmission process are solved, and animation special effects are realized The automated import and dynamic matching have improved the efficiency of 3D film and television production.
Patent Information
- Application Number
- CN202411012516.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-11-01
AI Technical Summary
The existing Maya animation special effects schematic and UE special effects production process are cumbersome and inefficient, resulting in high resource consumption and repeated manpower consumption, and lack of efficient special effects schematic transmission schemes.
By identifying the special effects schematic effects in Maya animation files, generating special effects attribute information files, and converting them into FBX format animation files, creating the association relationship between the lens folder and the engine level, batch importing UE special effects effects, and realizing an automated special effects import process .
It improves the efficiency of special effects transmission between Maya-UE, reduces the repetitive work and production costs of human resources, and realizes the automated import and dynamic matching of animation special effects.
Smart Images

Figure CN118887322A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of 3D film and television production, and specifically to a method and system that can automatically and efficiently import animation special effects into engine levels. Background Art
[0002] In the field of 3D film and television production, Maya and UE are two mainstream software that need to be used. Among them, Maya is a software for making animation special effects. Various animation special effects can be made into corresponding inserted special effect resources through this software. In this system process, the animation special effects made by Maya software are generally called Maya animation special effects diagrams (Maya animation special effects diagrams: refers to the special effects that appear in the lens in the form of relatively simple patches or maps in the production process of Maya animation lenses, according to the requirements of the lens's picture effects. The special effects diagram can include the position, rotation, size, effect dynamics and other information of the effects in the lens).
[0003] The integration and rendering of various resources in 3D film and television production usually require the use of UE (Unreal Engine) software. In the existing Maya animation special effect diagram manufacturing process, in the Maya and UE film and television animation production process, the screen special effect production process is that first, the Maya animation link will have personnel produce animation special effects diagrams for each shot, and then the UE special effect production personnel will find the UE special effect effects according to the Maya special effect diagrams and import them into the UE special effect level, and adjust the effect dynamics to match the general dynamics of the Maya special effect diagrams. This process needs to be implemented by the production personnel in steps using different tools, and it is necessary to repeatedly adjust the dynamic performance of the special effect diagrams in UE to match the special effect diagrams in Maya. The whole process is cumbersome and inefficient.
[0004] In summary, there is an urgent need to build a more efficient special effects schematic transmission solution or UE special effects production process between Maya and UE to optimize the resource consumption in the stage, reduce the manpower consumption of repeated production processes and the resource cost of the production links, and provide solid technical support for 3D film and television production. Summary of the invention
[0005] In view of this, the present application provides a highly automated and efficient animation special effects import engine solution, in order to solve the problems of complex operation and low efficiency in converting Maya animation special effects schematic effects into corresponding UE special effects.
[0006] A first aspect of the present invention provides a method for importing animation special effects into an engine level. The method comprises:
[0007] Identify the special effect schematic effect under each lens in the Maya animation file to obtain the special effect attribute information in each lens, and save it as a corresponding special effect attribute information file;
[0008] Save the FBX format animation file and special effect attribute information file corresponding to the special effect schematic effect under each lens into a lens folder named after the lens name of the corresponding lens;
[0009] Create an association relationship between each lens folder and an engine level; determine the engine level associated with each lens folder based on all the lens folders and the corresponding association relationships; and batch-convert the special effect schematic effects contained in each lens folder into corresponding UE special effect effects according to the special effect schematic effects and special effect attribute information files, and then import them into the corresponding associated engine level.
[0010] Furthermore, the identification of the special effect schematic effect under each lens in the Maya animation file to obtain the special effect attribute information in each lens is implemented as follows: based on the name suffix of each object under each lens in the Maya animation file, the special effect schematic effect is identified; for each identified special effect attribute, the controller attribute thereof is identified and analyzed to obtain the special effect attribute information in each lens. The special effect attribute information at least includes: the name of the special effect schematic effect, the position of the special effect schematic effect, rotation, size scaling, dynamic rhythm and color.
[0011] Furthermore, the creation of the association relationship between each of the lens folders and the engine level is achieved by: storing the name of any lens folder in association with the identifier of the engine level to be imported.
[0012] Furthermore, the method also includes: for the UE special effect schematic effect imported into the UE engine level, schematic control is performed based on the special effect attribute information file under the lens folder to which the special effect schematic effect in the corresponding Maya animation belongs, so as to match its dynamic performance in the Maya animation special effect schematic effect.
[0013] The second aspect of the present invention provides a system for importing animation special effects into engine levels. The system comprises: a Maya special effect attribute output module, an engine special effect association module and a special effect import module.
[0014] The Maya special effect attribute output module is used to identify the special effect attribute information of the special effect schematic effect under each lens in the Maya animation file, and save it in the corresponding special effect attribute information file; the FBX format animation file and special effect attribute information file corresponding to the special effect schematic effect under each lens are saved in a lens folder named after the lens name of the corresponding lens.
[0015] The engine special effect association module is used to create an association relationship between the lens folder output by the Maya special effect attribute output module and the engine level; and based on the special effect attribute information file in the lens folder, associate the special effect schematic effect therein with the corresponding UE special effect effect;
[0016] The special effects import module determines the engine level associated with each lens folder based on all the lens folders and the corresponding association relationships; batch-wise converts the special effects schematic effects and special effects attribute information files contained in each lens folder into corresponding UE special effects, and then imports them into the corresponding associated engine level.
[0017] Furthermore, the Maya special effect attribute output module identifies the special effect attribute information of the special effect schematic effect under each lens in the Maya animation file, and is implemented as follows: based on the name suffix of each object under each lens in the Maya animation file, the special effect schematic effect is identified; for each identified special effect attribute, the controller attribute therein is identified and analyzed to obtain the special effect attribute information in each lens.
[0018] Furthermore, the system also includes: an engine special effects matching module; the engine special effects matching module is used to control the UE special effects schematic effects imported into the UE engine level through the special effects import module, based on the special effects attribute information file in the lens folder to which the corresponding Maya animation special effects schematic effects belong, so as to match their dynamic performance in the Maya animation special effects schematic effects.
[0019] The third aspect of the present invention further provides a computer-readable storage medium. The computer-readable storage medium stores computer program codes, and when the computer program codes are executed by a processor, the method for importing animation special effects into an engine level is implemented.
[0020] The technical solution provided by the present invention uses special effects to produce special effects in the lens using special effects instructions in the animation production link of Maya, and outputs special effects attribute information for the special effects in the corresponding lens, and submits the special effects attribute information to the UE special effects production link. The UE special effects production link will parse the special effects attribute information, extract the corresponding special effects path and effect dynamic information in the UE, and then generate the special effects to the UE special effects level, associate the effect dynamic information with the UE level animation sequencer, and realize the automatic import of Maya special effects into the corresponding engine level for dynamic playback.
[0021] Figure Description
[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0023] Figure 1 A flowchart of a method for importing animation special effects into engine levels provided by the present invention in one embodiment.
[0024] Figure 2 A schematic diagram of the structure of a system for importing animation special effects into engine levels provided by the present invention in one embodiment. DETAILED DESCRIPTION
[0025] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0026] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0027] like Figure 1 As shown, in one embodiment, the method for importing animation special effects into an engine level provided by the present invention comprises the following steps:
[0028] S1, identifying the special effect schematic effect under each lens in the Maya animation file to obtain the special effect attribute information in each lens, and saving it as a corresponding special effect attribute information file.
[0029] A Maya animation file generally has a 3D scene, which contains various objects, each of which has an object name; for example, animation character objects, environment objects, etc. The names of the special effects have specific suffixes, and the program can filter out the special effects with specific suffixes based on the names of the objects in the scene. The program reads the Maya animation production file and searches and judges all the scene objects in the file to identify all the special effects in the file.
[0030] Each special effect has a sub-object controller (in data structure), and the sub-object controller contains various properties of the corresponding special effect; for example: special effect name, effect position, rotation, size, dynamic rhythm, color and other property information. After identifying the special effect under each lens in the Maya animation file, further identify and analyze the controller properties in each special effect to obtain the corresponding special effect property information, and save it as the corresponding special effect property information file.
[0031] S2, save the FBX format animation file and special effect attribute information file corresponding to the special effect schematic effect under each lens into a lens folder named with the lens name of the lens to which it belongs. The special effect attribute information file contains the name of the special effect schematic effect in the corresponding Maya animation lens, the animation data of the special effect schematic, and other information (including the playback control attribute information of the special effect schematic). The FBX format animation file and special effect attribute information file corresponding to the special effect schematic effect under the same lens are placed in the same folder and named with the lens name, so as to facilitate the subsequent association of the special effect schematic effect with the corresponding engine level using the lens name as an identifier.
[0032] S3, creating an association relationship between each of the lens folders and the engine level. Preferably, this step is implemented by associating the name of any lens folder with the engine level identifier to be imported into the lens folder and storing them in a specific list.
[0033] S4, based on all the lens folders and the corresponding association relationships, determine the engine level associated with each lens folder; batch-wise convert the special effect schematic effects and special effect attribute information files contained in each lens folder into corresponding UE special effect effects, and then import them into the corresponding associated engine level.
[0034] According to the above-mentioned folders named after the lens names, the program reads the effect name and related special effect attribute information corresponding to each lens name in turn. For example, there are 200 lenses in an animation episode, which are stored on the computer in the form of 200 folders. The name of each folder is the lens name, and each folder stores the corresponding special effect attribute information file and effect Fbx animation file. The program will batch read the special effect attribute information files in each of the folders in turn, and obtain various effect attribute information corresponding to each effect name stored in the attribute information file. Based on the association between each of the lens folders and the engine level created in step S3, the program can find the corresponding UE special effect level in the UE according to the lens name, and batch convert the special effect schematic effects contained in the corresponding lens name into UE special effect effects and import them into the associated UE special effect level.
[0035] For the UE special effects schematic effects imported into the UE engine level, schematic control is performed based on the special effects attribute information file under the lens folder to which the special effects schematic effects in the corresponding Maya animation belong, so as to match its dynamic performance in the Maya animation special effects schematic effects.
[0036] like Figure 2 As shown, corresponding to the above method, another aspect of the present invention further provides a system 100 for importing animation special effects into engine levels. The system 100 includes: a Maya special effect attribute output module 101, an engine special effect association module 102 and a special effect import module 103.
[0037] The Maya special effect attribute output module 101 is used to identify the special effect attribute information of the special effect schematic effect under each lens in the Maya animation file, and save it in a corresponding special effect attribute information file; the FBX format animation file and special effect attribute information file corresponding to the special effect schematic effect under each lens are saved in a lens folder named after the lens name of the corresponding lens.
[0038] The engine special effect association module 102 is used to create an association relationship between the lens folder output by the Maya special effect attribute output module 101 and the engine level.
[0039] The special effect importing module 103 determines the engine level associated with each lens folder based on all the lens folders and the corresponding association relationships; batch-wise converts the special effect schematic effects and special effect attribute information files contained in each lens folder into corresponding UE special effect effects, and then imports them into the corresponding associated engine level.
[0040] Furthermore, the Maya special effect attribute output module 101 identifies the special effect attribute information of the special effect schematic effect under each lens in the Maya animation file, and is implemented as follows: based on the name suffix of each object under each lens in the Maya animation file, the special effect schematic effect is identified; for each identified special effect attribute, the controller attribute therein is identified and analyzed to obtain the special effect attribute information in each lens.
[0041] Furthermore, the system also includes: an engine special effects matching module 104; the engine special effects matching module 104 is used to control the UE special effects schematic effects imported into the UE engine level through the special effects import module, based on the special effects attribute information file in the lens folder to which the corresponding Maya animation special effects schematic effects belong, to match their dynamic performance in the Maya animation special effects schematic effects.
[0042] Corresponding to the above method, the present invention also provides a computer-readable storage medium. The computer-readable storage medium stores computer program code, and when the computer program code is executed by a processor, the method of importing the animation special effects into the engine level is implemented. The computer-readable storage medium includes but is not limited to RAM, ROM, sdram, flash, norflash and optical disk.
[0043] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for importing animation special effects into engine levels, characterized in that: The method comprises: Identify the special effect schematic effect under each lens in the Maya animation file to obtain the special effect attribute information in each lens, and save it as a corresponding special effect attribute information file; save the FBX format animation file and the special effect attribute information file corresponding to the special effect schematic effect under each lens into a lens folder named with the lens name of the lens; Create an association relationship between each lens folder and the engine level; based on all the lens folders and the corresponding association relationships, determine the engine level associated with each lens folder, and in batches convert the special effect schematic effects and special effect attribute information files contained in each lens folder into corresponding UE special effect effects, and then import them into the corresponding associated engine level.
2. The method according to claim 1, characterized in that The method of identifying the special effect schematic effect under each lens in the Maya animation file to obtain the special effect attribute information in each lens is implemented as follows: based on the name suffix of each object under each lens in the Maya animation file, the special effect schematic effect is identified; for each identified special effect attribute, the controller attribute therein is identified and analyzed to obtain the special effect attribute information in each lens.
3. The method according to claim 2, characterized in that The special effect attribute information includes at least: a special effect schematic effect name, a position of the special effect schematic effect, rotation, size scaling, dynamic rhythm and color.
4. The method according to claim 1, characterized in that The creation of the association relationship between each lens folder and the engine level is achieved by: storing the name of any lens folder in association with the identifier of the engine level to be imported.
5. The method according to any one of claims 1 to 4, characterized in that The method also includes: for the UE special effect schematic effect imported into the UE engine level, schematic control is performed based on the special effect attribute information file under the lens folder to which the special effect schematic effect in the corresponding Maya animation belongs, so as to match its dynamic performance in the Maya animation special effect schematic effect.
6. A system for importing animation special effects into engine levels, characterized in that: The system comprises: a Maya special effect attribute output module, an engine special effect association module and a special effect import module; A Maya special effect attribute output module is used to identify the special effect attribute information of the special effect schematic effect under each lens in the Maya animation file, and save it in a corresponding special effect attribute information file; the FBX format animation file and the special effect attribute information file corresponding to the special effect schematic effect under each lens are saved in a lens folder named after the lens name of the lens to which it belongs; The engine special effect association module is used to create an association relationship between the lens folder output by the Maya special effect attribute output module and the engine level; and based on the special effect attribute information file in the lens folder, associate the special effect schematic effect therein with the corresponding UE special effect effect; The special effects import module determines the engine level associated with each lens folder based on all the lens folders and the corresponding association relationships, and converts the special effects schematic effects and special effects attribute information files contained in each lens folder into corresponding UE special effects in batches, and then imports them into the corresponding associated engine level.
7. The system according to claim 6, characterized in that The Maya special effect attribute output module identifies the special effect attribute information of the special effect schematic effect under each lens in the Maya animation file, and is implemented as follows: based on the name suffix of each object under each lens in the Maya animation file, the special effect schematic effect is identified; for each identified special effect attribute, the controller attribute therein is identified and analyzed to obtain the special effect attribute information in each lens.
8. The system according to claim 7, characterized in that The system also includes an engine special effects matching module; the engine special effects matching control module is used to control the UE special effects schematic effects imported into the UE engine level through the special effects import module, based on the special effects attribute information file in the lens folder to which the corresponding Maya animation special effects schematic effects belong, to match their dynamic performance in the Maya animation special effects schematic effects.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program code; when the program code is executed by the processor, the method for importing animation special effects into the engine level according to any one of claims 1 to 5 is implemented.
