Virtual resource processing method and device, equipment and storage medium

By providing resource types and packaging controls in the virtual resource processing interface of the rendering engine, and automatically determining and packaging virtual resources, the problems of complex and inefficient virtual resource packaging operations in the existing technology are solved, and the effect of simplifying operations and improving efficiency is achieved.

CN120020704APending Publication Date: 2025-05-20BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311552485.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-20
Publication Date
2025-05-20

AI Technical Summary

Technical Problem

The existing rendering engines have complex operational processes during virtual resource packaging, requiring professional knowledge and experience, which makes packaging difficult and inefficient.

Method used

Provide a virtual resource processing method. By displaying resource type controls and packaging controls in the virtual resource processing interface of the rendering engine, users only need to select resource types and trigger packaging operations, and the system automatically determines the initial material and associated material for packaging.

Benefits of technology

The operation process of virtual resource packaging is simplified, the packaging efficiency is improved, the packaging of redundant materials is avoided, and the amount of file data after packaging is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120020704A_ABST
    Figure CN120020704A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to a virtual resource processing method and device, equipment and a storage medium. The virtual resource processing method comprises the following steps: displaying a resource type control in a virtual resource processing interface of a rendering engine; in response to a selection operation on the resource type control, determining an initial material based on the selected virtual resource type; determining an associated material having a dependency relationship with the initial material; and in response to a trigger operation on a packaging control displayed in the virtual resource processing interface, performing virtual resource packaging based on the initial material and the associated material, and generating a virtual resource file adaptive to a target format of a target platform. Therefore, the operation process of packaging the virtual resources is simplified, the packaging efficiency of the virtual resources is improved, and the data volume of the packaged virtual resource file is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular, to a method, apparatus, device, and storage medium for processing virtual resources. Background Art

[0002] With the development of technology, rendering engines already have excellent graphics rendering capabilities, providing highly realistic visual effects for aspects such as game development, virtual reality, augmented reality, and architectural design.

[0003] Current rendering engines can provide functions such as production, packaging, publishing, and hot loading of virtual resources (such as virtual scenes, virtual objects, etc.) required for the above scenarios. However, the operation process of implementing the related functions (such as packaging) of the above virtual resources using a rendering engine is relatively complex, and requires relatively professional rendering knowledge and experience in using the rendering engine, making the packaging of virtual resources difficult and inefficient. Summary of the Invention

[0004] To solve the above technical problems, embodiments of the present disclosure provide a method, apparatus, device, and storage medium for processing virtual resources.

[0005] In a first aspect, embodiments of the present disclosure provide a method for processing virtual resources, the method including:

[0006] Displaying a resource type control in a virtual resource processing interface of a rendering engine;

[0007] Responding to a selection operation on the resource type control, determining initial materials based on the selected virtual resource type;

[0008] Determining associated materials having a dependency relationship with the initial materials;

[0009] Responding to a trigger operation on a packaging control displayed in the virtual resource processing interface, performing virtual resource packaging based on the initial materials and the associated materials to generate a virtual resource file in a target format adapted to a target platform.

[0010] In a second aspect, embodiments of the present disclosure further provide a device for processing virtual resources, the device including:

[0011] A resource type control display module, configured to display a resource type control in a virtual resource processing interface of a rendering engine;

[0012] An initial material determination module, configured to respond to a selection operation on the resource type control and determine initial materials based on the selected virtual resource type;

[0013] An associated material determination module, configured to determine associated materials having a dependency relationship with the initial materials;

[0014] A virtual resource packaging module, which is configured to, in response to a triggering operation on a packaging control displayed in the virtual resource processing interface, perform virtual resource packaging based on the initial material and the associated material, and generate a virtual resource file in a target format adapted to the target platform.

[0015] Thirdly, an embodiment of the present disclosure further provides an electronic device, which includes:

[0016] A processor;

[0017] A memory for storing executable instructions;

[0018] Wherein, the processor is configured to read the executable instructions from the memory and execute the executable instructions to implement the virtual resource processing method described in any embodiment of the present disclosure.

[0019] Fourthly, an embodiment of the present disclosure further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the processor is caused to implement the virtual resource processing method described in any embodiment of the present disclosure.

[0020] Fifthly, an embodiment of the present disclosure further provides a computer program product, which is used to execute the virtual resource processing method described in any embodiment of the present disclosure.

[0021] The virtual resource processing method, device, equipment and storage medium of the embodiments of the present disclosure can provide a virtual resource processing interface with a human-computer interaction function based on a rendering engine, and display a resource type control and a packaging control in the virtual resource processing interface of the rendering engine; in response to a selection operation on the resource type control, determine the initial material based on the selected virtual resource type, and automatically search for associated materials having a dependency relationship with the initial material according to the dependency relationship between materials in the rendering engine; then, in response to a triggering operation on the packaging control displayed in the virtual resource processing interface, perform virtual resource packaging based on the initial material and the associated material, and generate a virtual resource file in a target format adapted to the target platform; realizing the encapsulation of the original virtual resource packaging function of the rendering engine, and only by performing a selection operation on the resource type control and a triggering operation on the packaging space, the virtual resource packaging process can be completed, without the need for the user to select the materials to be packaged, set the folders or folder paths for storing each material, etc., which greatly simplifies the virtual resource packaging operation process, improves the virtual resource packaging efficiency, and also avoids the problem of packaging redundant materials irrelevant to the virtual resources, effectively reducing the data volume of the virtual resource file after packaging. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In combination with the accompanying drawings and with reference to the following specific embodiments, the above and other features, advantages and aspects of the various embodiments of the present disclosure will become more apparent. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic and that the original and elements are not necessarily drawn to scale.

[0023] Figure 1 It is a schematic diagram of a process for processing virtual resources based on a rendering engine provided by an embodiment of the present disclosure;

[0024] Figure 2 It is a schematic flowchart of a virtual resource processing method provided by an embodiment of the present disclosure;

[0025] Figure 3 It is a schematic diagram showing the display of a packaging module of a virtual resource processing interface provided by an embodiment of the present disclosure;

[0026] Figure 4 It is a schematic diagram showing the display of a packaging module of another virtual resource processing interface provided by an embodiment of the present disclosure;

[0027] Figure 5 It is a schematic flowchart of a method for generating a configuration file of a virtual resource file in a virtual resource processing method provided by an embodiment of the present disclosure;

[0028] Figure 6 It is a schematic diagram showing the display of an engineering configuration module of a virtual resource processing interface provided by an embodiment of the present disclosure;

[0029] Figure 7 It is a schematic flowchart of another virtual resource processing method provided by an embodiment of the present disclosure;

[0030] Figure 8 It is a schematic diagram of the structure of a virtual resource processing device provided by an embodiment of the present disclosure;

[0031] Figure 9 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Specific Embodiments

[0032] The embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although some embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. On the contrary, these embodiments are provided to more thoroughly and completely understand the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not used to limit the protection scope of the present disclosure.

[0033] It should be understood that the various steps described in the method embodiments of the present disclosure may be executed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this regard.

[0034] As used herein, the term "including" and its variations are open-ended, i.e., "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0035] It should be noted that the concepts such as "first", "second", etc. mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or mutual dependence relationship of the functions executed by these devices, modules or units.

[0036] It should be noted that the modifications of "one" and "a plurality of" mentioned in the present disclosure are illustrative rather than restrictive. Those skilled in the art should understand that unless otherwise clearly specified in the context, it should be understood as "one or more".

[0037] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only for illustrative purposes and are not used to limit the scope of these messages or information.

[0038] See Figure 1 , the overall process of virtual resource processing using a rendering engine is generally as follows: The user first designs virtual resources, then creates a rendering project in the rendering engine and configures the environmental parameters of the rendering project. Then, the virtual resources can be built using the model asset library, and then the design and optimization of each material included in the virtual resources are carried out. After that, each material is processed such as baking, packaging, adjustment and preview, and when it is determined that the frame rate and effect of the packaged virtual resource file meet the requirements, the packaged virtual resource file is uploaded to the virtual resource platform for publication. Among them, whether to include the baking process can be determined according to the functions of the rendering engine used.

[0039] In the above process, when packing virtual resources, the packing process provided by the rendering engine in the related art is very cumbersome. For example, when packing virtual resources in a certain rendering engine, it requires the user to input a packing command in the command line, and at the same time, it is necessary to put each material on which the virtual resources depend into a folder, or put all the material paths into the same folder and pack them according to the folder. Another example is that for some packing scripts or plugins provided by the rendering engine, it also requires the user to specify the storage paths of each material participating in the packing, the storage path of the output virtual resource file, and some other information. All these packing processes require the user to determine each material participating in the packing and its storage path, and also require the user to perform many interactive operations. If the user is not familiar with the rendering engine, it is very likely that materials will be missing, resulting in packing failure, or redundant and irrelevant materials will be packed, resulting in a large package volume of the virtual resource file, etc., making it difficult and inefficient for the user to pack virtual resources.

[0040] Based on the above situation, the embodiments of the present disclosure provide a virtual resource processing solution to encapsulate the packing process of the rendering engine, and provide a resource type control and a packing control in the virtual resource processing interface with a human-computer interaction function, so that the user can execute the packing operation through these two controls, greatly simplifying the virtual resource packing process, reducing the difficulty of virtual resource packing, and thus improving the packing efficiency of virtual resources. It should be noted that the virtual resource processing functions involved in the embodiments of the present disclosure at least include Figure 1 configuring the environmental parameters of the rendering project, baking, virtual resource packing and adjustment, etc., with the middle border in bold.

[0041] In some embodiments, the virtual resource processing method of the embodiments of the present disclosure can be implemented as an application program that encapsulates the rendering engine. Install the rendering engine in the related art by installing this application program, and provide virtual resource processing functions. In other embodiments, the virtual resource processing method of the embodiments of the present disclosure can be implemented as a script or plugin of the rendering engine in the related art. The virtual resource processing function is realized by installing the script or plugin into the rendering engine.

[0042] The virtual resource processing method provided by the embodiments of the present disclosure is applicable to the scenario of virtual resource processing using a rendering engine. This method can be executed by a virtual resource processing device, which can be implemented in a software and / or hardware manner, and this device can be integrated in an electronic device with a display function and installed with a rendering engine. The electronic device may include, but is not limited to, a smart phone, a personal digital assistant (PDA), a tablet personal computer (Tablet PC), a notebook computer, a desktop computer, etc.

[0043] Figure 2 The flowchart shows a virtual resource processing method provided by an embodiment of the present disclosure. As Figure 2 shown, the virtual resource processing method may include the following steps:

[0044] S210. Display a resource type control in the virtual resource processing interface of the rendering engine.

[0045] Among them, the virtual resource processing interface is a display interface with human-computer interaction functions that provides various processing functions such as baking, packaging, and encrypting virtual resources. The resource type control is an interactive control for selecting the virtual resource type, which may be a list control, a drop-down box, etc.

[0046] Based on the above description, the packaging process of the rendering engine is relatively complex, and at least requires the user to select which materials to participate in the packaging, and the user stores these materials in the same folder. Therefore, in order to simplify the user's packaging operation process, an interactive entry for virtual resource packaging with a resource type control is provided in the embodiment of the present disclosure, so that the user can trigger operations such as automatic screening and folder storage of each material included in the virtual resource only by selecting the virtual resource type, without the user manually performing these operations in the packaging process.

[0047] At the same time, in the embodiment of the present disclosure, in order to ensure that each material included in the virtual resource can be quickly and accurately screened by the selected virtual resource type, the virtual resource type can be set as the type of virtual resource determined according to the basic / common / core / low-level / entry materials on which the virtual resource depends. In this way, each material included in the virtual resource can be searched through the dependency / association relationship between the basic / common / core / low-level materials and other materials. For example, the virtual resource type can be set as the virtual scene type to create virtual scene resources based on map materials. Another example is that the virtual resource type can be set as the virtual object type to create virtual resources based on visualization script materials. Here, the visualization script materials can also be called blueprint materials, which contain basic units / components for creating virtual objects and can provide users with a visual code writing function to enable users to more efficiently create virtual objects containing each basic unit / component. For example, for the virtual object of a "cabinet", the visualization script materials may include components such as a "cabinet body" component and a "cabinet door" component, and the user can generate the "cabinet" virtual object they want through operations such as combining these components and modifying parameters.

[0048] In specific implementation, the electronic device can start the virtual resource processing function, and then the virtual resource processing interface can be displayed on the display screen of the electronic device. At least the resource type control can be displayed in the virtual resource processing interface. See Figure 3, the electronic device can display a virtual resource processing interface 300, and when it is in the packaging module 310, at least a resource type control 311, which provides a function for selecting a virtual resource type and is exemplified by a drop-down box, can be displayed.

[0049] In some embodiments, S210 includes: in response to a trigger operation on the rendering project corresponding to the virtual resource to be processed, displaying a virtual resource processing interface, and displaying a resource type control in the virtual resource processing interface.

[0050] Among them, the rendering project is a project created for producing virtual resources. The rendering project is generated by loading a rendering project file. The rendering project file is a file generated by the created rendering project, which at least contains each material corresponding to the virtual resource. The rendering project file can be a file exported by a developer after creating a rendering project. Thus, the rendering project file can also contain the engineering environment parameters of the rendering engine set by the developer when creating the virtual resource, such as the art style of the rendering project, the anti-aliasing function, and relevant parameters of specific packaging settings.

[0051] To further improve the efficiency of virtual resource packaging, in the embodiments of the present disclosure, the rendering project can be increased by loading the rendering project file of the rendering engine processed by the developer. In this way, the electronic device can display the above-loaded rendering project in the relevant interface of the rendering engine (such as the interface for displaying each project, the home page default started by the rendering engine, etc.). When the user triggers the rendering project, the rendering project can be started, and then the virtual resource processing interface corresponding to the rendering project is displayed, and a resource type control is displayed therein.

[0052] As Figure 3 shown, the rendering project file can be stored in a certain storage path. After it is loaded, both the "resource package directory" and the "virtual resource file storage directory" in the packaging module 310 of the virtual resource processing interface 300 can be automatically determined based on this storage path. If the user does not modify, then the subsequent initial materials and associated materials will be searched from the storage path specified by the "resource package directory", and the virtual resource file generated by subsequent packaging will also be automatically stored in the storage path specified by the "virtual resource file storage directory". At the same time, to meet the personalized needs of users, the electronic device can also provide an interactive control for modifying the above storage path, that is Figure 3 a path modification control 313 in which the text content displayed around the "resource package directory" and the "virtual resource file storage directory" is "Select". The user can modify the corresponding storage path by triggering the path modification control 313 corresponding to the "resource package directory" and / or the "virtual resource file storage directory".

[0053] S220. In response to a selection operation on the resource type control, determine the initial material based on the selected virtual resource type.

[0054] Among them, the initial material is the first material determined during the virtual resource packaging process, and it is also the basis / common / core / low-level material on which the virtual resource type division depends.

[0055] According to the description in S210, there is a corresponding relationship between the virtual resource type and the initial material. Then, when the user selects a certain virtual resource type through the resource type control, the electronic device can, through the above corresponding relationship, determine its corresponding initial material from the selected virtual resource type.

[0056] In some embodiments, determining the initial material based on the selected virtual resource type includes: if the selected virtual resource type is a virtual scene type, determining the initial material as the map material corresponding to the virtual scene.

[0057] As Figure 3 shown, when the user selects the virtual scene type through the resource type control 311, the initial material can be determined as the map material according to the above corresponding relationship.

[0058] In other embodiments, determining the initial material based on the selected virtual resource type includes: if the selected virtual resource type is a virtual object type, determining the initial material as the visual scripting material for creating the virtual object.

[0059] As Figure 4 shown, when the user selects the virtual object type through the resource type control 411 in the packaging module 410 of the virtual resource processing interface 400, the electronic device can determine the initial material as the visual scripting material.

[0060] S230. Determine the associated materials that have a dependency relationship with the initial material.

[0061] In addition to the initial material, the virtual resource can also include more materials, and these materials can be determined through the dependency / association relationship between the materials. There are many materials in the rendering project. The electronic device can, based on the initial material, search for at least one material that has a dependency relationship with the initial material from the rendering project file as the associated material. The initial material and the associated material are the materials included in the virtual resource to be processed.

[0062] For example, for the virtual scene type, the initial material is the map material, and the area range of this map material can correspond to a part of the area in the entire virtual scene. Then, according to the adjacency relationship between the areas, starting from the initial material, the map materials corresponding to the remaining areas in the entire virtual scene can be determined from the materials included in the rendering project file as the associated materials. As Figure 3"Map Material 1", "Map Material 2", etc. shown in . Additionally, virtual object materials can also be filtered as associated materials based on the dependency relationships between other virtual objects (such as trees, grasslands, lakes, mountains, etc. in a game scene) and the map materials included in the virtual scene.

[0063] For another example, for the virtual object type, if the initial material is the visualization script material corresponding to a "cabinet", then relevant component - corresponding visualization script materials can be determined from the various materials included in the rendering project file according to the components that make up the cabinet and their combination relationships. As Figure 4 "Script Material 1", "Script Material 2", etc. shown in . It can be understood that the electronic device can also filter out other visualization script materials or virtual object materials based on the spatial position relationships, blueprint node connection relationships, etc. between the visualization script materials and other materials. For example, the virtual object material of a "vase" placed on the "cabinet" can be filtered out.

[0064] S240. In response to a trigger operation on the packaging control displayed in the virtual resource processing interface, virtual resource packaging is performed based on the initial material and the associated materials to generate a virtual resource file in a target format adapted to the target platform.

[0065] Among them, the packaging control refers to an interactive control that can trigger the packaging function. For example, it can be a button control, a voice interaction control, etc. The target platform is the platform where the virtual resources are to be published. The target format is the data format of the packaged virtual resources acceptable to the target platform. For example, it can be a specified compressed package format. The virtual resource file is the storage file of the packaged virtual resources.

[0066] The electronic device can also display a packaging control in the virtual resource processing interface. For example, the electronic device can also display a packaging control 312 in the packaging module 310 of the virtual resource processing interface 300 shown in Figure 3 When the user can trigger this packaging control. At this time, the electronic device can automatically execute according to the packaging process of the rendering engine: taking the initial material and the associated materials as the materials to be packaged, and performing packaging processes such as compression on the above - mentioned materials according to the relevant packaging settings in the rendering project and the target format of the target platform to generate a completed - packaged virtual resource file. Thus, the user can complete the virtual resource packaging and obtain a virtual resource file adapted to the target platform only through the trigger operations on the resource type control and the packaging control.

[0067] In some embodiments, after S240, the virtual resource processing method further includes: if the virtual resource file does not meet the preset conditions, then in response to an adjustment operation on the target material, the target material is updated, and virtual resource packaging is performed again based on the updated target material to generate a new virtual resource file.

[0068] Among them, the preset condition is the condition corresponding to the packaging process function. For example, it can be related instructions (such as return instructions, adjustment instructions, etc.) triggered by packaging failure, or the preview results after packaging (such as frame rate, effect, etc.) not meeting the user's requirements. The target materials include initial materials and / or associated materials.

[0069] After generating the virtual resource file, the electronic device can detect whether the virtual resource file meets the preset conditions, such as whether the virtual resource file is correct, whether an adjustment is triggered after the virtual resource file presents the preview result, etc. If the preset conditions are met, the virtual resource file can be published. If the preset conditions are not met, it means that the virtual resource file needs to be regenerated. At this time, if an adjustment operation on at least one target material included in the virtual resource is detected by the user, then the electronic device can display an adjustment interface corresponding to the target material so that the user can adjust the content and / or attributes of the target material. After that, the above packaging process can be performed again using the adjusted target material (i.e., the updated target material) and the unadjusted materials among the initial materials and associated materials to generate a new virtual resource file. After that, the above process of detecting and updating the virtual resource file can be cycled until the new virtual resource file meets the preset conditions. This can enable the user to complete the virtual resource processing process as independently as possible, reduce the communication cost between the user and the developer, and further improve the virtual resource processing efficiency.

[0070] The virtual resource processing method provided by the embodiments of the present disclosure can provide a virtual resource processing interface with a human-computer interaction function based on the rendering engine, and display a resource type control and a packaging control in the virtual resource processing interface of the rendering engine; in response to a selection operation on the resource type control, determine the initial material based on the selected virtual resource type, and automatically search for associated materials having a dependency relationship with it from the initial material according to the dependency relationship between materials in the rendering engine; then, in response to a trigger operation on the packaging control displayed in the virtual resource processing interface, perform virtual resource packaging based on the initial material and the associated material to generate a virtual resource file in a target format adapted to the target platform; realizing the encapsulation of the original virtual resource packaging function of the rendering engine, and only through the selection operation on the resource type control and the trigger operation on the packaging space, the virtual resource packaging process can be completed without the user having to select the materials to be packaged, set the folder or folder path for storing each material, etc., which greatly simplifies the operation process of virtual resource packaging, improves the packaging efficiency of virtual resources, and also avoids the problem of packaging redundant materials unrelated to the virtual resources, effectively reducing the data volume of the virtual resource file after packaging.

[0071] In some embodiments, the embodiments of the present disclosure can also provide a function of automatically generating a configuration file for the virtual resource file. Figure 5The flowchart shows a method for generating a configuration file of a virtual resource file in a virtual resource processing method. For the explanations of the same or similar terms and steps in the above embodiments, reference can be made to the descriptions of the above embodiments.

[0072] When hot - loading a virtual resource file in a rendering engine, it is necessary to read the configuration file of the virtual resource file. This configuration file can describe the basic information of the virtual resource file. For example, the configuration file can include that the virtual resource type corresponding to the virtual resource file is a virtual object, a virtual scene, or a data file containing only some assets, the storage location of the blueprint / map file as an entry, the path when instantiating the virtual resource, etc. In the related art, these information are mainly recorded manually and stored in a file to generate the configuration file. However, such a generation method is inefficient and prone to errors in the virtual resource file due to human errors. Therefore, in the embodiments of the present disclosure, a function for automatically generating the configuration file of the virtual resource file can be provided to improve the generation efficiency and accuracy of the configuration file, thereby further improving the processing efficiency of the virtual resource file.

[0073] See Figure 5 , the method for generating the configuration file of the virtual resource file includes the following steps:

[0074] S510. In response to a trigger operation on a target material, display an attribute control corresponding to the target material in the virtual resource processing interface.

[0075] Among them, the target material includes an initial material and / or an associated material. The attribute control is an interactive control for setting the attributes of the material. Here, the attributes at least include the attributes included in the configuration file of the virtual resource file. The attribute control can be set as a selective control, a text - type control, etc. according to the type of the material. For example, for a map material corresponding to the virtual scene type, the attribute control can be a scene - type selection control for whether the map belongs to a close - up or a long - shot; for a component material in a visual scripting material corresponding to the virtual object type, the attribute control can be set as a text - type control so that the user can input the path name when instantiating, etc.

[0076] When the user triggers the target material displayed in the virtual resource processing interface, the electronic device can display the attribute control of the target material in another area of the virtual resource processing interface. As Figure 3 In, when the user triggers "Map Material 1" displayed in the left - hand area of the virtual resource processing interface 300, the attribute control 314 of "Attribute Settings" can be displayed in the right - hand area of the virtual resource processing interface 300. Similarly, as Figure 4 In, when the user triggers "Script Material 1" displayed in the left - hand area of the virtual resource processing interface 400, the attribute control 412 of "Attribute Settings" can be displayed in the right - hand area of the virtual resource processing interface 400.

[0077] S520. Determine the attribute information of the target material in response to the setting operation on the attribute control.

[0078] The user can perform corresponding setting operations on the attribute control, such as selecting a certain attribute or inputting some text content. The electronic device can receive the result of the user's setting operation and set it as the attribute information of the target material.

[0079] S530. Generate a configuration file for the virtual resource file based on the attribute information.

[0080] The electronic device can record the attribute information set by the user during the packaging process of the virtual resource into the configuration file according to the file record requirements describing the virtual resource file.

[0081] It should be noted that the above configuration file can be a pre-set empty file. During the above setting process of the user, the content in the configuration file is continuously updated according to the user's setting operation. After the user's setting is completed, the final configuration file can be obtained. The above configuration file can also not exist in advance. Instead, as Figure 3 shown, the electronic device provides a checkbox control 315 with the displayed text "Generate the configuration file of the virtual resource". When the user selects this checkbox control 315 and triggers the packaging control during the packaging process, the electronic device records the attribute information set by the user into a new file to generate a configuration file. The storage path of the configuration file can be the same as that of the virtual source file or can be an independently set storage path (an interactive control for setting the storage path can be provided).

[0082] In some embodiments, if the rendering project is generated by loading a rendering project file. Then, before S210, the virtual resource processing method further includes: displaying an environment configuration control in the virtual resource processing interface; in response to the triggering operation on the environment configuration control, configuring the project environment parameters of the rendering engine with the virtual resource processing function based on the project configuration file included in the rendering project file.

[0083] Among them, the environment configuration control is an interactive control for configuring the project environment parameters of the rendering project of the rendering engine. The project configuration file is a file for recording the project environment parameters.

[0084] In the related art, after a developer creates a virtual resource, it can be handed over to a user (such as the designer of the virtual resource) for further processing of the virtual resource. If the project environment parameters of the rendering project in the rendering engines at both the developer's and the user's ends are inconsistent, it is easy to cause errors in the virtual resource. However, there are many project environment parameters in the rendering engine. If manually set by the user, it will not only increase the time cost of virtual resource processing, but also there will be problems of inconsistent environment parameter settings due to human errors. Therefore, the embodiments of the present disclosure can provide a function of automatically configuring project environment parameters.

[0085] When the developer exports the rendering project file, the project environment parameters of the rendering project in the rendering engine set by the developer can be stored in the project configuration file, and the project configuration file is exported together with the rendering project file. In this way, after the user loads the rendering project file, the electronic device can read the project configuration file. At the same time, as Figure 6 shown, the electronic device can display an environment configuration control 611 with the text content "One-key Configuration" in the project configuration module 610 of the virtual resource processing interface 600. The environment configuration control 611 can be associated with the above-mentioned read project configuration file. When the user triggers the environment configuration control 611, the electronic device can set the relevant environment parameters in the rendering project of the rendering engine according to the project environment parameters recorded in the project configuration file. In this way, the user only needs to perform an interaction operation on the environment configuration control to configure the rendering project with the same environment parameters as the rendering project at the developer's end, greatly improving the configuration efficiency and accuracy of the project environment parameters, and further improving the efficiency and accuracy of virtual resource processing.

[0086] In some embodiments, after configuring the project environment parameters of the rendering engine with the virtual resource processing function based on the project configuration file included in the rendering project file in response to the trigger operation on the environment configuration control, the virtual resource processing method further includes: displaying a baking control in the virtual resource processing interface; and in response to the trigger operation on the baking control, converting the original material format of each material corresponding to the virtual resource included in the rendering project file into the target material format corresponding to the target platform.

[0087] Among them, baking is the process of converting the internal format of the rendering engine into a data format specifically for the platform. In the embodiments of the present disclosure, baking is the process of converting the original material format of each material included in the virtual resource from the internal format of the rendering engine into the target material format that can be received by the target platform.

[0088] For some specific types of rendering engines, during the process of creating virtual resources, the materials involved are stored in the original material format, but this original material format is very likely to be incompatible with the target platform. Therefore, before performing the packaging process, such rendering engines need to bake each material first. However, if the user is not familiar with this type of rendering engine, it is very likely to miss the baking process, resulting in subsequent packaging failures.

[0089] Based on the above situation, embodiments of the present disclosure can display a baking control 612 in the project settings module 610 of the virtual resource processing interface 600 as shown in Figure 6 and can display information such as an introduction to the baking function and the timing of the baking process in the surrounding area of the baking control 612 to provide operation prompts and guidance to the user. After the user triggers the baking control 612, the electronic device can convert each material corresponding to the virtual resources included in the rendering project file from the original material format to the target material format corresponding to the target platform, completing the material baking process. In this way, without the user having professional knowledge of the rendering engine, the baking process can be completed without omission and quickly, further improving the efficiency and correctness of virtual resource processing.

[0090] In some embodiments, the virtual resource processing method can also provide a function for encrypting the virtual resource file, that is, the virtual resource processing method further includes: displaying an encryption control in the virtual resource processing interface; and determining a key for encrypting the virtual resource in response to a trigger operation on the encryption control.

[0091] In the related art, if a user wants to encrypt a packaged virtual resource file, they first need to find the key file for setting the encryption key, and then set or modify the key in the key file for subsequent encryption processing using the key. This process is relatively complicated and requires the user to be familiar enough with the encryption process of the rendering engine. Based on this, embodiments of the present disclosure can provide a function for key setting and encryption in the packaging module to implement visual encryption processing.

[0092] See Figure 3 , the electronic device can provide an encryption control 316 for "package encryption" ( Figure 3 for example, a checkbox) and a key setting control 317 for "generate key" in the packaging module 310 of the virtual resource processing interface 300. If the user triggers the key setting control 317 and the encryption control 316, a new key can be generated according to the pre-set key generation rule, and this new key can be used as the encryption key during the subsequent virtual resource packaging process. If the user only triggers the encryption control 316 and does not trigger the key setting control 317, then the electronic device can use the default set key as the encryption key during the virtual resource packaging process.

[0093] Based on the above embodiments, S240 may be implemented as: virtual resource packaging is performed on the initial material and the associated material based on a key to generate an encrypted virtual resource file.

[0094] When the user triggers the encryption control 316, if the user continues to trigger the packaging control 312, then during the process of packaging the initial material and the associated material, the electronic device can encrypt the virtual resource file by using the obtained key. In this way, the convenience of key setting is improved, and thus the virtual resource packaging efficiency is further improved.

[0095] In some embodiments, after S230, the virtual resource processing method further includes: taking an image of the virtual resource composed of the initial material and / or the associated material from a preset perspective, and storing the image and the virtual resource file together.

[0096] If there is an image requirement such as setting a cover or a thumbnail for the virtual resource file in the business requirements of virtual resource processing, then during the packaging process, after setting the attribute information of each material, the electronic device can take a picture of the virtual resource composed of the initial material and / or the associated material from the preset perspective in the image requirement to obtain an image from the preset perspective. This image can be stored together with the virtual resource file and can be used as the cover or thumbnail of the virtual resource file, etc.

[0097] It should be noted that referring to Figure 3 , the virtual resource processing method of the embodiments of the present disclosure can also set interaction interfaces corresponding to more packaging functions (such as packaging configuration 2, modifying the packaging name, etc.) according to the packaging business requirements.

[0098] Figure 7 is a flowchart of another virtual resource processing method provided by the embodiments of the present disclosure.

[0099] For the explanations of the same or similar terms and steps in the above embodiments, reference can be made to the descriptions of the above embodiments. Referring to Figure 7 , the virtual resource processing method includes the following steps:

[0100] S701: Load the rendering project file to generate a rendering project.

[0101] S702: In response to a trigger operation on the rendering project, display a virtual resource processing interface, and display an environment configuration control and a baking control in the project setting module of the virtual resource processing interface.

[0102] S703: In response to a trigger operation on the environment configuration control, configure the project environment parameters of the rendering engine with virtual resource processing functions based on the project configuration file included in the rendering project file.

[0103] S704. In response to a triggering operation on the baking control, convert the original material formats of the respective materials corresponding to the virtual resources included in the rendering project file into the target material formats corresponding to the target platform.

[0104] S705. Initialize the configuration file of the virtual resource file.

[0105] S706. Display a resource type control in the virtual resource processing interface, and in response to a selection operation on the resource type control, determine that the selected virtual resource type is a virtual scene type or a virtual object type.

[0106] S707. If the selected virtual resource type is a virtual scene type, determine that the initial material is a map material, and determine associated materials based on the map material.

[0107] S708. If the selected virtual resource type is a virtual object type, determine that the initial material is a visual scripting material, and determine associated materials based on the visual scripting material.

[0108] S709. In response to a triggering operation on the target material, display an attribute control corresponding to the target material in the virtual resource processing interface, and in response to a setting operation on the attribute control, determine the attribute information of the target material. Here, the target material includes the initial material and / or associated materials.

[0109] S710. Update the configuration file of the virtual resource file based on the attribute information.

[0110] S711. In response to a triggering operation on the encryption control, determine the key for encrypting the virtual resources.

[0111] S712. In response to a triggering operation on the packaging control displayed in the virtual resource processing interface, perform virtual resource packaging on the initial material and associated materials based on the key to generate an encrypted virtual resource file.

[0112] The following is an embodiment of the virtual resource processing device provided by the embodiments of the present invention. This device and the virtual resource processing method of the above embodiments belong to the same inventive concept. For the details not described in detail in the embodiment of the virtual resource processing device, reference can be made to the embodiment of the virtual resource processing method.

[0113] Figure 8 The structural schematic diagram of a virtual resource processing device provided by an embodiment of the present disclosure is shown. As Figure 8 shown, the virtual resource processing device 800 may include:

[0114] A resource type control display module 810, configured to display a resource type control in the virtual resource processing interface of the rendering engine;

[0115] The initial material determination module 820 is configured to determine the initial material based on the selected virtual resource type in response to a selection operation on the resource type control;

[0116] The associated material determination module 830 is configured to determine the associated materials that have a dependency relationship with the initial material;

[0117] The virtual resource packaging module 840 is configured to perform virtual resource packaging based on the initial material and the associated materials in response to a trigger operation on the packaging control displayed in the virtual resource processing interface, and generate a virtual resource file in a target format adapted to the target platform.

[0118] The virtual resource processing device provided by the embodiments of the present disclosure can provide a virtual resource processing interface with a human-computer interaction function based on the rendering engine, and display a resource type control and a packaging control in the virtual resource processing interface of the rendering engine; in response to a selection operation on the resource type control, determine the initial material based on the selected virtual resource type, and automatically search for the associated materials that have a dependency relationship with it according to the dependency relationship between the materials in the rendering engine; then, in response to a trigger operation on the packaging control displayed in the virtual resource processing interface, perform virtual resource packaging based on the initial material and the associated materials, and generate a virtual resource file in a target format adapted to the target platform; realizing the encapsulation of the original virtual resource packaging function of the rendering engine, and only through the selection operation on the resource type control and the trigger operation on the packaging space, the virtual resource packaging process can be completed, without the user having to select the materials to be packaged, set the folder or folder path for storing each material, etc., which greatly simplifies the virtual resource packaging operation process, improves the virtual resource packaging efficiency, and also avoids the problem of packaging redundant materials unrelated to the virtual resources, effectively reducing the data volume of the virtual resource file after packaging.

[0119] In some embodiments, the initial material determination module 820 is specifically configured to:

[0120] If the selected virtual resource type is a virtual scene type, determine the initial material as the map material corresponding to the virtual scene;

[0121] Or, if the selected virtual resource type is a virtual object type, determine the initial material as the visualization script material for creating the virtual object.

[0122] In some embodiments, the virtual resource processing device 800 further includes a configuration file generation module, configured to:

[0123] In response to a trigger operation on the target material, display the property control corresponding to the target material in the virtual resource processing interface; wherein, the target material includes the initial material and / or the associated material;

[0124] In response to a setting operation on an attribute control, determine the attribute information of the target material;

[0125] Generate a configuration file for the virtual resource file based on the attribute information.

[0126] In some embodiments, the resource type control display module 810 is specifically configured to:

[0127] In response to a trigger operation on the rendering project corresponding to the virtual resource to be processed, display a virtual resource processing interface, and display a resource type control in the virtual resource processing interface; wherein, the rendering project is generated by loading a rendering project file, and the rendering project file at least includes each material corresponding to the virtual resource.

[0128] In some embodiments, the virtual resource processing device 800 further includes a project environment parameter configuration module, configured to:

[0129] Before displaying the resource type control in the virtual resource processing interface, display an environment configuration control in the virtual resource processing interface;

[0130] In response to a trigger operation on the environment configuration control, configure the project environment parameters of the rendering engine with virtual resource processing functions based on the project configuration file included in the rendering project file.

[0131] In some embodiments, the virtual resource processing device 800 further includes a resource baking module, configured to:

[0132] After configuring the project environment parameters of the rendering engine with virtual resource processing functions based on the project configuration file included in the rendering project file in response to a trigger operation on the environment configuration control, display a baking control in the virtual resource processing interface;

[0133] In response to a trigger operation on the baking control, convert the original material format of each material corresponding to the virtual resource included in the rendering project file into a target material format corresponding to the target platform.

[0134] In some embodiments, the virtual resource processing device 800 further includes a key determination module, configured to:

[0135] Display an encryption control in the virtual resource processing interface;

[0136] In response to a trigger operation on the encryption control, determine the key for encrypting the virtual resource;

[0137] Correspondingly, the virtual resource packaging module 840 is specifically configured to:

[0138] Based on the key, perform virtual resource packaging on the initial material and the associated material to generate an encrypted virtual resource file.

[0139] In some embodiments, the virtual resource processing device 800 further includes an image capturing module, which is configured to:

[0140] After determining the associated materials that have a dependency relationship with the initial material, capture an image of the virtual resource composed of the initial material and / or the associated materials from a preset perspective, and store the image and the virtual resource file together.

[0141] In some embodiments, the virtual resource processing device 800 further includes a material adjustment module, which is configured to:

[0142] After, in response to a triggering operation on the packaging control displayed in the virtual resource processing interface, performing virtual resource packaging based on the initial material and the associated materials to generate a virtual resource file in a target format adapted to the target platform, if the virtual resource file does not meet the preset conditions, then in response to an adjustment operation on the target material, update the target material, and re-perform virtual resource packaging based on the updated target material to generate a new virtual resource file; wherein, the target material includes the initial material and / or the associated materials.

[0143] The virtual resource processing device provided by the embodiments of the present invention can execute the virtual resource processing method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the method.

[0144] It should be noted that in the embodiments of the above virtual resource processing device, the various modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, the specific names of the functional modules are only for the convenience of mutual distinction and do not limit the protection scope of the present disclosure.

[0145] The embodiments of the present disclosure also provide an electronic device, which may include a processor and a memory, and the memory may be used to store executable instructions. Among them, the processor may be configured to read the executable instructions from the memory and execute the executable instructions to implement the virtual resource processing method in the above embodiments.

[0146] Figure 9 The structural schematic diagram of an electronic device provided by the embodiments of the present disclosure is shown.

[0147] As Figure 9As shown, the electronic device 900 may include a processing device 901 (such as a central processing unit, a graphics processing unit, etc.), which may perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage device 908 into a random access memory (RAM) 903. In the RAM 903, various programs and data required for the operation of the electronic device 900 are also stored. The processing device 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input / output interface (I / O interface) 905 is also connected to the bus 904.

[0148] Generally, the following devices may be connected to the I / O interface 905: an input device 906 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 907 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 908 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 909. The communication device 909 may allow the electronic device 900 to communicate with other devices wirelessly or wiredly to exchange data.

[0149] It should be noted that Figure 9 the illustrated electronic device 900 is merely an example and should not impose any limitations on the functions and usage scope of the embodiments of the present disclosure. That is, although Figure 9 the electronic device 900 with various devices is illustrated, it should be understood that it is not required to implement or include all the illustrated devices. Instead, more or fewer devices may be implemented or included.

[0150] In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, the embodiments of the present disclosure include a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes program codes for performing the methods shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via the communication device 909, or installed from the storage device 908, or installed from the ROM 902. When the computer program is executed by the processing device 901, the above-mentioned functions defined in the virtual resource processing method of any embodiment of the present disclosure are performed.

[0151] The embodiments of the present disclosure also provide a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the processor is caused to implement the virtual resource processing method in any embodiment of the present disclosure.

[0152] It should be noted that the computer-readable medium described above can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of the computer-readable storage medium can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, the computer-readable storage medium can be any tangible medium that contains or stores a program, and this program can be used by or in combination with an instruction execution system, apparatus, or device. In the present disclosure, the computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium can also be any computer-readable medium other than the computer-readable storage medium, and this computer-readable signal medium can send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted by any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0153] In some embodiments, the client and the server can communicate using any currently known or future-developed network protocol such as HTTP, and can be interconnected with digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include local area networks ("LANs"), wide area networks ("WANs"), the Internet (e.g., the Internet), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any currently known or future-developed networks.

[0154] The above computer-readable medium can be included in the above electronic device; or it can exist separately without being assembled into the electronic device.

[0155] The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by the electronic device, the electronic device is caused to perform the steps of the virtual resource processing method described in any embodiment of the present disclosure.

[0156] In embodiments of the present disclosure, computer program code for performing the operations of the present disclosure may be written in one or more programming languages or combinations thereof. The foregoing programming languages include, but are not limited to, object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0157] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of devices, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a portion of code that contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions denoted in the blocks may occur in a different order than denoted in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and combinations of blocks in the block diagram and / or flowchart, may be implemented by a dedicated hardware-based system that performs the specified functions or operations, or may be implemented by a combination of dedicated hardware and computer instructions.

[0158] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGA), application specific integrated circuits (ASIC), application specific standard products (ASSP), system on a chip (SOC), complex programmable logic devices (CPLD), and the like.

[0159] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0160] The above description is only a preferred embodiment of the present disclosure and an explanation of the applied technical principles. Those skilled in the art should understand that the scope of the disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above technical features, and should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosure concept. For example, the technical solutions formed by mutually replacing the above features with the (but not limited to) technical features having similar functions disclosed in the present disclosure.

[0161] In addition, although the operations are depicted in a particular order, this should not be construed as requiring that the operations be performed in the particular order shown or in sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, although several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, the various features described in the context of a single embodiment can also be implemented separately or in any suitable sub-combination in multiple embodiments.

[0162] Although the subject matter has been described in language specific to structural features and / or methodological acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms for implementing the claims.

Claims

1. A virtual resource processing method, characterized in that: include: Display resource type controls in the virtual resource processing interface of the rendering engine; In response to a selection operation on the resource type control, determining an initial material based on the selected virtual resource type; Determining associated materials having a dependency relationship with the initial material; In response to a triggering operation on a packaging control displayed in the virtual resource processing interface, virtual resource packaging is performed based on the initial material and the associated material to generate a virtual resource file in a target format adapted to a target platform.

2. The method according to claim 1, characterized in that The determining of the initial material based on the selected virtual resource type includes: If the selected virtual resource type is a virtual scene type, determining that the initial material is a map material corresponding to the virtual scene; Alternatively, if the selected virtual resource type is a virtual object type, the initial material is determined to be a visual script material for creating a virtual object.

3. The method according to claim 1, characterized in that The method further comprises: In response to a triggering operation on a target material, a property control corresponding to the target material is displayed in the virtual resource processing interface; wherein the target material includes the initial material and / or the associated material; In response to a setting operation on the property control, determining property information of the target material; A configuration file of the virtual resource file is generated based on the attribute information.

4. The method according to claim 1, characterized in that: The displaying of the resource type control in the virtual resource processing interface of the rendering engine includes: In response to a triggering operation of a rendering project corresponding to a virtual resource to be processed, the virtual resource processing interface is displayed, and the resource type control is displayed in the virtual resource processing interface; wherein, the rendering project is generated by loading a rendering project file, and the rendering project file contains at least the materials corresponding to the virtual resource.

5. The method according to claim 4, characterized in that Before displaying the resource type control in the virtual resource processing interface, the method further includes: Displaying an environment configuration control in the virtual resource processing interface; In response to a triggering operation on the environment configuration control, the project environment parameters of the rendering engine having the virtual resource processing function are configured based on the project configuration file included in the rendering project file.

6. The method according to claim 5, characterized in that After configuring the engineering environment parameters of the rendering engine having the virtual resource processing function based on the engineering configuration file included in the rendering engineering file in response to the triggering operation on the environment configuration control, the method further includes: Displaying baking controls in the virtual resource processing interface; In response to a triggering operation on the baking control, the original material format of each material corresponding to the virtual resource contained in the rendering project file is converted into a target material format corresponding to the target platform.

7. The method according to claim 1, characterized in that The method further comprises: Displaying an encryption control in the virtual resource processing interface; In response to a triggering operation on the encryption control, determining a key for encrypting the virtual resource; The step of packaging virtual resources based on the initial material and the associated material to generate a virtual resource file in a target format adapted to a target platform includes: Based on the key, the initial material and the associated material are packaged as virtual resources to generate the encrypted virtual resource file.

8. The method according to any one of claims 1 to 7, characterized in that: After determining the associated material having a dependency relationship with the initial material, the method further includes: An image of a virtual resource composed of the initial material and / or the associated material is captured from a preset viewing angle, and the image and the virtual resource file are stored together.

9. The method according to any one of claims 1 to 7, characterized in that: After the virtual resource is packaged based on the initial material and the associated material in response to the triggering operation of the packaging control displayed in the virtual resource processing interface to generate a virtual resource file in a target format adapted to the target platform, the method further includes: If the virtual resource file does not meet the preset conditions, the target material is updated in response to the adjustment operation on the target material, and the virtual resource is repackaged based on the updated target material to generate a new virtual resource file; wherein the target material includes the initial material and / or the associated material.

10. A virtual resource processing device, characterized in that: include: A resource type control display module, used to display a resource type control in a virtual resource processing interface of a rendering engine; An initial material determination module, configured to determine an initial material based on a selected virtual resource type in response to a selection operation on the resource type control; An associated material determination module, used to determine associated materials having a dependency relationship with the initial material; The virtual resource packaging module is used to respond to the triggering operation of the packaging control displayed in the virtual resource processing interface, package the virtual resources based on the initial material and the associated material, and generate a virtual resource file in a target format adapted to the target platform.

11. An electronic device, characterized in that: include: processor; A memory for storing executable instructions; The processor is used to read the executable instructions from the memory and execute the executable instructions to implement the virtual resource processing method described in any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements the virtual resource processing method according to any one of claims 1 to 9.