Digital asset processing method and device, electronic equipment and storage medium
By importing and instantiating the specified digital assets produced by node-based animation software in the game engine, and setting the target digital assets as input parameters of the processing node, the problem of digital asset processing in the existing technology relying on manual operations, realizing automated processing and efficiency improvement.
Patent Information
- Application Number
- CN202411934160.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-24
- Publication Date
- 2025-04-25
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The processing methods of digital assets in game engines in the prior art rely on manual operations by designers, resulting in cumbersome processing methods and inefficient efficiency.
The target digital assets are imported into the preset engine through the preset import command, and the specified digital assets are produced through node-based animation software, including processing nodes. Instantiate the specified digital asset in the engine, set the target digital asset as the input parameter of the processing node, and run the processing node to obtain the processing result.
It realizes automated processing of digital assets, reduces the steps of manual import and export, and improves processing efficiency.
Smart Images

Figure CN119868958A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a method, device, electronic device and storage medium for processing digital assets. Background Art
[0002] A game engine is a software framework designed for developing video games and other interactive multimedia applications. It provides a set of tools and libraries to help developers create games efficiently without having to write all the code from scratch. It is widely used in game development, virtual reality, augmented reality (AR), film production, architectural visualization and many other fields.
[0003] In the prior art, when processing digital assets in the game engine UnrealEngine, for example, when processing a 3D model in UnrealEngine, the designer is often required to export the 3D model to a hard disk, modify it using other software such as Maya, 3DSMax, PhotoShop, etc., and then import it into the 3D scene of UnrealEngine.
[0004] It can be seen that the existing processing methods for digital assets in game engines mainly rely on manual operations of designers. Therefore, the processing methods are relatively cumbersome and the processing efficiency is low. Summary of the invention
[0005] The purpose of this application is to address the deficiencies in the above-mentioned prior art and provide a method, device, electronic device and storage medium for processing digital assets, which can realize automated processing and improve processing effects.
[0006] To achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:
[0007] In a first aspect, the present invention provides a method for processing digital assets, the method comprising:
[0008] Importing a designated digital asset corresponding to the target digital asset into a preset engine through a preset import command, wherein the designated digital asset is produced through preset node-based animation software and includes at least one processing node;
[0009] Instantiating the designated digital asset in the preset engine, displaying at least one of the processing nodes corresponding to the designated digital asset, and setting the target digital asset as an input parameter of at least one of the processing nodes;
[0010] Based on the target digital asset, at least one of the processing nodes is run to obtain a processing result of the target digital asset.
[0011] In a second aspect, the present invention provides a digital asset processing device, comprising:
[0012] A response module, configured to import a designated digital asset corresponding to the target digital asset into a preset engine through a preset import command, wherein the designated digital asset is produced through preset node-based animation software and includes at least one processing node;
[0013] A processing module, configured to instantiate the specified digital asset in the preset engine, display at least one of the processing nodes corresponding to the specified digital asset, and set the target digital asset as an input parameter of at least one of the processing nodes;
[0014] The running module is used to run at least one of the processing nodes based on the target digital asset to obtain a processing result of the target digital asset.
[0015] In a third aspect, the present invention provides an electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the storage medium communicate through the bus, and the processor executes the machine-readable instructions to perform the steps of the digital asset processing method as described in any of the aforementioned implementations.
[0016] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method for processing digital assets as described in any of the aforementioned embodiments are executed.
[0017] The beneficial effects of this application are:
[0018] In the digital asset processing method, device, electronic device and storage medium provided by the embodiments of the present application, a specified digital asset corresponding to a target digital asset is imported into a preset engine through a preset import command, wherein the specified digital asset is produced by preset node-based animation software, and the specified digital asset includes at least one processing node; the specified digital asset is instantiated in the preset engine, at least one processing node corresponding to the specified digital asset is displayed, and the target digital asset is set as an input parameter of at least one processing node; based on the target digital asset, at least one processing node is run to obtain a processing result of the target digital asset, thereby realizing a response to a trigger operation on a processing control, and the target digital asset can be automatically processed without the need for the designer to perform manual import and export operations, thereby improving processing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] 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.
[0020] Figure 1 A flowchart of a method for processing digital assets provided in an embodiment of the present application;
[0021] Figure 2 A flowchart of another method for processing digital assets provided in an embodiment of the present application;
[0022] Figure 3 A flowchart of another method for processing digital assets provided in an embodiment of the present application;
[0023] Figure 4 A flowchart of another method for processing digital assets provided in an embodiment of the present application;
[0024] Figure 5 A flowchart of another method for processing digital assets provided in an embodiment of the present application;
[0025] Figure 6 A flowchart of another method for processing digital assets provided in an embodiment of the present application;
[0026] Figure 7 A schematic diagram of functional modules of a digital asset processing device provided in an embodiment of the present application;
[0027] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0028] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution 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 part of the embodiments of the present application, rather than all 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.
[0029] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0030] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0031] In the prior art, when processing digital assets in a preset engine, the designer is often required to export the digital assets in the preset engine to a hard disk, modify them using preset modification software, and then import them back to the preset engine. For example, when processing a 3D model in the game engine UnrealEngine, the designer is often required to export the 3D model to a hard disk, modify it using other software such as Maya, 3DSMax, PhotoShop, etc., and then import it into the 3D scene of UnrealEngine.
[0032] It can be seen that the existing processing methods for digital assets in game engines mainly rely on manual operations of designers. Therefore, the processing methods are relatively cumbersome and the processing efficiency is low.
[0033] In view of this, an embodiment of the present application provides a method for processing digital assets. The application of this method can realize automatic processing of digital assets in a preset engine, which can not only ensure the processing effect but also improve the processing efficiency.
[0034] Figure 1 The flowchart of a method for processing digital assets provided in the embodiment of the present application is shown in the figure. The execution subject of the method can be a computer, server, processor or other electronic device that can be installed with a preset engine. Optionally, the preset engine can be a game engine, rendering engine, etc. Optionally, the game engine can be Unity, Unreal Engine, CryEngine, etc., which is not limited here. Figure 1 As shown, the method includes:
[0035] Step 101: Import the designated digital asset corresponding to the target digital asset into the preset engine through a preset import command.
[0036] The designated digital asset is produced by a preset node-based animation software and stored in a preset path, and the designated digital asset includes at least one processing node.
[0037] Optionally, the digital assets in the preset engine may be virtual models, textures, lights, animations, materials, etc., which are not limited here, and the target digital assets may include one or more of them, which are not limited here.
[0038] In some embodiments, the preset node-based animation software may be Houdini software, Blender software, Nuke software, Katana software, Clarisse software, etc., but is not limited thereto. The specified digital asset may be produced by the preset node-based animation software, which may include one or more processing nodes, each processing node may perform preset logic calculations, and each processing node may be connected through a data flow and a control flow, and optionally, the output of each processing node may be used as the input of the next processing node.
[0039] In addition, it should be noted that the produced designated digital assets may be stored in a preset path, and optionally, the preset path may be a default path.
[0040] Optionally, the processing nodes may include: geometry nodes for processing the creation, modification, and deformation of geometric bodies, simulation nodes for processing physical simulations (e.g., rigid bodies, fluids, cloth, etc.), animation nodes for processing the creation and editing of animations, material nodes for defining and managing material properties, rendering nodes for processing rendering settings and outputs, script nodes for executing custom scripts and implementing complex logic, data management nodes for managing and transmitting data, interactive nodes that provide interactive editing and preview functions, etc., without limitation here.
[0041] In some embodiments, the main interface of the preset engine may provide a processing control, which is used to trigger the processing of digital assets in the preset engine. Optionally, the processing method of digital assets may include but is not limited to: geometry processing, material and texture processing, animation processing, simulation processing (e.g., rigid body simulation, fluid simulation, cloth simulation, hair simulation, etc.), lighting and rendering processing (e.g., shadow processing, configuration of rendering parameters), script and logic processing, data exchange (e.g., format conversion), etc., which are not limited here.
[0042] Optionally, when performing specific processing, any digital asset can be selected in the preset engine as the target digital asset. For the target digital asset, the processing control in the preset engine can be acted on by triggering methods such as single-clicking, double-clicking, and long pressing. In response to the trigger operation, the specified digital asset corresponding to the target digital asset can be obtained from the preset path and imported into the preset engine, making it a digital asset (uasset) in the preset engine.
[0043] Step 102: Instantiate the specified digital asset in the preset engine, display at least one processing node corresponding to the specified digital asset, and set the target digital asset as an input parameter of the at least one processing node.
[0044] In order to better understand the present application, the following embodiments are described by taking the preset node-based animation software as Houdini software as an example, and the specified digital assets as HDA assets produced by Houdini software as an example.
[0045] When the designated digital asset is imported into the preset engine, the designated digital asset can be instantiated. Through the instantiation operation, at least one processing node corresponding to the designated digital asset can be displayed, that is, the HDA is created in the preset engine (for example, it can be created in a three-dimensional scene). At the same time, the target digital asset can also be set as the input of the designated digital asset, that is, the target digital asset is set as the input parameter of at least one processing node.
[0046] Step 103: Based on the target digital asset, run at least one processing node to obtain a processing result of the target digital asset.
[0047] After the input parameters of the at least one processing node are determined, the at least one processing node can be run to process the target digital asset through the at least one processing node, thereby obtaining the processing result of the target digital asset.
[0048] It should be noted that the processing result of the target digital asset is related to the selected designated digital asset, that is, if multiple different designated digital assets are used to process the same target digital asset, multiple different processing results will be obtained.
[0049] Based on the above content, when processing, the processing commands corresponding to the above steps can be integrated into a processing script file, and an association relationship between the processing control and the processing script file can be established. For example, the processing control is configured to respond to the trigger operation and call the processing script file. Specifically, the script file can be called, and the processing result of the target digital asset can be obtained by running the script file. For example, an import command (such as ImportAsset) can be executed to import the specified digital asset corresponding to the target digital asset from a preset path into a preset engine; an instantiation command (such as instantiate) can be executed to instantiate the specified digital asset in the preset engine and display at least one processing node corresponding to the specified digital asset; an input parameter setting command (such as set_input_objects) is executed to set the target digital asset as an input parameter of at least one processing node; a run command is executed to run at least one processing node based on the target digital asset to obtain the processing result of the target digital asset.
[0050] By applying the embodiments of the present application, it can be seen that if it is necessary to process the target digital assets in the preset engine, it is only necessary to generate a trigger operation for the processing control in the preset engine. In response to the trigger operation, the above steps can be executed in sequence to obtain the processing result of the target digital assets. Compared with the prior art, the processing of the target digital assets can be completed without the designer performing manual import and export operations, and automated processing can be achieved to improve processing efficiency.
[0051] In summary, an embodiment of the present application provides a method for processing digital assets, the method comprising: importing a specified digital asset corresponding to a target digital asset into a preset engine through a preset import command, wherein the specified digital asset is produced through preset node-based animation software, and the specified digital asset includes at least one processing node; instantiating the specified digital asset in the preset engine, displaying at least one processing node corresponding to the specified digital asset, and setting the target digital asset as an input parameter of at least one processing node; based on the target digital asset, running at least one processing node to obtain a processing result of the target digital asset, thereby realizing a response to a trigger operation on a processing control, and being able to automatically process the target digital asset without the need for the designer to perform manual import and export operations, thereby improving processing efficiency.
[0052] Figure 2 A flowchart of another method for processing digital assets provided in an embodiment of the present application. In an optional implementation, as Figure 2 As shown, the above setting of the target digital asset as an input parameter of at least one processing node includes:
[0053] Step 201: perform a preprocessing operation on a target digital asset according to a preprocessing command to obtain the preprocessed target digital asset.
[0054] Among them, the preprocessing operation is used to prepare the required data for the logical calculation of at least one processing node. In some embodiments, the location where these data are stored can be recorded during preprocessing, that is, the storage location of the target digital asset after preprocessing can be recorded.
[0055] Optionally, the preprocessing operation includes: exporting the target digital asset into a specific format, obtaining a material map corresponding to the target digital asset, obtaining a three-dimensional coordinate or size corresponding to the target digital asset, etc., which are not limited here.
[0056] It should be noted that different preprocessing commands can be set for different preprocessing operations.
[0057] Step 202: Use a preset input setting command to set the preprocessed target digital asset as an input parameter of at least one processing node.
[0058] Based on the above description, after obtaining the preprocessed target digital assets, the preset input setting command can be used to set the input parameters of at least one processing node. Through this setting, after preprocessing, at least one processing node can be used to process the preprocessed target digital assets.
[0059] For example, the target digital asset is a three-dimensional plane model, and a texture is used on the three-dimensional plane model to display different colors. If the processing purpose of at least one processing node is to draw some white dots in the green area of the texture, then during preprocessing, the texture API in UnrealEngine can be used to query the material texture used on the model, and the material texture can be exported to a specified directory; the preset input setting command is used to obtain the material texture from the specified directory as the input of at least one processing node.
[0060] In summary, it can be seen that the present application can be applicable to scenarios where it is necessary to perform preprocessing operations on the target digital assets. For example, the target digital asset is a three-dimensional model. Before using at least one processing node for processing, it is necessary to obtain the material information, texture files, etc. of the three-dimensional model. That is, by applying the embodiments of the present application, the target digital asset can be preprocessed first, and then at least one processing node can be used to further process the preprocessed target digital asset, which can realize the automation of the preprocessing operation and improve the applicability of the method of the present application.
[0061] In an optional implementation manner, after running at least one processing node based on the target digital asset and obtaining the processing result of the target digital asset, the method further includes:
[0062] A post-processing operation is performed on the target digital asset and / or the designated digital asset according to a preset post-processing command to obtain the target digital asset and / or the designated digital asset after the post-processing operation.
[0063] In some embodiments, after obtaining the processing result of the target digital asset, it may be necessary to perform post-processing operations on the target digital asset and / or the specified digital asset to meet the design requirements of different scenarios.
[0064] Optionally, post-processing operations for the target digital asset include: saving the target digital asset after post-processing, and deleting or hiding the target digital asset before post-processing; setting the material parameters of the target digital asset to adapt to the modified map; optimizing the animation curve to reduce the number of key frames and improve the efficiency of animation playback; adjusting bone weights to ensure the smoothness and naturalness of the animation; optimizing the shape and size of the collision body to ensure the accuracy of the physical simulation; compressing and optimizing the texture to ensure performance on different platforms, etc., which are not limited here and may vary according to the actual application scenario.
[0065] For example, if the target digital asset is a virtual 3D model, if at least one processing node is used to modify the shape of the virtual 3D model to generate a new virtual 3D model, then in post-processing, the original 3D model needs to be deleted or hidden; optionally, the post-processing command unreal.EditorLevelLibrary.destroy_actor or unreal.Actor.set_is_temporarily_hidden_in_editor command can be used to complete this operation.
[0066] The post-processing operation for the specified digital asset includes: adjusting the setting parameters of the specified digital asset, such as baking parameters, temporary processing folders, etc., wherein the temporary processing folder is used to store temporary files generated by at least one processing node during the processing process.
[0067] It should be noted that, according to different application scenarios, different post-processing operations can be selected for the target digital asset and different post-processing operations can be selected for the specified digital asset. The present application does not limit the specific content of the post-processing operation, and it can be flexibly selected according to the actual application scenario. In addition, in some embodiments, the post-processing operation can also include cleaning cache, organizing files and data, etc., which are not limited here.
[0068] By applying the embodiments of the present application, after obtaining the processing result of the target digital asset, post-processing operations can be performed on the target digital asset and / or the specified digital asset according to the actual application scenario, thereby improving the flexibility and applicability of the method of the present application.
[0069] Figure 3 A flowchart of another method for processing digital assets provided in an embodiment of the present application. In an optional implementation, as Figure 3 As shown, the above-mentioned importing the specified digital asset corresponding to the target digital asset into the preset engine through the preset import command includes:
[0070] Step 301: Acquire a designated digital asset corresponding to a target digital asset according to a preset path.
[0071] The designated digital assets are produced by preset node-based animation software and stored in a preset path.
[0072] Step 302: Use a preset import command to import the designated digital asset corresponding to the target digital asset into the preset engine.
[0073] Optionally, during specific processing, a preset node-based animation software may be used to pre-produce designated digital assets, and the produced designated digital assets may be stored in a preset path.
[0074] Among them, when importing the specified digital asset corresponding to the target digital asset into the preset engine, the specified digital asset can be first obtained from the preset path, and further, the specified digital asset can be imported into the preset engine using the preset import command, thereby realizing that the specified digital asset produced by the preset node-based animation software can be used in the preset engine to perform diversified processing on the target digital asset, which can improve the applicability of the method of the present application.
[0075] Of course, it should be noted that, according to the actual application scenario, the preset path may be a default path, or may be specified by the user, which is not limited here.
[0076] Figure 4 A flowchart of another method for processing digital assets provided in an embodiment of the present application. In an optional implementation, as Figure 4 As shown, before the specified digital asset corresponding to the target digital asset is imported into the preset engine through the preset import command, the following is also included:
[0077] Step 401: In response to a plug-in configuration operation on a preset engine, a preset node-based animation plug-in is installed in the preset engine, where the preset node-based animation plug-in is a plug-in corresponding to the preset node-based animation software.
[0078] Among them, the preset engine can be configured to be installed with a preset node-based animation plug-in. The preset node-based animation plug-in serves as a bridge for data transmission between the preset engine and the preset node-based animation software. It can be used to integrate the procedural modeling, animation, simulation, special effects and other functions created in the preset node-based animation software into the preset engine, thereby achieving seamless integration of the preset node-based animation software and the preset engine.
[0079] Optionally, the preset engine is UnrealEngine game engine, the preset node-based animation software is Houdini software, and the preset node-based animation plug-in can be HoudiniEngine. Of course, the selection of the preset engine, the preset node-based animation software and the preset node-based animation plug-in is not limited to this.
[0080] Accordingly, the above-mentioned operation of at least one processing node based on the target digital asset to obtain the processing result of the target digital asset includes:
[0081] Step 402: Based on the target digital asset, at least one processing node is run through a preset node-based animation plug-in to obtain a processing result of the target digital asset.
[0082] Based on the above description, it can be understood that since the specified digital assets are produced by preset node-based animation software, therefore, during operation, based on the target digital assets, at least one processing node can be run through the preset node-based animation plug-in to obtain the processing result of the target digital assets, thereby ensuring that the specified digital assets imported into the preset engine can operate normally, thereby improving the reliability of the method of the present application.
[0083] Figure 5 A flowchart of another method for processing digital assets provided in an embodiment of the present application. In an optional implementation, as Figure 5 As shown, the above-mentioned operation of at least one processing node based on the target digital asset to obtain the processing result of the target digital asset includes:
[0084] Step 501: In response to a triggering operation on a preset baking control in a preset engine, based on a target digital asset, at least one processing node is run through a preset node-based animation plug-in to obtain a processing result of the target digital asset.
[0085] Step 502: Store the processing result of the target digital asset in a preset format to a specified location in the preset engine.
[0086] Optionally, the preset engine can also provide a preset baking control (bake control). In some embodiments, the preset baking control can be acted on by touch methods such as single-clicking, double-clicking, and long pressing to generate a corresponding trigger operation. In response to the trigger operation, based on the target digital asset, at least one processing node can be run through a preset node-based animation plug-in to bake the target digital asset to obtain a processing result of the target digital asset; the processing result of the processing result of the target digital asset is stored in a specified location, wherein the specified location can be accessed by the preset engine.
[0087] In some embodiments, when storing, the export format of the target digital asset can also be set, for example, it can be set to FBX, Alembic and other formats, and the preset format can be flexibly set according to the actual application scenario. Optionally, the preset format can be a standard format specified by the preset engine, such as the FBX format, that is, the baking operation can reduce the dependence on the preset node-based animation plug-in, that is, even if the preset node-based animation plug-in is not installed in the preset engine, the processed target digital asset can be correctly opened in the preset engine.
[0088] Optionally, the exported processed target digital asset may be further processed in a preset engine, for example, it may be added to a scene, have materials applied, have animations set, etc., and subsequent processing operations are not limited here.
[0089] Of course, it should be noted that in some embodiments, if the specified digital asset is adjusted during the processing, then after obtaining the processing result of the target digital asset, the processed specified digital asset can also be stored in a specified location in the preset engine to achieve backup of the processed specified digital asset and improve the reliability of the method of the present application.
[0090] By using the embodiments of the present application, the preset baking control allows the user to flexibly select the runtime of at least one processing node, thereby meeting the design requirements in different scenarios and improving the flexibility and applicability of the method of the present application. For example, in some scenarios, after processing the specified digital asset imported into the preset engine, the target digital asset can be processed through the specified digital asset.
[0091] Figure 6 A flowchart of another method for processing digital assets provided in an embodiment of the present application. In an optional implementation, as Figure 6 As shown, after instantiating the specified digital asset in the preset engine and displaying at least one processing node corresponding to the specified digital asset, the method further includes:
[0092] Step 601: In response to a triggering operation on a preset adjustment control in a preset engine, a configuration parameter of a specified digital asset is adjusted.
[0093] Optionally, the preset engine may also provide a preset adjustment control for adjusting the configuration parameters of a specified digital asset. In some embodiments, the preset adjustment control may include a baking parameter setting control, a temporary processing folder selection control, an asset option control, and the like.
[0094] Optionally, the bake parameter setting controls may include: controls for selecting bake objects, centering bake objects, replacing previous bake results, etc., which are not limited here; temporary processing folder selection controls are used to select temporary folders, and temporary processing folders are used to store temporary files generated by at least one processing node during the processing process; asset option controls may include: processing node trigger condition setting controls, processing result output setting controls, etc., wherein the processing node trigger condition setting controls are used to set the trigger conditions when the processing node is running; the processing result output setting controls are used to set the output mode of the processing node, for example, you can choose to use the template geometry as the output, how to ensure that the same template geometry is used for each processing, to ensure the consistency and efficiency of the output. Of course, it can also be flexibly set according to the actual application scenario.
[0095] By applying the embodiments of the present application, the configuration parameters of the specified digital assets can be reset in the preset engine through the preset node-based animation plug-in, so that the specified digital assets produced by the preset node-based animation software can be further adjusted according to the actual application scenario, thereby improving the applicability and flexibility of the method of the present application.
[0096] In an optional implementation, the target digital asset includes at least one of the following: a virtual model, a map, a light, a material, an animation, and an audio.
[0097] Optionally, the target digital assets may include one or more digital assets of virtual models, maps, lights, materials, animations, and audios, which are not limited here; optionally, in the target digital assets, different types of digital assets may be processed using corresponding designated digital assets. The virtual model may include: a virtual biological model and a virtual non-biological model, wherein a virtual biological model refers to a 3D model that simulates a real or fictional creature, usually including characters, animals, monsters, etc.; a virtual non-biological model refers to a 3D model that simulates an inanimate object, usually including buildings, vehicles, furniture, weapons, etc.
[0098] In addition, it should be noted that the asset type of the target digital assets is not limited to this. For example, it can also include: blueprints, levels, special effects, etc., which are not limited here and may vary according to the actual application scenarios.
[0099] By applying the embodiments of the present application, it is possible to process various types of digital assets, thereby improving the applicability of the method of the present application.
[0100] In summary, by applying the embodiments of the present application, operations such as modification and adjustment of target digital assets in the preset engine can be integrated and automatically executed based on the specified digital assets, which greatly simplifies the process. In addition, the present application can also be applied to scenarios that require preprocessing and post-processing, which can improve the applicability and flexibility of the method of the present application.
[0101] Figure 7 This is a functional module diagram of a digital asset processing device provided in an embodiment of the present application. The basic principle and technical effects of the device are the same as those of the corresponding method embodiment described above. For the sake of brief description, the parts not mentioned in this embodiment can be referred to the corresponding contents in the method embodiment. Figure 7 As shown, the processing device 100 includes:
[0102] The response module 110 is used to import the specified digital asset corresponding to the target digital asset into the preset engine through a preset import command, wherein the specified digital asset is produced by a preset node-based animation software, and the specified digital asset includes at least one processing node;
[0103] The processing module 120 is used to instantiate the specified digital asset in the preset engine, display at least one processing node corresponding to the specified digital asset, and set the target digital asset as an input parameter of the at least one processing node;
[0104] The operation module 130 is used to operate at least one processing node based on the target digital asset to obtain the processing result of the target digital asset.
[0105] In an optional implementation, the processing module 120 is specifically configured to perform a preprocessing operation on the target digital asset according to the preprocessing command to obtain the preprocessed target digital asset;
[0106] A preset input setting command is used to set the preprocessed target digital asset as an input parameter of at least one processing node.
[0107] In an optional implementation, the operation module 130 is further used to perform a post-processing operation on the target digital asset and / or the designated digital asset according to a preset post-processing command to obtain the target digital asset and / or the designated digital asset after the post-processing operation.
[0108] In an optional embodiment, the response module 110 is specifically used to obtain a specified digital asset corresponding to the target digital asset according to a preset path, wherein the specified digital asset is produced by a preset node-based animation software and stored in the preset path;
[0109] The preset import command is used to import the specified digital asset corresponding to the target digital asset into the preset engine.
[0110] In an optional implementation, the response module 110 is further used to install a preset node-based animation plug-in in the preset engine in response to a plug-in configuration operation on the preset engine, where the preset node-based animation plug-in is a plug-in corresponding to the preset node-based animation software;
[0111] The running module 130 is specifically used to run at least one processing node through a preset node-based animation plug-in based on the target digital asset to obtain a processing result of the target digital asset.
[0112] In an optional embodiment, the running module 130 is specifically configured to respond to a triggering operation of a preset baking control in a preset engine, and based on a target digital asset, run at least one processing node through a preset node-based animation plug-in to obtain a processing result of the target digital asset;
[0113] The processing result of the target digital asset is stored in a preset format at a specified location in the preset engine.
[0114] In an optional implementation, the processing module 120 is further configured to adjust the configuration parameters of the specified digital asset in response to a triggering operation on a preset adjustment control in the preset engine.
[0115] In an optional implementation, the target digital asset includes at least one of the following: a virtual model, a map, a light, a material, an animation, and an audio.
[0116] The above-mentioned device is used to execute the method provided by the aforementioned embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0117] The above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASICs), or one or more microprocessors, or one or more field programmable gate arrays (FPGAs). For another example, when a module is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0118] Figure 8 The following is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device can be integrated into the above-mentioned processing device. Figure 8 As shown, the electronic device may include: a processor 210, a storage medium 220 and a bus 230, the storage medium 220 stores machine-readable instructions executable by the processor 210, when the electronic device is running, the processor 210 and the storage medium 220 communicate through the bus 230, the processor 210 executes the machine-readable instructions to perform the steps of the following method embodiment:
[0119] Importing a designated digital asset corresponding to the target digital asset into a preset engine through a preset import command, wherein the designated digital asset is produced through preset node-based animation software, and the designated digital asset includes at least one processing node;
[0120] Instantiating the specified digital asset in the preset engine, displaying at least one processing node corresponding to the specified digital asset, and setting the target digital asset as an input parameter of the at least one processing node;
[0121] Based on the target digital asset, at least one processing node is run to obtain a processing result of the target digital asset.
[0122] In an optional embodiment, setting the target digital asset as an input parameter of at least one processing node includes:
[0123] Perform a preprocessing operation on the target digital asset according to the preprocessing command to obtain the preprocessed target digital asset;
[0124] A preset input setting command is used to set the preprocessed target digital asset as an input parameter of at least one processing node.
[0125] In an optional implementation, based on the target digital asset, after running at least one processing node and obtaining the processing result of the target digital asset, the method further includes:
[0126] A post-processing operation is performed on the target digital asset and / or the designated digital asset according to a preset post-processing command to obtain the target digital asset and / or the designated digital asset after the post-processing operation.
[0127] In an optional implementation, importing the designated digital asset corresponding to the target digital asset into the preset engine through a preset import command includes:
[0128] Acquire a designated digital asset corresponding to the target digital asset according to a preset path, wherein the designated digital asset is produced by a preset node-based animation software and stored in the preset path;
[0129] The preset import command is used to import the specified digital asset corresponding to the target digital asset into the preset engine.
[0130] In an optional implementation manner, before importing the designated digital asset corresponding to the target digital asset into the preset engine through the preset import command, the method further includes:
[0131] In response to the plug-in configuration operation on the preset engine, a preset node-based animation plug-in is installed in the preset engine, where the preset node-based animation plug-in is a plug-in corresponding to the preset node-based animation software;
[0132] Based on the target digital asset, at least one processing node is run to obtain the processing result of the target digital asset, including:
[0133] Based on the target digital asset, at least one processing node is run through a preset node-based animation plug-in to obtain a processing result of the target digital asset.
[0134] In an optional implementation, based on the target digital asset, running at least one processing node to obtain a processing result of the target digital asset includes:
[0135] In response to a triggering operation of a preset baking control in a preset engine, based on a target digital asset, at least one processing node is run through a preset node-based animation plug-in to obtain a processing result of the target digital asset;
[0136] The processing result of the target digital asset is stored in a preset format at a specified location in the preset engine.
[0137] In an optional implementation, after instantiating the specified digital asset in the preset engine and displaying at least one processing node corresponding to the specified digital asset, the method further includes:
[0138] In response to a triggering operation on a preset adjustment control in the preset engine, a configuration parameter of a specified digital asset is adjusted.
[0139] In an optional implementation, the target digital asset includes at least one of the following: a virtual model, a map, a light, a material, an animation, and an audio.
[0140] The specific implementation method and technical effects of the above method embodiment are similar to those mentioned above and will not be repeated here.
[0141] Optionally, the present application further provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the following method embodiment are executed:
[0142] Importing a designated digital asset corresponding to the target digital asset into a preset engine through a preset import command, wherein the designated digital asset is produced through preset node-based animation software, and the designated digital asset includes at least one processing node;
[0143] Instantiating the specified digital asset in the preset engine, displaying at least one processing node corresponding to the specified digital asset, and setting the target digital asset as an input parameter of the at least one processing node;
[0144] Based on the target digital asset, at least one processing node is run to obtain a processing result of the target digital asset.
[0145] In an optional embodiment, setting the target digital asset as an input parameter of at least one processing node includes:
[0146] Perform a preprocessing operation on the target digital asset according to the preprocessing command to obtain the preprocessed target digital asset;
[0147] A preset input setting command is used to set the preprocessed target digital asset as an input parameter of at least one processing node.
[0148] In an optional implementation, based on the target digital asset, after running at least one processing node and obtaining the processing result of the target digital asset, the method further includes:
[0149] A post-processing operation is performed on the target digital asset and / or the designated digital asset according to a preset post-processing command to obtain the target digital asset and / or the designated digital asset after the post-processing operation.
[0150] In an optional implementation, importing the designated digital asset corresponding to the target digital asset into the preset engine through a preset import command includes:
[0151] Acquire a designated digital asset corresponding to the target digital asset according to a preset path, wherein the designated digital asset is produced by a preset node-based animation software and stored in the preset path;
[0152] The preset import command is used to import the specified digital asset corresponding to the target digital asset into the preset engine.
[0153] In an optional implementation manner, before importing the designated digital asset corresponding to the target digital asset into the preset engine through the preset import command, the method further includes:
[0154] In response to the plug-in configuration operation on the preset engine, a preset node-based animation plug-in is installed in the preset engine, where the preset node-based animation plug-in is a plug-in corresponding to the preset node-based animation software;
[0155] Based on the target digital asset, at least one processing node is run to obtain the processing result of the target digital asset, including:
[0156] Based on the target digital asset, at least one processing node is run through a preset node-based animation plug-in to obtain a processing result of the target digital asset.
[0157] In an optional implementation, based on the target digital asset, running at least one processing node to obtain a processing result of the target digital asset includes:
[0158] In response to a triggering operation of a preset baking control in a preset engine, based on a target digital asset, at least one processing node is run through a preset node-based animation plug-in to obtain a processing result of the target digital asset;
[0159] The processing result of the target digital asset is stored in a preset format at a specified location in the preset engine.
[0160] In an optional implementation, after instantiating the specified digital asset in the preset engine and displaying at least one processing node corresponding to the specified digital asset, the method further includes:
[0161] In response to a triggering operation on a preset adjustment control in the preset engine, a configuration parameter of a specified digital asset is adjusted.
[0162] In an optional implementation, the target digital asset includes at least one of the following: a virtual model, a map, a light, a material, an animation, and an audio.
[0163] The specific implementation method and technical effects of the above method embodiment are similar to those mentioned above and will not be repeated here.
[0164] Optionally, the present application also provides a computer program product, which includes instructions, and when the instructions are executed on an electronic device, the electronic device implements the steps of the above method embodiment.
[0165] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0166] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0167] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0168] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to perform some steps of the methods of each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (English: Read-Only Memory, abbreviated: ROM), random access memory (English: Random Access Memory, abbreviated: RAM), disk or optical disk and other media that can store program codes.
[0169] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0170] The above are only preferred embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application. It should be noted that similar numbers 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. The above are only preferred embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.
Claims
1. A method for processing digital assets, characterized in that: The method comprises: Importing a designated digital asset corresponding to the target digital asset into a preset engine through a preset import command, wherein the designated digital asset is produced through preset node-based animation software and includes at least one processing node; Instantiating the designated digital asset in the preset engine, displaying at least one of the processing nodes corresponding to the designated digital asset, and setting the target digital asset as an input parameter of at least one of the processing nodes; Based on the target digital asset, at least one of the processing nodes is run to obtain a processing result of the target digital asset.
2. The method according to claim 1, characterized in that The setting the target digital asset as an input parameter of at least one of the processing nodes includes: Perform a preprocessing operation on the target digital asset according to the preprocessing command to obtain the preprocessed target digital asset; A preset input setting command is used to set the preprocessed target digital asset as an input parameter of at least one of the processing nodes.
3. The method according to claim 1, characterized in that After running at least one of the processing nodes based on the target digital asset to obtain a processing result of the target digital asset, the method further includes: A post-processing operation is performed on the target digital asset and / or the designated digital asset according to a preset post-processing command to obtain the target digital asset and / or the designated digital asset after the post-processing operation.
4. The method according to claim 1, characterized in that: Importing the designated digital asset corresponding to the target digital asset into the preset engine through the preset import command includes: Acquire a designated digital asset corresponding to the target digital asset according to a preset path, wherein the designated digital asset is produced by a preset node-based animation software and stored in the preset path; The preset import command is used to import the designated digital asset corresponding to the target digital asset into the preset engine.
5. The method according to claim 1, characterized in that Before importing the designated digital asset corresponding to the target digital asset into the preset engine through the preset import command, the method further includes: Installing a preset node-based animation plug-in in the preset engine, wherein the preset node-based animation plug-in is a plug-in corresponding to the preset node-based animation software; The step of running at least one of the processing nodes based on the target digital asset to obtain a processing result of the target digital asset includes: Based on the target digital asset, at least one of the processing nodes is run through the preset node-based animation plug-in to obtain a processing result of the target digital asset.
6. The method according to claim 5, characterized in that The step of running at least one of the processing nodes based on the target digital asset to obtain a processing result of the target digital asset includes: Based on the target digital asset, running at least one of the processing nodes through the preset node-based animation plug-in to obtain a processing result of the target digital asset; The processing result of the target digital asset is stored in a preset format at a designated location in the preset engine.
7. The method according to any one of claims 1 to 6, characterized in that: The target digital asset includes at least one of the following: a virtual model, a texture, a light, a material, an animation, and an audio.
8. A digital asset processing device, characterized in that: include: A response module, configured to import a designated digital asset corresponding to the target digital asset into a preset engine through a preset import command, wherein the designated digital asset is produced through preset node-based animation software and includes at least one processing node; A processing module, configured to instantiate the specified digital asset in the preset engine, display at least one of the processing nodes corresponding to the specified digital asset, and set the target digital asset as an input parameter of at least one of the processing nodes; The running module is used to run at least one of the processing nodes based on the target digital asset to obtain a processing result of the target digital asset.
9. An electronic device, characterized in that: include: A processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor. When the electronic device is running, the processor and the storage medium communicate via the bus, and the processor executes the machine-readable instructions to perform the steps of the digital asset processing method as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the digital asset processing method as described in any one of claims 1 to 7 are executed.
Citation Information
Patent Citations
Unity-based three-dimensional software development method and device, equipment and medium
CN115640044A
Three-dimensional model processing method and device and electronic equipment
CN115794063A
TextMeshPro-based character effect expression method
CN115796118A