Prop generation method and device, computer equipment and storage medium

By inputting custom shape information in the prop generation interface and using artificial intelligence technology to generate similar virtual props, the problem of low efficiency in virtual prop generation is solved, and flexible self-manufacturing and efficient generation are achieved.

CN120960787APending Publication Date: 2025-11-18TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410627052.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-17
Publication Date
2025-11-18

AI Technical Summary

Technical Problem

The low generation efficiency of virtual props in existing technologies is mainly due to the high requirements for designers, which leads to low generation efficiency.

Method used

A method and apparatus for generating props are provided. By inputting user-defined shape information into a prop generation interface and displaying virtual props similar to the user-defined shape information in the interface, a prop generation model is trained using artificial intelligence machine learning technology to convert the user-provided user-defined shape information into virtual props.

Benefits of technology

It enables flexible generation of self-made virtual props, lowers the barrier to entry for creating virtual props, improves generation efficiency, and meets the needs of different users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120960787A_ABST
    Figure CN120960787A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a prop generation method and device, computer equipment and a storage medium, and belongs to the technical field of computers. The method comprises the following steps: displaying a prop generation interface; in response to an information input operation in the prop generation interface, displaying custom shape information provided by a user in the prop generation interface; and in response to a prop generation operation for the custom shape information, displaying the first virtual prop in the prop generation interface. According to the embodiment of the invention, a scheme of self-making the virtual item is realized, each user can generate the virtual item according to the self-defined shape information provided by the user, the requirements of different users can be met, the flexibility of generating the virtual item is ensured, and in the process of generating the virtual item, the user experience is improved. According to the method, the user-defined shape information only needs to be input in the prop generation interface, the requirement for manufacturing the virtual prop is low, the threshold for manufacturing the virtual prop is lowered, and the generation efficiency of the virtual prop is guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a prop generation method, apparatus, computer device, and storage medium. Background Technology

[0002] With the development of computer technology, games are becoming increasingly popular among users. Games offer virtual items, which allow virtual objects to interact with each other. Currently, virtual items in games are designed by developers with artistic skills using specialized software. This method places high demands on the designers, resulting in low efficiency in the creation of virtual items. Summary of the Invention

[0003] This application provides a method, apparatus, computer device, and storage medium for generating virtual items, ensuring efficient generation of virtual items. The technical solution is as follows:

[0004] On the one hand, a method for generating props is provided, the method comprising:

[0005] Display the item generation interface;

[0006] In response to the information input operation in the prop generation interface, the user-provided custom shape information is displayed in the prop generation interface, and the custom shape information indicates the shape of the virtual prop to be generated;

[0007] In response to the prop generation operation based on the custom shape information, a first virtual prop is displayed in the prop generation interface, wherein the similarity between the first virtual prop and the custom shape information is greater than a first threshold.

[0008] In one possible implementation, the step of displaying a first virtual prop in the prop generation interface in response to the prop generation operation based on the custom shape information includes:

[0009] In response to the item generation operation, an item generation animation is played in the item generation interface. The item generation animation is used to represent the dynamic process of generating the first virtual item.

[0010] On the other hand, an item generation device is provided, the device comprising:

[0011] The display module is used to display the item generation interface;

[0012] The display module is also used to respond to information input operations in the prop generation interface, and to display user-provided custom shape information in the prop generation interface, wherein the custom shape information indicates the shape of the virtual prop to be generated;

[0013] The display module is further configured to respond to a prop generation operation for the custom shape information by displaying a first virtual prop in the prop generation interface, wherein the similarity between the first virtual prop and the custom shape information is greater than a first threshold.

[0014] In one possible implementation, the custom shape information includes a drawing trajectory; the display module is configured to respond to a drawing operation in the prop generation interface and display the drawing trajectory corresponding to the drawing operation in the prop generation interface.

[0015] In another possible implementation, the display module is further configured to display the item preview effect corresponding to the drawing trajectory in the item generation interface when the preview function is enabled, and the item preview effect changes as the drawing trajectory changes.

[0016] In another possible implementation, the custom shape information includes an image; the display module is configured to display multiple candidate images in the prop generation interface in response to an image upload operation in the prop generation interface; and to display the image in the prop generation interface in response to a confirmation operation of the image among the multiple candidate images.

[0017] In another possible implementation, the display module is further configured to, in response to a preview operation on the custom shape information, display a preview effect of the prop corresponding to the custom shape information in the prop generation interface.

[0018] In another possible implementation, the display module is further configured to respond to a type input operation in the item generation interface, and display a silhouette of a first item type in the item generation interface, wherein the first item type is the item type corresponding to the type input operation, and the item silhouette indicates the outline of the virtual item to be generated;

[0019] The display module is further configured to, in response to the item generation operation, display the first virtual item of the first item type in the item generation interface.

[0020] In another possible implementation, the display module is further configured to display a silhouette of the second item type in the item generation interface in response to an operation of switching the first item type to the second item type.

[0021] In another possible implementation, the display module is configured to, in response to the prop generation operation, display the first virtual prop of the first prop type in the prop generation interface if the matching degree between the custom shape information and the first prop type is greater than a second threshold, wherein the matching degree indicates the probability that the custom shape information belongs to the first prop type.

[0022] In another possible implementation, the display module is configured to, in response to the item generation operation, send the custom shape information and the type identifier of the first item type to the server; the server is configured to, based on the custom shape information, adjust the virtual item template corresponding to the type identifier to obtain the first virtual item, and return the first virtual item; receive the first virtual item returned by the server; and display the first virtual item in the item generation interface.

[0023] In another possible implementation, the first virtual prop belongs to a first prop type, and the display module is further configured to, in response to an operation of switching the first prop type to a second prop type, switch the display of the first virtual prop as a second virtual prop in the prop generation interface, the second virtual prop belongs to the second prop type, and the similarity between the second virtual prop and the custom shape information is greater than the first threshold.

[0024] In another possible implementation, the display module is configured to, in response to the item generation operation, play an item generation animation in the item generation interface, the item generation animation representing the dynamic process of generating the first virtual item.

[0025] In another possible implementation, the display module is further configured to, in response to a confirmation operation of the first virtual item, display the virtual object equipped with the first virtual item in the game interface.

[0026] In another possible implementation, the display module is further configured to display the game interface, in which the virtual object is displayed;

[0027] The display module is used to display the item generation interface in response to a release operation of a target skill of the virtual object, or in response to a use operation of a target item owned by the virtual object. The target skill is the skill of the virtual object to create virtual items, and the target item is used to create virtual items.

[0028] In another possible implementation, the display module is further configured to display an item display interface corresponding to the virtual object in response to a confirmation operation on the first virtual item. The item display interface displays the first virtual item and is used to display the virtual items owned by the virtual object.

[0029] In another possible implementation, the display module is further configured to display the adjusted first virtual prop in response to an adjustment operation on the first virtual prop.

[0030] In another possible implementation, the display module is configured to, in response to a prop generation operation for the custom shape information, display multiple prop preview effects in the prop generation interface; and, in response to a confirmation operation for a target preview effect, display the first virtual prop in the prop generation interface, wherein the target preview effect is any one of the multiple prop preview effects, and the first virtual prop is the virtual prop represented by the target preview effect.

[0031] In another possible implementation, the display module is configured to, in response to the information input operation, display the user-provided custom shape information and custom color information in the prop generation interface;

[0032] The display module is configured to respond to a prop generation operation based on the custom shape information and the custom color information, and to display the first virtual prop in the prop generation interface, wherein the similarity between the first virtual prop and the custom color information is greater than a third threshold.

[0033] On the other hand, a computer device is provided, the computer device including a processor and a memory, the memory storing at least one computer program, the at least one computer program being loaded and executed by the processor to perform the operations performed by the prop generation method as described above.

[0034] On the other hand, a computer-readable storage medium is provided, wherein at least one computer program is stored therein, the at least one computer program being loaded and executed by a processor to perform the operations performed by the prop generation method as described above.

[0035] In another aspect, a computer program product is provided, comprising a computer program that, when executed by a processor, performs the operations performed by the prop generation method described above.

[0036] The solution provided in this application embodiment allows users to input custom shape information in the prop generation interface, which is then displayed in the prop generation interface. This triggers a prop generation operation based on the custom shape information, and the prop generation interface displays a first virtual prop generated according to the custom shape information and sufficiently similar to it. This achieves a solution for creating custom virtual props, enabling each user to generate virtual props according to their own custom shape information. This satisfies the needs of different users, ensures the flexibility of virtual prop generation, and requires only inputting custom shape information in the prop generation interface. This reduces the requirements for creating virtual props, lowers the barrier to entry, and ensures the efficiency of virtual prop generation. Attached Figure Description

[0037] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0038] Figure 1 This is a schematic diagram of the structure of an implementation environment provided in an embodiment of this application;

[0039] Figure 2 This is a flowchart of a prop generation method provided in an embodiment of this application;

[0040] Figure 3 This is a flowchart of another prop generation method provided in the embodiments of this application;

[0041] Figure 4 This is a flowchart of another prop generation method provided in the embodiments of this application;

[0042] Figure 5 This is a flowchart of another prop generation method provided in the embodiments of this application;

[0043] Figure 6 This is a flowchart of another prop generation method provided in the embodiments of this application;

[0044] Figure 7 This is a flowchart of another prop generation method provided in the embodiments of this application;

[0045] Figure 8 This is a schematic diagram of an item generation interface provided in an embodiment of this application;

[0046] Figure 9 This is a schematic diagram of another prop generation interface provided in an embodiment of this application;

[0047] Figure 10 This is a schematic diagram of another prop generation interface provided in the embodiments of this application;

[0048] Figure 11 This is a schematic diagram of another prop generation interface provided in the embodiments of this application;

[0049] Figure 12 This is a schematic diagram of another prop generation interface provided in the embodiments of this application;

[0050] Figure 13 This is a schematic diagram of another prop generation interface provided in the embodiments of this application;

[0051] Figure 14 This is a schematic diagram of another prop generation interface provided in the embodiments of this application;

[0052] Figure 15 This is a schematic diagram of another prop generation interface provided in the embodiments of this application;

[0053] Figure 16 This is a schematic diagram of another prop generation interface provided in the embodiments of this application;

[0054] Figure 17 This is a schematic diagram of the structure of a prop generation device provided in an embodiment of this application;

[0055] Figure 18 This is a schematic diagram of the structure of a terminal provided in an embodiment of this application;

[0056] Figure 19 This is a schematic diagram of the structure of a server provided in an embodiment of this application. Detailed Implementation

[0057] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.

[0058] The terms "first," "second," etc., used in this application may be used to describe various concepts, but unless otherwise stated, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another. For example, without departing from the scope of this application, a first virtual item may be referred to as a second virtual item, and similarly, a second virtual item may be referred to as a first virtual item.

[0059] As used in this application, the terms "at least one," "multiple," "each," and "any" have different meanings: at least one includes one, two, or more; multiple includes two or more; each refers to each of the corresponding multiple; and any refers to any one of the multiple. For example, multiple candidate images may include three candidate images, where each refers to each of the three candidate images, and any refers to any one of the three candidate images, which could be the first candidate image, the second candidate image, or the third candidate image.

[0060] It should be noted that all information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in this application have been authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the custom shape information or custom color information involved in this application were obtained with full authorization.

[0061] Artificial intelligence (AI) is the theory, methods, technology, and application systems that use digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use that knowledge to achieve optimal results. In other words, AI is a comprehensive technology within computer science that attempts to understand the essence of intelligence and produce a new kind of intelligent machine that can react in a way similar to human intelligence. AI studies the design principles and implementation methods of various intelligent machines, enabling them to possess the functions of perception, reasoning, and decision-making.

[0062] Artificial intelligence (AI) is a comprehensive discipline encompassing a wide range of fields, including both hardware and software technologies. Fundamental AI technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing, pre-trained model technology, operating / interactive systems, and mechatronics. Among these, pre-trained models, also known as large-scale models or foundational models, can be widely applied to downstream tasks across various AI fields after fine-tuning. AI software technologies primarily include computer vision, speech processing, natural language processing, and machine learning / deep learning.

[0063] Computer vision (CV) is a science that studies how to enable machines to "see." More specifically, it refers to machine vision, which uses cameras and computers to replace human eyes in recognizing and measuring targets, and then performs image processing to create images more suitable for human observation or transmission to instruments for detection. As a scientific discipline, computer vision studies related theories and technologies, attempting to build artificial intelligence systems capable of extracting information from images or multidimensional data. Large model technology has brought significant changes to the development of computer vision. Pre-trained models in the field of vision, such as SwinTransformer (a deep learning model), ViT (Vision Transformer, a deep learning model), V-MOE (a vision model), and MAE (Masked Auto Encoders), can be quickly and widely applied to specific downstream tasks after fine-tuning. Computer vision technology typically includes image processing, image recognition, image semantic understanding, image retrieval, OCR (Optical Character Recognition), video processing, video semantic understanding, video content / behavior recognition, 3D object reconstruction, 3D (3D) technology, virtual reality, augmented reality, and other technologies.

[0064] Machine learning (ML) is a multidisciplinary field involving probability theory, statistics, approximation theory, convex analysis, and algorithm complexity theory. It specifically studies how computers can simulate or implement human learning behavior to acquire new knowledge or skills and reorganize existing knowledge structures to continuously improve their performance. Machine learning is the core of artificial intelligence and the fundamental way to endow computers with intelligence; its applications span all areas of artificial intelligence. Machine learning and deep learning typically include techniques such as artificial neural networks, belief networks, reinforcement learning, transfer learning, inductive learning, and instruction-based learning. Pre-trained models are the latest development in deep learning, integrating all of these techniques.

[0065] The solution provided in this application embodiment is based on artificial intelligence machine learning technology, which can train a prop generation model. Using the trained prop generation model, user-provided custom shape information is converted into virtual props, thereby realizing a prop generation method.

[0066] The prop generation method provided in this application embodiment is executed by a computer device. Optionally, the computer device is a terminal or a server. The server is an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. Optionally, the terminal is a smartphone, tablet computer, laptop computer, desktop computer, smart speaker, smartwatch, smart voice interaction device, smart home appliance, and vehicle terminal, but is not limited to these. Optionally, the prop generation method is implemented through interaction between the terminal and the server.

[0067] In some embodiments, the computer program involved in the present application embodiments may be deployed and executed on a computer device, or executed on multiple computer devices located in one location, or executed on multiple computer devices distributed in multiple locations and interconnected through a communication network. Multiple computer devices distributed in multiple locations and interconnected through a communication network can form a blockchain system.

[0068] In some embodiments, the computing and device are provided as a terminal. Figure 1 This is a schematic diagram of an implementation environment provided in an embodiment of this application. See also... Figure 1 The implementation environment includes a terminal 101 and a server 102, which are connected via a wireless or wired network.

[0069] Terminal 101 is used to display the prop generation interface. In response to the prop generation operation based on the custom shape information in the prop generation interface, it can send the custom shape information to server 102. Server 102 is used to generate virtual props based on the custom shape information and return the virtual props to terminal 101. Terminal 101 is used to display the virtual props returned by server 102 in the prop generation interface.

[0070] In some embodiments, an application provided by server 102 is installed on terminal 101, enabling terminal 101 to perform functions such as data transmission and gaming. Optionally, the application is an application in the operating system of terminal 101, or an application provided by a third party. For example, the application is a game application with game functionality; of course, the game application may also have other functions, such as review functionality, shopping functionality, navigation functionality, etc.

[0071] Terminal 101 is used to log in to the application based on an account. The application displays an item generation interface, which can obtain and display user-provided custom shape information. In response to the item generation operation based on the custom shape information, the application sends the custom shape information to server 102. Server 102 generates virtual items based on the custom shape information and returns the virtual items to terminal 101. Terminal 101 is used to display the virtual items returned by server 102 in the item generation interface through the application.

[0072] Figure 2 This is a flowchart of a prop generation method provided in an embodiment of this application. Taking the method executed by a terminal as an example, as follows... Figure 2 As shown, the method includes:

[0073] 201. The terminal displays the item generation interface.

[0074] In this embodiment, the prop generation interface is used to trigger the virtual prop generation process. During the virtual prop generation process, the user can provide custom shape information. The user inputs the custom shape information in the prop generation interface through the terminal, and then the terminal displays the virtual prop that matches the custom shape information in the prop generation interface. This realizes the process of generating virtual props through the user-provided custom shape information, and realizes a solution for making virtual props.

[0075] 202. The terminal responds to the information input operation in the prop generation interface. In the prop generation interface, the user-provided custom shape information is displayed. The custom shape information indicates the shape of the virtual prop to be generated.

[0076] In this embodiment of the application, the prop generation interface can input user-provided custom shape information. The custom shape information indicates the shape of the virtual prop that the user wants. By displaying the user-provided custom shape information entered through the information input operation in the prop generation interface, the user can learn about the custom shape information he / she entered by viewing the prop generation interface.

[0077] The custom shape information can be of any type. For example, it can be an image, or a drawing trajectory corresponding to a drawing operation triggered in the item generation interface. The drawing trajectory can also be represented as an image. For instance, if the custom shape information is represented as an image, the image contains content that represents the shape of the virtual object to be generated. The information input operation is used to input custom shape information in the item generation interface. The information input operation can be of any type. For example, the information output operation is a trigger operation for the information input option in the item generation interface.

[0078] 203. In response to the prop generation operation based on the custom shape information, the terminal displays a first virtual prop in the prop generation interface. The similarity between the first virtual prop and the custom shape information is greater than a first threshold.

[0079] In this embodiment, when the user-provided custom shape information is already displayed in the prop generation interface, detecting the prop generation operation is equivalent to detecting a prop generation operation for the custom shape information, indicating that the user expects to generate a virtual prop according to the custom shape information. Then, the generated virtual prop is displayed in the prop generation interface, that is, the first virtual prop is displayed, and the similarity between the first virtual prop and the custom shape information is greater than a first threshold, so as to indicate that the first virtual prop is generated according to the custom shape information, thus realizing a solution for self-made virtual props.

[0080] The first threshold can be any value, such as 0.8 or 0.9. For example, the first threshold can be set by the user, meaning the user can specify any first threshold during the generation of virtual items. Alternatively, the first threshold can be a default value set by the developers.

[0081] In this embodiment, the similarity between the first virtual prop and the custom shape information refers to the similarity between the shape of the generated first virtual prop and the shape indicated by the custom shape information. The greater the similarity, the more similar the shape of the first virtual prop is to the shape indicated by the custom shape information. The similarity between the generated first virtual prop and the custom shape information is greater than a first threshold to ensure that the generated first virtual prop and the custom shape information are sufficiently similar.

[0082] The solution provided in this application embodiment allows users to input custom shape information in the prop generation interface, which is then displayed in the prop generation interface. This triggers a prop generation operation based on the custom shape information, and the prop generation interface displays a first virtual prop generated according to the custom shape information and sufficiently similar to it. This achieves a solution for creating custom virtual props, enabling each user to generate virtual props according to their own custom shape information. This satisfies the needs of different users, ensures the flexibility of virtual prop generation, and requires only inputting custom shape information in the prop generation interface. This reduces the requirements for creating virtual props, lowers the barrier to entry, and ensures the efficiency of virtual prop generation.

[0083] exist Figure 2 Based on the embodiments shown, the custom shape information in this application includes a drawing trajectory obtained by drawing, and can preview the prop preview effect corresponding to the drawing trajectory in real time. For details, please refer to the following embodiments.

[0084] Figure 3 This is a flowchart of a prop generation method provided in an embodiment of this application. Taking the method executed by a terminal as an example, as follows... Figure 3 As shown, the method includes:

[0085] 301. Terminal displays the item generation interface.

[0086] 302. The terminal responds to the drawing operation in the item generation interface and displays the drawing trajectory corresponding to the drawing operation in the item generation interface.

[0087] In this embodiment, the prop generation interface has a drawing function. Users can trigger a drawing operation on the prop generation interface via a terminal. This drawing operation is equivalent to an information input operation, and the drawing trajectory corresponding to the drawing operation is equivalent to user-provided custom shape information, which is then used to generate virtual props. The terminal responds to the drawing operation on the prop generation interface by displaying the drawing trajectory corresponding to the drawing operation, allowing users to see the pattern they have drawn by viewing the prop generation interface.

[0088] In this embodiment of the application, in the prop generation interface, the drawing trajectory can be manually drawn and input as custom shape information into the prop generation interface so that the drawing trajectory can be displayed in the prop generation interface. Users can draw any drawing trajectory, which improves the flexibility of input custom shape information and enriches the input method of custom shape information. It can meet the different needs of users to create virtual props and improve the efficiency of human-computer interaction.

[0089] In this context, the drawing trajectory is equivalent to the shape information drawn by the drawing operation. The drawing trajectory can be represented in any form; for example, it can be composed of multiple lines. The drawing trajectory is simply the shape information drawn by the drawing operation.

[0090] For example, if a user draws on the terminal's screen using their finger or a stylus, the terminal will display the drawing trajectory corresponding to the drawing operation in real time on the prop generation interface based on the detected drawing operation.

[0091] In one possible implementation, step 302 includes: the terminal responding to multiple drawing operations in the prop generation interface, and displaying the drawing trajectory corresponding to the multiple drawing operations in the prop generation interface.

[0092] In this embodiment of the application, when a user draws in the prop generation interface through a terminal, the drawing trajectory for generating virtual props may be drawn by triggering multiple drawing operations. When the user triggers drawing operations sequentially in the prop generation interface through the terminal, the terminal displays the drawing trajectory corresponding to the drawing operation in real time in the prop generation interface. Finally, the graphic formed by the drawing trajectory corresponding to multiple drawing operations is equivalent to the user-provided custom shape information.

[0093] 303. When the preview function is enabled on the terminal, the item preview effect corresponding to the drawing trajectory is displayed in the item generation interface. The item preview effect changes as the drawing trajectory changes.

[0094] In this embodiment, the prop generation interface has a preview function. When the preview function is enabled, the terminal displays the prop preview effect corresponding to the current drawing trajectory in real time on the prop generation interface. During the process of drawing on the prop generation interface through the terminal, the prop preview effect changes with the change of the drawing trajectory to present the shape of the virtual prop generated based on the current drawing trajectory. This realizes a real-time preview solution so that users can know in time what kind of virtual prop will be generated by the current drawing trajectory. It provides assistance to users in the drawing process, so as to avoid the situation where users are not satisfied with the generated virtual prop after drawing and have to redraw. This saves the time required for users to draw a drawing trajectory that satisfies them, thereby ensuring the efficiency of prop generation.

[0095] The preview function refers to previewing the current drawing trajectory during the drawing process to present the shape of the virtual prop generated based on the current drawing trajectory. The prop preview effect refers to the preview effect of the virtual prop, which can be represented in any form, such as a three-dimensional virtual prop or a two-dimensional virtual prop.

[0096] For example, a user can draw on the item creation interface through the terminal. The terminal displays the drawing trajectory in real time on the item creation interface. If the preview function is enabled, the terminal displays the item preview effect corresponding to the current drawing trajectory in real time during the drawing process. The user can add or remove the drawing trajectory on the item creation interface through the terminal. The terminal will update the displayed item preview effect to ensure that the displayed item preview effect is synchronized with the displayed drawing trajectory.

[0097] In this embodiment of the application, the prop preview effect is only a preview of the virtual prop to be generated, and is not the actual generation of the virtual prop. The virtual prop will only be generated when the prop generation operation for custom shape information is triggered.

[0098] In one possible implementation, the process of displaying the item preview effect includes: when the preview function is enabled, the terminal generates the item preview effect in real time based on the drawing trajectory displayed in the item generation interface, and displays the currently generated item preview effect in the item generation interface.

[0099] In this embodiment of the application, when the preview function is enabled, the terminal will generate a preview effect of the prop based on the drawing trajectory already displayed in the prop generation interface in real time, and display it in the prop generation interface to ensure that the displayed prop preview effect is synchronized with the drawing trajectory and to ensure the preview effect.

[0100] In one possible implementation, the item generation interface includes an information input area and a preview area. In response to a drawing operation in the information input area, the drawing trajectory corresponding to the drawing operation is displayed in the information input area. If the preview function is enabled, the item preview effect corresponding to the drawing trajectory is displayed in the preview area. The item preview effect changes as the drawing trajectory changes.

[0101] In this embodiment, the prop generation interface includes an information input area and a preview area. The information input area is used to trigger the drawing operation and display the drawing trajectory, while the preview area is used to display the prop preview effect of the drawing trajectory. The drawing trajectory and prop preview effect are displayed in separate areas, which makes it convenient for users to view the prop preview effect while drawing, thus ensuring the display effect of the prop generation interface.

[0102] In one possible implementation, the item generation interface includes a preview option used to enable or disable the preview function. The preview option can be represented in any form, for example, as a button. Optionally, the display format of the preview option differs depending on whether the preview function is enabled or disabled. For example, when the preview function is enabled, the preview option is highlighted; when the preview function is disabled, the preview option is dimmed. In this embodiment, the preview option uses different display formats to indicate whether the preview function is currently enabled, ensuring optimal display quality.

[0103] In one possible implementation, the process of displaying the prop preview effect includes: when the preview function is enabled, the terminal generates the prop preview effect based on the drawing trajectory already displayed in the prop generation interface at preset intervals, and displays the currently generated prop preview effect in the prop generation interface.

[0104] The preset duration can be any length, for example, 0.2 seconds.

[0105] In this embodiment, with the preview function enabled, the terminal generates a preview effect of the prop based on the drawing trajectory displayed in the prop generation interface at preset intervals, and displays it in the prop generation interface. In this way, while ensuring that the displayed prop preview effect is synchronized with the drawing trajectory as much as possible, the frequency of generating prop preview effects is reduced, the amount of computation brought about by generating prop preview effects is reduced, and thus the requirements on the device are reduced.

[0106] Optionally, the process of generating a prop preview effect based on the displayed drawing trajectory can be performed by the server. That is, the method includes: the terminal sending a trajectory image to the server, the trajectory image containing the drawing trajectory already displayed on the prop generation interface; the server receiving the trajectory image, generating a prop preview effect based on the trajectory image, returning the prop preview effect to the terminal; the terminal receiving the prop preview effect and displaying the currently generated prop preview effect in the prop generation interface.

[0107] In this embodiment of the application, generating the prop preview effect through a server can alleviate the pressure on the terminal, reduce the requirements on terminal performance, and improve the applicability of the solution provided in this application.

[0108] Optionally, the server can generate a prop preview effect through the prop generation model. That is, the process of the server generating a prop preview effect includes: the server processes the trajectory image through the prop generation model to obtain the prop preview effect.

[0109] The prop generation model is an arbitrary type of neural network model, which has the function of converting input custom shape information into virtual props.

[0110] In this embodiment, the prop generation model processes the trajectory image to extract the drawing trajectory from the trajectory image, and then generates a prop preview effect that matches the shape expressed by the drawing trajectory. Using the prop generation model to obtain the prop preview effect corresponding to the trajectory image ensures the accuracy of the prop preview effect.

[0111] It should be noted that the embodiments of this application are illustrated by taking the server generating the prop preview effect based on the drawing trajectory as an example. In another embodiment, the server does not need to participate, and the terminal can generate the prop preview effect based on the drawing trajectory.

[0112] It should be noted that the embodiments of this application are illustrated using the information input operation as a drawing operation and the drawing trajectory as custom shape information. In another embodiment, it is not necessary to perform the above steps 302-303. Instead, other methods are adopted to respond to the information input operation in the prop generation interface. In the prop generation interface, the user-provided custom shape information is displayed, and the custom shape information indicates the shape of the virtual prop to be generated.

[0113] 304. In response to the prop generation operation for the drawn trajectory, the terminal displays a first virtual prop in the prop generation interface. The similarity between the first virtual prop and the drawn trajectory is greater than a first threshold.

[0114] In one possible implementation, step 304 includes: in response to the item generation operation, playing an item generation animation in the item generation interface, the item generation animation representing the dynamic process of generating the first virtual item.

[0115] In this embodiment of the application, in response to the prop generation operation that targets the custom shape information in the prop generation interface, an animation is played in the prop generation interface to present the dynamic process of generating the first virtual prop based on the custom shape information, which can enrich the content displayed in the prop generation interface and ensure the display effect.

[0116] Optionally, the prop generation animation is a preset animation used to represent the dynamic process of generating virtual props; or, the prop generation animation is an animation generated in real time based on custom shape information, used to represent the dynamic process of generating corresponding virtual props based on the custom shape information input this time.

[0117] In one possible implementation, step 304 includes: in response to a prop generation operation for custom shape information, displaying multiple prop preview effects in a prop generation interface; and in response to a confirmation operation for a target preview effect, displaying a first virtual prop in the prop generation interface, wherein the target preview effect is any one of the multiple prop preview effects, and the first virtual prop is the virtual prop represented by the target preview effect.

[0118] Among them, the prop preview effect is used to represent virtual props generated based on custom shape information. In multiple prop preview effects, different prop preview effects represent different virtual props, and the similarity between the virtual prop represented by each prop preview effect and the custom shape information is greater than the first threshold.

[0119] In this embodiment of the application, considering that the custom shape information provided by the user may be non-standard, resulting in multiple uncertain solutions when generating virtual props according to the custom shape information, in response to the prop generation operation for the custom shape information, multiple prop preview effects can be provided to the user so that the user can choose any one of the prop preview effects to generate virtual props. In this way, it is ensured that the generated virtual props meet the user's needs as much as possible and the accuracy of the generated virtual props is guaranteed.

[0120] Optionally, different item preview effects in multiple item preview effects belong to different item types.

[0121] In this embodiment of the application, considering that virtual props have multiple prop types, when a user creates a virtual prop through the prop generation interface on the terminal, the type of virtual prop to be generated may not be determined. Therefore, in response to the prop generation operation for custom shape information, multiple prop preview effects will be generated according to multiple prop types. The multiple prop preview effects correspond one-to-one with the multiple prop types, so that the user can select any prop preview effect to generate the corresponding virtual prop, ensuring that the generated virtual props meet the user's needs as much as possible and ensuring the accuracy of the generated virtual props.

[0122] In one possible implementation, step 304 includes: in response to a prop generation operation for a drawn trajectory, the terminal cancels the display of the drawn trajectory and displays a first virtual prop in the prop generation interface.

[0123] In this embodiment of the application, after the first virtual prop is generated based on the drawing trajectory, the drawing trajectory is canceled from display, and then the first virtual prop is displayed in the prop generation interface to highlight the generated first virtual prop and ensure the display effect of the prop generation interface.

[0124] Optionally, when the preview function is enabled, in response to the prop generation operation for the drawn trajectory, the drawing trajectory and prop preview effect are not displayed in the prop generation interface, and the first virtual prop is displayed instead.

[0125] In one possible implementation, after generating the first virtual item, the first virtual item can be adjusted. The adjustment process includes: in response to the adjustment operation on the first virtual item, displaying the adjusted first virtual item.

[0126] In this embodiment, considering that the virtual props generated according to the user-provided custom shape information may differ from the virtual props required by the user, i.e., the user is not satisfied with the generated virtual props, the user can also trigger an adjustment operation on the first virtual prop displayed in the prop generation interface to adjust the shape of the first virtual prop, and then display the adjusted first virtual prop. This ensures that the final virtual prop meets the user's needs without having to re-enter the custom shape information to generate the virtual prop, reducing the time spent obtaining virtual props that meet the user's needs and improving the human-computer interaction effect.

[0127] The adjustment operation can be any type of operation, such as adjusting the shape of a virtual prop, adjusting the color of a virtual prop, or adjusting the display perspective of a virtual prop. Based on the shape adjustment operation, the shape of the first virtual prop can be adjusted; based on the color adjustment operation, the color of the first virtual prop can be adjusted; based on the display perspective adjustment operation, the display perspective of the virtual prop can be adjusted so that the generated virtual prop can be viewed from various perspectives.

[0128] Optionally, the prop generation interface displays adjustment options. Triggering the adjustment options is equivalent to adjusting the first virtual prop. The adjustment options displayed in the prop generation interface are only shown when the generated virtual prop is displayed. That is, in response to the prop generation operation for the drawn trajectory, the terminal displays the first virtual prop and adjustment options in the prop generation interface, and in response to triggering the adjustment options, displays the adjusted first virtual prop.

[0129] In one possible implementation, after generating the first virtual item, it is possible to add accessories to the first virtual item. That is, the method further includes: when the generated first virtual item is displayed in the item generation interface, in response to the accessory addition operation of the first virtual item, displaying multiple alternative accessories in the item generation interface; in response to the confirmation operation of any alternative accessory, updating the first virtual item displayed in the item generation interface, and adding the selected alternative accessory to the updated first virtual item.

[0130] Among them, the optional accessories are the accessories that can be installed on the first virtual prop. The optional accessories are any type of accessories. For example, if the first virtual prop is a virtual firearm, the multiple optional accessories are virtual scopes, virtual stocks, etc. that can be installed on the virtual firearm.

[0131] In this embodiment of the application, when the first virtual prop is generated according to the user-provided custom shape information, accessories can also be added to the first virtual prop so that the first virtual prop can be further adjusted, thus ensuring the flexibility of the generated virtual prop.

[0132] In one possible implementation, the user can also specify a first threshold on the prop generation interface via the terminal. The process of generating the first prop then includes: in response to the threshold input operation on the prop generation interface, displaying the input first threshold on the prop generation interface; and in response to the prop generation operation for the drawn trajectory, displaying a first virtual prop on the prop generation interface whose similarity to the drawn trajectory is greater than the first threshold.

[0133] In this embodiment of the application, the user can not only input custom shape information in the prop generation interface through the terminal, but also specify a first threshold in the prop interface so as to generate virtual props according to the first threshold specified by the user, which can meet the different needs of the user and ensure the flexibility of creating the first virtual prop.

[0134] Optionally, when a virtual prop has already been generated, the generated virtual prop can also be adjusted by adjusting the first threshold. That is, the method further includes: when the generated first virtual prop is displayed in the prop generation interface, in response to the threshold adjustment operation in the prop generation interface, displaying the adjusted first threshold in the prop generation interface, and displaying the updated first virtual prop, wherein the similarity between the updated first virtual prop and the drawing trajectory is greater than the adjusted first threshold.

[0135] In this embodiment, when a virtual prop has already been generated according to custom shape information, the user can adjust the first threshold in the prop generation interface through the terminal. Then, the terminal or server will regenerate the virtual prop according to the adjusted first threshold, and the terminal will display the regenerated virtual prop in the prop generation interface. This realizes a virtual prop adjustment scheme, which can meet different user needs and improve the flexibility of creating virtual props.

[0136] For example, the item generation interface displays a first virtual item that has already been generated. This first virtual item was generated according to a first threshold of 0.8. If the user changes 0.8 to 0.9 through the terminal, that is, the adjusted first threshold is 0.9, then the terminal displays the virtual item generated according to the adjusted first threshold in the item generation interface.

[0137] Optionally, the first threshold can be entered in the prop generation interface in the following two ways.

[0138] The first method: The prop generation interface includes a threshold input area. The terminal responds to the input operation in the threshold input area and displays the first input threshold in the threshold input area.

[0139] The threshold input area is used to specify the first threshold. The default state of the threshold input area is empty, or the threshold input area displays a default value.

[0140] For example, if the threshold input area is a text input area, the user can click on the threshold input area through the terminal. If the threshold input area is empty, the user can enter a first threshold through the terminal click; or, if the threshold input area includes a default value, the user can modify the default value to any value through the terminal click.

[0141] The second method: The prop generation interface displays a threshold adjustment control. The terminal responds to the trigger operation of the threshold adjustment control and displays the adjusted first threshold in the threshold input area.

[0142] The threshold adjustment control can be of any type.

[0143] For example, the threshold adjustment control includes a slider and a slider block. The slider displays the numerical range of the first threshold. The user triggers a drag operation on the slider block through the terminal to adjust the position of the slider block on the slider bar. The adjusted first threshold is determined based on the position of the slider block on the slider bar.

[0144] For example, the threshold adjustment control includes a first control, a second control, and a display control. The display control is used to display the currently input first threshold, the first control is used to increase the first threshold displayed in the display control by a unit value, and the second control is used to decrease the first threshold displayed in the display control by a unit value.

[0145] It should be noted that this embodiment uses the display of a first threshold in the item generation interface as an example for illustration. In another embodiment, the item generation interface does not need to display the first threshold, but instead represents the currently set first threshold in other forms. For example, the threshold adjustment control includes a slider and a slider block. The length of the slider bar corresponds to the numerical range of the first threshold. The user triggers a drag operation on the slider block through the terminal to adjust the position of the slider block on the slider bar, and determines the adjusted first threshold based on the position of the slider block on the slider bar. By viewing the position of the slider block on the slider bar and combining it with the length of the slider bar, the user can know the currently set first threshold.

[0146] In one possible implementation, if the first threshold entered by the user is too small, the prop generation interface will display corresponding information to prompt the user. That is, the method also includes: if the first threshold entered is less than the fourth threshold, displaying a first prompt message on the prop generation interface, the first prompt message being used to indicate that the currently set first threshold is too low.

[0147] The fourth threshold can be any threshold, for example, the fourth threshold is 0.3.

[0148] In this embodiment, the fourth threshold can be a lower threshold set by the developer. If the first threshold entered by the user is lower than the fourth threshold, the display effect of the subsequently generated virtual props will be very poor or the virtual props cannot be generated. Therefore, in this case, the terminal displays the first prompt information in the prop generation interface to prompt the user, so as to avoid the situation where the virtual props cannot be generated or the display effect of the virtual props is poor, which can save unnecessary waiting time and ensure the efficiency of prop generation.

[0149] Optionally, even if the first threshold entered in the prop generation interface is less than the fourth threshold, the user can still trigger the prop generation operation through the terminal in the prop generation interface. That is, the method further includes: when the first threshold entered by the terminal in the prop generation interface is less than the fourth threshold, in response to the prop generation operation based on the custom shape information, displaying a first virtual prop and a second prompt message in the prop generation interface. The second prompt message is used to indicate the defects of the currently generated virtual prop. Optionally, the second prompt message is also used to indicate how to adjust the currently generated virtual prop.

[0150] In this embodiment, even if the first threshold entered in the item generation interface is less than the fourth threshold, the user can still trigger the item generation operation through the terminal. While this ensures that the similarity between the generated first virtual item and the custom shape information is greater than the first threshold, the display effect of the first virtual item will be poor due to the low first threshold. For example, if the first virtual item is an irregular shape, the user cannot determine its nature. Therefore, while displaying the first virtual item in the item generation interface, the terminal also displays a second prompt to indicate which parts of the first virtual item have defects and how to adjust it. This allows the user to adjust the first virtual item according to the second prompt, thus ensuring the final display effect of the generated virtual item. Currently, when the first virtual item and the second prompt are displayed in the item generation interface, the user can ignore the second prompt and use the currently generated first virtual item as the final virtual item. During the virtual game, the user can then control the virtual object through the terminal to use the first virtual item.

[0151] It should be noted that the embodiments of this application use custom shape information as the drawing trajectory as an example for illustration. In another embodiment, it is not necessary to perform the above step 304. Instead, other methods are adopted. The terminal responds to the prop generation operation for the custom shape information and displays the first virtual prop in the prop generation interface. The similarity between the first virtual prop and the custom shape information is greater than the first threshold.

[0152] The solution provided in this application embodiment allows users to input custom shape information in the prop generation interface, which is then displayed in the prop generation interface. This triggers a prop generation operation based on the custom shape information, and the prop generation interface displays a first virtual prop generated according to the custom shape information and sufficiently similar to it. This achieves a solution for creating custom virtual props, enabling each user to generate virtual props according to their own custom shape information. This satisfies the needs of different users, ensures the flexibility of virtual prop generation, and requires only inputting custom shape information in the prop generation interface. This reduces the requirements for creating virtual props, lowers the barrier to entry, and ensures the efficiency of virtual prop generation.

[0153] exist Figure 2 Based on the embodiments shown, the custom shape information in this application includes images. Custom shape information can be input into the prop generation interface by uploading images to generate virtual props. For details of the process, please refer to the following embodiments.

[0154] Figure 4 This is a flowchart of a prop generation method provided in an embodiment of this application. Taking the method executed by a terminal as an example, as follows... Figure 4 As shown, the method includes:

[0155] 401. Terminal displays the item generation interface.

[0156] 402. The terminal responds to the image upload operation in the prop generation interface and displays multiple candidate images in the prop generation interface.

[0157] In this embodiment, a custom shape information can be input into the prop generation interface via image upload. The input custom shape information is an image, so that virtual props can be generated based on the input image. In response to the image upload operation in the prop generation interface, multiple candidate images are displayed for the user to select, so that the user can select any candidate image as the custom shape information to input into the prop generation interface.

[0158] Different candidate images contain different content, and the different content of the images will result in different virtual props.

[0159] In one possible implementation, step 402 includes: in response to an image upload operation in the prop generation interface, the terminal calls a local image library and displays multiple candidate images contained in the image library in the prop generation interface.

[0160] In this embodiment, the multiple candidate images are images contained in the terminal's local image library. In response to the image upload operation, the terminal can access the local image library so that the images contained in the image library can be displayed as candidate images in the prop generation interface for the user to select.

[0161] The image library can be of any type, such as a mobile phone's photo album. The images in the image library can be any type of image, such as images taken by the terminal or downloaded by the terminal from the Internet.

[0162] 403. In response to the confirmation operation of any one of the multiple candidate images, the terminal displays the image in the prop generation interface.

[0163] In this embodiment of the application, when multiple candidate images are displayed on the prop generation interface, in response to the confirmation operation of any image, indicating that the image is input as custom shape information into the prop generation interface, the image is then displayed on the prop generation interface.

[0164] In this embodiment of the application, the image upload operation and the image confirmation operation are equivalent to information input operations, and the image corresponding to the confirmation operation is equivalent to custom shape information.

[0165] In this embodiment of the application, in the prop generation interface, an image upload method can be adopted, and any image can be selected as the custom shape information input into the prop generation interface so that the uploaded image can be displayed in the prop generation interface. This enriches the input method of custom shape information, can meet the different needs of users to create virtual props, and the input method of custom shape information is simple, thus improving the efficiency of human-computer interaction.

[0166] It should be noted that this embodiment uses a custom shape information including an image as an example for illustration. In another embodiment, steps 402-403 above do not need to be performed. Instead, other methods are adopted. In response to the information input operation in the prop generation interface, the user-provided custom shape information is displayed in the prop generation interface. The custom shape information indicates the shape of the virtual prop to be generated. In one possible implementation, if the custom shape information includes an image, the process of inputting the custom shape information includes: in response to the image upload operation in the prop generation interface, calling the terminal's camera, displaying a shooting interface, displaying the image captured by the camera in real time in the shooting interface, and in response to the shooting operation in the shooting interface, displaying the prop generation interface and displaying the captured image in the prop generation interface.

[0167] In this embodiment, the captured image can be input into the prop generation interface as user-provided custom shape information. This enriches the input methods for custom shape information, meets the different needs of users in creating virtual props, and simplifies the input of custom shape information, thus improving the efficiency of human-computer interaction.

[0168] 404. In response to the prop generation operation for the image, the terminal displays a first virtual prop in the prop generation interface, wherein the similarity between the first virtual prop and the image is greater than a first threshold.

[0169] Step 404 is the same as step 304 above, and will not be repeated here.

[0170] The solution provided in this application embodiment allows users to input custom shape information in the prop generation interface, which is then displayed in the prop generation interface. This triggers a prop generation operation based on the custom shape information, and the prop generation interface displays a first virtual prop generated according to the custom shape information and sufficiently similar to it. This achieves a solution for creating custom virtual props, enabling each user to generate virtual props according to their own custom shape information. This satisfies the needs of different users, ensures the flexibility of virtual prop generation, and requires only inputting custom shape information in the prop generation interface. This reduces the requirements for creating virtual props, lowers the barrier to entry, and ensures the efficiency of virtual prop generation.

[0171] exist Figure 2 Based on the embodiments shown, this application embodiment can also specify the item type of the virtual item to be generated, so as to generate the virtual item by combining the specified item type and the user-provided custom shape information. For details of the process, please refer to the following embodiments.

[0172] Figure 5This is a flowchart of a prop generation method provided in an embodiment of this application. Taking the method executed by a terminal as an example, as follows... Figure 5 As shown, the method includes:

[0173] 501. Terminal displays the item generation interface.

[0174] 502. The terminal responds to the type input operation in the item generation interface. In the item generation interface, the silhouette of the first item type is displayed. The first item type is the item type corresponding to the type input operation. The item silhouette indicates the outline of the virtual item to be generated.

[0175] In this embodiment, the item type to be generated can be specified in the item generation interface. If the item type has been specified, a silhouette of the specified item type is displayed in the item generation interface to indicate the outline of the virtual item of the specified item type. This allows the user to see the outline of the virtual item generated according to the currently selected item type by viewing the item silhouette displayed in the item generation interface. This achieves a reminder effect and avoids the situation where the subsequently generated virtual item does not meet the user's expectations and needs to be regenerated. This ensures the success rate and accuracy of virtual item generation.

[0176] The type input operation is used to specify the item type of the virtual item to be generated in the item generation interface. The first item type is the item type specified by the type input operation. The first item type can be any item type, such as a virtual weapon, virtual armor, or virtual car. The item silhouette can be represented in any form; for example, the item silhouette can be represented as an image containing the outline of the virtual item to be generated.

[0177] In one possible implementation, step 502 includes: responding to a type selection operation in the item generation interface, where there are multiple item type options, and responding to a trigger operation on a first item type option among the multiple item type options, displaying an item silhouette of the first item type in the item generation interface.

[0178] In this embodiment of the application, the type selection operation and the triggering operation of the first item type option are equivalent to the type input operation in the item generation interface.

[0179] In one possible implementation, the prop generation interface includes an information input area and a preview area. The information input area is used to display the uploaded image, and the preview area is used to display the silhouette of the prop of the specified prop type.

[0180] In one possible implementation, the method further includes: in response to an operation of switching the first item type to the second item type, displaying an item silhouette of the second item type in the item generation interface.

[0181] In this embodiment, when a first item type is specified in the item generation interface, the specified item type can be switched. When switching the specified item type, the item silhouette of the switched item type can be displayed in the item interface to ensure that the displayed item silhouette matches the specified item type, thereby indicating the outline of the virtual item of the currently specified item type. This allows the user to see the outline of the virtual item generated according to the currently selected item type by viewing the item silhouette displayed in the item generation interface, achieving a reminder effect. This avoids the situation where the subsequently generated virtual item does not meet the user's expectations and needs to be regenerated, thus ensuring the success rate and accuracy of item generation.

[0182] It should be noted that the embodiments of this application are illustrated by switching the specified item type before inputting custom shape information. In another embodiment, it is also possible to switch the specified item type after inputting custom shape information in the item generation interface.

[0183] 503. The terminal responds to the information input operation in the prop generation interface. In the prop generation interface, the user-provided custom shape information is displayed. The custom shape information indicates the shape of the virtual prop to be generated.

[0184] Step 503 is the same as step 202 above, and will not be repeated here.

[0185] 504. In response to the preview operation for custom shape information, the terminal displays the preview effect of the prop corresponding to the custom shape information in the prop generation interface.

[0186] In this embodiment, the prop generation interface has a preview function. After the user inputs the user-provided custom shape information in the prop generation interface through the terminal, a preview operation is triggered for the custom shape information, displaying the prop preview effect corresponding to the custom shape information. This presents the shape of the virtual prop generated based on the custom shape information, so that the user can know in time what kind of virtual prop will be generated by the custom shape information. This avoids the situation where the user is not satisfied with the generated virtual prop and has to re-input the custom shape information and generate the virtual prop. This helps the user to create virtual props, saves the time required for the user to create the virtual prop they are satisfied with, thereby ensuring the efficiency of prop production and improving the efficiency of human-computer interaction.

[0187] The preview operation is used to preview the custom shape information displayed on the item generation interface, thus presenting the shape of the virtual item generated based on the custom shape information. The item preview effect can be represented in any form, for example, as a three-dimensional virtual item, or as a two-dimensional virtual item.

[0188] In one possible implementation, the item generation interface displays a preview option. When the item generation interface displays user-provided custom shape information, triggering the preview option is equivalent to previewing the custom shape information. The preview option can be any option, such as a button.

[0189] Optionally, the preview option is displayed after inputting custom shape information in the item generation interface. That is, in response to the information input operation in the item generation interface, the terminal displays the preview option and the user-provided custom shape information in the item generation interface. In response to the trigger operation of the preview option, the item preview effect corresponding to the custom shape information is displayed in the item generation interface.

[0190] 505. In response to the prop generation operation based on the custom shape information, the terminal displays a first virtual prop of the first prop type in the prop generation interface, wherein the similarity between the first virtual prop and the custom shape information is greater than a first threshold.

[0191] In this embodiment, the item type of the virtual item to be generated can be specified in the item generation interface. When the item type is specified, a silhouette of the specified item type is displayed in the item generation interface to indicate the outline of the virtual item. In response to the item generation operation based on custom shape information, a first virtual item is generated based on the custom shape information and the specified item type, and displayed in the item generation interface. By displaying the silhouette of the specified item type, the user can see the outline of the virtual item generated according to the currently selected item type, achieving a reminder effect and avoiding the need to regenerate virtual items that do not meet the user's expectations. This ensures a high success rate for item generation. Furthermore, generating the first virtual item based on the custom shape information and the specified item type ensures that the generated first virtual item matches the specified item type and the user-provided custom shape information, guaranteeing the accuracy of the generated virtual item.

[0192] In one possible implementation, step 505 includes: the terminal responding to the prop generation operation by sending custom shape information and a type identifier of the first prop type to the server; the server adjusting the virtual prop template corresponding to the type identifier based on the custom shape information to obtain the first virtual prop and returning the first virtual prop to the terminal; the terminal receiving the first virtual prop returned by the server and displaying the first virtual prop in the prop generation interface.

[0193] In this embodiment, considering the similarity in shape of virtual props of the same type, multiple virtual prop templates of different types are configured. The terminal responds to the prop generation operation based on custom shape information by sending custom shape information and a specified type identifier to the server. This allows the server to adjust the virtual prop template of the specified type based on the custom shape information, ensuring the efficiency of obtaining the first virtual prop, rather than generating virtual props from scratch. This saves time in generating virtual props, ensures efficient prop generation, and the server's execution of the prop generation process alleviates the pressure on the terminal, reduces performance requirements, and expands the applicability of the solution provided in this application.

[0194] Virtual item templates can be represented in any form, such as as 3D models. Type identifiers can also be represented in any form, such as as serial numbers, with different type identifiers for different item types.

[0195] In one possible implementation, step 505 includes: the terminal responding to the prop generation operation by sending custom shape information and a type identifier of the first prop type to the server; the server processing the type information corresponding to the custom shape information and the type identifier through the prop generation model to obtain the first virtual prop of the first prop type and returning the first virtual prop to the terminal; the terminal receiving the first virtual prop returned by the server and displaying the first virtual prop in the prop generation interface.

[0196] The prop generation model is an arbitrary type of neural network model, which has the function of converting input custom shape information into virtual props. The type information corresponding to the type identifier indicates the shape of the virtual prop belonging to the prop type corresponding to that type identifier. The type information can be represented in any form, for example, in text form. In this embodiment, the prop generation model utilizes AI algorithms and UGC (User-Generated Content) technology to extract information contained in the custom shape information and refine it into data usable for generating virtual props. The refined data is then used to generate virtual props.

[0197] In this embodiment of the application, the prop generation model processes the custom shape information and the type information of the specified prop type to generate a virtual prop that matches the shape expressed by the custom shape information and the specified prop type. By generating virtual props through the prop generation model, the accuracy of the virtual props can be guaranteed.

[0198] For example, if the custom shape information is an image, then the prop generation model uses image information interpretation to analyze and understand the content contained in the image, extract useful information from the image, and use the extracted information to generate virtual props.

[0199] In one possible implementation, step 505 includes: in response to the prop generation operation, if the matching degree between the custom shape information and the first prop type is greater than a second threshold, displaying a first virtual prop of the first prop type in the prop generation interface, wherein the matching degree indicates the probability that the custom shape information belongs to the first prop type.

[0200] The second threshold can be any value, for example, the second threshold is 0.8.

[0201] In this embodiment, considering that the type of prop specified by the user may not match the virtual prop to be generated indicated by the user-provided custom shape information, which could lead to poor display effect of the generated virtual prop or failure to generate the virtual prop, the virtual prop is only generated when the matching degree between the custom shape information and the specified prop type is greater than the second threshold. Then, the first virtual prop of the first prop type is displayed in the prop generation interface to avoid the situation where the generated virtual prop has a poor display effect due to the mismatch between the defined shape information and the specified prop type, and also to avoid the situation where the virtual prop cannot be generated due to the mismatch between the defined shape information and the specified prop type. There is no need to wait for the generated virtual prop for a long time, thus ensuring the success rate of virtual prop generation.

[0202] Optionally, the method further includes: in response to the prop generation operation, if the matching degree between the custom shape information and the first prop type is less than a second threshold, displaying a reminder message in the prop generation interface, the reminder message being used to remind that the custom shape information does not match the first prop type and therefore a virtual prop cannot be generated.

[0203] In this embodiment, if the matching degree between the custom shape information and the first prop type is less than the second threshold, it means that the custom shape information and the first prop type do not match. If the virtual prop is still generated according to the custom shape information and the first prop type, it cannot be guaranteed that the generated virtual prop matches both the custom shape information and the first prop type at the same time. This will lead to the failure of virtual prop generation and waste the time waiting for prop generation. Therefore, a reminder message is displayed to remind the user so that the user can make corresponding adjustments based on the reminder message, avoid wasting the time waiting for prop generation, and ensure the efficiency of human-computer interaction.

[0204] Optionally, the method for determining the matching degree between the custom shape information and the first prop type includes: classifying the custom shape information using a classification model to obtain the matching degree between the custom shape information and the first prop type.

[0205] In this embodiment of the application, the classification model is an arbitrary neural network model. By adopting a classification method, the matching degree between the custom shape information and the first prop type is determined to ensure the accuracy of the determined matching degree.

[0206] Optionally, the classification model is configured with multiple prop types. By classifying the custom shape information through the classification model, the matching degree between the custom shape information and each prop type can be obtained, and then the matching degree between the custom shape information and the first prop type can be obtained.

[0207] In one possible implementation, after generating virtual props according to a specified prop type, the generated virtual props can be updated by switching prop types. That is, the method further includes: in response to the operation of switching the first prop type to the second prop type, in the prop generation interface, switching the display of the first virtual prop to the second virtual prop, the second virtual prop belonging to the second prop type, and the similarity between the second virtual prop and the custom shape information being greater than a first threshold.

[0208] Among them, the first virtual item belongs to the first item type.

[0209] In this embodiment, when a first virtual prop has already been generated according to the user-specified first prop type and the user-provided custom shape information, a prop type switching operation for the first virtual prop can be triggered in the prop generation interface. This allows the generated first virtual prop to be switched and displayed as a second virtual prop in the prop generation interface, providing users with multiple possibilities for creating their own virtual props to meet their various needs. It eliminates the need to regenerate virtual props by specifying the prop type and inputting custom shape information, saving the time required to generate virtual props and improving human-computer interaction efficiency.

[0210] Optionally, the process of generating the second virtual item includes: adjusting the first virtual item based on the type information corresponding to the second item type to obtain the second virtual item.

[0211] In this embodiment of the application, the type information corresponding to the second item type indicates the shape of the virtual item belonging to the second item type. Based on the second item type, the first virtual item is adjusted so that the resulting second virtual item matches the second item type and can ensure the efficiency of generating the second virtual item.

[0212] It should be noted that the process of generating the second virtual item described above can be executed by either the terminal or the server. For example, regardless of whether the first virtual item is generated by the server, in response to the operation of switching the first item type to the second item type, the terminal sends a type identifier of the second item type to the server. Based on the type information corresponding to the type identifier, the server adjusts the first virtual item to obtain the second virtual item, returns the second virtual item to the terminal, and the terminal displays the second virtual item on the item generation interface.

[0213] It should be noted that the embodiments of this application are illustrated by taking the generation of the first virtual prop according to the specified prop type as an example. In another embodiment, it is not necessary to perform the above steps 502 and 505. Instead, other methods are adopted to display the first virtual prop in the prop generation interface in response to the prop generation operation for custom shape information.

[0214] The solution provided in this application embodiment allows users to input custom shape information in the prop generation interface, which is then displayed in the prop generation interface. This triggers a prop generation operation based on the custom shape information, and the prop generation interface displays a first virtual prop generated according to the custom shape information and sufficiently similar to it. This achieves a solution for creating custom virtual props, enabling each user to generate virtual props according to their own custom shape information. This satisfies the needs of different users, ensures the flexibility of virtual prop generation, and requires only inputting custom shape information in the prop generation interface. This reduces the requirements for creating virtual props, lowers the barrier to entry, and ensures the efficiency of virtual prop generation.

[0215] In the above Figures 2 to 5 Based on the embodiments shown, the embodiments of this application can trigger the item generation process through the skills of virtual objects in the virtual scene or the items owned by virtual objects during the virtual game, and equip the virtual object with the first virtual item after the first virtual item is generated. For details of the process, please refer to the following embodiments.

[0216] Figure 6 This is a flowchart of a prop generation method provided in an embodiment of this application. Taking the method executed by a terminal as an example, as follows... Figure 6 As shown, the method includes:

[0217] 601. The terminal displays the game interface, which contains virtual objects.

[0218] The game interface is used to display screens of any type of virtual game. For example, the game interface displays a virtual scene and virtual objects located within that scene. These virtual objects can be of any type; for example, they can be virtual objects controlled by the local device. Other examples include virtual characters, virtual animals, etc.

[0219] In one possible implementation, the terminal displays the game interface through a game application.

[0220] 602. The terminal responds to the release operation of the target skill of the virtual object, or responds to the use operation of the target item owned by the virtual object, and displays the item generation interface, wherein the target skill is the skill of the virtual object to create virtual items, and the target item is used to create virtual items.

[0221] In this embodiment, during a virtual match, the user can control virtual objects in the virtual scene to interact with other virtual objects via a terminal. Virtual objects can also interact with other virtual objects using equipped virtual items. The target skill of a virtual object is the skill to create virtual items. The target item possessed by the virtual object is used to create virtual items. In response to the release of the target skill or the use of the target item possessed by the virtual object, a subsequent virtual item generation process can be triggered, displaying an item generation interface. This allows for the creation of custom virtual items during the virtual match, generating custom virtual items in real time for the terminal-controlled virtual objects, enriching the ways to obtain virtual items in the virtual match and enhancing the interactive effect.

[0222] The target item can be any type of virtual item, for example, a consumable virtual item.

[0223] Optionally, the target skill has a cooldown period. In this embodiment, after the target skill is released, it is in a cooldown state, and a countdown begins from the release time. After the countdown ends, the target skill has completed its cooldown and can be released again.

[0224] It should be noted that the embodiment of this application is illustrated by showing the item generation interface in the form of releasing skills or using items during a virtual game. In another embodiment, steps 601-602 above are not required, but other methods are used to show the item generation interface.

[0225] 603. The terminal responds to the information input operation in the prop generation interface and displays the user-provided custom shape information in the prop generation interface. The custom shape information indicates the shape of the virtual prop to be generated.

[0226] 604. In response to the prop generation operation based on the custom shape information, the terminal displays a first virtual prop in the prop generation interface. The similarity between the first virtual prop and the custom shape information is greater than a first threshold.

[0227] Steps 603-604 are the same as steps 202-203 above, and will not be repeated here.

[0228] 605. In response to the confirmation operation of the first virtual item, the terminal displays the virtual object equipped with the first virtual item in the game interface.

[0229] In this embodiment, when the generated first virtual item is already displayed in the item generation interface, in response to the confirmation operation of the first virtual item in the item generation interface, indicating that the user is satisfied with the generated first virtual item, the first virtual item is issued to the virtual object in the virtual game, and the virtual object equips the first virtual item so that the virtual object can interact with other virtual objects in the virtual scene through the first virtual item. This realizes a new way of obtaining items, which can meet the different needs of users and ensure the interactive effect of the virtual game.

[0230] For example, if the first virtual item is a virtual weapon, the terminal will respond to the confirmation operation of the first virtual item by displaying the virtual object holding the virtual weapon in the game interface.

[0231] It should be noted that this embodiment of the application describes the process of equipping a virtual object with a first virtual item after confirmation. In another embodiment, step 605 is not required; instead, the generated first virtual item is distributed to the virtual object. That is, the method further includes: in response to the confirmation operation of the first virtual item, displaying an item display interface corresponding to the virtual object, wherein the item display interface displays the first virtual item, and the item display interface is used to display the virtual items owned by the virtual object.

[0232] The item display interface can be any form of display interface; for example, the item display interface can be a virtual object's backpack display interface.

[0233] In this embodiment, the generated first virtual item is displayed in the item generation interface. The user can trigger a confirmation operation for the first virtual item in the item generation interface via the terminal. The confirmation operation for the first virtual item indicates that the user has confirmed that they have obtained the first virtual item, and then the first virtual item is issued to the virtual object. This allows the user to jump from the item generation interface to the item display interface, where the first virtual item is displayed so that the user can view the virtual items owned by the virtual object. This realizes a new way of issuing virtual items to virtual objects. It can issue self-made virtual items to the user-controlled virtual object based on the user-provided custom shape information, which can meet the different needs of users and ensure the interactive effect of the virtual game.

[0234] It should be noted that the above embodiment is illustrated by using user-provided custom shape information to generate virtual props. In another embodiment, user-provided custom color information is also used to generate virtual props. That is, the process of generating virtual props includes: in response to an information input operation, displaying user-provided custom shape information and custom color information in the prop generation interface; in response to a prop generation operation based on the custom shape information and custom color information, displaying a first virtual prop in the prop generation interface, wherein the similarity between the first virtual prop and the custom color information is greater than a third threshold.

[0235] The custom color information indicates the color of the virtual prop to be generated. This custom color information can be represented in any form, such as an image, like a texture of the virtual prop. The third threshold is any value, for example, 0.9.

[0236] In this embodiment of the application, during the process of creating a virtual prop, not only the shape of the virtual prop to be generated can be specified, but also the color of the virtual prop to be generated can be specified, so that a first virtual prop matching the custom color information and custom shape information provided by the user can be generated, so that the first virtual object contains color, which can ensure the display effect of the first virtual prop.

[0237] The solution provided in this application embodiment allows users to input custom shape information in the prop generation interface, which is then displayed in the prop generation interface. This triggers a prop generation operation based on the custom shape information, and the prop generation interface displays a first virtual prop generated according to the custom shape information and sufficiently similar to it. This achieves a solution for creating custom virtual props, enabling each user to generate virtual props according to their own custom shape information. This satisfies the needs of different users, ensures the flexibility of virtual prop generation, and requires only inputting custom shape information in the prop generation interface. This reduces the requirements for creating virtual props, lowers the barrier to entry, and ensures the efficiency of virtual prop generation.

[0238] It should be noted that the above Figure 6 The illustrated embodiment is based on the example of triggering the virtual item creation process during a virtual game. In another embodiment, the virtual item creation process can be applied to game development scenarios. That is, the first virtual item is generated in the manner described above by displaying an item generation interface on the terminal. When the generated first virtual item is displayed in the item generation interface, the first virtual item is stored in response to the save operation of the first virtual item.

[0239] In this embodiment of the application, developers can generate virtual items according to the above-described virtual item self-made process during game development, and store the generated virtual items so that they can be applied to the developed game later. This eliminates the need for developers to design virtual items using professional design software, reduces the requirements for developers in developing virtual items, improves the generation efficiency of virtual items, and thus improves the game development efficiency.

[0240] It should be noted that the various optional solutions shown in the above embodiments can be combined arbitrarily. Based on the embodiments shown above, this application also provides a flowchart of an item generation method, wherein the terminal has an application installed by a server, and the terminal interacts with the server through the application to implement the item generation method, such as... Figure 7 As shown, the method includes:

[0241] Step 1: The terminal displays the item generation interface through the application, which shows multiple input method options.

[0242] In this embodiment, custom shape information can be input into the prop generation interface using any of a variety of information input methods. Different input method options are used to trigger different information input methods. For example, the multiple input method options in the prop generation interface include an image upload option and a drawing option. The image upload option is used to input an image into the prop generation interface via image upload, using the input image as the custom shape information; the drawing option is used to input a drawing trajectory into the prop generation interface via drawing upload, using the input drawing trajectory as the custom shape information.

[0243] like Figure 8 As shown, the prop generation interface includes an information input area 801, a preview area 802, an image upload method option 803, a drawing method option 804, a redraw option 805, and a generation option 806. The information input area 801 is used to input and display custom shape information; the preview area 802 is used to display the prop preview effect corresponding to the custom shape information, or to display the prop silhouette of the selected prop type; the preview area 802 is empty by default. The redraw option 805 clears the custom shape information already displayed in the information input area 801, allowing for re-entry of custom shape information in the information input area 801; the generation option 806 triggers the prop generation operation based on the custom shape information already displayed in the information input area 801. The preview area 802 displays multiple display style options 807, which are used to adjust the display style of the prop preview effect, such as adjusting the color or texture of the prop preview effect. Different display style options 807 correspond to different display styles. For example, multiple display style options 807 include industrial style options, wasteland style options, technological style options, or post-apocalyptic style options.

[0244] Optionally, the information input area displays an item type option, which in turn displays a type identifier for the currently selected item type.

[0245] In this embodiment, in the information input area, any item type can be selected via the item type option, and the silhouette of the selected item type will be displayed in both the information input area and the preview area. The size of the item silhouette can be any size, for example, within the range of 500*350 pixels.

[0246] like Figure 9As shown, when no type identifier is displayed, it indicates that no item type is currently selected, and the item silhouette is not displayed in the information input area 901 and the preview area 902. In response to the trigger operation of the item type option 903, multiple type identifiers 904 are displayed in the information input area. In response to the click operation of any type identifier 904 (such as type 1), the multiple type identifiers 904 are de-displayed, the clicked type identifier 904 (such as type 1) is displayed in the item type option 903, and the item silhouette corresponding to the clicked type identifier 904 is displayed in the information input area 901 and the preview area 902. That is, the item silhouette 905 corresponding to type 1 is displayed in the information input area 901 and the preview area 902 to indicate the outline of the virtual item of type 1. Furthermore, by triggering the item type option 903 as described above, the selected item type can be switched. The item type option 903 will then display the switched type identifier 904 (e.g., type 2). In the information input area 901 and the preview area 902, the item silhouette 905 corresponding to type 1 will be switched to the item silhouette corresponding to type 2 to indicate the outline of the virtual item of type 2.

[0247] In this embodiment, based on the image upload method option and drawing method option in the prop generation interface, different custom shape information input processes can be triggered to generate virtual props. The process of generating virtual props by image upload method is as follows: steps 2-5; the process of generating virtual props by drawing method is as follows: steps 6-10.

[0248] Step 2: When the image upload method option is selected, the terminal displays the upload option in the information input area. When the upload option is triggered, the terminal displays the images in its image library and the confirmation option in the item generation interface. When any image is selected, when the confirmation option is triggered, the image and the preview option are displayed in the information input area.

[0249] In this embodiment of the application, only one image can be uploaded at a time in the information input area, and the data volume of the image cannot exceed a threshold, for example, the threshold is 10M.

[0250] like Figure 10 As shown, when image upload method option 1001 is selected, upload option 1003 is displayed in information input area 1002. Clicking upload option 1003 displays the images contained in the terminal's image library and confirmation option 1004. When image 3 is selected and confirmation option 1004 is clicked, image 3 and preview option 1005 are displayed in information input area 1002.

[0251] Step 3: In response to the trigger operation of the preview option, the terminal sends the image to the server; the server generates the corresponding prop preview effect based on the image and sends the prop preview effect to the terminal; the terminal receives the prop preview effect sent by the server and displays the prop preview effect corresponding to the image in the preview area; in response to the trigger operation of any display style option in the preview area, the terminal displays the prop preview effect corresponding to the image in the preview area according to the style corresponding to the display style option.

[0252] like Figure 11 As shown, the selected image 3 and preview option 1102 are displayed in the information input area 1101. Clicking the preview option 1102 will display the prop preview effect 1104 corresponding to image 3 in the preview area 1103. Clicking any display style option 1105, such as clicking "Style 1", will display the prop preview effect corresponding to image 3 in "Style 1" in the preview area 1103.

[0253] Step 4: In response to the trigger operation of the redraw option, the terminal cancels the display of image and preview options in the information input area, cancels the display of prop preview effect in the preview area, and displays the prop silhouette of the currently selected prop type in both the information input area and the preview area.

[0254] Step 5: In response to the trigger operation of the generation option, the terminal sends the image to the server and plays the item generation animation on the item generation interface; the server generates a virtual item based on the image and sends the virtual item to the terminal; the terminal receives the virtual item sent by the server, and when the item generation animation ends, displays the generated virtual item and a confirmation option on the item generation interface. In response to the trigger operation of the confirmation option, the item generation interface is displayed again according to Step 1 above.

[0255] In this embodiment of the application, if the user is satisfied with the preview effect of the prop, he / she can click the generate option, and the server will generate the virtual prop and return it to the terminal. The terminal will then play the generation animation of the virtual prop, so that the user can finally obtain the virtual prop.

[0256] For example, the item generation animation played in the item generation interface, such as... Figure 12 As shown, the item generation animation indicates that a virtual item is being generated and displays a countdown. When the countdown ends, it means the item generation animation has finished playing, and the generated virtual item and confirmation options are displayed. The displayed virtual item and confirmation options are as follows: Figure 13 As shown.

[0257] It should be noted that this embodiment of the application is described using the example of triggering the confirmation option and displaying the item generation interface again according to step 1 above. In another embodiment, in step 1, the item generation interface is displayed when the target skill of the virtual object in the game interface or the target item owned by the virtual object is invoked. In response to the triggering of the confirmation option, the game interface is displayed and the virtual object in the game interface is equipped with the virtual item; or, in response to the triggering of the confirmation option, the item display interface corresponding to the virtual object is displayed.

[0258] It should be noted that the execution order of steps 3, 4, and 5 in this embodiment is not limited. For example, after executing step 2, step 3 can be executed first, step 4 can be executed first, or step 5 can be executed first. In another embodiment, the item preview effect is represented by a virtual item. If step 5 is executed after step 3 has been executed, the server does not need to generate a virtual item according to step 5. The server can directly send the previously generated virtual item to the terminal, or the terminal can stop sending images to the server and directly display the virtual item corresponding to the item preview effect as the final generated virtual item in the item generation interface. However, the way the terminal displays the item preview effect is different from the way the virtual item corresponding to the item preview effect is displayed as the final generated virtual item, so that the user can distinguish whether the currently displayed item preview effect is the item preview effect or the generated virtual item.

[0259] Step 6: When the drawing mode option is selected, the terminal responds to the drawing operation triggered in the information input area and displays the drawing trajectory corresponding to the drawing operation in the information input area.

[0260] In this embodiment, the prop silhouette is used to provide a drawing reference during the user's drawing process. The closer the drawing trajectory is to the prop silhouette, the better the display effect of the generated virtual prop. Conversely, if the drawing trajectory differs too much from the prop silhouette, the display effect of the generated virtual prop will be poor. The drawing trajectory is not limited by the amount of data, so that the user can provide as much shape detail as possible.

[0261] It should be noted that, in this embodiment of the application, any input method can be switched through the image upload method option and the drawing method option in the prop display interface. For example, when the image upload method option is selected, clicking the drawing method option will switch to the drawing method to input custom shape information; or, when the drawing method option is selected, clicking the image upload method option will switch to the drawing method to input custom shape information.

[0262] For example, when the drawing method option is selected, the item generation interface looks like this: Figure 14As shown, the information input area 1401 and the preview area 1402 display the silhouette 1403 of the currently selected item type.

[0263] Step 7: When the real-time preview function is enabled, during the drawing process, the terminal acquires an image containing the current drawing trajectory in real time and sends the image containing the current drawing trajectory to the server; the server generates the corresponding prop preview effect based on the image containing the current drawing trajectory and sends the prop preview effect to the terminal; the terminal receives the prop preview effect sent by the server and displays the prop preview effect corresponding to the drawing trajectory in real time in the preview area, and the prop preview effect changes as the drawing trajectory changes.

[0264] In this embodiment of the application, when the real-time preview function is enabled, each drawing trajectory corresponding to the drawing operation will have a real-time impact on the appearance of the virtual prop, and the changes in the prop preview effect will be displayed in real-time within the preview area.

[0265] Step 8: Without real-time preview enabled, the terminal, in response to a preview operation on the drawing trajectory, sends an image containing the current drawing trajectory to the server. The server generates a corresponding item preview effect based on the image containing the current drawing trajectory and sends the item preview effect to the terminal. The terminal receives the item preview effect sent by the server and displays the item preview effect corresponding to the drawing trajectory in the preview area. In response to a trigger operation on any display style option in the preview area, the item preview effect is displayed in the preview area according to the style corresponding to that display style option.

[0266] In this embodiment, without enabling the real-time preview function, after drawing, the preview option allows users to view the prop preview effect corresponding to the drawing trajectory. This eliminates the need for real-time calculation of the prop preview effect, saving computational resources. Furthermore, the data size of the prop preview effect is related to the level of detail of the shape described by the custom shape information, and the data size of the prop preview effect is between 5M and 10M.

[0267] like Figure 15 As shown, the information input area 1501 displays real-time preview options 1502 and preview options 1503. The real-time preview options enable the real-time preview function and display the preview effect of the prop corresponding to the drawing trajectory in the information input area within the preview area. Real-time preview option 1502 is off by default. When the user finishes drawing, clicking preview option 1503 displays the preview effect 1506 of the prop corresponding to the drawing trajectory 1505 in the preview area 1504. For example... Figure 16 As shown, click the real-time preview option 1601 to enable the real-time preview function. During the drawing process, the preview effect of the prop corresponding to the current drawing trajectory will be displayed in real time in the preview area 1602.

[0268] Step 9: In response to the triggering operation of the redraw option, the terminal cancels the display of the drawing trajectory in the information input area, cancels the display of the prop preview effect corresponding to the drawing trajectory in the preview area, and displays the prop silhouette of the currently selected prop type in the information input area and the preview area.

[0269] Step 10: In response to the trigger operation of the generation option, the terminal sends the image to the server and plays the item generation animation on the item generation interface; the server generates a virtual item based on the image and sends the virtual item to the terminal; the terminal receives the virtual item sent by the server, and when the item generation animation ends, displays the generated virtual item and a confirmation option on the item generation interface. In response to the trigger operation of the confirmation option, the item generation interface is displayed again according to Step 1 above.

[0270] It should be noted that this embodiment of the application is described using the example of triggering the confirmation option and displaying the item generation interface again according to step 1 above. In another embodiment, in step 1, the item generation interface is displayed when the target skill of the virtual object in the game interface or the target item owned by the virtual object is invoked. In response to the triggering of the confirmation option, the game interface is displayed and the virtual object in the game interface is equipped with the virtual item; or, in response to the triggering of the confirmation option, the item display interface corresponding to the virtual object is displayed.

[0271] In this embodiment, the server can utilize a prop generation model and, with the aid of AI, interpret user-drawn trajectories or uploaded images, generating virtual props using the interpreted information. This simplifies the virtual prop generation process, providing users with a creative function that allows them to generate virtual props without requiring artistic skills. For players, this allows them to experience the creation process of virtual props in the game and acquire new virtual props during virtual matches, then control virtual objects to interact with other virtual objects in the virtual scene using these new props. This approach lowers the barrier to entry for players to participate in game creation, simplifies the design process, enhances player engagement, improves user experience, and enriches the game's content. Furthermore, for game developers, it not only provides an innovative design tool but also creates a more open and interactive game environment, significantly improving game development efficiency.

[0272] Figure 17 This is a schematic diagram of the structure of a prop generation device provided in an embodiment of this application, such as... Figure 17 As shown, the device includes:

[0273] Display module 1701 is used to display the item generation interface;

[0274] The display module 1701 is also used to respond to information input operations in the prop generation interface, and to display user-provided custom shape information in the prop generation interface, the custom shape information indicating the shape of the virtual prop to be generated;

[0275] The display module 1701 is also used to respond to the prop generation operation for custom shape information, and to display a first virtual prop in the prop generation interface, wherein the similarity between the first virtual prop and the custom shape information is greater than a first threshold.

[0276] In one possible implementation, the custom shape information includes a drawing trajectory; the display module 1701 is used to respond to the drawing operation in the prop generation interface and display the drawing trajectory corresponding to the drawing operation in the prop generation interface.

[0277] In another possible implementation, the display module 1701 is also used to display the item preview effect corresponding to the drawing trajectory in the item generation interface when the preview function is enabled, and the item preview effect changes as the drawing trajectory changes.

[0278] In another possible implementation, the custom shape information includes an image; the display module 1701 is used to display multiple candidate images in the prop generation interface in response to an image upload operation in the prop generation interface; and to display an image in the prop generation interface in response to a confirmation operation of an image among the multiple candidate images.

[0279] In another possible implementation, the display module 1701 is also used to display the prop preview effect corresponding to the custom shape information in the prop generation interface in response to the preview operation for the custom shape information.

[0280] In another possible implementation, the display module 1701 is also used to respond to the type input operation in the prop generation interface, and to display the prop silhouette of the first prop type in the prop generation interface. The first prop type is the prop type corresponding to the type input operation, and the prop silhouette indicates the outline of the virtual prop to be generated.

[0281] The display module 1701 is also used to respond to the item generation operation and display the first virtual item of the first item type in the item generation interface.

[0282] In another possible implementation, the display module 1701 is also configured to display the silhouette of the second item type in the item generation interface in response to the operation of switching the first item type to the second item type.

[0283] In another possible implementation, the display module 1701 is used to respond to the prop generation operation and, if the matching degree between the custom shape information and the first prop type is greater than a second threshold, display the first virtual prop of the first prop type in the prop generation interface, where the matching degree indicates the probability that the custom shape information belongs to the first prop type.

[0284] In another possible implementation, the display module 1701 is used to send custom shape information and a type identifier of the first item type to the server in response to the item generation operation; the server is used to adjust the virtual item template corresponding to the type identifier based on the custom shape information to obtain the first virtual item and return the first virtual item; receive the first virtual item returned by the server; and display the first virtual item in the item generation interface.

[0285] In another possible implementation, the first virtual prop belongs to the first prop type. The display module 1701 is also used to respond to the operation of switching the first prop type to the second prop type. In the prop generation interface, the first virtual prop is switched to be displayed as the second virtual prop. The second virtual prop belongs to the second prop type. The similarity between the second virtual prop and the custom shape information is greater than the first threshold.

[0286] In another possible implementation, the display module 1701 is used to respond to the item generation operation by playing an item generation animation in the item generation interface, the item generation animation being used to represent the dynamic process of generating the first virtual item.

[0287] In another possible implementation, the display module 1701 is also used to display the virtual object equipped with the first virtual item in the game interface in response to a confirmation operation of the first virtual item.

[0288] In another possible implementation, the display module 1701 is also used to display the game interface, in which virtual objects are displayed;

[0289] Display module 1701 is used to display an item generation interface in response to a release operation of a target skill of a virtual object, or in response to a use operation of a target item owned by a virtual object. The target skill is a skill that creates virtual items for the virtual object, and the target item is used to create virtual items.

[0290] In another possible implementation, the display module 1701 is also used to display the item display interface corresponding to the virtual object in response to the confirmation operation of the first virtual item. The item display interface displays the first virtual item and is used to display the virtual items owned by the virtual object.

[0291] In another possible implementation, the display module 1701 is also configured to display the adjusted first virtual prop in response to an adjustment operation on the first virtual prop.

[0292] In another possible implementation, the display module 1701 is used to display multiple prop preview effects in the prop generation interface in response to a prop generation operation for custom shape information; and to display a first virtual prop in the prop generation interface in response to a confirmation operation for the target preview effect, wherein the target preview effect is any one of the multiple prop preview effects and the first virtual prop is the virtual prop represented by the target preview effect.

[0293] In another possible implementation, the display module 1701 is used to display user-provided custom shape information and custom color information in the prop generation interface in response to information input operation;

[0294] Display module 1701 is used to respond to prop generation operations based on custom shape information and custom color information, and to display a first virtual prop in the prop generation interface, wherein the similarity between the first virtual prop and the custom color information is greater than a third threshold.

[0295] It should be noted that the prop generation device provided in the above embodiments is only an example of the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the computer device can be divided into different functional modules to complete all or part of the functions described above. In addition, the prop generation device and the prop generation method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0296] This application also provides a computer device, which includes a processor and a memory. The memory stores at least one computer program, which is loaded and executed by the processor to implement the operations performed by the prop generation method of the above embodiments.

[0297] Optionally, the computer device is provided as a terminal. Figure 18 This illustration shows a structural block diagram of a terminal 1800 provided in an exemplary embodiment of this application. The terminal 1800 may be a smartphone, tablet computer, laptop computer, desktop computer, smart speaker, smartwatch, smart voice interaction device, smart home appliance, or in-vehicle terminal, etc. The terminal 1800 may also be referred to as user equipment, portable terminal, laptop terminal, desktop terminal, or other names.

[0298] Terminal 1800 includes a processor 1801 and a memory 1802.

[0299] Processor 1801 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 1801 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 1801 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 1801 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the screen. In some embodiments, processor 1801 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.

[0300] The memory 1802 may include one or more computer-readable storage media, which may be non-transitory. The memory 1802 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1802 are used to store at least one computer program, which is executed by the processor 1801 to implement the prop generation method provided in the method embodiments of this application.

[0301] In some embodiments, the terminal 1800 may also optionally include a peripheral device interface 1803 and at least one peripheral device. The processor 1801, memory 1802, and peripheral device interface 1803 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 1803 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of the following: a radio frequency circuit 1804, a display screen 1805, a camera assembly 1806, an audio circuit 1807, and a power supply 1808.

[0302] Peripheral device interface 1803 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 1801 and memory 1802. In some embodiments, processor 1801, memory 1802 and peripheral device interface 1803 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 1801, memory 1802 and peripheral device interface 1803 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.

[0303] The radio frequency (RF) circuit 1804 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 1804 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 1804 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. Optionally, the RF circuit 1804 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 1804 can communicate with other terminals through at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 1804 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.

[0304] Display screen 1805 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. When display screen 1805 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 1801 for processing. In this case, display screen 1805 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 1805, disposed on the front panel of terminal 1800; in other embodiments, there may be at least two display screens, disposed on different surfaces of terminal 1800 or in a folded design; in still other embodiments, display screen 1805 may be a flexible display screen, disposed on a curved or folded surface of terminal 1800. Furthermore, display screen 1805 may also be configured as a non-rectangular, irregular shape, i.e., a non-rectangular screen. The display screen 1805 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0305] The camera assembly 1806 is used to acquire images or videos. Optionally, the camera assembly 1806 includes a front-facing camera and a rear-facing camera. The front-facing camera is disposed on the front panel of the terminal, and the rear-facing camera is disposed on the back of the terminal. In some embodiments, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, a wide-angle camera, and a telephoto camera, to achieve background blurring by fusion of the main camera and the depth-sensing camera, panoramic shooting by fusion of the main camera and the wide-angle camera, VR (Virtual Reality) shooting, or other fusion shooting functions. In some embodiments, the camera assembly 1806 may also include a flash. The flash may be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cool light flash, which can be used for light compensation at different color temperatures.

[0306] The audio circuit 1807 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting them into electrical signals that are input to the processor 1801 for processing, or to the radio frequency circuit 1804 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each positioned at a different location on the terminal 1800. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert electrical signals from the processor 1801 or the radio frequency circuit 1804 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 1807 may also include a headphone jack.

[0307] Power supply 1808 is used to power the various components in terminal 1800. Power supply 1808 can be AC ​​power, DC power, a disposable battery, or a rechargeable battery. When power supply 1808 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, and a wireless rechargeable battery is a battery that is charged via a wireless coil. The rechargeable battery can also be used to support fast charging technology.

[0308] Those skilled in the art will understand that Figure 18 The structure shown does not constitute a limitation on terminal 1800 and may include more or fewer components than shown, or combine certain components, or use different component arrangements.

[0309] Optionally, the computer equipment is provided as a server. Figure 19 This is a schematic diagram of a server structure provided in an embodiment of this application. The server 1900 can vary significantly due to different configurations or performance. It may include one or more Central Processing Units (CPUs) 1901 and one or more memories 1902. The memories 1902 store at least one computer program, which is loaded and executed by the processor 1901 to implement the methods provided in the above-described method embodiments. Of course, the server may also have wired or wireless network interfaces, a keyboard, and input / output interfaces for input and output. The server may also include other components for implementing device functions, which will not be elaborated upon here.

[0310] This application also provides a computer-readable storage medium storing at least one computer program, which is loaded and executed by a processor to implement the operations performed by the prop generation method of the above embodiments.

[0311] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the operations performed by the prop generation method of the above embodiments.

[0312] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.

[0313] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present application should be included within the protection scope of the present application.

Claims

1. A method for generating props, characterized in that, The method includes: Display the item generation interface; In response to the information input operation in the prop generation interface, the user-provided custom shape information is displayed in the prop generation interface, and the custom shape information indicates the shape of the virtual prop to be generated; In response to the prop generation operation based on the custom shape information, a first virtual prop is displayed in the prop generation interface, wherein the similarity between the first virtual prop and the custom shape information is greater than a first threshold.

2. The method according to claim 1, characterized in that, The custom shape information includes the drawing trajectory; The response to the information input operation in the prop generation interface includes displaying user-provided custom shape information in the prop generation interface, including: In response to a drawing operation in the item generation interface, the drawing trajectory corresponding to the drawing operation is displayed in the item generation interface.

3. The method according to claim 2, characterized in that, The method further includes: With the preview function enabled, the item preview effect corresponding to the drawing trajectory is displayed in the item generation interface, and the item preview effect changes as the drawing trajectory changes.

4. The method according to claim 1, characterized in that, The custom shape information includes an image; the response to the information input operation in the prop generation interface, displaying the user-provided custom shape information in the prop generation interface, includes: In response to the image upload operation in the prop generation interface, multiple candidate images are displayed in the prop generation interface; In response to the confirmation operation of the image among the plurality of candidate images, the image is displayed in the prop generation interface.

5. The method according to claim 1, characterized in that, In response to the prop generation operation for the custom shape information, before displaying the first virtual prop in the prop generation interface, the method further includes: In response to the preview operation for the custom shape information, the preview effect of the prop corresponding to the custom shape information is displayed in the prop generation interface.

6. The method according to claim 1, characterized in that, In response to an information input operation in the prop generation interface, before displaying user-provided custom shape information in the prop generation interface, the method further includes: In response to the type input operation in the item generation interface, a silhouette of a first item type is displayed in the item generation interface. The first item type is the item type corresponding to the type input operation, and the item silhouette indicates the outline of the virtual item to be generated. In response to the prop generation operation based on the custom shape information, the first virtual prop is displayed in the prop generation interface, including: In response to the item generation operation, the first virtual item of the first item type is displayed in the item generation interface.

7. The method according to claim 6, characterized in that, In response to the type input operation in the item generation interface, after displaying the silhouette of an item of the first item type in the item generation interface, the method further includes: In response to the operation of switching the first item type to the second item type, the item silhouette of the second item type is displayed in the item generation interface.

8. The method according to claim 6, characterized in that, In response to the item generation operation, the first virtual item of the first item type is displayed in the item generation interface, including: In response to the prop generation operation, if the matching degree between the custom shape information and the first prop type is greater than a second threshold, the first virtual prop of the first prop type is displayed in the prop generation interface, wherein the matching degree indicates the probability that the custom shape information belongs to the first prop type.

9. The method according to claim 6, characterized in that, In response to the item generation operation, the first virtual item of the first item type is displayed in the item generation interface, including: In response to the prop generation operation, the server sends the custom shape information and the type identifier of the first prop type to the server; the server adjusts the virtual prop template corresponding to the type identifier based on the custom shape information to obtain the first virtual prop and returns the first virtual prop. Receive the first virtual item returned by the server; The first virtual item is displayed in the item generation interface.

10. The method according to claim 1, characterized in that, The first virtual prop belongs to a first prop type. In response to the prop generation operation based on the custom shape information, after displaying the first virtual prop in the prop generation interface, the method further includes: In response to the operation of switching the first item type to the second item type, in the item generation interface, the first virtual item is switched to be displayed as the second virtual item, the second virtual item belongs to the second item type, and the similarity between the second virtual item and the custom shape information is greater than the first threshold.

11. The method according to claim 1, characterized in that, In response to the prop generation operation based on the custom shape information, after displaying the first virtual prop in the prop generation interface, the method further includes: In response to the confirmation operation of the first virtual item, the virtual object equipped with the first virtual item is displayed in the game interface.

12. The method according to claim 11, characterized in that, Before displaying the item generation interface, the method further includes: The game interface is displayed, and the virtual object is displayed in the game interface; The display prop generation interface includes: In response to a release operation on a target skill of the virtual object, or in response to a use operation on a target item owned by the virtual object, the item generation interface is displayed, wherein the target skill is a skill for the virtual object to create virtual items, and the target item is used to create virtual items.

13. The method according to claim 1, characterized in that, In response to the prop generation operation based on the custom shape information, after displaying the first virtual prop in the prop generation interface, the method further includes: In response to the confirmation operation of the first virtual item, the item display interface corresponding to the virtual object is displayed, the item display interface displays the first virtual item, and the item display interface is used to display the virtual items owned by the virtual object.

14. The method according to claim 1, characterized in that, In response to the prop generation operation based on the custom shape information, after displaying the first virtual prop in the prop generation interface, the method further includes: In response to the adjustment operation on the first virtual item, the adjusted first virtual item is displayed.

15. The method according to claim 1, characterized in that, In response to the prop generation operation based on the custom shape information, the first virtual prop is displayed in the prop generation interface, including: In response to the prop generation operation based on the custom shape information, multiple prop preview effects are displayed in the prop generation interface; In response to the confirmation operation of the target preview effect, the first virtual prop is displayed in the prop generation interface, the target preview effect is any one of the plurality of prop preview effects, and the first virtual prop is the virtual prop represented by the target preview effect.

16. The method according to claim 1, characterized in that, The response to the information input operation in the prop generation interface includes displaying user-provided custom shape information in the prop generation interface, including: In response to the information input operation, the user-provided custom shape information and custom color information are displayed in the prop generation interface; In response to the prop generation operation based on the custom shape information, the first virtual prop is displayed in the prop generation interface, including: In response to the prop generation operation based on the custom shape information and the custom color information, the first virtual prop is displayed in the prop generation interface, wherein the similarity between the first virtual prop and the custom color information is greater than a third threshold.

17. A prop generation device, characterized in that, The device includes: The display module is used to display the item generation interface; The display module is also used to respond to information input operations in the prop generation interface, and to display user-provided custom shape information in the prop generation interface, wherein the custom shape information indicates the shape of the virtual prop to be generated; The display module is further configured to respond to a prop generation operation for the custom shape information by displaying a first virtual prop in the prop generation interface, wherein the similarity between the first virtual prop and the custom shape information is greater than a first threshold.

18. A computer device, characterized in that, The computer device includes a processor and a memory, the memory storing at least one computer program, which is loaded and executed by the processor to perform the operations performed by the prop generation method as described in any one of claims 1 to 16.

19. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one computer program, which is loaded and executed by a processor to perform the operations performed by the prop generation method as described in any one of claims 1 to 16.

20. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it performs the operations of the prop generation method as described in any one of claims 1 to 16.