Virtual object editing method and device, equipment, storage medium and program product

By displaying the preview effect of the map elements of the virtual object in a virtual scene and directly adding decorations in response to the sliding operation, the problem of low editing of virtual objects is solved, and efficient human-computer interaction and editing fluency is achieved.

CN120242483APending Publication Date: 2025-07-04TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410018400.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-02
Publication Date
2025-07-04

AI Technical Summary

Technical Problem

In the prior art, virtual object editing methods cannot directly preview the editing effect in the virtual scene, resulting in low editing efficiency and human-computer interaction efficiency.

Method used

By receiving the sliding operation of the contact-transmitting operation without interruption triggering the operation, the sliding point is located in the option area corresponding to the first map option in the first map list, and a preview effect of adding the first map element in the virtual scene is displayed in the virtual scene, and in response to the end of the sliding operation, a first virtual object decorated by the first map element is added in the virtual scene.

Benefits of technology

One-step operation is realized, which improves the smoothness and efficiency of virtual object editing, avoids the cumbersomeness of multi-step operation, displays the preview effect in real time, and improves human-computer interaction efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120242483A_ABST
    Figure CN120242483A_ABST
Patent Text Reader

Abstract

The invention discloses a virtual object editing method and device, equipment, a storage medium and a program product, and relates to the technical field of virtual scenes. The method comprises the steps that an editing interface corresponding to a virtual scene is displayed, the editing interface comprises candidate elements corresponding to multiple candidate virtual objects respectively, a first element in the multiple candidate elements corresponds to a first virtual object, and the first element is used for being selected and triggered to add the first virtual object into the virtual scene; in response to the received triggering operation on the first element, displaying a first chartlet list; displaying a preview effect of adding a first map element to the first virtual object in the virtual scene in response to a sliding operation which is received under the condition of uninterrupted triggering operation and is linked with the triggering operation, and a sliding point of the sliding operation is located in an option area corresponding to a first map option in the first map list; and in response to the ending of the sliding operation, adding the first virtual object decorated by the first chartlet element in the virtual scene, thereby improving the man-machine interaction efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of virtual scenarios, and particularly to a virtual object editing method, apparatus, device, storage medium, and program product. Background Art

[0002] In recent years, user-generated content (UGC) map editors have gradually been ported to and developed for mobile games to meet the playing needs of players. However, map editing involves a large number of items, and the items have various attributes such as textures and shapes. Traditional list options and click-based interactions make the interface interaction controls numerous and the operations complex.

[0003] In related technologies, by entering the editor system, a list of virtual objects is displayed. After clicking to select a virtual object, a list of categories of decorative elements corresponding to the virtual object is displayed. After clicking to select a category, a virtual object decorated with decorative elements of that category is displayed. By moving the target virtual object into the virtual scene, the target virtual object decorated with the target decorative element is added to the virtual scene.

[0004] However, the above method requires adding the virtual object to the virtual scene through an addition operation to view the effect, and cannot directly preview the editing effect of the virtual object in the virtual scene, resulting in low editing efficiency and low human-computer interaction efficiency. Summary of the Invention

[0005] Embodiments of this application provide a virtual object editing method, apparatus, device, storage medium, and program product, which can improve the human-computer interaction efficiency. The technical solutions are as follows.

[0006] On the one hand, a virtual object editing method is provided, and the method includes:

[0007] Display an editing interface corresponding to the virtual scene, where the editing interface includes candidate elements corresponding to a plurality of candidate virtual objects. Among them, a first element among the plurality of candidate elements corresponds to a first virtual object, and the first element is used to be selected to trigger adding the first virtual object to the virtual scene;

[0008] In response to receiving a trigger operation on the first element, display a first texture list. The trigger operation is a continuous operation. The first texture list includes a plurality of candidate texture options, and the plurality of candidate texture options are used to add texture decorative elements to the first virtual object. Among the plurality of candidate texture options, there is a first texture option, and the first texture option corresponds to a first texture element;

[0009] In response to receiving a sliding operation that connects to the triggering operation without interrupting the triggering operation, and the sliding point of the sliding operation is located in the option area corresponding to the first sticker option in the first sticker list, display a preview effect of adding the first sticker element to the first virtual object in the virtual scene;

[0010] In response to the end of the sliding operation, add the first virtual object decorated with the first sticker element to the virtual scene.

[0011] On the other hand, a virtual object editing device is provided, and the device includes:

[0012] A display module for displaying an editing interface corresponding to a virtual scene, where the editing interface includes candidate elements corresponding to a plurality of candidate virtual objects respectively. Among them, the first element among the plurality of candidate elements corresponds to a first virtual object, and the first element is used to be selected and triggered to add the first virtual object to the virtual scene;

[0013] The display module is further configured to, in response to receiving a triggering operation on the first element, display a first sticker list. The triggering operation is a continuous operation. The first sticker list includes a plurality of candidate sticker options, and the plurality of candidate sticker options are used to add sticker decoration elements to the first virtual object. The plurality of candidate sticker options include a first sticker option, and the first sticker option corresponds to a first sticker element;

[0014] The display module is further configured to, in response to receiving a sliding operation that connects to the triggering operation without interrupting the triggering operation, and the sliding point of the sliding operation is located in the option area corresponding to the first sticker option in the first sticker list, display a preview effect of adding the first sticker element to the first virtual object in the virtual scene;

[0015] The display module is further configured to, in response to the end of the sliding operation, add the first virtual object decorated with the first sticker element to the virtual scene.

[0016] On the other hand, a computer device is provided, and the computer device includes a processor and a memory. At least one instruction, at least one program, a code set or an instruction set is stored in the memory, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the virtual object editing method according to any one of the above embodiments of the present application.

[0017] On the other hand, a computer-readable storage medium is provided. At least one instruction, at least one program, a code set or an instruction set is stored in the storage medium. The at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement the virtual object editing method as described in any one of the embodiments of the present application above.

[0018] On the other hand, a computer program product or a computer program is provided. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the virtual object editing method as described in any one of the above embodiments.

[0019] The beneficial effects brought by the technical solutions provided in the embodiments of the present application at least include:

[0020] By responding to a sliding operation of a contact trigger operation received during an uninterrupted trigger operation, and the sliding point of the sliding operation is located in the option area corresponding to the first map option in the first map list, a preview effect of adding a first map element to a first virtual object is displayed in a virtual scene. In response to the end of the sliding operation, a first virtual object decorated with the first map element is added in the virtual scene. Based on a one-step operation, the process of selecting the first virtual object, previewing the map effect, and adding the first virtual object is realized, which improves the operation fluency, avoids the cumbersome operations based on multi-step operations, and does not need to actually add the first virtual object in the virtual scene through an addition operation to display the effect of the first virtual object decorated with the first map element. Before actually adding the first virtual object, the corresponding preview effect can be displayed in real time according to the position area of the sliding point, which improves the editing efficiency of the virtual object and the human-computer interaction efficiency. Description of the Drawings

[0021] To more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained according to these drawings.

[0022] Figure 1 It is a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application;

[0023] Figure 2 It is a flowchart of a virtual object editing method provided by an exemplary embodiment of the present application;

[0024] Figure 3 It is a schematic diagram of an editing interface provided by an exemplary embodiment of the present application;

[0025] Figure 4 It is a schematic diagram of the first texture map list provided by an exemplary embodiment of the present application;

[0026] Figure 5 It is a schematic diagram of the preview effect provided by an exemplary embodiment of the present application;

[0027] Figure 6 It is a schematic diagram of adding a virtual object provided by an exemplary embodiment of the present application;

[0028] Figure 7 It is a flowchart of a preview effect display method based on a multi-level texture map list provided by an exemplary embodiment of the present application;

[0029] Figure 8 It is a flowchart of a method for adding a virtual object provided by an exemplary embodiment of the present application;

[0030] Figure 9 It is a flowchart of previewing a virtual object provided by an exemplary embodiment of the present application;

[0031] Figure 10 It is a flowchart of adding a virtual object provided by an exemplary embodiment of the present application;

[0032] Figure 11 It is a flowchart of editing a virtual object provided by an exemplary embodiment of the present application;

[0033] Figure 12 It is a structural block diagram of a virtual object editing device provided by an exemplary embodiment of the present application;

[0034] Figure 13 It is a structural block diagram of a module of a virtual object editing device provided by an exemplary embodiment of the present application;

[0035] Figure 14 It is a structural block diagram of a terminal provided by an exemplary embodiment of the present application. Detailed implementation manners

[0036] To make the objectives, technical solutions, and advantages of the present application clearer, the following will further describe the embodiments of the present application in detail with reference to the accompanying drawings.

[0037] It should be understood that although the terms first, second, etc. may be used in this disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. For example, without departing from the scope of this disclosure, the first parameter may also be referred to as the second parameter, and similarly, the second parameter may also be referred to as the first parameter. Depending on the context, the word "if" as used herein may be interpreted as "when" or "while" or "in response to determining".

[0038] In recent years, the UGC map editor has gradually been ported to and developed for mobile games to meet the playing needs of players. However, map editing involves a large number of items, and the items have various attributes such as textures and shapes. The traditional list options and click-based interactions make the interface interaction controls numerous and the operations complex. In related technologies, by entering the editor system, a list of virtual objects is displayed, a virtual object is clicked and selected, a list of decoration element categories corresponding to the virtual object is displayed, and after a category is clicked and selected, a virtual object decorated with the decoration elements in the category is displayed. By moving the target virtual object into the virtual scene, the target virtual object decorated with the target decoration elements is added to the virtual scene. However, the above method requires adding an operation to actually add the virtual object to the virtual scene to view the effect, and it is impossible to preview the editing effect of the virtual object in the virtual scene, resulting in low editing efficiency and low human-computer interaction efficiency.

[0039] In the virtual object editing method provided in the embodiments of the present application, in response to a sliding operation that receives a connection trigger operation under the condition of continuous trigger operations, and the sliding point of the sliding operation is located in the option area corresponding to the first texture option in the first texture list, a preview effect of adding the first texture element to the first virtual object is displayed in the virtual scene. In response to the end of the sliding operation, the first virtual object decorated with the first texture element is added to the virtual scene. Based on a one-step operation, the process of selecting the first virtual object, previewing the texture effect, and adding the first virtual object is realized, improving the operation fluency, avoiding the cumbersome operations based on multi-step operations, and without actually adding the first virtual object to the virtual scene through an adding operation to display the effect of the first virtual object decorated with the first texture element. Before actually adding the first virtual object, the corresponding preview effect can be displayed in real time according to the position area of the sliding point, improving the editing efficiency of the virtual object and the human-computer interaction efficiency.

[0040] First, the implementation environment of the present application is introduced. Please refer to Figure 1 , which shows a schematic diagram of the implementation environment provided by an exemplary embodiment of the present application. The implementation environment includes: a terminal 110, a server 120, and a communication network 130.

[0041] The target application is installed in the terminal 110. The target application is used to provide a virtual object editing function based on a virtual scene. The server 120 is used to provide background services for the target application. The terminal 110 and the server 120 perform data transmission through the communication network 130.

[0042] The target application can be any one of a virtual reality application, a 3D map program, a strategy game, a third-person shooting game (TPS), a first-person shooting game (FPS), a multiplayer online battle arena game (MOBA), a massively multiplayer online role-playing game (MMORPG), a multiplayer gunfight survival game, and a multiplayer survival competition game. The embodiments of the present application do not limit this.

[0043] The virtual scene is a scene displayed (or provided) when the client of the target application (such as a game application) runs on the terminal device. The virtual scene refers to an environment created for virtual characters to carry out activities (such as game competitions), such as a virtual house, a virtual island, a virtual map, etc. Optionally, the virtual scene is an environment displayed (or provided) when the application runs on the terminal device. The virtual scene can be a simulated world of the real world, a semi-simulated and semi-fictional three-dimensional world, or a purely fictional three-dimensional world. The virtual scene can be any one of a two-dimensional virtual scene, a 2.5D virtual scene, and a three-dimensional virtual scene.

[0044] The above virtual characters refer to virtual characters, virtual vehicles, virtual items, etc. controlled by a user account in the target application. The present application does not limit this. Taking the target application as a game application as an example, the virtual character refers to a virtual character controlled by a user account in the game application. The virtual character can be in the form of a human, an animal, a cartoon, or other forms. The embodiments of the present application do not limit this. The virtual character can be displayed in three-dimensional form or two-dimensional form. The embodiments of the present application do not limit this. Exemplarily, according to different ways of controlling the virtual character, the virtual character can be divided into a virtual character controlled by a user and a virtual character controlled by a server. Among them, the virtual character controlled by a user is an object that can move in the virtual scene controlled by the client. The virtual character controlled by a server is a virtual character controlled by an automatic control algorithm or an artificial intelligence program on the client or the server. The virtual characters controlled by the server include movable objects and immovable objects in the virtual scene.

[0045] In some embodiments, the user runs a target application through the terminal 110 to edit virtual objects in a virtual scene. The virtual objects are various elements that appear in the virtual world and are used to constitute the entire virtual world. The virtual objects include plots of land, lakes, the sky, various virtual animals, various virtual plants, various virtual buildings, various virtual props, etc. The virtual character controlled by the player also belongs to one of the virtual elements.

[0046] The above terminal is optional. The terminal can be various forms of terminal devices such as a desktop computer, a laptop computer, a mobile phone, a tablet computer, an e-reader, a Moving Picture Experts Group Audio Layer III (MP3) player, a Moving Picture Experts Group Audio Layer IV (MP4) player, a smart TV, a smart vehicle, etc. The embodiments of the present application do not limit this.

[0047] It should be noted that the above server can be 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 security, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, Content Delivery Network (CDN), and big data and artificial intelligence platforms.

[0048] Among them, Cloud Technology refers to a hosting technology that unifies a series of resources such as hardware, software, and networks within a wide area network or a local area network to achieve data calculation, storage, processing, and sharing.

[0049] In some embodiments, the above server can also be implemented as a node in a blockchain system.

[0050] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data for analysis, stored data, displayed data, etc.), and signals involved in the present application are all authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data need to comply with the relevant laws, regulations, and standards in the relevant regions. For example, the operation data and account information involved in the present application are obtained under full authorization.

[0051] For further illustration, before collecting relevant data of the user (such as account information, historical operation data, real-time operation data, etc. involved in this application) and during the process of collecting relevant data of the user, a prompt interface, a pop-up window or voice prompt information can be displayed. The prompt interface, pop-up window or voice prompt information is used to prompt the user that their relevant data is being collected currently, so that this application only starts to execute the relevant steps of obtaining the user's relevant data after obtaining the confirmation operation issued by the user for the prompt interface or the pop-up window. Otherwise (that is, when the confirmation operation issued by the user for the prompt interface or the pop-up window is not obtained), the relevant steps of obtaining the user's relevant data are ended, that is, the relevant data of the user is not obtained. In other words, all user data collected by this application is collected with the consent and authorization of the user, and the collection, use and processing of relevant user data need to comply with relevant laws, regulations and standards in the relevant region.

[0052] Schematically, please refer to Figure 2 , which shows a flowchart of a virtual object editing method provided by an exemplary embodiment of this application. This method can be executed by a terminal, can also be executed by a server, or can be jointly executed by a terminal and a server at the same time. In this application embodiment, it is described by taking this method being executed by a terminal as an example. As Figure 2 shown, this method includes the following steps:

[0053] Step 210, display an editing interface corresponding to the virtual scene.

[0054] The editing interface includes candidate elements corresponding to multiple candidate virtual objects. Among them, the first element among the multiple candidate elements corresponds to the first virtual object, and the first element is used to be selected to trigger the addition of the first virtual object to the virtual scene.

[0055] In some embodiments, the editing interface is used to edit virtual objects in the virtual scene. Optionally, it includes but is not limited to adding virtual objects in the virtual scene, deleting virtual objects, and editing the color, shape, transparency, position, etc. of virtual objects.

[0056] Taking adding a virtual object in the virtual scene as an example, the candidate element is used to be selected to trigger the addition of the corresponding candidate virtual object to the virtual scene. The candidate virtual object is a virtual object that can be added to the virtual scene preset by the application program or configured by the user.

[0057] In some embodiments, by running the target application program, a virtual scene is displayed. The virtual scene can be a virtual scene within the range of the area where the terminal main control virtual object is located, or any virtual scene provided in the target application program. This application does not limit this.

[0058] In some embodiments, in response to receiving an editing operation, an editing interface corresponding to the virtual scene is displayed.

[0059] Schematically, please refer to Figure 3 , Figure 3 which is a schematic diagram of an editing interface provided by an exemplary embodiment of the present application. As Figure 3 shown, an editing interface 300 corresponding to the virtual scene is displayed. The editing interface 300 includes candidate elements corresponding to multiple candidate virtual objects. The first element 310 among the multiple candidate elements corresponds to a star-shaped virtual object, and the first element 310 is used to be selected to trigger adding the star-shaped virtual object to the virtual scene.

[0060] In some embodiments, in response to receiving a triggering operation on the first element among the multiple candidate elements, the first virtual object is added to the virtual scene.

[0061] Step 220, in response to receiving a triggering operation on the first element, a first texture map list is displayed.

[0062] Wherein, the triggering operation is a continuous operation. The first texture map list includes multiple candidate texture map options, and the multiple candidate texture map options are used to add texture map decoration elements to the first virtual object. The multiple candidate texture map options include a first texture map option, and the first texture map option corresponds to a first texture map element.

[0063] In some embodiments, the first virtual object corresponds to one or at least two texture map elements. When the first virtual object corresponds to one texture map element, in response to receiving a triggering operation on the first element, the first virtual object decorated by the texture map element is added to the virtual scene; when the first virtual object corresponds to at least two texture map elements, in response to receiving a triggering operation on the first element, the first texture map list is displayed.

[0064] The first texture map element is used to indicate decoration elements such as the color, transparency, and filling pattern of the first virtual object. Schematically, please refer to Figure 4 , Figure 4 which is a schematic diagram of the first texture map list provided by an exemplary embodiment of the present application. As Figure 4 shown, in response to receiving a triggering operation on the first element 410, the first texture map list 420 is displayed. The first texture map list 420 includes multiple candidate texture map options, and the multiple candidate texture map options include a first texture map option 421, and the first texture map option 421 corresponds to a star-shaped filling decoration element.

[0065] In some embodiments, the first texture map list includes multiple hierarchical texture map lists, and there is a display priority relationship between the multiple hierarchical texture map lists. The display priority is used to indicate the addition order of the texture decoration elements corresponding to the candidate texture map options in the multiple hierarchical texture map lists. Taking the display priority from high to low as texture map list A, texture map list B, and texture map list C as an example, the texture decoration elements corresponding to the candidate texture map options in texture map list A are preferentially added to the first virtual object. The texture decoration elements corresponding to the candidate texture map options in texture map list C need to be added after the texture decoration elements corresponding to texture map list A and texture map list B are added in sequence.

[0066] In some embodiments, the above display priority is also used to indicate the display order between the multiple hierarchical texture map lists. Taking the display priority from high to low as texture map list A, texture map list B, and texture map list C as an example, in response to receiving a trigger operation on the first element, texture map list A is preferentially displayed. Optionally, texture map list A, texture map list B, and texture map list C can be displayed simultaneously, or texture map list A, texture map list B, and texture map list C can be displayed in sequence based on the display priority. For example, after adding the first-level texture element in texture map list A to the first virtual object, texture map list B is displayed. At this time, texture map list A can be retained for easy modification of the first-level texture element, or texture map list A can be hidden to reduce the display area occupied by the list area in the editing interface.

[0067] Step 230, in response to receiving a sliding operation that connects to the trigger operation without interrupting the trigger operation, and the sliding point of the sliding operation is located in the option area corresponding to the first texture map option in the first texture map list, a preview effect of adding the first texture element to the first virtual object is displayed in the virtual scene.

[0068] Optionally, the sliding point of the sliding operation can be displayed in the editing interface or can be hidden. Taking the sliding point as visible as an example, when the first element is selected based on the trigger operation, in response to receiving a sliding operation that connects to the trigger operation, a first floating element is displayed. The first floating element is used to indicate the sliding point of the sliding operation after the first element is selected, and the first floating element slides and is displayed along with the sliding operation.

[0069] In some embodiments, when the sliding point of the sliding operation is located in the option area corresponding to the first sticker option in the first sticker list, the first sticker option corresponds to a first display effect. Optionally, the first display effect includes display effects such as highlighting, prominent display, and enlarged display. Among them, highlighting is used to indicate that the display brightness of the first sticker option is higher than that of other candidate sticker options, prominent display is used to indicate that the transparency of the border of the option area of the first sticker option is lower than that of other candidate sticker options, and enlarged display is used to indicate that the area of the option area of the first sticker option is larger than that of other candidate sticker options. It should be noted that the above first display effect is only an exemplary example, and the present application does not limit this.

[0070] In some embodiments, the first sticker list includes multiple hierarchical sticker lists, and there is a display priority relationship between the multiple hierarchical sticker lists. The display priority is used to indicate the addition order of the sticker decoration elements corresponding to the candidate sticker options in the multiple hierarchical sticker lists. Optionally, the display priority is also used to indicate the display order between the multiple hierarchical sticker lists. The above step 230 can be implemented as responding to receiving a sliding operation under the condition of an uninterrupted triggering operation, and when the sliding point of the sliding operation is located in the list area corresponding to the target hierarchical sticker list in the multiple hierarchical sticker lists, displaying a preview effect of adding sticker elements in the target hierarchical sticker list to the first virtual object based on the display priority in the virtual scene.

[0071] Taking the example that the target hierarchical sticker list includes a first-level sticker list and a second-level sticker list, the display priority of the first-level sticker list is higher than that of the second-level sticker list. Step 230 can be implemented as: responding to receiving a sliding operation under the condition of an uninterrupted triggering operation, and when the sliding point of the sliding operation is located in the option area corresponding to the second sticker option in the first-level sticker list, displaying a first preview effect of adding the second sticker element to the first virtual object in the virtual scene; responding to the sliding point of the sliding operation being located in the option area corresponding to the third sticker option in the second-level sticker list, displaying a second preview effect of adding the third sticker element to the first virtual object based on the first preview effect in the virtual scene.

[0072] In some embodiments, based on the display priority, after displaying the first preview effect of adding the second sticker element to the first virtual object in the virtual scene, the second-level sticker list is displayed. Responding to the sliding point of the sliding operation being located in the option area corresponding to the third sticker option in the second-level sticker list, the first-level sticker list is cancelled from display.

[0073] Schematically, please refer to Figure 5 , Figure 5 is a schematic diagram of the preview effect provided by an exemplary embodiment of the present application. As Figure 5As shown, in response to receiving a swipe operation during an uninterrupted trigger operation, and the swipe point of the swipe operation is located in the option area 511 corresponding to the second map option in the first-level map list 510, a first preview effect 512 of adding a second map element to the first virtual object is displayed in the virtual scene; in response to the swipe point of the swipe operation being located in the option area 521 corresponding to the third map option in the second-level map list 520, a second preview effect 522 of adding a third map element to the first virtual object based on the first preview effect is displayed in the virtual scene.

[0074] Step 240, in response to the end of the swipe operation, add a first virtual object decorated with the first map element in the virtual scene.

[0075] Taking the long press to select the first element as the trigger operation as an example, the swipe operation is implemented as dragging the first element after long pressing and selecting the first element, and when the selection of the first element ends, the swipe operation ends.

[0076] In some embodiments, based on the position where the swipe end point of the swipe operation is located, add a first virtual object decorated with the first map element at a first position in the virtual scene, and there is a corresponding relationship between the position where the swipe end point is located and the first position.

[0077] Among them, the swipe end point is the swipe point corresponding to the end of the swipe operation.

[0078] Optionally, the position where the swipe end point is located includes the list area corresponding to the first map list, or a second position in the virtual scene, and the second position is any position in the virtual scene. Since the first map list is a list control superimposed and displayed in the display interface of the virtual scene based on the editing interface, the list area of the first map list does not belong to the position in the virtual scene, that is, the second position does not include the above-mentioned list area.

[0079] Taking the position where the swipe end point is located in the list area corresponding to the first map list as an example, in response to the end of the swipe operation, and the swipe end point of the swipe operation is located in the list area corresponding to the first map list, add a first virtual object decorated with the first map element at a preset position in the virtual scene.

[0080] Taking the position where the swipe end point is a second position in the virtual scene as an example, in response to the end of the swipe operation, and the swipe end point of the swipe operation is located at the second position in the virtual scene, add a first virtual object decorated with the first map element at the corresponding position in the virtual scene.

[0081] Optionally, when the position where the swipe end point is located is a second position in the virtual scene, the adding method of the first virtual object includes at least the following two cases:

[0082] First, when the second position meets the requirements for adding a virtual object, add a first virtual object decorated with a first texture element at the second position in the virtual scene;

[0083] Second, when the second position does not meet the requirements for adding a virtual object, add a first virtual object decorated with a first texture element at the third position in the virtual scene.

[0084] Among them, the requirements for adding a virtual object include that the volume of the area where the second position is located is greater than or equal to the volume of the first virtual object, and the third position meets the requirements for adding a virtual object.

[0085] Optionally, the third position can be a preset position, or can be determined based on at least one of the second position, the center point of the editing interface, or the terminal master virtual object. It should be noted that the above determination methods of the third position are only exemplary examples, and the present application does not limit this.

[0086] Schematically, please refer to Figure 6 , Figure 6 which is a schematic diagram of adding a virtual object provided by an exemplary embodiment of the present application. As shown in sub-figure a in Figure 6 , in response to the end of the sliding operation, and the sliding end point of the sliding operation is located in the list area 611 corresponding to the first texture list, add a first virtual object 613 decorated with a first texture element at the preset position 612 in the virtual scene; as shown in sub-figure b in Figure 6 , in response to the end of the sliding operation, and the sliding end point of the sliding operation is located at the second position 621 in the virtual scene, add a first virtual object 622 decorated with a first texture element at the corresponding position in the virtual scene.

[0087] In summary, the method provided by the embodiments of the present application, by responding to a sliding operation that receives a connection trigger operation under the condition of an uninterrupted trigger operation, and the sliding point of the sliding operation is located in the option area corresponding to the first texture option in the first texture list, displays a preview effect of adding a first texture element to a first virtual object in the virtual scene, and in response to the end of the sliding operation, adds a first virtual object decorated with a first texture element in the virtual scene. The process of selecting a first virtual object, previewing the texture effect, and adding a first virtual object is realized based on a one-step operation, which improves the operation fluency, avoids the cumbersome operations based on multi-step operations, and does not need to actually add a first virtual object in the virtual scene through an addition operation to display the effect of a first virtual object decorated with a first texture element. It can display the corresponding preview effect in real time according to the position area of the sliding point before actually adding the first virtual object, which improves the editing efficiency of virtual objects and the human-computer interaction efficiency.

[0088] In some embodiments, the first sticker list includes multiple hierarchical sticker lists, and there is a display priority relationship among the multiple hierarchical sticker lists. Please refer to Figure 7 , which shows a flowchart of a preview effect display method based on multiple hierarchical sticker lists provided by an exemplary embodiment of the present application. This method can be executed by a terminal, or by a server, or jointly executed by a terminal and a server at the same time. In the embodiments of the present application, this method is described by taking the execution by the terminal as an example. As Figure 7 shown, the above step 230 includes the following steps:

[0089] Step 231, in response to receiving the sliding operation under the condition of an uninterrupted triggering operation, and the sliding point of the sliding operation is located in the list area corresponding to the target hierarchical sticker list in the multiple hierarchical sticker lists, display in the virtual scene the preview effect of adding the sticker elements in the target hierarchical sticker list to the first virtual object based on the display priority.

[0090] This display priority is used to indicate the adding order of the sticker decoration elements corresponding to the candidate sticker options in the multiple hierarchical sticker lists. Optionally, the display priority is also used to indicate the display order among the multiple hierarchical sticker lists.

[0091] Taking the target hierarchical sticker list including a first-level sticker list and a second-level sticker list as an example, the display priority of the first-level sticker list is greater than that of the second-level sticker list. First, add the sticker decoration elements corresponding to the candidate sticker options in the first-level sticker list to the first virtual object. The above step 231 includes the following two steps:

[0092] The first step, in response to receiving the sliding operation under the condition of an uninterrupted triggering operation, and the sliding point of the sliding operation is located in the option area corresponding to the second sticker option in the first-level sticker list, display in the virtual scene the first preview effect of adding the second sticker element to the first virtual object.

[0093] In some embodiments, in response to receiving the sliding operation under the condition of not interrupting the triggering operation, and the sliding point of the sliding operation is located in the option area corresponding to the second sticker option in the first-level sticker list, the option area corresponding to the second sticker option corresponds to a first display effect. Optionally, the first display effect includes display effects such as highlighting, prominent display, and enlarged display.

[0094] Schematically, please refer to Figure 5 , in response to receiving the sliding operation under the condition of an uninterrupted triggering operation, and the sliding point of the sliding operation is located in the option area 511 corresponding to the second sticker option in the first-level sticker list 510, display in the virtual scene the first preview effect 512 of adding the second sticker element to the first virtual object.

[0095] In the second step, in response to the sliding point of the sliding operation being located in the option area corresponding to the third texture map option in the secondary texture map list, a second preview effect of the first virtual object with the third texture map element added based on the first preview effect is displayed in the virtual scene.

[0096] In some embodiments, in response to the sliding point of the sliding operation being located in the option area corresponding to the third texture map option in the secondary texture map list, the option area corresponding to the third texture map option corresponds to a first display effect. Optionally, the first display effect includes display effects such as highlighting, prominent display, and enlarged display.

[0097] Schematically, please refer to Figure 5 , in response to the sliding point of the sliding operation being located in the option area 521 corresponding to the third texture map option in the secondary texture map list 520, a second preview effect 522 of the first virtual object with the third texture map element added based on the first preview effect is displayed in the virtual scene.

[0098] In some embodiments, based on the above display priority, after the first step of step 231, the secondary texture map list is displayed. In response to the sliding point of the sliding operation being located in the list area of the secondary texture map list, the primary texture map list is cancelled from display.

[0099] Schematically, the virtual object editing method provided by the embodiments of the present application includes displaying an editing interface corresponding to the virtual scene, in response to receiving a trigger operation on the first element, displaying the primary texture map list, in response to receiving a sliding operation while the trigger operation is uninterrupted and the sliding point of the sliding operation is located in the option area corresponding to the second texture map option in the primary texture map list, displaying a first preview effect of the first virtual object with the second texture map element added in the virtual scene, displaying the secondary texture map list, in response to the sliding point of the sliding operation being located in the list area of the secondary texture map list, cancelling the display of the primary texture map list, in response to the sliding point of the sliding operation being located in the option area corresponding to the third texture map option in the secondary texture map list, displaying a second preview effect of the first virtual object with the third texture map element added based on the first preview effect in the virtual scene, and in response to the end of the sliding operation, adding the first virtual object corresponding to the second preview effect in the virtual scene.

[0100] In some embodiments, during the process of displaying the preview effect, a perspective conversion operation can also be received, so as to display the preview effect within different perspective ranges.

[0101] Schematically, in response to receiving a perspective conversion operation while the sliding operation is uninterrupted, a preview effect of the first virtual object with the first texture map element added within the first perspective range is displayed in the virtual scene based on the perspective conversion operation. The perspective conversion operation is used to determine the first perspective range, and the first perspective range changes in real time based on the perspective conversion operation.

[0102] In some embodiments, during the process of displaying the preview effect, a comparison display operation may also be received to compare the current preview effect with other display effects of the first virtual object.

[0103] Schematically, in response to receiving the comparison display operation during the uninterrupted sliding operation, the comparison effect of the first object is displayed in the virtual scene. The comparison effect is used to indicate the preview effect of the first object without adding the first texture element, or the comparison effect is used to indicate the preview effect of the first object adding the historical texture element. The historical texture element is the texture element adopted when the first virtual object is added to the virtual scene within the historical time range.

[0104] In summary, the method provided by the embodiments of the present application, by responding to receiving the sliding operation during the uninterrupted triggering operation, and the sliding point of the sliding operation is located in the list area corresponding to the target level texture list in the multiple level texture lists, displays the preview effect of adding the texture elements in the target level texture list to the first virtual object based on the display priority in the virtual scene, clarifies the solution for displaying the preview effect of adding the texture elements to the first virtual object based on the display priority when the first texture list includes multiple level texture lists, and improves the clarity when the first virtual object needs to add multiple layers of effects.

[0105] The method provided by the embodiments of the present application, by responding to receiving the sliding operation during the uninterrupted triggering operation, and the sliding point of the sliding operation is located in the option area corresponding to the second texture option in the first-level texture list, displays the first preview effect of adding the second texture element to the first virtual object in the virtual scene; in response to the sliding point of the sliding operation being located in the option area corresponding to the third texture option in the second-level texture list, displays the second preview effect of adding the third texture element to the first virtual object based on the first preview effect in the virtual scene. On the basis of the continuous one-step operation, a solution for real-time preview of sequentially adding multi-level texture elements is realized, which is convenient for the user to determine the actually added texture elements through the preview effect of each level of texture element while reducing the number of operations, and improves the virtual object editing efficiency and the human-computer interaction efficiency.

[0106] The method provided by the embodiments of the present application, by displaying the second-level texture list after displaying the first preview effect of adding the second texture element to the first virtual object in the virtual scene; in response to the sliding point of the sliding operation being located in the list area corresponding to the second-level texture list, cancels the display of the first-level texture list, realizes a dynamic display solution for the multi-level texture list, reduces the occupation of the list area on the editing interface, avoids excessive loading of interface information affecting the display of the preview effect of the virtual object and wasting rendering resources, and improves the flexibility of the texture list display and the display quality of the preview effect.

[0107] The method provided by the embodiment of the present application, by responding to receiving a perspective conversion operation during an uninterrupted sliding operation, displays a preview effect of adding a first texture element to a first virtual object within a first perspective range in a virtual scene, adding a perspective conversion function during the preview effect display process, capable of showing the user preview effects from multiple perspectives, enabling the user to better select a suitable texture element based on the preview effects from multiple perspectives, and improving the virtual object editing efficiency and human-computer interaction efficiency.

[0108] The method provided by the embodiment of the present application, by responding to receiving a comparison display operation during an uninterrupted sliding operation, displays a comparison effect of a first object in a virtual scene. By adding a display of the comparison effect when displaying the preview effect of adding a first texture element to a first virtual object, it more intuitively shows the difference between the current preview effect and the comparison effect, thereby helping the user determine the actually added texture element and improving the virtual object editing efficiency and human-computer interaction efficiency.

[0109] Please refer to Figure 8 , which shows a flowchart of a method for adding a virtual object provided by an exemplary embodiment of the present application. This method can be executed by a terminal, or by a server, or jointly by a terminal and a server at the same time. In the embodiment of the present application, this method is described by taking the execution by the terminal as an example. As Figure 8 shown, the above step 240 includes the following steps:

[0110] Step 241, in response to the end of the sliding operation, based on the position where the sliding end point of the sliding operation is located, add a first virtual object decorated with a first texture element at a first position in the virtual scene.

[0111] Among them, there is a corresponding relationship between the position where the sliding end point is located and the first position, and the sliding end point is the sliding point corresponding to the end of the sliding operation.

[0112] Taking the long press to select the first element as the trigger operation as an example, the sliding operation is implemented as dragging the first element after long pressing to select the first element, and when the selection of the first element ends, the sliding operation ends.

[0113] Optionally, the position where the sliding end point is located includes the list area corresponding to the first texture list, or a second position in the virtual scene. The second position is any position in the virtual scene. Since the first texture list is a list control superimposed and displayed in the display interface of the virtual scene based on the editing interface, the list area of the first texture list does not belong to the position in the virtual scene, that is, the second position does not include the above list area.

[0114] Taking the case where the position of the sliding end point is within the list area corresponding to the first sticker list as an example, in response to the end of the sliding operation and the sliding end point of the sliding operation being within the list area corresponding to the first sticker list, a first virtual object decorated with the first sticker element is added at a preset position in the virtual scene.

[0115] Taking the case where the position of the sliding end point is the second position in the virtual scene as an example, in response to the end of the sliding operation and the sliding end point of the sliding operation being at the second position in the virtual scene, a first virtual object decorated with the first sticker element is added at the corresponding position in the virtual scene.

[0116] Optionally, when the position of the sliding end point is the second position in the virtual scene, the adding method of the first virtual object includes at least the following two cases:

[0117] First, when the second position meets the requirements for adding a virtual object, a first virtual object decorated with the first sticker element is added at the second position in the virtual scene;

[0118] Second, when the second position does not meet the requirements for adding a virtual object, a first virtual object decorated with the first sticker element is added at the third position in the virtual scene.

[0119] Among them, the requirements for adding a virtual object include that the volume of the area where the second position is located is greater than or equal to the volume of the first virtual object, and the third position meets the requirements for adding a virtual object.

[0120] Optionally, the third position can be a preset position, or can be determined based on at least one of the second position, the center point of the editing interface, or the terminal main control virtual object.

[0121] Illustratively, taking the determination of the third position based on the center point of the editing interface as an example, by determining the distance between the 3D model in the virtual scene and the center point of the editing interface, the 3D model closest to the center point of the editing interface is determined as the target model, and the third position is the top position of the target model; taking the determination of the third position based on both the center point of the editing interface and the second position as an example, based on the connection line between the center point of the editing interface and the second position, the third position closest to the second position and whose area meets the requirements for adding a virtual object is determined; taking the determination of the third position based on the terminal main control virtual object as an example, by determining the distance between the 3D model in the virtual scene and the terminal main control virtual object, the 3D model closest to the terminal main control virtual object is determined as the target model, and the third position is the top position of the target model.

[0122] It should be noted that the above determination methods of the third position are only exemplary examples, and the present application does not limit this.

[0123] In some embodiments, the end point of the sliding operation may also be located in a preset operation area, which is used to indicate the cancellation of the triggering operation. In response to the end point of the sliding operation being located in the preset operation area, the selection of the first element is cancelled, that is, in response to the end of the sliding operation, the first virtual object is not added to the virtual scene. Optionally, at any time after receiving the triggering operation on the first element, based on the received sliding operation that connects to the triggering operation, by moving the end point of the sliding to the preset operation area, the selection of the first element is cancelled. After cancelling the selection of the first element, a triggering operation can be received again, and any candidate element can be selected by triggering to edit the corresponding candidate virtual object.

[0124] In summary, the method provided by the embodiments of the present application, by responding to the end of the sliding operation and based on the position where the end point of the sliding operation is located, adding a first virtual object decorated with a first texture element at a first position corresponding to the position where the end point of the sliding operation is located in the virtual scene, provides a solution for adding a first virtual object at different positions in the virtual scene based on the position where the end point of the sliding is located, and improves the flexibility and operation efficiency of adding the first virtual object.

[0125] The method provided by the embodiments of the present application, by responding to the end of the sliding operation and the end point of the sliding operation being located in the list area corresponding to the first texture list, adding a first virtual object decorated with a first texture element at a preset position in the virtual scene, improves the efficiency and automation of adding the first virtual object, reduces the situation where the addition of the first virtual object fails due to misoperation, and improves the human-computer interaction efficiency; by responding to the end of the sliding operation and the end point of the sliding operation being located at a second position in the virtual scene, adding a first virtual object decorated with a first texture element at the corresponding position in the virtual scene, improves the initiative of the user in adding the first virtual object, avoids reducing the accuracy of the addition position of the first virtual object due to the single or relatively fixed preset position, and improves the human-computer interaction efficiency.

[0126] The method provided by the embodiments of the present application, by adding a first virtual object decorated with a first texture element at a second position in the virtual scene when the second position meets the requirements for adding a virtual object; and adding a first virtual object decorated with a first texture element at a third position in the virtual scene when the second position does not meet the requirements for adding a virtual object, avoids the failure of adding the first virtual object due to misoperation, and improves the addition efficiency of the virtual object and the human-computer interaction efficiency.

[0127] The method provided by the embodiment of the present application cancels the selection of the first element by responding that the sliding end point of the sliding operation is located in the preset operation area, providing a function to cancel the selected editing state of the first virtual object during the continuous one-step operation process, avoiding the need to delete the first virtual object after completing the addition of the first virtual object when it is necessary to cancel the addition of the first virtual object, reducing the complexity of the operation and improving the human-computer interaction efficiency.

[0128] Schematically, taking the triggering operation implemented as a long-press operation as an example for illustration, please refer to Figure 9 , which shows the virtual object preview flow chart provided by an exemplary embodiment of the present application. This method can be executed by the terminal, or by the server, or jointly executed by the terminal and the server at the same time. In the embodiment of the present application, this method is taken as an example of being executed by the terminal. As Figure 9 shown, the virtual object preview process in the virtual object editing method provided by the embodiment of the present application includes the following steps: Step 901, detecting the duration of the long-press operation on the first element; Step 902, judging whether the duration is greater than 0.2 seconds, and executing Step 902 in response to the duration being greater than 0.2 seconds; Step 903, judging whether the first element corresponds to at least two candidate texture map options, and executing Step 904 in response to the first element corresponding to at least two candidate texture map options; Step 904, displaying a first-level texture map list; Step 905, receiving a sliding operation that connects to the long-press operation; Step 906, in response to the sliding point being located in the option area corresponding to the second texture map element in the first-level texture map list, displaying a first preview effect of adding the second texture map element to the first virtual object in the virtual scene; Step 907, judging whether the first element corresponds to a second-level texture map list, and executing Step 908 in response to the first element corresponding to a second-level texture map list; Step 908, displaying a second-level texture map list; Step 909, in response to the sliding point being located in the option area corresponding to the third texture map element in the second-level texture map list, displaying a second preview effect of adding the third texture map element to the first virtual object based on the first preview effect in the virtual scene.

[0129] Schematically, in response to the end of the sliding operation, a first virtual object decorated with the first texture map element is added to the virtual scene. Among them, in response to the end of the sliding operation and the sliding end point of the sliding operation being located at the second position in the virtual scene, a first virtual object decorated with the first texture map element is added to the corresponding position in the virtual scene. Please refer to Figure 10 , which shows the virtual object addition flow chart provided by an exemplary embodiment of the present application. This method can be executed by the terminal, or by the server, or jointly executed by the terminal and the server at the same time. In the embodiment of the present application, this method is taken as an example of being executed by the terminal. As Figure 10As shown in the figure, in the virtual object editing method provided by the embodiment of the present application, when the sliding end point is located at the second position in the virtual scene, the virtual object adding process includes the following steps: Step 1010, determine whether the area where the second position is located meets the virtual object adding requirements. In response to the area where the second position is located meeting the virtual object adding requirements, execute Step 1011; otherwise, execute Step 1012; Step 1011, add a first virtual object decorated with a first texture element at the second position in the virtual scene; Step 1012, determine a third position based on the center point of the editing interface, and add a first virtual object decorated with a first texture element at the third position in the virtual scene.

[0130] Schematically, in combination with the above Figure 9 shown virtual object preview process and Figure 10 shown virtual object adding process, please refer to Figure 11 , Figure 11 which is the virtual object editing flowchart provided by an exemplary embodiment of the present application. As Figure 11 shown, after displaying the first texture list, the virtual object editing method provided by the embodiment of the present application further includes the following process: Step 1110, in response to receiving a sliding operation under the condition of uninterruptedly triggering the operation, and the sliding point of the sliding operation is located in the list area corresponding to the target level texture list in the multi-level texture list, display the preview effect of adding the texture elements in the target level texture list to the first virtual object in the virtual scene; Step 1121, in response to the sliding end point of the sliding operation being located in the above list area, add a first virtual object decorated with a first texture element at a preset position in the virtual scene; Step 1122, in response to the sliding end point of the sliding operation being located at the second position in the virtual scene, determine whether the area where the second position is located meets the virtual object adding requirements. In response to the area where the second position is located meeting the virtual object adding requirements, execute Step 1131; otherwise, execute Step 1132; Step 1131, add a first virtual object decorated with a first texture element at the second position in the virtual scene; Step 1132, determine a third position based on the center point of the editing interface, and add a first virtual object decorated with a first texture element at the third position in the virtual scene; Step 1123, in response to the sliding end point of the sliding operation being located in the preset operation area, cancel the selection of the first element.

[0131] In summary, the method provided by the embodiment of the present application can realize the selection of the first virtual object and the first texture element, display the preview effect, add the first virtual object decorated with the first texture element to the virtual scene through one-step dragging, reduce the click steps in the virtual object editing process, improve the operation process degree of the editing process, improve the human-computer interaction efficiency, improve the editing efficiency by displaying the preview effect in the virtual scene in real time, be able to adapt to the multi-level texture list, and improve the flexibility of the list display.

[0132] Figure 12 is a structural block diagram of a virtual object editing device provided by an exemplary embodiment of the present application. As Figure 12 shown, the device includes the following parts:

[0133] A display module 1210, configured to display an editing interface corresponding to a virtual scene. The editing interface includes candidate elements corresponding to a plurality of candidate virtual objects. Among them, a first element among the plurality of candidate elements corresponds to a first virtual object, and the first element is used to be selected and triggered to add the first virtual object to the virtual scene;

[0134] The display module 1210 is further configured to, in response to receiving a trigger operation on the first element, display a first texture map list. The trigger operation is a continuous operation. The first texture map list includes a plurality of candidate texture map options, and the plurality of candidate texture map options are used to add texture map decoration elements to the first virtual object. The plurality of candidate texture map options include a first texture map option, and the first texture map option corresponds to a first texture map element;

[0135] The display module 1210 is further configured to, in response to receiving a sliding operation that connects the trigger operation without interrupting the trigger operation, and the sliding point of the sliding operation is located in the option area corresponding to the first texture map option in the first texture map list, display a preview effect of adding the first texture map element to the first virtual object in the virtual scene;

[0136] The display module 1210 is further configured to, in response to the end of the sliding operation, add the first virtual object decorated with the first texture map element to the virtual scene.

[0137] Please refer to Figure 13 , Figure 13 is a structural block diagram of a virtual object editing device module provided by an exemplary embodiment of the present application. As Figure 13 shown, in some embodiments, the first texture map list includes a plurality of hierarchical texture map lists, and there is a display priority relationship between the plurality of hierarchical texture map lists. The display priority is used to indicate the addition order of the texture map decoration elements corresponding to the candidate texture map options in the plurality of hierarchical texture map lists;

[0138] The display module 1210 is configured to, in response to receiving the sliding operation without interrupting the trigger operation, and the sliding point of the sliding operation is located in the list area corresponding to the target hierarchical texture map list in the plurality of hierarchical texture map lists, display a preview effect of adding the texture map element in the target hierarchical texture map list to the first virtual object in the virtual scene based on the display priority.

[0139] In some embodiments, the target level texture map list includes a first-level texture map list and a second-level texture map list, and the display priority of the first-level texture map list is higher than that of the second-level texture map list;

[0140] The display module 1210 includes:

[0141] A first preview unit 1211, configured to, in response to receiving the sliding operation without interrupting the triggering operation and the sliding point of the sliding operation being located in the option area corresponding to the second texture map option in the first-level texture map list, display a first preview effect of adding a second texture map element to the first virtual object in the virtual scene;

[0142] A second preview unit 1212, configured to, in response to the sliding point of the sliding operation being located in the option area corresponding to the third texture map option in the second-level texture map list, display a second preview effect of adding a third texture map element to the first virtual object based on the first preview effect in the virtual scene.

[0143] In some embodiments, the display module 1210 is further configured to display the second-level texture map list; and in response to the sliding point of the sliding operation being located in the list area corresponding to the second-level texture map list, cancel the display of the first-level texture map list.

[0144] In some embodiments, the display module 1210 is configured to, in response to the end of the sliding operation, add the first virtual object decorated with the first texture map element at a first position in the virtual scene based on the position where the sliding end point of the sliding operation is located, and there is a corresponding relationship between the position where the sliding end point is located and the first position.

[0145] In some embodiments, the display module 1210 further includes:

[0146] A first adding unit 1213, configured to, in response to the end of the sliding operation and the sliding end point of the sliding operation being located in the list area corresponding to the first-level texture map list, add the first virtual object decorated with the first texture map element at a preset position in the virtual scene; or,

[0147] A second adding unit 1214, configured to, in response to the end of the sliding operation and the sliding end point of the sliding operation being located at a second position in the virtual scene, add the first virtual object decorated with the first texture map element at a corresponding position in the virtual scene.

[0148] In some embodiments, the second adding unit 1214 is configured to:

[0149] When the second position meets the requirements for adding a virtual object, add the first virtual object decorated with the first texture element at the second position in the virtual scene, where the requirements for adding a virtual object include that the volume of the area where the second position is located is greater than or equal to the volume of the first virtual object;

[0150] When the second position does not meet the requirements for adding a virtual object, add the first virtual object decorated with the first texture element at the third position in the virtual scene, where the third position meets the requirements for adding an object.

[0151] In some embodiments, the display module 1210 is further configured to, in response to receiving a view conversion operation without interrupting the sliding operation, display a preview effect of adding the first texture element to the first virtual object within a first view range in the virtual scene, where the view conversion operation is used to determine the first view range.

[0152] In some embodiments, the display module 1210 is further configured to, in response to receiving a comparison display operation without interrupting the sliding operation, display a comparison effect of the first object in the virtual scene, where the comparison effect is used to indicate a preview effect of the first object without adding the first texture element, or the comparison effect is used to indicate a preview effect of the first object adding a historical texture element, and the historical texture element is the texture element used when the first virtual object was added to the virtual scene within a historical time range.

[0153] In summary, the device provided in the embodiments of the present application, by responding to a sliding operation that receives a connection trigger operation without interrupting the trigger operation, and the sliding point of the sliding operation is located in the option area corresponding to the first texture option in the first texture list, displays a preview effect of adding the first texture element to the first virtual object in the virtual scene, and in response to the end of the sliding operation, adds the first virtual object decorated with the first texture element in the virtual scene, realizes the process of selecting the first virtual object, previewing the texture effect, and adding the first virtual object based on a one-step operation, improves the operation fluency, avoids the cumbersome operation based on multi-step operations, and does not need to actually add the first virtual object in the virtual scene through an addition operation to display the effect of the first virtual object decorated with the first texture element, and can display the corresponding preview effect in real time according to the position area of the sliding point before actually adding the first virtual object, improving the editing efficiency of virtual objects and the human-computer interaction efficiency.

[0154] It should be noted that: the virtual object editing device provided in the above embodiments is only illustrated by the division of the above functional modules. In practical applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.

[0155] Figure 14 FIG. shows a structural block diagram of a terminal 1400 provided by an exemplary embodiment of the present application. The terminal 1400 may be: a smart phone, a tablet computer, an MP3 player, an MP4 player, a notebook computer or a desktop computer. The terminal 1400 may also be referred to by other names such as a user equipment, a portable terminal, a laptop terminal, a desktop terminal, etc.

[0156] Generally, the terminal 1400 includes: a processor 1401 and a memory 1402.

[0157] The processor 1401 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1401 may be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), programmable logic array (PLA). The processor 1401 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the wake state, also known as the central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1401 may be integrated with a graphics processing unit (GPU), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1401 may further include an artificial intelligence (AI) processor, and the AI processor is used to process computational operations related to machine learning.

[0158] The memory 1402 may include one or more computer-readable storage media, which may be non-transitory. The memory 1402 may also include high-speed random access memory, as well as non-volatile memory, such as one or more disk storage devices and flash storage devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1402 is used to store at least one instruction for being executed by the processor 1401 to implement the virtual object editing method provided in the method embodiments of the present application.

[0159] In some embodiments, the terminal 1400 further includes other components, which can be understood by those skilled in the art. Figure 14 The structure shown does not constitute a limitation on the terminal 1400, and it may include more or fewer components than those shown in the figure, or combine certain components, or adopt different component arrangements.

[0160] Embodiments of the present application further provide a computer device, which can be implemented as the terminal or server shown in Figure 1 the figure. The computer device includes a processor and a memory, and at least one instruction, at least one program, a code set or an instruction set is stored in the memory. The at least one instruction, at least one program, the code set or the instruction set is loaded and executed by the processor to implement the virtual object editing method provided in the above method embodiments.

[0161] Embodiments of the present application further provide a computer-readable storage medium, on which at least one instruction, at least one program, a code set or an instruction set is stored. The at least one instruction, at least one program, the code set or the instruction set is loaded and executed by the processor to implement the virtual object editing method provided in the above method embodiments.

[0162] Embodiments of the present application further provide a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the virtual object editing method provided in the above method embodiments.

[0163] Optionally, the computer-readable storage medium may include: Read Only Memory (ROM), Random Access Memory (RAM), Solid State Drives (SSD), or optical discs, etc. Among them, the random access memory may include Resistance Random Access Memory (ReRAM) and Dynamic Random Access Memory (DRAM). The serial numbers of the embodiments of the present application above are only for description and do not represent the superiority or inferiority of the embodiments.

[0164] Those of ordinary skill in the art can understand that all or part of the steps to implement the above embodiments can be completed by hardware, or can be completed by a program instructing the relevant hardware. The program can be stored in a computer-readable storage medium. The storage medium mentioned above can be a read-only memory, a magnetic disk, or an optical disc, etc.

[0165] The above are only optional embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A method for editing virtual objects, characterized in that, The method includes: Displaying an editing interface corresponding to a virtual scene, where the editing interface includes candidate elements corresponding to multiple candidate virtual objects. Among the multiple candidate elements, a first element corresponds to a first virtual object, and the first element is used to be selected and triggered to add the first virtual object to the virtual scene; In response to receiving a trigger operation on the first element, displaying a first texture map list. The trigger operation is a continuous operation. The first texture map list includes multiple candidate texture map options, and the multiple candidate texture map options are used to add texture map decoration elements to the first virtual object. Among the multiple candidate texture map options, there is a first texture map option, and the first texture map option corresponds to a first texture map element; In response to receiving a sliding operation that connects to the trigger operation without interrupting the trigger operation, and the sliding point of the sliding operation is located in the option area corresponding to the first texture map option in the first texture map list, displaying a preview effect of adding the first texture map element to the first virtual object in the virtual scene; In response to the end of the sliding operation, adding the first virtual object decorated with the first texture map element to the virtual scene.

2. The method according to claim 1, wherein The first texture map list includes multiple hierarchical texture map lists, and there is a display priority relationship between the multiple hierarchical texture map lists. The display priority is used to indicate the addition order of the texture map decoration elements corresponding to the candidate texture map options in the multiple hierarchical texture map lists; The step of, in response to receiving a sliding operation that connects to the trigger operation without interrupting the trigger operation, and the sliding point of the sliding operation is located in the option area corresponding to the first texture map option in the first texture map list, displaying a preview effect of adding the first texture map element to the first virtual object in the virtual scene, includes: In response to receiving the sliding operation without interrupting the trigger operation, and the sliding point of the sliding operation is located in the list area corresponding to the target hierarchical texture map list in the multiple hierarchical texture map lists, displaying a preview effect of adding the texture map element in the target hierarchical texture map list to the first virtual object in the virtual scene based on the display priority.

3. The method according to claim 2, wherein The target hierarchical texture map list includes a first-level texture map list and a second-level texture map list, and the display priority of the first-level texture map list is higher than that of the second-level texture map list; The step of, in response to receiving the sliding operation without interrupting the trigger operation, and the sliding point of the sliding operation is located in the list area corresponding to the target hierarchical texture map list in the multiple hierarchical texture map lists, displaying a preview effect of adding the texture map element in the target hierarchical texture map list to the first virtual object in the virtual scene based on the display priority, includes: In response to receiving the sliding operation without interrupting the trigger operation, and the sliding point of the sliding operation is located in the option area corresponding to the second texture map option in the first-level texture map list, displaying a first preview effect of adding a second texture map element to the first virtual object in the virtual scene; When the sliding point in response to the sliding operation is located in the option area corresponding to the third map option in the secondary map list, a second preview effect of the first virtual object adding a third map element based on the first preview effect is displayed in the virtual scene.

4. The method according to claim 3, wherein After displaying the first preview effect of the first virtual object adding a second map element in the virtual scene, it further includes: Displaying the secondary map list; In response to the sliding point of the sliding operation being located in the list area corresponding to the secondary map list, cancel the display of the primary map list.

5. The method according to any one of claims 1 to 4, characterized in that, The adding of the first virtual object decorated with the first map element in the virtual scene in response to the end of the sliding operation includes: In response to the end of the sliding operation, based on the position where the sliding end point of the sliding operation is located, add the first virtual object decorated with the first map element at the first position in the virtual scene, and there is a corresponding relationship between the position where the sliding end point is located and the first position.

6. The method according to claim 5, characterized in that The adding of the first virtual object decorated with the first map element at the first position in the virtual scene in response to the end of the sliding operation based on the position where the sliding end point of the sliding operation is located includes: In response to the end of the sliding operation and the sliding end point of the sliding operation being located in the list area corresponding to the primary map list, add the first virtual object decorated with the first map element at a preset position in the virtual scene; or, In response to the end of the sliding operation and the sliding end point of the sliding operation being located at the second position in the virtual scene, add the first virtual object decorated with the first map element at the corresponding position in the virtual scene.

7. The method according to claim 6, wherein The adding of the first virtual object decorated with the first map element in the corresponding position area in the virtual scene includes: When the second position meets the virtual object adding requirement, add the first virtual object decorated with the first map element at the second position in the virtual scene, and the virtual object adding requirement includes that the volume of the area where the second position is located is greater than or equal to the volume of the first virtual object; When the second position does not meet the virtual object adding requirement, add the first virtual object decorated with the first map element at the third position in the virtual scene, and the third position meets the object adding requirement.

8. The method according to any one of claims 1 to 4, characterized in that, The method further includes: In response to the sliding end point of the sliding operation being located in the preset operation area, cancel the selection of the first element, and the preset operation area is used to indicate the cancellation of the triggering operation.

9. The method according to any one of claims 1 to 4, characterized in that The displaying of the preview effect of the first virtual object adding the first map element in the virtual scene includes: In response to receiving a view conversion operation without interrupting the sliding operation, display the preview effect of the first virtual object adding the first map element within the first view range in the virtual scene based on the view conversion operation, and the view conversion operation is used to determine the first view range.

10. The method according to any one of claims 1 to 4, characterized in that, The displaying of the preview effect of the first virtual object adding the first map element in the virtual scene includes: In response to receiving a comparison display operation without interrupting the sliding operation, a comparison effect of the first object is displayed in the virtual scene. The comparison effect is used to indicate a preview effect of the first object without adding the first texture element, or the comparison effect is used to indicate a preview effect of the first object adding a historical texture element, where the historical texture element is a texture element used when the first virtual object was added to the virtual scene within a historical time range.

11. A virtual object editing device, characterized in that The device includes: A display module for displaying an editing interface corresponding to a virtual scene, where the editing interface includes candidate elements corresponding to multiple candidate virtual objects. Among them, a first element among the multiple candidate elements corresponds to a first virtual object, and the first element is used to be selected to trigger adding the first virtual object to the virtual scene; The display module is further configured to, in response to receiving a trigger operation on the first element, display a first texture list. The trigger operation is a continuous operation, and the first texture list includes multiple candidate texture options for adding texture decoration elements to the first virtual object. Among the multiple candidate texture options, there is a first texture option corresponding to a first texture element; The display module is further configured to, in response to receiving a sliding operation that connects to the trigger operation without interrupting the trigger operation, and the sliding point of the sliding operation is located in the option area corresponding to the first texture option in the first texture list, display a preview effect of the first virtual object adding the first texture element in the virtual scene; The display module is further configured to, in response to the end of the sliding operation, add the first virtual object decorated with the first texture element to the virtual scene.

12. A computer device, characterized in that, The computer device includes a processor and a memory. At least one computer program is stored in the memory, and the at least one computer program is loaded and executed by the processor to implement the virtual object editing method according to any one of claims 1 to 10.

13. A computer-readable storage medium, characterized in that, At least one computer program is stored in the storage medium, and the at least one computer program is loaded and executed by a processor to implement the virtual object editing method according to any one of claims 1 to 10.

14. A computer program product, characterized in that, It includes a computer program, and when the computer program is executed by a processor, it implements the virtual object editing method according to any one of claims 1 to 10.