Model resource acceptance method, device and equipment, storage medium and program product
By providing a graphical user interface and integrating related functions, the problem of inefficient and error-prone acceptance of the 2D sequence frame model resource acceptance process in the prior art is solved, and an efficient, intuitive and accurate model resource acceptance process is achieved.
Patent Information
- Application Number
- CN202411686741.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-22
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2044-11-22
Smart Images

Figure CN119680186A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of electronic computers and Internet technology, and in particular to a model resource acceptance method, device, equipment, storage medium and program product. Background Art
[0002] This section is intended to provide a background or context to the embodiments of the disclosure that are recited in the claims. No description herein is admitted to be prior art by inclusion in this section.
[0003] 2D Sequence Frame Model refers to a model consisting of a series of 2D image frames, which is usually used in animation production and game development. These image frames are played in sequence to create animation effects or simulate continuous actions. This model is often used in the production of character animation, special effects and background animation in games.
[0004] 2D sequence frame model resource acceptance refers to the acceptance of the export, preview and submission of model resources (2D sequence frame model resources) in electronic games or other applications.
[0005] In the related art, when accepting model resources, it is usually necessary to rely on a step-by-step tool chain to handle the export, preview and submission of 2D sequence frame model resources. For example, developers need to use professional tools to export the model, then preview it through another tool, and finally use different tools to submit the model to the game engine or application. Due to multiple tools and complex manual operations, the workflow is inefficient and error-prone. Summary of the invention
[0006] In view of this, the purpose of the present disclosure is to propose a model resource acceptance method, device, equipment, storage medium and program product, which at least to a certain extent solve one of the technical problems in the related art.
[0007] Based on the above purpose, the first aspect of the exemplary embodiment of the present disclosure provides a model resource acceptance method, wherein a graphical user interface is provided through a terminal device, and the content displayed by the graphical user interface includes an environment configuration interface, and the method includes:
[0008] In response to the environment configuration operation based on the environment configuration interface, configure the environment variables of the version management software and the atlas management software installed in the terminal device;
[0009] In response to completion of the configuration of the environment variables, controlling the graphical user interface to display a project configuration interface, and in response to a project configuration operation based on the project configuration interface, determining a target project to be configured;
[0010] Generate a model export configuration interface based on the target project, control the graphical user interface to display the model export configuration interface, and export the configured target model resource in response to a model export configuration operation based on the model export configuration interface;
[0011] generating a model preview interface based on the target model resource, controlling the graphical user interface to display the model preview interface in response to a switching operation from the model export configuration interface to the model preview interface, and controlling the graphical user interface to display a preview screen corresponding to the model preview operation in response to a model preview operation based on the model preview interface;
[0012] In response to a switching operation from the model preview interface to the model submission configuration interface, the graphical user interface is controlled to display the model submission configuration interface, and in response to a model submission configuration operation based on the model submission configuration interface, the model is submitted.
[0013] Based on the same inventive concept, the second aspect of the exemplary embodiment of the present disclosure provides a model resource acceptance device, which provides a graphical user interface through a terminal device, and the content displayed by the graphical user interface includes an environment configuration interface, and the device includes:
[0014] An environment configuration module, configured to configure environment variables of the version management software and the atlas management software installed in the terminal device in response to an environment configuration operation based on the environment configuration interface;
[0015] A project configuration module is configured to control the graphical user interface to display a project configuration interface in response to completion of the configuration of the environment variables, and to determine a target project to be configured in response to a project configuration operation based on the project configuration interface;
[0016] A model export module is configured to generate a model export configuration interface based on the target project, control the graphical user interface to display the model export configuration interface, and export the configured target model resource in response to a model export configuration operation based on the model export configuration interface;
[0017] A model preview module is configured to generate a model preview interface based on the target model resource, control the graphical user interface to display the model preview interface in response to a switching operation from the model export configuration interface to the model preview interface, and control the graphical user interface to display a preview screen corresponding to the model preview operation in response to a model preview operation based on the model preview interface;
[0018] The model submission module is configured to control the graphical user interface to display the model submission configuration interface in response to a switching operation from the model preview interface to the model submission configuration interface, and to submit the model in response to a model submission configuration operation based on the model submission configuration interface.
[0019] Based on the same inventive concept, a third aspect of the exemplary embodiment of the present disclosure provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method described in the first aspect is implemented.
[0020] Based on the same inventive concept, a fourth aspect of the exemplary embodiments of the present disclosure provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method described in the first aspect.
[0021] Based on the same inventive concept, a fifth aspect of the exemplary embodiments of the present disclosure provides a computer program product, including computer program instructions. When the computer program instructions are executed on a computer, the computer executes the method described in the first aspect.
[0022] From the above, it can be seen that the model resource acceptance method, apparatus, device, storage medium and program product provided by the embodiments of the present disclosure include: providing a graphical user interface through a terminal device, the content displayed by the graphical user interface includes an environment configuration interface; in response to an environment configuration operation based on the environment configuration interface, configuring the environment variables of the version management software and the atlas management software installed in the terminal device; in response to the completion of the environment variable configuration, controlling the graphical user interface to display a project configuration interface, and in response to the project configuration operation based on the project configuration interface, determining the target project to be configured; generating a model export configuration interface based on the target project, and controlling the graphical user interface to display the model export Configuration interface, in response to the model export configuration operation based on the model export configuration interface, export the configured target model resource; generate a model preview interface based on the target model resource, in response to the switching operation from the model export configuration interface to the model preview interface, control the graphical user interface to display the model preview interface, in response to the model preview operation based on the model preview interface, control the graphical user interface to display the preview screen corresponding to the model preview operation; in response to the switching operation from the model preview interface to the model submission configuration interface, control the graphical user interface to display the model submission configuration interface, and in response to the model submission configuration operation based on the model submission configuration interface, perform model submission. The present disclosure combines integration, automation and visualization, and improves efficiency, intuitiveness and accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the present disclosure or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0024] Figure 1 A schematic diagram of an application scenario of the model resource acceptance method provided by the exemplary embodiment of the present disclosure;
[0025] Figure 2 A schematic diagram of a flow chart of a model resource acceptance method provided by an exemplary embodiment of the present disclosure;
[0026] Figure 3 A schematic diagram of a model export configuration interface provided for an exemplary embodiment of the present disclosure;
[0027] Figure 4a A schematic diagram of a model preview interface provided for an exemplary embodiment of the present disclosure;
[0028] Figure 4b Another schematic diagram of a model preview interface provided for an exemplary embodiment of the present disclosure;
[0029] Figure 4c Another schematic diagram of a model preview interface provided for an exemplary embodiment of the present disclosure;
[0030] Figure 4d Another schematic diagram of a model preview interface provided for an exemplary embodiment of the present disclosure;
[0031] Figure 4e Another schematic diagram of a model preview interface provided for an exemplary embodiment of the present disclosure;
[0032] Figure 4f Another schematic diagram of a model preview interface provided for an exemplary embodiment of the present disclosure;
[0033] Figure 4g Another schematic diagram of a model preview interface provided for an exemplary embodiment of the present disclosure;
[0034] Figure 4h Another schematic diagram of a model preview interface provided for an exemplary embodiment of the present disclosure;
[0035] Figure 4i Another schematic diagram of a model preview interface provided for an exemplary embodiment of the present disclosure;
[0036] Figure 4j Another schematic diagram of a model preview interface provided for an exemplary embodiment of the present disclosure;
[0037] Figure 4k Another schematic diagram of a model preview interface provided for an exemplary embodiment of the present disclosure;
[0038] Figure 4l Another schematic diagram of a model preview interface provided for an exemplary embodiment of the present disclosure;
[0039] Figure 5 A schematic diagram of a model submission configuration interface provided for an exemplary embodiment of the present disclosure;
[0040] Figure 6 A schematic diagram of a Web framework interface provided for an exemplary embodiment of the present disclosure;
[0041] Figure 7 A schematic diagram of an Electron framework interface provided for an exemplary embodiment of the present disclosure;
[0042] Figure 8 A schematic diagram of the Electron framework process provided for an exemplary embodiment of the present disclosure;
[0043] Fig. 9 A schematic diagram of a structure of a model resource acceptance device provided by an exemplary embodiment of the present disclosure;
[0044] Fig.10 A schematic structural diagram of an electronic device provided by an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0045] It is understandable that before using the technical solutions disclosed in the embodiments of this application, the type, scope of use, usage scenarios, etc. of the personal information involved in this application should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0046] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present application according to the prompt message.
[0047] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0048] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation method of the present application. Other methods that meet the relevant laws and regulations may also be applied to the implementation method of the present application.
[0049] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.
[0050] In order to make the purpose, technical solutions and advantages of the present disclosure more clear, the principles and spirit of the present disclosure will be described with reference to several exemplary embodiments. It should be understood that these embodiments are provided only to enable those skilled in the art to better understand and implement the present disclosure, and are not intended to limit the scope of the present disclosure in any way. On the contrary, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.
[0051] It should be understood herein that any number of elements in the drawings is for illustration rather than limitation, and any naming is only for distinction rather than having any limiting meaning.
[0052] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present disclosure should be understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the embodiments of the present disclosure do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connecting" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly. The article "one" or "a" before an element does not exclude the existence of multiple such elements.
[0053] The principle and spirit of the present disclosure are explained in detail below with reference to several representative embodiments of the present disclosure.
[0054] As mentioned in the background technology, a 2D sequence frame model refers to a model consisting of a series of 2D image frames, which is usually used in animation production and game development. These image frames are played in sequence to create animation effects or simulate continuous actions. This model is often used in the production of character animation, special effects and background animation in games.
[0055] 2D sequence frame model resource acceptance refers to the acceptance of the export, preview and submission of model resources (2D sequence frame model resources) in electronic games or other applications.
[0056] In the related art, when accepting model resources, it is usually necessary to rely on a step-by-step tool chain to process the export, preview and submission of 2D sequence frame model resources. For example, developers need to use professional tools to export models, then preview them through another tool, and finally submit the models to game engines or applications using different tools. Due to multiple tools and complex manual operations, the workflow is inefficient and prone to errors, which will extend the project development cycle and cause waste of resources and costs.
[0057] The inventors of the present disclosure have found that the shortcomings of the related technologies include: the cumbersomeness of the tool chain, the high error rate of manual operation, the low efficiency caused by the lack of integration, the insufficient support for rapid iteration and instant feedback, and the poor user experience. These problems not only slow down the efficiency of resource management, but also may cause delays in the progress of project development.
[0058] In order to solve the above problems, the present disclosure provides a model resource acceptance scheme, which specifically includes: providing a graphical user interface through a terminal device, wherein the content displayed by the graphical user interface includes an environment configuration interface; in response to an environment configuration operation based on the environment configuration interface, configuring the environment variables of the version management software and the atlas management software installed in the terminal device; in response to the completion of the configuration of the environment variables, controlling the graphical user interface to display a project configuration interface, and determining the configured target project in response to the project configuration operation based on the project configuration interface; generating a model export configuration interface based on the target project, controlling the graphical user interface to display the model export configuration interface, and exporting the configured target model resource in response to the model export configuration operation based on the model export configuration interface; generating a model preview interface based on the target model resource, controlling the graphical user interface to display the model preview interface in response to a switching operation from the model export configuration interface to the model preview interface, and controlling the graphical user interface to display a preview screen corresponding to the model preview operation in response to a model preview operation based on the model preview interface; controlling the graphical user interface to display the model submission configuration interface in response to a switching operation from the model preview interface to the model submission configuration interface, and performing model submission in response to the model submission configuration operation based on the model submission configuration interface.
[0059] The present invention combines integration, automation and visualization, which improves efficiency, intuitiveness and accuracy.
[0060] After introducing the basic principles of the present disclosure, various non-limiting embodiments of the present disclosure are described in detail below.
[0061] refer to Figure 1 , which is a schematic diagram of an application scenario of the model resource acceptance method provided by the exemplary embodiment of the present disclosure.
[0062] This application scenario includes a terminal device 101, a server 102, and a data storage system 103. The terminal device 101, the server 102, and the data storage system 103 may be connected via a wired or wireless communication network to achieve data interaction.
[0063] The terminal device 101 may be an electronic device with data transmission and multimedia input / output functions close to the user side, including but not limited to a desktop computer, a mobile phone, a mobile computer, a tablet computer, a media player, a smart wearable device, a personal digital assistant (PDA) or other electronic devices capable of realizing the above functions. The electronic device may include a processor and a display screen with a touch input function, the display screen is used to present a graphical user interface, the graphical user interface can display an application interface, and the processor is used to process application data, generate a graphical user interface, and control the display of the graphical user interface on the display screen.
[0064] Server 102 and data storage system 103 can both be independent physical servers, or a server cluster or distributed system composed of multiple physical servers. They can also be cloud servers that provide basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), as well as big data and artificial intelligence platforms.
[0065] Combine the following Figure 1 The model resource acceptance method according to the exemplary embodiment of the present disclosure is described by using the application scenario. It should be noted that the above application scenario is only shown to facilitate understanding of the spirit and principle of the present disclosure, and the embodiments of the present disclosure are not limited in this respect. On the contrary, the embodiments of the present disclosure can be applied to any applicable scenario.
[0066] refer to Figure 2 , which is a flow chart of a model resource acceptance method provided by an exemplary embodiment of the present disclosure.
[0067] The model resource acceptance method provides a graphical user interface through a terminal device, wherein the content displayed by the graphical user interface includes an environment configuration interface, and the method comprises the following steps:
[0068] Step S210: In response to the environment configuration operation based on the environment configuration interface, configure the environment variables of the version management software and the atlas management software installed in the terminal device.
[0069] In specific implementation, step S210 is used to configure the environment variables of the version management software and the atlas management software, wherein the version management software and the atlas management software are both pre-installed in the terminal device.
[0070] In this exemplary embodiment, the present disclosure provides an environment configuration interface (ie, a built-in menu) configured to configure environment variables of the version management software and the atlas management software in one click or manually.
[0071] In the above exemplary embodiments, the visual representation of the environment variables of the configuration version management software and the atlas management software is introduced. Next, the data implementation of the configuration version management software and the atlas management software will be introduced:
[0072] In this exemplary embodiment, in response to the environment configuration operation based on the environment configuration interface, configuring the environment variables of the version management software and the atlas management software installed in the terminal device includes:
[0073] Determine the executable file paths of the version management software and the atlas management software;
[0074] Add the said executable path to the target environment variables.
[0075] In specific implementation, the version management software includes SVN.
[0076] SVN is used to manage versions (i.e. different versions of game resource entities), such as cloning projects from Github.
[0077] During specific implementation, the atlas management software includes TexturePacker, which is used as sequence frame resource packaging software.
[0078] TexturePacker is used to manage atlases. TexturePacker is a tool that combines several resource images into a large image. This tool is often used in game development and web page production. TexturePacker can not only help save memory when loading images, but also combine many small images into a large image. The synthesized large image will occupy a smaller physical storage than all the previous scattered images. Maybe the size of a bunch of scattered images is 20KB, and after combining them into a large image, it may become 10KB. In this way, it can compress the game installation package by reducing the physical storage size of image resources. Many small images are stitched into a large image and loaded into memory at once, which improves the loading speed.
[0079] As a specific example, let's take the use of TexturePacker to pack atlases in Unity as an example:
[0080] Use TexturePacker to pack the atlas in Unity and import the TexturePacker-Unity project file: Open the Asset Store in Unity and search for "TexturePacker Importer" to download. (Window>General>Asset Store or shortcut key Ctrl+9).
[0081] Step S220: In response to the completion of the configuration of the environment variables, the graphical user interface is controlled to display a project configuration interface, and in response to a project configuration operation based on the project configuration interface, a target project for configuration is determined.
[0082] In specific implementation, step S220 is used to determine the target item to be processed.
[0083] In this exemplary embodiment, in response to the completion of the configuration of the environment variable, controlling the graphical user interface to display a project configuration interface, and in response to a project configuration operation based on the project configuration interface, determining a target project for configuration includes:
[0084] In response to the completion of the configuration of the environment variables, controlling the graphical user interface to display the project configuration interface, wherein the project configuration interface includes a project creation control and a project opening control;
[0085] In response to a trigger operation on the project creation control, controlling the graphical user interface to display a local resource directory, and in response to a selection operation on a local resource in the local resource directory, creating a new project corresponding to the selected local resource, and using the new project as the target project;
[0086] or,
[0087] In response to a trigger operation for opening a control for the project, the graphical user interface is controlled to display an existing project directory; in response to a selection operation for an existing project in the existing project directory, the selected existing project is used as the target project.
[0088] In specific implementation, you can use the built-in menu to create a new project: select the local initial resource directory as the project engineering directory, and create a project file (such as project.editor), which identifies the model resource directory of the current device service;
[0089] You can also open existing project files through the built-in menu.
[0090] During the specific implementation, there is a configuration in the project delivery, and there is a field in this configuration, which identifies the initial resource directory.
[0091] Step S230: Generate a model export configuration interface based on the target project, control the graphical user interface to display the model export configuration interface, and export the configured target model resources in response to a model export configuration operation based on the model export configuration interface.
[0092] During specific implementation, step S230 is used to realize the export of the model.
[0093] In this exemplary embodiment, the step of generating a model export configuration interface based on the target project, controlling the graphical user interface to display the model export configuration interface, and exporting the configured target model resource in response to a model export configuration operation based on the model export configuration interface includes:
[0094] Classifying the model resources of the target project, and generating the model export configuration interface based on the classification results, wherein different types of model resources are displayed in different areas in the model export configuration interface;
[0095] Each area displays the model resource name, model resource identification number list, export control button and export task progress bar;
[0096] The model export configuration operation includes a selection operation for the model resource name, an input operation for a model resource identification number list, and a trigger operation for an export control button;
[0097] When exporting the configured target model resource, the export task progress bar is controlled to display the progress of exporting the target model resource.
[0098] As a specific example, see Figure 3 , wherein elements displayed in the model export configuration interface 300 are shown.
[0099] The model resources of the target project are classified, and the classification results include, for example, the following four categories: common models, effect models, magic models, and protagonist models.
[0100] Then, a model export configuration interface is generated based on the classification results. Different types of model resources in the model export configuration interface are displayed in different areas, for example:
[0101] The normal model is displayed in the first area 302 , the effect model is displayed in the second area 304 , the magic model is displayed in the third area 306 , and the protagonist model is displayed in the fourth area 308 .
[0102] Each area displays the model resource name, the model resource identification number list, the export control button and the export task progress bar. The first area 302 is used as an example for description, for example:
[0103] The model resource names 3022 include body, weapon, suit, effect, horse, head, weapon one effect, suit, fabao and bangzhan.
[0104] The model resource identification number list 3024 includes a drop-down list and a text box for input.
[0105] The export control button 3026 is used to receive an instruction to start exporting after configuring the model resource name and the model resource identification number.
[0106] The export task progress bar 3028 is used to display the progress of exporting the target model resources.
[0107] The model export configuration operation includes a selection operation for a model resource name 3022, an input operation for a model resource identification number list 3024, and a trigger operation for an export control button 3026;
[0108] When exporting the configured target model resources, the export task progress bar 3028 is controlled to display the progress of exporting the target model resources.
[0109] In the above exemplary embodiment, the first area 302 is taken as an example for description, and other areas are similar to it, which will not be described again.
[0110] It should be noted that the elements displayed in the model export configuration interface 300 are not limited to the model resource name, model resource identification number list, export control button and export task progress bar, etc. For example, in the fourth area 308, depth map-related controls are also provided to realize the functions of submitting original resources → exporting depth map → updating depth map.
[0111] In the above exemplary embodiment, a visual representation of model export is introduced. Next, a data implementation method of model export will be introduced:
[0112] In this exemplary embodiment, the step of generating a model export configuration interface based on the target project, controlling the graphical user interface to display the model export configuration interface, and exporting the configured target model resource in response to a model export configuration operation based on the model export configuration interface includes:
[0113] Generate a model export configuration interface based on the target project, and control the graphical user interface to display the model export configuration interface;
[0114] In response to the model export configuration operation based on the model export configuration interface, the sequence frame scattered images of the configured target model resource are packaged into a sequence frame atlas based on the atlas management software and stored in the target resource directory.
[0115] Step S240: generate a model preview interface based on the target model resource; in response to a switching operation from the model export configuration interface to the model preview interface, control the graphical user interface to display the model preview interface; in response to a model preview operation based on the model preview interface, control the graphical user interface to display a preview screen corresponding to the model preview operation.
[0116] During specific implementation, step S240 is used to implement a preview of the model.
[0117] As a specific example, see Figure 3 , wherein the model export configuration interface 300 includes a model preview control 310, and the switching operation from the model export configuration interface to the model preview interface is a trigger operation for the model preview control 310, such as single-click, double-click, and long press.
[0118] In this exemplary embodiment, in response to the model preview operation based on the model preview interface, controlling the graphical user interface to display a preview screen corresponding to the model preview operation includes:
[0119] In response to a selection operation on a model component in the model preview interface, the graphical user interface is controlled to display a model selection interface corresponding to the selected model component; in response to a selection operation on an alternative model in the model selection interface, the graphical user interface is controlled to display a preview screen corresponding to the selected target model;
[0120] or,
[0121] In response to an input operation of a model identification number in a text box corresponding to a model component in the model preview interface, the graphical user interface is controlled to display a preview screen of a target model corresponding to the input model identification number.
[0122] As a specific example, see Figure 4a , wherein the elements displayed in the model preview interface 400 are shown.
[0123] The preview screen display area 401 is used to display the preview screen of the configuration.
[0124] Model components 402 include body, head, Guangwu, magic weapon, mount, halo, guardian spirit, weapon, backlight, wings, colorful, footprints and magic spell, etc.
[0125] Take the model component 402 as a weapon as an example for explanation:
[0126] As a specific example, see Figure 4a and Figure 4b In response to the selection operation of the model component 402-weapon in the model preview interface 400, the graphical user interface is controlled to display the model selection interface corresponding to the selected model component 402-weapon (such as Figure 4b As shown), in response to a selection operation on any one of the alternative weapon models in the model selection interface, the graphical user interface is controlled to display a preview screen corresponding to the selected target weapon model in the preview screen display area 401, specifically, the weapon model held by the character in the preview screen is replaced with the target weapon model.
[0127] In the above exemplary embodiments, triggering the model component control 402 to open the model selection interface is used as an example for explanation. In some exemplary embodiments, the identification number of the target model can also be entered in the text box 4022 corresponding to the model component 402, and the refresh model control 410 can be clicked to preview the target model.
[0128] In the above exemplary embodiments, the preview of a weapon model is taken as an example. In some exemplary embodiments, the preview of different model components can be carried out simultaneously, such as previewing the combined effect of at least two components of the body, head, Guangwu, magic weapon, mount, halo, guardian spirit, weapon, backlight, wings, colorful, footprints and magic spell.
[0129] In this exemplary embodiment, in response to the model preview operation based on the model preview interface, controlling the graphical user interface to display a preview screen corresponding to the model preview operation includes:
[0130] In response to a trigger operation on an action switching control in the model preview interface, controlling the graphical user interface to display an action list of the target model, and in response to a selection operation on a target action in the action list, controlling switching of the target model to execute the target action;
[0131] In response to a trigger operation on a direction switching control in the model preview interface, controlling the graphical user interface to display a direction list of the target model, and in response to a selection operation on a target direction in the direction list, controlling switching of the target model to execute the target direction;
[0132] In response to a triggering operation on a batch preview control in the model preview interface, the graphical user interface is controlled to display a batch preview screen of the target model.
[0133] As a specific example, see Figure 4a and Figure 4c Among them, "matches" refers to the model parts with the highest matching degree, for example, they are all "Ankang Changle series"; "recently modified" represents the latest modified or newly added resources in the local file, sorted by modification time.
[0134] As a specific example, see Figure 4a and Figure 4d In response to the triggering operation of the action switching control 403 in the model preview interface 400, the graphical user interface is controlled to display the action list of the target model, such as Figure 4d In response to the selection operation of the target action in the action list, the control switches the target model to execute the target action.
[0135] As a specific example, see Figure 4a and Figure 4e In response to a trigger operation on the direction switching control 404 in the model preview interface 400, the graphical user interface is controlled to display a direction list of the target model, and in response to a selection operation on the target direction in the direction list, the target model is controlled to switch to execute the target direction, such as Figure 4e As shown, select direction "1", compared to Figure 4d The direction "0" in Figure 4e The direction "1" in is different from its direction.
[0136] As a specific example, see Figure 4a and Figure 4f In response to the triggering operation of the batch preview control 405 in the model preview interface 400, the graphical user interface is controlled to display a batch preview screen of the target model, such as Figure 4f shown.
[0137] During specific implementation, all actions and directions of the current model can be previewed in batches.
[0138] In this exemplary embodiment, in response to the model preview operation based on the model preview interface, controlling the graphical user interface to display a preview screen corresponding to the model preview operation includes:
[0139] In response to a trigger operation of saving a history control in the model preview interface, saving a current preview solution to a history preview solution list;
[0140] In response to a trigger operation of selecting a history control in the model preview interface, the graphical user interface is controlled to display the history preview plan list; in response to a selection operation of a target history preview plan in the history preview plan list, the current preview plan is replaced with the target history preview plan.
[0141] As a specific example, see Figure 4a In response to the trigger operation of the save history control 4061 in the model preview interface 400, the current preview solution is saved to the historical preview solution list.
[0142] As a specific example, see Figure 4a and Figure 4g In response to a trigger operation of selecting the history control 4062 in the model preview interface 400, the graphical user interface is controlled to display a list of historical preview solutions, such as Figure 4g As shown, in response to a selection operation on a target historical preview solution in the historical preview solution list, the current preview solution is replaced with the target historical preview solution.
[0143] In the above exemplary embodiments, the preview of the normal model and the effect model is described as an example. In some exemplary embodiments, the preview of the magic model can also be realized, wherein the division of the normal model, the effect model and the magic model refers to the record in the aforementioned step S230: the model resources of the target project are classified, and the classification results include, for example, the following four categories: normal model, effect model, magic model and protagonist model.
[0144] As a specific example, see Figure 4h and Figure 4i , which shows the preview effect of the magic model.
[0145] In response to a trigger operation on the preview magic control 4071 in the model preview interface 400, the control switches from the mode of previewing the normal model and the effect model to the mode of previewing the magic model.
[0146] In response to the triggering operation on the magic control 4072 in the model preview interface 400, the graphical user interface is controlled to display the model selection interface corresponding to the triggered magic control 4072, such as Figure 4i As shown, in response to the selection operation of any alternative skill model in the model selection interface, the graphical user interface is controlled to display the preview screen corresponding to the selected target skill model in the preview screen display area 401. Specifically, the skill model in the preview screen is replaced with the target skill model.
[0147] In the above exemplary embodiments, triggering the magic control 4072 to open the model selection interface is used as an example for explanation. In some exemplary embodiments, the identification number of the target skill model can also be entered in the text box 4073 corresponding to the magic control 4072, and the refresh model control 410 can be clicked to preview the target skill model.
[0148] In this exemplary embodiment, in response to the model preview operation based on the model preview interface, controlling the graphical user interface to display a preview screen corresponding to the model preview operation includes:
[0149] In response to a trigger operation on a video control in the model preview interface, controlling the graphical user interface to display an editing video interface;
[0150] In response to a selection operation on a target skill in the video editing interface, replacing a current skill in a current video with the target skill;
[0151] In response to a triggering operation on a preview battle control in the model preview interface, the graphical user interface is controlled to display a preview battle screen corresponding to the target skill.
[0152] As a specific example, see Figure 4a and 4j In response to the triggering operation of the video control 408 in the model preview interface 400, the graphical user interface is controlled to display the video editing interface, such as Figure 4j In response to the selection operation of the target skill in the editing video interface, the graphical user interface is controlled to display the selection model interface, such as Figure 4k As shown, in response to a selection operation on a target skill effect, the effect of the current skill in the current video is replaced with the target skill effect.
[0153] As a specific example, see Figure 4a and 4l In response to the triggering operation of the preview battle control 409 in the model preview interface 400, the graphical user interface is controlled to display the preview battle screen corresponding to the target skill, such as Figure 4l shown.
[0154] Step S250: In response to a switching operation from the model preview interface to the model submission configuration interface, control the graphical user interface to display the model submission configuration interface, and in response to a model submission configuration operation based on the model submission configuration interface, submit the model.
[0155] During specific implementation, step S250 is used to implement the submission of the model.
[0156] In this exemplary embodiment, in response to the switching operation from the model preview interface to the model submission configuration interface, controlling the graphical user interface to display the model submission configuration interface includes:
[0157] The model submission configuration interface includes several areas;
[0158] Different areas correspond to different types of users.
[0159] As a specific example, see Figure 5 The first submission area 510 is configured to support the submission function of the art user, and the second submission area 510 is configured to support the submission function of the planning user.
[0160] In this exemplary embodiment, the step of submitting a model in response to a model submission configuration operation based on the model submission configuration interface includes:
[0161] receiving a first submission log for the version management software;
[0162] Based on the version management software, the sequence frame atlas is submitted from the target resource directory to the remote game resource directory.
[0163] In this exemplary embodiment, the step of submitting a model in response to a model submission configuration operation based on the model submission configuration interface includes:
[0164] receiving a second submission log for the version management software;
[0165] Receive a list of identification numbers of model resources to be submitted;
[0166] Receive a selection operation for a target game resource directory to be submitted to;
[0167] Receive a selection operation for a model type corresponding to the list of identification numbers of the model resources to be submitted;
[0168] Based on the version management software, the sequence frame atlas is submitted from the target resource directory to the target game resource directory.
[0169] As a specific example, see Figure 5 The artist specifies the first submission log for the version management software SVN based on the order number subject text box 503 .
[0170] After the original sequence frame scattered image resources (assuming that the original resources are located in the init directory) are exported into atlas resources (assuming that the atlas resources are located in the out directory), the submit out directory control 504 is triggered to submit the resources in the out directory;
[0171] In SVN, the commit log records the detailed information of each commit change, including the committer, commit time, commit message, and list of changed files.
[0172] Then the planner triggers the update out directory control 505 to update the resources under the out directory, selects the assets directory based on the select assets directory control 506, selects the model type based on the select type control 507, specifies the second submission log for the version management software SVN based on the order number subject text box 508, inputs the resource ID based on the resource ID list text box 509, triggers the submit assets directory control 510, and then automatically submits the specified resources under the out directory to the specified resource directory of the actual game (assuming that this directory is called game);
[0173] The whole process from the directory is: init→out→game process;
[0174] In the step of init→out, the export tool automatically generates the init directory into the out directory;
[0175] The resources in the out directory will be submitted to the remote end of SVN;
[0176] Then after the planner updates the remote out directory to the local, this solution automatically copies the specified resources in the out directory to the game directory game selected by the planner.
[0177] In the above exemplary embodiments, the product side of the model resource acceptance solution provided by the present disclosure is introduced. Next, the development framework of the model resource acceptance solution will be introduced.
[0178] A one-stop 2D sequence frame model resource acceptance device developed based on the Electron framework. This device integrates a full set of functions for model export, real-time preview and resource submission. The user interface design is simple and intuitive, allowing users to complete model export, preview or submission operations with one click. It supports multi-action and multi-directional preview of character models, as well as the saving and preview functions of historical models, which greatly facilitate users to compare versions and manage resources. In addition, the device also supports the preview of skill models, including switching between character models and skill models, as well as the preview of combat model effects. Users can test model performance in a similar actual game environment, and can dynamically replace skill models, and directly replace and debug model effects in combat recordings. The device has a high degree of automation, provides a good user experience, and significantly improves the efficiency and quality of resource acceptance, while shortening the development cycle.
[0179] Electron framework: Electron is a cross-platform desktop application built using JavaScript, HTML, and CSS. It integrates Chromium and Node.js. In short, if you can develop a web page, you can develop a desktop application.
[0180] Electron working mechanism: Electron applications include the main process and the rendering process. The main process is responsible for controlling the application life cycle, creating and managing application windows, etc., corresponding to the Electron application. The rendering process is responsible for rendering the interface, receiving user input, responding to user interactions, etc., corresponding to the Web application, refer to Figure 6 and Figure 7 :
[0181] The developer-controllable area 700 in the Electron application is richer than the developer-controllable area 600 in the Web application.
[0182] refer to Figure 8 , Electron's communication mechanism: the main process (Main Process) and the rendering process (RendererProcess 1 and Renderer Process 2) communicate through the IPC interface (ipcMain and ipcRenderer) encapsulated by Electron. The main process executes cross-platform Native instructions by calling the Node.js interface integrated by Electron, which supports implementation under Linux, MacOS and Windows systems.
[0183] Technical solution implementation details:
[0184] Electron main process: The Electron project corresponding to this embodiment includes:
[0185] main.js: the main process code file, including all the codes of the process;
[0186] browserWindow.loadURL: loads the remote rendering process link address, such as http: / / xxx:xxx / index.html;
[0187] listenMsg: The main process listens for messages from the rendering process;
[0188] sendMsg: The main process sends a message to the rendering process.
[0189] Electron rendering process: The Electron rendering process corresponding to this embodiment exists in the form of a remote link address. The rendering process is used as another independent editor project. When the project is started, an index.html will be started. The specific code framework includes:
[0190] conf: editor configuration file GEditorConf, mainly some general configuration items;
[0191] mgr: Editor manager GEditorMgr, used to schedule some relatively basic editor logic;
[0192] module: The business module codes under the editor can be simply understood as writing various common business requirement modules, such as model export, model preview, model submission, etc.
[0193] util: Editor tool class, which encapsulates many common methods. Let’s briefly introduce them!
[0194] GEditorUtil: editor-related tool classes, including readProjConf, newProj, openProj, updateProj, saveProjConf, getEditorPath, getUserDataPath, startServer, setEnviron, openEditorLoading, updateEditor, updateModelExportTool, checkModelsIsMeet, openExternal, showConfirmBox, restart, getResArgs, destroyModelRes, destroyAnimateRes and other methods;
[0195] GEditorMsgUtil: A tool class for communication between the rendering process and the main process, including the sendAndListenMsg, sendMsg, and listenMsg methods;
[0196] GEditorFileUtil: Editor file operation related tool class, including readdirSync, readFileSync, unlinkSync, writeFileSync, existsSync, mkdirSync, getArrMcPathSync, writeJsonByObjectSync, writeKeyValueSync, readJsonByKeySync, getFolderNames, selectedDirectory, copyFoldersSync, rmAndCopySync, copyFilesSync and other methods;
[0197] GEditorSvnUtil: SVN operation related tool class, including checkSvnHasNotUpdate, svnRevert, svnRevertSync, svnUpdate, svnUpdateSync, svnCommit, svnCommitSync, svnAdd, svnAddSync, svnDelete, svnDeleteSync, svnStatus, svnStatusSync and other methods;
[0198] GEditorCmdUtil: cmd command related tool class, including sendAndListenCmd, sendAndListenCmdSync, executeCmd, executeCmdSync, executeCmdByCwd, executeCmdByCwdSync, stopExecuteCmd, executeBat and other methods;
[0199] CEditorCmdQueue: Instance object of the cmd command queue, used to execute cmd commands in the queue in sequence, including executeCmd and stopCmd methods.
[0200] As can be seen from the above, the model resource acceptance method provided by the embodiment of the present disclosure includes: providing a graphical user interface through a terminal device, wherein the content displayed by the graphical user interface includes an environment configuration interface; in response to an environment configuration operation based on the environment configuration interface, configuring the environment variables of the version management software and the atlas management software installed in the terminal device; in response to the completion of the configuration of the environment variables, controlling the graphical user interface to display a project configuration interface, and determining the configured target project in response to the project configuration operation based on the project configuration interface; generating a model export configuration interface based on the target project, controlling the graphical user interface to display the model export configuration interface, and exporting the configured target model resource in response to the model export configuration operation based on the model export configuration interface; generating a model preview interface based on the target model resource, controlling the graphical user interface to display the model preview interface in response to a switching operation from the model export configuration interface to the model preview interface, and controlling the graphical user interface to display a preview screen corresponding to the model preview operation in response to a model preview operation based on the model preview interface; in response to a switching operation from the model preview interface to the model submission configuration interface, controlling the graphical user interface to display the model submission configuration interface, and performing model submission in response to the model submission configuration operation based on the model submission configuration interface.
[0201] The present invention combines integration, automation and visualization, improves efficiency, intuitiveness and accuracy, specifically: improves the efficiency of model resource acceptance, shortens the entire process time from export to submission; reduces errors caused by manual operations, and enhances the accuracy of model resource acceptance; enhances the richness of preview functions through dynamic editing and preview of battle videos, making resource acceptance more accurate and intuitive; supports visual preservation and selection functions of historical models, simplifies the version and backtracking management of model resources; reduces learning costs and operational complexity through integration, automation and visualization, and significantly improves user experience; enhanced comprehensiveness of model preview helps users evaluate various aspects of the model more accurately; supports dynamic replacement of skill models, improves control over the final effect of skill models, and makes optimization easier; enhances the efficiency of team collaboration, making the location of problems such as model export and submission faster and clearer.
[0202] It should be noted that the method of the embodiment of the present disclosure can be performed by a single device, such as a computer or a server. The method of the present embodiment can also be applied in a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present disclosure, and the multiple devices will interact with each other to complete the described method.
[0203] It should be noted that the above describes some embodiments of the present disclosure. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0204] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present disclosure also provides a model resource acceptance device.
[0205] refer to Fig. 9 , a model resource acceptance device, providing a graphical user interface through a terminal device, wherein the content displayed by the graphical user interface includes an environment configuration interface, and the device includes the following modules:
[0206] The environment configuration module 910 is configured to configure the environment variables of the version management software and the atlas management software installed in the terminal device in response to the environment configuration operation based on the environment configuration interface;
[0207] The project configuration module 920 is configured to control the graphical user interface to display a project configuration interface in response to completion of the configuration of the environment variables, and determine a target project to be configured in response to a project configuration operation based on the project configuration interface;
[0208] A model export module 930 is configured to generate a model export configuration interface based on the target project, control the graphical user interface to display the model export configuration interface, and export the configured target model resource in response to a model export configuration operation based on the model export configuration interface;
[0209] The model preview module 940 is configured to generate a model preview interface based on the target model resource, control the graphical user interface to display the model preview interface in response to a switching operation from the model export configuration interface to the model preview interface, and control the graphical user interface to display a preview screen corresponding to the model preview operation in response to a model preview operation based on the model preview interface;
[0210] The model submission module 950 is configured to control the graphical user interface to display the model submission configuration interface in response to a switching operation from the model preview interface to the model submission configuration interface, and to submit the model in response to a model submission configuration operation based on the model submission configuration interface.
[0211] In some exemplary embodiments, the environment configuration module 910 is specifically configured to:
[0212] Determine the executable file paths of the version management software and the atlas management software;
[0213] Add the said executable path to the target environment variables.
[0214] In some exemplary embodiments, the project configuration module 920 is specifically configured to:
[0215] In response to the completion of the configuration of the environment variables, controlling the graphical user interface to display the project configuration interface, wherein the project configuration interface includes a project creation control and a project opening control;
[0216] In response to a trigger operation on the project creation control, controlling the graphical user interface to display a local resource directory, and in response to a selection operation on a local resource in the local resource directory, creating a new project corresponding to the selected local resource, and using the new project as the target project;
[0217] or,
[0218] In response to a trigger operation for opening a control for the project, the graphical user interface is controlled to display an existing project directory; in response to a selection operation for an existing project in the existing project directory, the selected existing project is used as the target project.
[0219] In some exemplary embodiments, the model export module 930 is specifically configured to:
[0220] Classifying the model resources of the target project, and generating the model export configuration interface based on the classification results, wherein different types of model resources are displayed in different areas in the model export configuration interface;
[0221] Each area displays the model resource name, model resource identification number list, export control button and export task progress bar;
[0222] The model export configuration operation includes a selection operation for the model resource name, an input operation for a model resource identification number list, and a trigger operation for an export control button;
[0223] When exporting the configured target model resource, the export task progress bar is controlled to display the progress of exporting the target model resource.
[0224] In some exemplary embodiments, the model export module 930 is specifically configured to:
[0225] Generate a model export configuration interface based on the target project, and control the graphical user interface to display the model export configuration interface;
[0226] In response to the model export configuration operation based on the model export configuration interface, the sequence frame scattered images of the configured target model resource are packaged into a sequence frame atlas based on the atlas management software and stored in the target resource directory.
[0227] In some exemplary embodiments, the model preview module 940 is specifically configured to:
[0228] In response to a selection operation on a model component in the model preview interface, the graphical user interface is controlled to display a model selection interface corresponding to the selected model component; in response to a selection operation on an alternative model in the model selection interface, the graphical user interface is controlled to display a preview screen corresponding to the selected target model;
[0229] or,
[0230] In response to an input operation of a model identification number in a text box corresponding to a model component in the model preview interface, the graphical user interface is controlled to display a preview screen of a target model corresponding to the input model identification number.
[0231] In some exemplary embodiments, the model preview module 940 is specifically configured to:
[0232] In response to a trigger operation on an action switching control in the model preview interface, controlling the graphical user interface to display an action list of the target model, and in response to a selection operation on a target action in the action list, controlling switching of the target model to execute the target action;
[0233] In response to a trigger operation on a direction switching control in the model preview interface, controlling the graphical user interface to display a direction list of the target model, and in response to a selection operation on a target direction in the direction list, controlling switching of the target model to execute the target direction;
[0234] In response to a triggering operation on a batch preview control in the model preview interface, the graphical user interface is controlled to display a batch preview screen of the target model.
[0235] In some exemplary embodiments, the model preview module 940 is specifically configured to:
[0236] In response to a trigger operation of saving a history control in the model preview interface, saving a current preview solution to a history preview solution list;
[0237] In response to a trigger operation of selecting a history control in the model preview interface, the graphical user interface is controlled to display the history preview plan list; in response to a selection operation of a target history preview plan in the history preview plan list, the current preview plan is replaced with the target history preview plan.
[0238] In some exemplary embodiments, the model preview module 940 is specifically configured to:
[0239] In response to a trigger operation on a video control in the model preview interface, controlling the graphical user interface to display an editing video interface;
[0240] In response to a selection operation on a target skill in the video editing interface, replacing a current skill in a current video with the target skill;
[0241] In response to a triggering operation on a preview battle control in the model preview interface, the graphical user interface is controlled to display a preview battle screen corresponding to the target skill.
[0242] In some exemplary embodiments, the model submission module 950 is specifically configured to:
[0243] The model submission configuration interface includes several areas;
[0244] Different areas correspond to different types of users.
[0245] In some exemplary embodiments, the model submission module 950 is specifically configured to:
[0246] receiving a first submission log for the version management software;
[0247] Based on the version management software, the sequence frame atlas is submitted from the target resource directory to the remote game resource directory.
[0248] In some exemplary embodiments, the model submission module 950 is specifically configured to:
[0249] receiving a second submission log for the version management software;
[0250] Receive a list of identification numbers of model resources to be submitted;
[0251] Receive a selection operation for a target game resource directory to be submitted to;
[0252] Receive a selection operation for a model type corresponding to the list of identification numbers of the model resources to be submitted;
[0253] Based on the version management software, the sequence frame atlas is submitted from the target resource directory to the target game resource directory.
[0254] For the convenience of description, the above device is described by dividing it into various modules according to its functions. Of course, when implementing the present disclosure, the functions of each module can be implemented in the same or multiple software and / or hardware.
[0255] The device of the above embodiment is used to implement the corresponding model resource acceptance method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
[0256] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the model resource acceptance method described in any of the above embodiments is implemented.
[0257] Fig.10 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.
[0258] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0259] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.
[0260] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.
[0261] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).
[0262] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).
[0263] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.
[0264] The electronic device of the above embodiment is used to implement the corresponding model resource acceptance method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
[0265] The memory 1020 stores machine-readable instructions executable by the processor 1010. When the electronic device is running, the processor 1010 communicates with the memory 1020 via the bus 1030, so that the processor 1010 executes the following instructions when running:
[0266] In response to the environment configuration operation based on the environment configuration interface, configure the environment variables of the version management software and the atlas management software installed in the terminal device;
[0267] In response to completion of the configuration of the environment variables, controlling the graphical user interface to display a project configuration interface, and in response to a project configuration operation based on the project configuration interface, determining a target project to be configured;
[0268] Generate a model export configuration interface based on the target project, control the graphical user interface to display the model export configuration interface, and export the configured target model resource in response to a model export configuration operation based on the model export configuration interface;
[0269] generating a model preview interface based on the target model resource, controlling the graphical user interface to display the model preview interface in response to a switching operation from the model export configuration interface to the model preview interface, and controlling the graphical user interface to display a preview screen corresponding to the model preview operation in response to a model preview operation based on the model preview interface;
[0270] In response to a switching operation from the model preview interface to the model submission configuration interface, the graphical user interface is controlled to display the model submission configuration interface, and in response to a model submission configuration operation based on the model submission configuration interface, the model is submitted.
[0271] In a possible implementation, in the instructions executed by the processor 1010, the step of configuring the environment variables of the version management software and the atlas management software installed in the terminal device in response to the environment configuration operation based on the environment configuration interface includes:
[0272] Determine the executable file paths of the version management software and the atlas management software;
[0273] Add the said executable path to the target environment variables.
[0274] In a possible implementation, in the instructions executed by the processor 1010, in response to the completion of the configuration of the environment variable, controlling the graphical user interface to display a project configuration interface, and in response to a project configuration operation based on the project configuration interface, determining a target project for configuration includes:
[0275] In response to the completion of the configuration of the environment variables, controlling the graphical user interface to display the project configuration interface, wherein the project configuration interface includes a project creation control and a project opening control;
[0276] In response to a trigger operation on the project creation control, controlling the graphical user interface to display a local resource directory, and in response to a selection operation on a local resource in the local resource directory, creating a new project corresponding to the selected local resource, and using the new project as the target project;
[0277] or,
[0278] In response to a trigger operation for opening a control for the project, the graphical user interface is controlled to display an existing project directory; in response to a selection operation for an existing project in the existing project directory, the selected existing project is used as the target project.
[0279] In a possible implementation, the instructions executed by the processor 1010 include: generating a model export configuration interface based on the target project, controlling the graphical user interface to display the model export configuration interface, and exporting the configured target model resource in response to a model export configuration operation based on the model export configuration interface, including:
[0280] Classifying the model resources of the target project, and generating the model export configuration interface based on the classification results, wherein different types of model resources are displayed in different areas in the model export configuration interface;
[0281] Each area displays the model resource name, model resource identification number list, export control button and export task progress bar;
[0282] The model export configuration operation includes a selection operation for the model resource name, an input operation for a model resource identification number list, and a trigger operation for an export control button;
[0283] When exporting the configured target model resource, the export task progress bar is controlled to display the progress of exporting the target model resource.
[0284] In a possible implementation, the instructions executed by the processor 1010 include: generating a model export configuration interface based on the target project, controlling the graphical user interface to display the model export configuration interface, and exporting the configured target model resource in response to a model export configuration operation based on the model export configuration interface, including:
[0285] Generate a model export configuration interface based on the target project, and control the graphical user interface to display the model export configuration interface;
[0286] In response to the model export configuration operation based on the model export configuration interface, the sequence frame scattered images of the configured target model resource are packaged into a sequence frame atlas based on the atlas management software and stored in the target resource directory.
[0287] In a possible implementation, in the instructions executed by the processor 1010, in response to the model preview operation based on the model preview interface, controlling the graphical user interface to display a preview screen corresponding to the model preview operation includes:
[0288] In response to a selection operation on a model component in the model preview interface, the graphical user interface is controlled to display a model selection interface corresponding to the selected model component; in response to a selection operation on an alternative model in the model selection interface, the graphical user interface is controlled to display a preview screen corresponding to the selected target model;
[0289] or,
[0290] In response to an input operation of a model identification number in a text box corresponding to a model component in the model preview interface, the graphical user interface is controlled to display a preview screen of a target model corresponding to the input model identification number.
[0291] In a possible implementation, in the instructions executed by the processor 1010, in response to the model preview operation based on the model preview interface, controlling the graphical user interface to display a preview screen corresponding to the model preview operation includes:
[0292] In response to a trigger operation on an action switching control in the model preview interface, controlling the graphical user interface to display an action list of the target model, and in response to a selection operation on a target action in the action list, controlling switching of the target model to execute the target action;
[0293] In response to a trigger operation on a direction switching control in the model preview interface, controlling the graphical user interface to display a direction list of the target model, and in response to a selection operation on a target direction in the direction list, controlling switching of the target model to execute the target direction;
[0294] In response to a triggering operation on a batch preview control in the model preview interface, the graphical user interface is controlled to display a batch preview screen of the target model.
[0295] In a possible implementation, in the instructions executed by the processor 1010, in response to the model preview operation based on the model preview interface, controlling the graphical user interface to display a preview screen corresponding to the model preview operation includes:
[0296] In response to a trigger operation of saving a history control in the model preview interface, saving a current preview solution to a history preview solution list;
[0297] In response to a trigger operation of selecting a history control in the model preview interface, the graphical user interface is controlled to display the history preview plan list; in response to a selection operation of a target history preview plan in the history preview plan list, the current preview plan is replaced with the target history preview plan.
[0298] In a possible implementation, in the instructions executed by the processor 1010, in response to the model preview operation based on the model preview interface, controlling the graphical user interface to display a preview screen corresponding to the model preview operation includes:
[0299] In response to a trigger operation on a video control in the model preview interface, controlling the graphical user interface to display an editing video interface;
[0300] In response to a selection operation on a target skill in the video editing interface, replacing a current skill in a current video with the target skill;
[0301] In response to a triggering operation on a preview battle control in the model preview interface, the graphical user interface is controlled to display a preview battle screen corresponding to the target skill.
[0302] In a possible implementation, in the instructions executed by the processor 1010, in response to the switching operation from the model preview interface to the model submission configuration interface, controlling the graphical user interface to display the model submission configuration interface includes:
[0303] The model submission configuration interface includes several areas;
[0304] Different areas correspond to different types of users.
[0305] In a possible implementation, in the instructions executed by the processor 1010, the step of submitting the model in response to the model submission configuration operation based on the model submission configuration interface includes:
[0306] receiving a first submission log for the version management software;
[0307] Based on the version management software, the sequence frame atlas is submitted from the target resource directory to the remote game resource directory.
[0308] In a possible implementation, in the instructions executed by the processor 1010, the step of submitting the model in response to the model submission configuration operation based on the model submission configuration interface includes:
[0309] receiving a second submission log for the version management software;
[0310] Receive a list of identification numbers of model resources to be submitted;
[0311] Receive a selection operation for a target game resource directory to be submitted to;
[0312] Receive a selection operation for a model type corresponding to the list of identification numbers of the model resources to be submitted;
[0313] Based on the version management software, the sequence frame atlas is submitted from the target resource directory to the target game resource directory.
[0314] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present disclosure also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the model resource acceptance method described in any of the above embodiments.
[0315] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0316] The above-mentioned non-transitory computer-readable storage medium can be any available medium or data storage device that can be accessed by a computer, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid-state drive (SSD)), etc.
[0317] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the model resource acceptance method described in any embodiment in the above exemplary method part, and have the beneficial effects of the corresponding method embodiment, which will not be repeated here.
[0318] Based on the same inventive concept, corresponding to the model resource acceptance method described in any of the above embodiments, the present disclosure also provides a computer program product, which includes computer program instructions. In some embodiments, the computer program instructions can be executed by one or more processors of a computer so that the computer and / or the processor executes the model resource acceptance method. Corresponding to the execution subject corresponding to each step in each embodiment of the model resource acceptance method, the processor that executes the corresponding step can belong to the corresponding execution subject.
[0319] The computer program product of the above embodiment is used to enable the computer and / or the processor to execute the model resource acceptance method described in any of the above embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0320] Those skilled in the art will appreciate that the embodiments of the present disclosure may be implemented as a system, method, or computer program product. Therefore, the present disclosure may be specifically implemented in the following forms, namely: complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software, generally referred to herein as a "circuit," "module," or "system." In addition, in some embodiments, the present disclosure may also be implemented in the form of a computer program product in one or more computer-readable media, which contains computer-readable program code.
[0321] Any combination of one or more computer-readable media may be used. A computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive examples) of computer-readable storage media may include, for example: 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 this document, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device.
[0322] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0323] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0324] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a 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., via the Internet using an Internet service provider).
[0325] It should be understood that each box in the flowchart and / or block diagram and the combination of boxes in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine, and these computer program instructions are executed by a computer or other programmable data processing device to produce a device that implements the functions / operations specified in the boxes in the flowchart and / or block diagram.
[0326] These computer program instructions may also be stored in a computer-readable medium that enables a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable medium produce a product that includes an instruction device that implements the functions / operations specified in the blocks in the flowchart and / or block diagram.
[0327] Computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby enabling the instructions executed on the computer or other programmable device to provide a process for implementing the functions / operations specified in the blocks in the flowchart and / or block diagram.
[0328] In addition, although the operations of the disclosed method are described in a particular order in the accompanying drawings, this does not require or imply that the operations must be performed in this particular order, or that all the operations shown must be performed to achieve the desired results. On the contrary, the steps depicted in the flow chart can be performed in a different order. Additionally or alternatively, some steps can be omitted, multiple steps can be combined into one step, and / or one step can be decomposed into multiple steps.
[0329] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0330] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.
[0331] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application (including the claims) is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.
[0332] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power supply / ground connection with the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform to be implemented in the embodiments of the present application (that is, these details should be fully within the scope of understanding of those skilled in the art). In the case of elaborating specific details (e.g., circuits) to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or when these specific details are changed. Therefore, these descriptions should be considered to be illustrative rather than restrictive.
[0333] Although the present application has been described in conjunction with specific embodiments of the present application, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.
[0334] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the present application.
[0335] Although the spirit and principle of the present disclosure have been described with reference to several specific embodiments, it should be understood that the present disclosure is not limited to the disclosed specific embodiments, and the division of various aspects does not mean that the features in these aspects cannot be combined to benefit, and such division is only for the convenience of expression. The present disclosure is intended to cover various modifications and equivalent arrangements included in the spirit and scope of the attached claims. The scope of the attached claims conforms to the broadest interpretation, thereby including all such modifications and equivalent structures and functions.
Claims
1. A model resource acceptance method, characterized in that: Providing a graphical user interface through a terminal device, wherein the content displayed by the graphical user interface includes an environment configuration interface, and the method includes: In response to the environment configuration operation based on the environment configuration interface, configure the environment variables of the version management software and the atlas management software installed in the terminal device; In response to completion of the configuration of the environment variables, controlling the graphical user interface to display a project configuration interface, and in response to a project configuration operation based on the project configuration interface, determining a target project to be configured; Generate a model export configuration interface based on the target project, control the graphical user interface to display the model export configuration interface, and export the configured target model resource in response to a model export configuration operation based on the model export configuration interface; generating a model preview interface based on the target model resource, controlling the graphical user interface to display the model preview interface in response to a switching operation from the model export configuration interface to the model preview interface, and controlling the graphical user interface to display a preview screen corresponding to the model preview operation in response to a model preview operation based on the model preview interface; In response to a switching operation from the model preview interface to the model submission configuration interface, the graphical user interface is controlled to display the model submission configuration interface, and in response to a model submission configuration operation based on the model submission configuration interface, the model is submitted.
2. The method according to claim 1, characterized in that The step of configuring the environment variables of the version management software and the atlas management software installed in the terminal device in response to the environment configuration operation based on the environment configuration interface includes: Determine the executable file paths of the version management software and the atlas management software; Add the said executable path to the target environment variables.
3. The method according to claim 1, characterized in that In response to the completion of the configuration of the environment variable, controlling the graphical user interface to display a project configuration interface, and in response to a project configuration operation based on the project configuration interface, determining a target project for configuration, includes: In response to the completion of the configuration of the environment variables, controlling the graphical user interface to display the project configuration interface, wherein the project configuration interface includes a project creation control and a project opening control; In response to a trigger operation on the project creation control, controlling the graphical user interface to display a local resource directory, and in response to a selection operation on a local resource in the local resource directory, creating a new project corresponding to the selected local resource, and using the new project as the target project; or, In response to a trigger operation for opening a control for the project, the graphical user interface is controlled to display an existing project directory; in response to a selection operation for an existing project in the existing project directory, the selected existing project is used as the target project.
4. The method according to claim 1, characterized in that: The step of generating a model export configuration interface based on the target project, controlling the graphical user interface to display the model export configuration interface, and exporting the configured target model resource in response to a model export configuration operation based on the model export configuration interface includes: Classifying the model resources of the target project, and generating the model export configuration interface based on the classification results, wherein different types of model resources are displayed in different areas in the model export configuration interface; Each area displays the model resource name, model resource identification number list, export control button and export task progress bar; The model export configuration operation includes a selection operation for the model resource name, an input operation for a model resource identification number list, and a trigger operation for an export control button; When exporting the configured target model resource, the export task progress bar is controlled to display the progress of exporting the target model resource.
5. The method according to claim 1, characterized in that The step of generating a model export configuration interface based on the target project, controlling the graphical user interface to display the model export configuration interface, and exporting the configured target model resource in response to a model export configuration operation based on the model export configuration interface includes: Generate a model export configuration interface based on the target project, and control the graphical user interface to display the model export configuration interface; In response to the model export configuration operation based on the model export configuration interface, the sequence frame scattered images of the configured target model resource are packaged into a sequence frame atlas based on the atlas management software and stored in the target resource directory.
6. The method according to claim 1, characterized in that In response to the model preview operation based on the model preview interface, controlling the graphical user interface to display a preview screen corresponding to the model preview operation includes: In response to a selection operation on a model component in the model preview interface, the graphical user interface is controlled to display a model selection interface corresponding to the selected model component; in response to a selection operation on an alternative model in the model selection interface, the graphical user interface is controlled to display a preview screen corresponding to the selected target model; or, In response to an input operation of a model identification number in a text box corresponding to a model component in the model preview interface, the graphical user interface is controlled to display a preview screen of a target model corresponding to the input model identification number.
7. The method according to claim 6, characterized in that In response to the model preview operation based on the model preview interface, controlling the graphical user interface to display a preview screen corresponding to the model preview operation includes: In response to a trigger operation on an action switching control in the model preview interface, controlling the graphical user interface to display an action list of the target model, and in response to a selection operation on a target action in the action list, controlling switching of the target model to execute the target action; In response to a trigger operation on a direction switching control in the model preview interface, controlling the graphical user interface to display a direction list of the target model, and in response to a selection operation on a target direction in the direction list, controlling switching of the target model to execute the target direction; In response to a triggering operation on a batch preview control in the model preview interface, the graphical user interface is controlled to display a batch preview screen of the target model.
8. The method according to claim 1, characterized in that In response to the model preview operation based on the model preview interface, controlling the graphical user interface to display a preview screen corresponding to the model preview operation includes: In response to a trigger operation of saving a history control in the model preview interface, saving a current preview solution to a history preview solution list; In response to a trigger operation of selecting a history control in the model preview interface, the graphical user interface is controlled to display the history preview plan list; in response to a selection operation of a target history preview plan in the history preview plan list, the current preview plan is replaced with the target history preview plan.
9. The method according to claim 1, characterized in that: In response to the model preview operation based on the model preview interface, controlling the graphical user interface to display a preview screen corresponding to the model preview operation includes: In response to a trigger operation on a video control in the model preview interface, controlling the graphical user interface to display an editing video interface; In response to a selection operation on a target skill in the video editing interface, replacing a current skill in a current video with the target skill; In response to a triggering operation on a preview battle control in the model preview interface, the graphical user interface is controlled to display a preview battle screen corresponding to the target skill.
10. The method according to claim 1, characterized in that In response to the switching operation from the model preview interface to the model submission configuration interface, controlling the graphical user interface to display the model submission configuration interface includes: The model submission configuration interface includes several areas; Different areas correspond to different types of users.
11. The method according to claim 5, characterized in that The step of submitting the model in response to the model submission configuration operation based on the model submission configuration interface comprises: receiving a first submission log for the version management software; Based on the version management software, the sequence frame atlas is submitted from the target resource directory to the remote game resource directory.
12. The method according to claim 5, characterized in that The step of submitting the model in response to the model submission configuration operation based on the model submission configuration interface comprises: receiving a second submission log for the version management software; Receive a list of identification numbers of model resources to be submitted; Receive a selection operation for a target game resource directory to be submitted to; Receive a selection operation for a model type corresponding to the list of identification numbers of the model resources to be submitted; Based on the version management software, the sequence frame atlas is submitted from the target resource directory to the target game resource directory.
13. A model resource acceptance device, characterized in that: A graphical user interface is provided through a terminal device, wherein the content displayed by the graphical user interface includes an environment configuration interface, and the apparatus includes: An environment configuration module, configured to configure environment variables of the version management software and the atlas management software installed in the terminal device in response to an environment configuration operation based on the environment configuration interface; A project configuration module is configured to control the graphical user interface to display a project configuration interface in response to completion of the configuration of the environment variables, and to determine a target project to be configured in response to a project configuration operation based on the project configuration interface; A model export module is configured to generate a model export configuration interface based on the target project, control the graphical user interface to display the model export configuration interface, and export the configured target model resource in response to a model export configuration operation based on the model export configuration interface; A model preview module is configured to generate a model preview interface based on the target model resource, control the graphical user interface to display the model preview interface in response to a switching operation from the model export configuration interface to the model preview interface, and control the graphical user interface to display a preview screen corresponding to the model preview operation in response to a model preview operation based on the model preview interface; The model submission module is configured to control the graphical user interface to display the model submission configuration interface in response to a switching operation from the model preview interface to the model submission configuration interface, and to submit the model in response to a model submission configuration operation based on the model submission configuration interface.
14. An electronic device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method according to any one of claims 1 to 12 is implemented.
15. A non-transitory computer-readable storage medium, characterized in that: The non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to cause a computer to execute the method according to any one of claims 1 to 12.
16. A computer program product, characterized in that The method comprises computer program instructions, which, when executed on a computer, cause the computer to execute the method according to any one of claims 1 to 12.
Citation Information
Patent Citations
Virtual resource editing method and device, storage medium, electronic device
CN110152297A
Method and device for acquiring virtual resources, storage medium and electronic device
CN110624246A
Model publishing system and model publishing method
CN112799710A
Model checking method based on single-model multi-coloring-effect renderer
CN117224949A
Apparatus and method of on-line reporting
EP2044987A1