Virtual object editing method and device, equipment, medium and product
By displaying the mirror coordinate system and mirror axis in the virtual scene, users can automatically realize the mirroring of virtual objects through triggering operations, solving complex operations in the prior art, and improving editing efficiency and display effect.
Patent Information
- Application Number
- CN202311545552.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-17
- Publication Date
- 2025-05-20
AI Technical Summary
In the prior art, players need to have strong spatial imagination ability to achieve the mirroring effect of three-dimensional objects through manual operations, and the operating threshold is relatively high.
Provides a method of editing virtual objects in a virtual scene. By displaying the mirror coordinate system and mirror axis surface, users can automatically realize the mirroring of virtual objects through triggering operations, simplifying the operation process.
It improves the convenience and efficiency of users when editing virtual objects, makes the structural display effect of virtual objects clearer and more intuitive, and lowers the operating threshold.
Smart Images

Figure CN120020889A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present application relate to the field of Internet technologies, and particularly to a method, apparatus, device, medium, and product for editing virtual objects. Background Art
[0002] UGC (User Generated Content) refers to the self-created content shared by users on the Internet. In the game field, designers encourage users to participate in the design of game content such as level maps, gameplay, and ecosystems by providing corresponding UGC editing capabilities in the game. Among them, three-dimensional objects are common UGC content.
[0003] In related technologies, players can use multiple identical three-dimensional objects and manually perform operations such as rotation and translation on them to make the three-dimensional objects present a mirror image effect, so as to enrich the structure of the objects.
[0004] However, the above method requires players to have strong spatial imagination ability to achieve the mirror image effect of three-dimensional objects, and the operation threshold is relatively high. Summary of the Invention
[0005] Embodiments of the present application provide a method, apparatus, device, medium, and product for editing virtual objects, which can improve the convenience and efficiency of users when editing virtual objects. The technical solutions are as follows:
[0006] On the one hand, a method for editing a virtual object in a virtual scene is provided. The method includes:
[0007] Display a first virtual object in the virtual scene;
[0008] In response to receiving a mirror trigger operation on the first virtual object, display a mirror coordinate system. The mirror coordinate system includes a plurality of mirror coordinate axes, and the plurality of mirror coordinate axes form at least two mirror axial planes. The mirror axial planes are used to provide a flipping reference plane for mirror processing of the first virtual object;
[0009] In response to receiving a trigger operation on a first mirror axial plane in the at least two mirror axial planes, display a mirror image result of the first virtual object with the first mirror axial plane as the flipping reference plane.
[0010] On the other hand, a device for editing a virtual object in a virtual scene is provided. The device includes:
[0011] An object display module for displaying a first virtual object in the virtual scene;
[0012] A coordinate system display module, configured to display a mirror coordinate system in response to receiving a mirror trigger operation on the first virtual object. The mirror coordinate system includes a plurality of mirror coordinate axes, and the plurality of mirror coordinate axes form at least two mirror axial planes, which are used to provide a flipping reference plane for mirroring the first virtual object;
[0013] A mirror result display module, configured to display the mirror result of the first virtual object with the first mirror axial plane as the flipping reference plane in response to receiving a trigger operation on the first mirror axial plane among the at least two mirror axial planes.
[0014] On the other hand, a computer device is provided. 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. 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 method for editing a virtual object in a virtual scene as described in any one of the embodiments of the present application above.
[0015] 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 method for editing a virtual object in a virtual scene as described in any one of the embodiments of the present application above.
[0016] 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 method for editing a virtual object in a virtual scene as described in any one of the above embodiments.
[0017] The beneficial effects brought by the technical solution provided by the embodiments of the present application at least include:
[0018] By receiving a mirror trigger operation on the first virtual object (UGC object) and displaying a mirror coordinate system, the plurality of mirror axial planes in the mirror coordinate system can provide a flipping reference plane for mirroring the first virtual object, improving the convenience for the user to edit the first virtual object. Receiving a trigger operation on the mirror axial plane can automatically display the mirror result of the first virtual object flipped based on the mirror axial plane, making the structural display effect of the first virtual object clearer and more intuitive, and improving the efficiency of the user in designing the structure of the first virtual object. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] To more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the accompanying drawings required for the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other accompanying drawings can be obtained based on these drawings.
[0020] Figure 1 It is a schematic diagram showing the display of a mirror coordinate system in a virtual scene provided by an exemplary embodiment of the present application;
[0021] Figure 2 It is a block diagram of the structure of an electronic device provided by an exemplary embodiment of the present application;
[0022] Figure 3 It is a block diagram of the structure of a computer system provided by an exemplary embodiment of the present application;
[0023] Figure 4 It is a flowchart of a method for editing a virtual object in a virtual scene provided by an exemplary embodiment of the present application;
[0024] Figure 5 It is a schematic diagram of an editing function option provided by an exemplary embodiment of the present application;
[0025] Figure 6 It is a schematic diagram of an editing function option following a first virtual object provided by an exemplary embodiment of the present application;
[0026] Figure 7 It is a schematic diagram of the triggering process of a mirror function option provided by an exemplary embodiment of the present application;
[0027] Figure 8 It is a schematic diagram of the selection process of a target mirror option provided by an exemplary embodiment of the present application;
[0028] Figure 9 It is a schematic diagram of performing a central mirror process on a first virtual object provided by an exemplary embodiment of the present application;
[0029] Figure 10 It is a schematic diagram of performing a face-to-face mirror process on a first virtual object provided by an exemplary embodiment of the present application;
[0030] Figure 11 It is a flowchart of a method for editing multiple first virtual objects provided by an exemplary embodiment of the present application;
[0031] Figure 12 It is a schematic diagram of selecting multiple first virtual objects provided by an exemplary embodiment of the present application;
[0032] Figure 13It is a schematic diagram for performing central mirroring processing on a virtual module corresponding to a first virtual object provided by an exemplary embodiment of the present application;
[0033] Figure 14 It is a schematic diagram for performing surface mirroring processing on a virtual module corresponding to a first virtual object provided by an exemplary embodiment of the present application;
[0034] Figure 15 It is a flowchart of a method for simultaneously mirroring and copying a first virtual object provided by an exemplary embodiment of the present application;
[0035] Figure 16 It is a schematic diagram for triggering the copying of a first virtual object provided by an exemplary embodiment of the present application;
[0036] Figure 17 It is a structural block diagram of an editing device for virtual objects in a virtual scene provided by an exemplary embodiment of the present application;
[0037] Figure 18 It is a structural block diagram of an editing device for virtual objects in a virtual scene provided by another exemplary embodiment of the present application;
[0038] Figure 19 It is a structural block diagram of a computer device provided by an exemplary embodiment of the present application. Detailed implementation manners
[0039] 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.
[0040] Here, the exemplary embodiments will be described in detail, and the examples are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0041] The terms used in the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application. The singular forms of "a", "the", and "said" used in the present application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used herein refers to and includes any or all possible combinations of one or more of the associated listed items.
[0042] It should be noted that the information and data involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions.
[0043] It should be understood that although the terms first, second, etc. may be used in this application to describe various information, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this application, 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 "at the time of" or "when" or "in response to determining".
[0044] Brief introduction to the nouns involved in the embodiments of this application:
[0045] UGC (User Generated Content): User-generated content. Users display their original content through the Internet platform or provide it to other users.
[0046] In game applications or applications based on virtual scenes, by providing some necessary mechanisms and corresponding UGC editing capabilities within the application, users are encouraged to participate in the design of game content such as levels, maps, gameplay, and ecology to increase the fun of the game process.
[0047] In game applications or some applications based on virtual scenes, players can usually control virtual objects in the virtual scene, or edit virtual objects in the virtual scene, such as: changing the form, appearance, and quantity of virtual objects; controlling virtual objects to perform movements; and creating virtual objects through the functions provided by the application.
[0048] Indicatively, players can edit virtual objects with editable attributes to achieve the combination of virtual objects.
[0049] Optionally, the editable virtual object includes a first virtual object, and the player can change the shape of the first virtual object by performing editing operations such as moving, rotating, and scaling the editable virtual object. When the editable virtual object also includes a second virtual object, the player can also combine the first virtual object and the second virtual object into a virtual module. Alternatively, the player can construct a virtual module with a symmetrical structure by changing the orientation of the virtual object.
[0050] In some applications based on virtual scenarios, virtual objects are three-dimensional virtual objects. The structure of three-dimensional virtual objects is richer and more complex than that of two-dimensional virtual objects. When players edit three-dimensional virtual objects, simply through operations such as simple translation and rotation, it is impossible to accurately obtain virtual objects with complex structures.
[0051] In related technologies, players can use a script editor to create three-dimensional objects and edit the structures of three-dimensional objects by writing code scripts, so as to obtain objects with complex structures or objects with precise symmetry.
[0052] However, for users using mobile terminals, the operation of using a script editor will increase the operation difficulty and bring inconvenience. Moreover, by writing code scripts, users need to have a certain programming foundation and strong spatial imagination ability. The threshold for player operation is relatively high, the operation process is relatively difficult, and it cannot be normally used by most players.
[0053] And this application provides an editing method for virtual objects in a virtual scenario, which can be operated on a terminal, and an application based on the virtual scenario is installed on the terminal.
[0054] By presetting functions for editing virtual objects in the application, triggering the corresponding control can control the virtual object to perform complex movements such as rotation, three-dimensional mirroring, and translation, which is convenient for players to fully understand the structure of the virtual object and realize operations such as editing, combining, designing, and copying of the virtual object.
[0055] Taking the mirroring function as an example, when the mirroring function of the target virtual object in the virtual scenario is triggered, the corresponding mirror coordinate system of the target virtual object is displayed. Among them, the origin of the mirror coordinate system is a preset reference point on the target virtual object. The mirror coordinate system includes multiple mirror coordinate axes, and the mirror coordinate axes form at least two mirror planes. The mirror plane is used to provide a flipping reference plane for mirroring the virtual object. Users can mirror the target virtual object according to the mirror plane to obtain a highly symmetric virtual object, without the need for users to manually control the flipping of the virtual object, which improves the operation efficiency and the accuracy of the flipping operation when designing the structure of the virtual object.
[0056] Schematically, as Figure 1 shown, Figure 1 is a schematic diagram of displaying the mirror coordinate system in the virtual scenario.
[0057] There is a selected target virtual object 110 in the virtual scenario 100. After receiving the mirroring trigger operation on the target virtual object 110, the mirror coordinate system 120 will be correspondingly displayed.
[0058] Optionally, the origin of the mirror coordinate system 120 is the center of the target virtual object 110. The mirror coordinate system 100 includes a plurality of mirror coordinate axes 121 and a plurality of mirror axial planes 122 formed by the mirror coordinate axes 121.
[0059] Triggering any one of the plurality of mirror axial planes 122 correspondingly displays the mirror result of the target virtual object 110 with this mirror axial plane 122 as the flipping reference plane.
[0060] It should be noted that the number and positions of the mirror coordinate axes included in the mirror coordinate system can be arbitrary. Figure 1 Taking three mirror axial planes as an example for illustration, in some embodiments, the positions and the number of the mirror axial planes in the mirror coordinate system can also be arbitrary.
[0061] The terminal in this application can be a desktop computer, a laptop computer, a mobile phone, a tablet computer, an e-book reader, an MP3 (Moving Picture Experts Group Audio Layer III) player, an MP4 (Moving Picture Experts Group Audio Layer IV) player, and so on. An application program that supports virtual scenes is installed and run in the terminal, such as an application program that supports three-dimensional virtual scenes. This application program can be any one of a virtual reality application program, a three-dimensional map program, a simulation game (SLG), and a multiplayer online battle arena game (MOBA). Optionally, this application program can be a stand-alone version of the application program, such as a stand-alone three-dimensional game program, or a network online version of the application program.
[0062] Figure 2 The structural block diagram of an electronic device provided by an exemplary embodiment of this application is shown. The electronic device 200 includes: an operating system 220 and an application program 222.
[0063] The operating system 220 is a basic software that provides secure access to computer hardware for the application program 222.
[0064] The application 222 is an application that supports virtual scenarios. Optionally, the application 222 is an application that supports three-dimensional virtual scenarios. The application 222 can be any one of a virtual reality application, a three-dimensional map program, a TPS game (Third-Person Shooter), an FPS game (First-Person Shooter), a MOBA game, and an SLG game. The application 222 can be a stand-alone version of the application, such as a stand-alone three-dimensional game program, or a networked online version of the application.
[0065] Figure 3 FIG. shows a structural block diagram of a computer system provided by an exemplary embodiment of the present application. The computer system 300 includes: a first device 320, a server 340, and a second device 360.
[0066] The first device 320 installs and runs an application that supports virtual scenarios. The application can be any one of a virtual reality application, a three-dimensional map program, a TPS game, an FPS game, a MOBA game, and an SLG game. The first device 320 is a device used by a first user. The first user uses the first device 320 to control a master virtual object located in the virtual scenario to perform activities, and the activities include but are not limited to: adjusting the body posture, walking, running, and jumping attacks. Schematically, the master virtual object is a master virtual character, such as a simulated character or an anime character.
[0067] The first device 320 is connected to the server 340 through a wireless network or a wired network.
[0068] The server 340 includes at least one of a server, multiple servers, a cloud computing platform, and a virtualization center. The server 340 is used to provide background services for an application that supports three-dimensional virtual scenarios. Optionally, the server 340 undertakes the main computing work, and the first device 320 and the second device 360 undertake the secondary computing work; or, the server 340 undertakes the secondary computing work, and the first device 320 and the second device 360 undertake the main computing work; or, the server 340, the first device 320, and the second device 360 adopt a distributed computing architecture for collaborative computing.
[0069] The second device 360 installs and runs an application that supports virtual scenarios. The application can be any one of a virtual reality application, a 3D map program, a first-person shooter (FPS) game, a multiplayer online battle arena (MOBA) game, and a strategy (SLG) game. The second device 360 is a device used by a second user. The second user uses the second device 360 to control other virtual objects located in the virtual scenario to perform activities, and the activities include but are not limited to at least one of adjusting body postures, walking, running, and jumping attacks. Schematically, the other virtual objects are other virtual characters, such as simulated human characters or anime characters.
[0070] Optionally, the master virtual character and other virtual characters are in the same virtual scenario. Optionally, the master virtual character and other virtual characters can belong to the same team, the same organization, have a friendship relationship, or have temporary communication permissions. Optionally, the master virtual character and other virtual characters can also belong to different teams, different organizations, or two hostile groups.
[0071] Optionally, the applications installed on the first device 320 and the second device 360 are the same, or the applications installed on the two devices are the same type of application on different control system platforms. The first device 320 can generally refer to one of multiple devices, and the second device 360 can generally refer to one of multiple devices. This embodiment only uses the first device 320 and the second device 360 as examples for illustration. The device types of the first device 320 and the second device 360 are the same or different. The following embodiments use a desktop computer as an example for illustration.
[0072] Those skilled in the art can know that the number of the above devices can be more or less. For example, the above devices can be only one, or there can be dozens or hundreds of the above devices, or even more. The embodiments of the present application do not limit the number and device types of the devices.
[0073] It should be noted that the above-mentioned server 340 can be implemented as a physical server or a cloud server in the cloud. 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. Cloud technology is the general term for network technology, information technology, integration technology, management platform technology, application technology, etc. based on the cloud computing business model, which can form a resource pool, be used on demand, and be flexible and convenient. Cloud computing technology will become an important support. The background services of the technical network system require a large amount of computing and storage resources, such as video websites, picture websites, and more portal websites. With the high development and application of the Internet industry, in the future, each item may have its own identification mark and needs to be transmitted to the background system for logical processing. Data at different levels will be processed separately, and various industry data requires a powerful system backup support, which can only be achieved through cloud computing. Optionally, when the server 340 is implemented as a cloud server, the program corresponding to the above virtual scenario can be a cloud game.
[0074] In some embodiments, the method provided by the embodiments of the present application can be applied to a cloud game scenario, so as to complete the calculation of data logic during the game process through a cloud server, and the terminal is responsible for displaying the game interface.
[0075] Optionally, the above-mentioned server 340 can also be implemented as a node in a blockchain system.
[0076] Combined with the above noun introduction and application scenarios, the method for editing virtual objects in the virtual scenario provided by the present application will be described. This method can be executed by a server or a terminal, or jointly executed by a server and a terminal. In the embodiments of the present application, taking the example that this method is executed by a terminal, an application program based on the virtual scenario is installed in the terminal, and the virtual objects in the virtual scenario can be edited through the UGC editor corresponding to the application program. As Figure 4 shown, Figure 4 is a flowchart of the method for editing virtual objects in the virtual scenario provided by an exemplary embodiment of the present application. The method includes the following steps.
[0077] Step 410, display the first virtual object in the virtual scenario.
[0078] Among them, the first virtual object is a UGC (User Generated Content) object, and the UGC object is an editable object.
[0079] Optionally, there is at least one virtual object in the virtual scene, and the at least one virtual object includes a first virtual object, where the first virtual object is an editable virtual object. An UGC editor is also displayed in the terminal interface, and the UGC editor is used to provide a function for editing the first virtual object.
[0080] Receive a click operation on the first virtual object, and the first virtual object is selected to enter the editable mode. Editing function options are correspondingly displayed on the terminal interface, and the editing function options include multiple functions for editing the first virtual object.
[0081] Receive a trigger operation on a target function option in the editing function options, edit the first virtual object according to the function provided by the target function option, and display the edited first virtual object.
[0082] Schematically, as Figure 5 shown, Figure 5 is a schematic diagram of an editing function option.
[0083] Display the first virtual object 510 in the virtual scene 500. After the first virtual object 510 is selected, the first virtual object 510 enters the editable mode, and the corresponding editing function options 520 are displayed.
[0084] Exemplarily, the editing function options 520 include the following several function options.
[0085] (1) Movement function, controlling the movement of the first virtual object 510 and changing the position of the first virtual object 510 in the virtual scene 500;
[0086] (2) Rotation function, controlling the rotation of the first virtual object 510 and changing the posture and angle of the first virtual object 510 in the virtual scene 500;
[0087] (3) Scaling function, controlling the size of the first virtual object 510 to achieve the enlargement and reduction of the first virtual object 510;
[0088] (4) Mirror function: Performing a mirror processing on the first virtual object 510 to make the structure of the first virtual object 510 change symmetrically;
[0089] (5) Deletion function: After deleting the first virtual object 510, the first virtual object 510 is no longer displayed in the virtual scene 500;
[0090] (6) Editing function: Editing parameters such as the shape, color, and structure of the first virtual object 510 to change the appearance of the first virtual object 510.
[0091] In the above example, only 6 function options are exemplified as editing function options. The function options included in the editing function options can also be other types of functions, and this embodiment does not limit this.
[0092] The position of the editing function options in the display area can be fixed, such as: by default, fixed at the upper left corner, lower left corner or directly below of the terminal interface. Or, the user can also customize the fixed position of the editing function options, where, as Figure 5 shown, the position of the editing function options in the display area is fixed directly below the terminal interface. In some embodiments, in order to improve the flexibility and convenience when editing the first virtual object, the position of the editing function options can also be changed at any time.
[0093] In some embodiments, the editing function options can also be set to be follow-up type. When switching the perspective in the application program causes the position of the first virtual object displayed on the terminal interface to change, the position of the editing function options displayed on the terminal interface will also change accordingly. For example: in the first perspective, the position of the first virtual object on the terminal interface is the first position, and the position of the editing function options on the terminal interface is the first relative position; when the first perspective is switched to the second perspective, the position of the first virtual object on the terminal interface is the second position, and the position of the editing function options on the terminal interface is the second relative position. Or, when moving the first virtual object in the virtual scene, the editing function options automatically follow the first virtual object, that is, the relative position between the first virtual object and the editing function options remains unchanged.
[0094] Schematically, as Figure 6 shown, Figure 6 is a schematic diagram of the editing function options following the first virtual object.
[0095] Among them, editing function options 620 are displayed around the first virtual object 610, and the editing function options 620 display multiple function options in a circular manner.
[0096] It should be noted that the display method of the editing function options following the first virtual object includes but is not limited to Figure 6 the exemplified method.
[0097] Step 420, in response to receiving a mirror trigger operation on the first virtual object, display a mirror coordinate system.
[0098] Optionally, the ways to receive the mirror trigger operation for the first virtual object include, but are not limited to, the following: (1) Display a target virtual control corresponding to the mirror function on the terminal interface, and successively receive the selection operation for the first virtual object and the trigger operation for the target virtual control; (2) First receive the selection operation for the first virtual object, then receive a sliding operation, and trigger the mirror function according to the sliding trajectory corresponding to the sliding operation.
[0099] Among them, the mirror coordinate system includes multiple mirror coordinate axes, and the multiple mirror coordinate axes form at least two mirror axial planes, and the mirror axial planes are used to provide a flipping reference plane for mirror processing the first virtual object.
[0100] Taking a three-dimensional virtual scene as an example, the mirror coordinate system includes 3 mirror coordinate axes, and each axis corresponds to a direction in the three-dimensional virtual scene. Among them, a mirror axial plane is formed between every 2 mirror coordinate axes, so the mirror coordinate system contains a total of 3 mirror axial planes.
[0101] Optionally, the mirror coordinate system includes 3 mirror coordinate axes and 3 mirror axial planes. Among them, each mirror axial plane is composed of 2 mirror coordinate axes, the mirror coordinate axes do not coincide with each other, and the mirror axial planes do not coincide with each other.
[0102] Optionally, in response to receiving the trigger operation for the mirror option in the editing function options for the first virtual object, display the mirror coordinate system.
[0103] Schematically, as Figure 7 shown, the editing function options 720 for the first virtual object 710 include a mirror function option 721. Triggering the mirror function option 721 means receiving the mirror trigger operation for the first virtual object, and displaying the mirror coordinate system 730.
[0104] In some embodiments, in response to receiving the mirror trigger operation for the first virtual object, display the mirror coordinate system based on the first reference point in the virtual scene, where the mirror coordinate system and the first virtual object maintain a fixed relative position.
[0105] Optionally, the first reference point 700 is the center of the first virtual object 710.
[0106] As Figure 7 shown, the first reference point 700 in the virtual scene is the origin of the mirror coordinate system 730, and the mirror coordinate system 730 includes multiple mirror coordinate axes 731 and mirror axial planes 732.
[0107] Step 430, in response to receiving the trigger operation for the first mirror axial plane among at least two mirror axial planes, display the mirror result of the first virtual object with the first mirror axial plane as the flipping reference plane.
[0108] Optionally, there is at least one way to mirror the first virtual object. Before receiving the trigger operation on the mirror coordinate axis in the mirror coordinate system, the mirroring method of the first virtual object is determined first.
[0109] After receiving the mirror trigger operation on the first virtual object, while displaying the mirror coordinate system, display the mirror options.
[0110] The mirror options include a center mirror option and a face - attaching mirror option. Among them, the center mirror option means using the center of the first virtual object as the center point for mirror flipping, and the face - attaching mirror option means using a preset edge of the first virtual object as the central axis for mirror flipping.
[0111] Receive the selection operation on the target mirror option in the mirror options. The target mirror option includes any one of the center mirror option and the face - attaching mirror option.
[0112] Schematically, as Figure 8 shown, Figure 8 is a schematic diagram of the selection process of the target mirror option.
[0113] After triggering the mirror function option 820 corresponding to the first virtual object 810, the control form corresponding to the mirror function option 820 changes from the normal state 821 to the selected state 822.
[0114] At this time, by triggering the mirror option 830, the center mirror option 831 and the face - attaching mirror option 832 can be expanded and displayed, and any one of the center mirror option and the face - attaching mirror option can be selected as the target mirror option.
[0115] After determining the target mirror option, receive the trigger operation on the first mirror plane among at least two mirror planes, and display the mirror result of the first virtual object with the first mirror plane as the flipping reference plane.
[0116] Optionally, in response to receiving the trigger operation on the first mirror plane among at least two mirror planes, and the target mirror option is the center mirror option, display the mirror result of mirror - flipping the first virtual object with the center of the first virtual object as the center point for mirror flipping and the first mirror plane as the flipping reference plane.
[0117] Schematically, as Figure 9 shown, Figure 9 is a schematic diagram of central mirror processing of the first virtual object.
[0118] The center of the first virtual object 910 is the origin of the mirror coordinate system. That is, the center of the first virtual object is used as the center point for mirror flipping. Among them, the mirror coordinate system includes 3 mirror planes, namely mirror plane X, mirror plane Y, and mirror plane Z.
[0119] Exemplarily, the mirror axis plane Z is used as the first mirror axis plane, and the first virtual object 910 is mirrored to obtain a mirror flip result 920, which is a mirror image of the first virtual object 910 about the mirror axis plane Z.
[0120] It is worth noting that after the first virtual object 910 is mirror-flipped, only the mirror-flipped result 920 is displayed, and the border of the first virtual object 910 is a dotted line to illustrate the changes before and after the first virtual object 910 is flipped.
[0121] Optionally, in response to receiving a trigger operation on a first mirror axis plane among at least two mirror axis planes, and the target mirror option is a veneer mirror option, a mirror result of mirror flipping the first virtual object with the first edge of the first virtual object as the mirror flip center axis and the first mirror axis plane as the flip reference plane is displayed.
[0122] Indicatively, such as Figure 10 As shown, Figure 10 This is a schematic diagram of performing mirror processing on the first virtual object.
[0123] The first edge of the first virtual object 1010 is the mirror flip center axis, and the mirror coordinate system includes three mirror axis planes, namely, mirror axis plane X, mirror axis plane Y and mirror axis plane Z.
[0124] Exemplarily, the mirror axis plane Z is used as the first mirror axis plane, and the first virtual object 1010 is mirrored to obtain a mirror flip result 1020, which is a mirror image of the first virtual object 1010 about the mirror axis plane Z.
[0125] Optionally, if the first edge is a straight line, the straight line is used as the mirror flip center axis; if the first edge is a curve, the tangent of the selected combined edge is used as the mirror flip center axis.
[0126] It is worth noting that after the first virtual object 1010 is mirror-flipped, only the mirror-flipped result 1020 is displayed, and the border of the first virtual object 1010 is a dotted line to illustrate the changes before and after the first virtual object 1010 is flipped.
[0127] In some embodiments, multiple mirror axes can be selected simultaneously to mirror flip the first virtual object, including the following situations.
[0128] 1. In response to receiving a trigger operation on a plurality of target mirror planes in at least two mirror planes, display the mirroring results of the first virtual object successively with the plurality of target mirror planes as the flipping reference planes, wherein the mirroring flipping process of the first virtual object conforms to the first selection order condition, and the first selection order condition is used to indicate the order in which the plurality of target mirror planes are selected;
[0129] Exemplarily, if the first mirror plane and the second mirror plane are selected in sequence, the mirroring result means: first display the first mirroring result (located at the second position) of the first virtual object (located at the first position) flipped with the first mirror plane as the flipping reference plane, and then display the second mirroring result (located at the third position) of the first virtual object (located at the first position) flipped with the second mirror plane as the flipping reference plane. During this mirroring process, the number of the first virtual objects increases to 2, and the positions of the first virtual objects are changed from the first position to the second position and the third position.
[0130] 2. In response to receiving a trigger operation on a plurality of target mirror planes in at least two mirror planes, display the mirroring results of the first virtual object simultaneously with the plurality of target mirror planes as the flipping reference planes;
[0131] Exemplarily, if the first mirror plane and the second mirror plane are selected, the mirroring result means: simultaneously display the first mirroring result (located at the second position) of the first virtual object (located at the first position) flipped with the first mirror plane as the flipping reference plane, and the second mirroring result (located at the third position) of the first virtual object (located at the first position) flipped with the second mirror plane as the flipping reference plane. During this mirroring process, the number of the first virtual objects increases to 2, and the positions of the first virtual objects are changed from the first position to the second position and the third position.
[0132] 3. In response to receiving a trigger operation on a plurality of target mirror planes in at least two mirror planes, display the mirroring results of the first virtual object with the plurality of target mirror planes as the flipping reference planes, wherein, during the mirroring process of the first virtual object, the flipping process based on the (i + 1)-th target mirror plane is performed on the basis of the flipping result of the i-th target mirror plane, and i is a positive integer;
[0133] Exemplarily, if the first mirror plane and the second mirror plane are selected in sequence, the mirroring result means: first display the process of the first virtual object (located at the first position) flipped with the first mirror plane as the flipping reference plane (at this time the first virtual object is located at the second position), and then display the mirroring result (located at the third position) of the first virtual object (located at the second position) flipped with the second mirror plane as the flipping reference plane. During this mirroring process, the number of the first virtual objects remains unchanged, and the position of the first virtual object is changed from the first position to the third position.
[0134] In some embodiments, in order to improve the fun of the mirroring process of the first virtual object and make the mirroring result richer, the appearance of the mirroring axis surface can also be set before the mirroring, so that after the first virtual object is flipped on the mirroring axis surface, the appearance of the first virtual object is changed accordingly.
[0135] In response to receiving a selection operation for the first mirror axis plane among at least two mirror axis planes, display a performance feature option corresponding to the first mirror axis plane, the performance feature option is used to adjust the appearance performance of the first mirror axis plane; in response to receiving a trigger operation for a target performance feature option, display the first mirror axis plane with the target performance feature as the appearance performance; in response to receiving a trigger operation for the first mirror axis plane among at least two mirror axis planes, display the mirror result of the first virtual object with the first mirror axis plane as the flip reference plane and the target performance feature as the appearance performance.
[0136] Exemplarily, the display feature options of the first mirror axis surface include: (1) a color option, used to change the color of the first mirror axis surface; (2) a volume option, used to change the size of the first mirror axis surface; (3) a texture option: used to change the texture of the first mirror axis surface; (4) a special effect option, used to superimpose special effects on the first mirror axis surface, such as flashing special effects, flickering special effects, edge highlighting special effects, etc.
[0137] Optionally, the target display mode is: set the color of the first mirror axis surface to blue, set the volume of the first mirror axis surface to twice the default volume, and set the texture of the first mirror axis surface to spots.
[0138] Then, when the first virtual object is flipped with the first mirror axis plane as the flip reference plane, the corresponding mirroring result is: the color of the mirrored first virtual object is superimposed with a blue filter, the volume becomes twice the default volume, and there are spots on the outer surface.
[0139] Multiple options in the above-mentioned performance feature options can be implemented separately or in combination, which is not limited in this embodiment.
[0140] In some embodiments, if the operation of triggering the mirror axis plane is an accidental touch, the mirror operation can also be canceled within a preset time, and the first virtual object will not change.
[0141] Optionally, a trigger operation on a first mirror axis surface among at least two mirror axis surfaces is received; in response to receiving a mirror cancellation operation within a preset time after receiving the trigger operation on the first mirror axis surface, a mirror cancellation prompt message is displayed.
[0142] Exemplarily, the preset duration is 1 second, and the types of mirror cancellation operations include but are not limited to the following: (1) triggering the first mirror plane again within the preset duration; (2) sliding to cancel within the preset duration, and the sliding gesture can be arbitrary; (3) triggering the target virtual control corresponding to the mirror cancellation operation within the preset duration.
[0143] In summary, the method provided in this application, by receiving a mirror trigger operation on the first virtual object (UGC object) and displaying the mirror coordinate system and multiple mirror planes in the mirror coordinate system, can provide a flipping reference plane for mirror processing the first virtual object, improving the convenience when the user edits the first virtual object. Receiving a trigger operation on the mirror plane can automatically display the mirror result of the first virtual object flipped based on the mirror plane, making the structural display effect of the first virtual object clearer and more intuitive, and improving the efficiency when the user designs the structure of the first virtual object.
[0144] The method provided in this embodiment displays the mirror coordinate system based on the first reference point in the virtual scene, uses the first reference point as the origin of the mirror coordinate system, and keeps the relative position between the first virtual object and the mirror coordinate system fixed. This can ensure the symmetry and stability of the object structure when mirroring the first virtual object and when the application switches perspectives, avoid the mirror coordinate system deviating from the first virtual object due to accidental touch, and improve the efficiency of the mirror operation.
[0145] The method provided in this embodiment provides two mirror options, the center mirror option and the surface mirror option, improving the richness of the types of mirror operations.
[0146] The method provided in this embodiment mirrors and flips the first virtual object based on the mirror flipping center point during center mirroring, changing the orientation of the first virtual object, and improving the efficiency of the mirror operation.
[0147] The method provided in this embodiment mirrors and flips the first virtual object based on the mirror flipping central axis during surface mirroring, changing the position of the first virtual object, and improving the efficiency of the mirror operation.
[0148] The above embodiments are described by taking the editing operation of a first virtual object as an example. In some embodiments, there are multiple editable first virtual objects in the virtual scene. The multi-selection function provided by the UGC editor can be used to simultaneously select multiple first virtual objects for editing. As Figure 11 shown, Figure 11 is a flowchart of a method for editing multiple first virtual objects provided by an exemplary embodiment of this application, which is executed by a terminal. The method includes the following steps.
[0149] Step 1110, display the first virtual object in the virtual scene.
[0150] Among them, the first virtual object is a UGC object, and the UGC object is an editable object.
[0151] Optionally, there are multiple first virtual objects in the virtual scene. The shape and size of each first virtual object can be arbitrary, and any editable virtual object can be called a first virtual object. Among them, the way of classifying virtual object types can be arbitrary, such as: classified according to the shape, size, color, and symmetry of the virtual object.
[0152] Step 1120: In response to receiving a mirror trigger operation on multiple first virtual objects, determine the center point corresponding to at least one first virtual object among the multiple first virtual objects and display a mirror coordinate system based on the center point.
[0153] This mirror trigger operation is an operation on multiple first virtual objects. Schematically, such as Figure 12 shown Figure 12 is a schematic diagram of selecting multiple first virtual objects.
[0154] There are multiple first virtual objects 1210 in the virtual scene 1200. Triggering the multi-selection control 1221 can select any number of first virtual objects 1210.
[0155] Among them, the selection methods corresponding to the multi-selection control 1221 include the following two types:
[0156] (1) Point selection: Multiple selection is performed by clicking on different first virtual objects 1210 multiple times;
[0157] (2) Point selection + box selection: By receiving a slide, a dotted line box for containing the first virtual objects 1210 is automatically displayed according to the slide operation. The first virtual objects 1210 located within the dotted line box are selected; if the positions of the first virtual objects 1210 are relatively scattered and it is impossible to select all the first virtual objects 1210 that need to be edited only through the slide operation, the first virtual objects 1210 that are not selected can also be clicked continuously, and all the first virtual objects 1210 selected by the point selection operation and the box selection operation are jointly used as the selected first virtual objects 1210.
[0158] Among them, determining the center point corresponding to at least one first virtual object among the multiple first virtual objects includes, but is not limited to, the following situations.
[0159] (1) Arrange multiple first virtual objects in the order of selection of the first virtual object, determine the serial number corresponding to each first virtual object, select one serial number according to preset requirements, and use the center point of the first virtual object corresponding to the serial number as the center point for displaying the mirror coordinate system. For example, if 3 first virtual objects are selected, use the center point of the first virtual object with serial number 3 as the center point for displaying the mirror coordinate system;
[0160] (2) Perform a combination operation on the selected multiple first virtual objects, combine at least one of the multiple first virtual objects into a virtual module, and use the center point of the virtual module as the center point for displaying the mirror coordinate system. For example, if 5 first virtual objects are selected, form a virtual module from these 5 first virtual objects, use the center point of the virtual module as the center point for displaying the mirror coordinate system, and display the mirror coordinate system based on the first reference point; or, if 5 first virtual objects are selected, form a virtual module from 3 of them, and use the center point of the virtual module as the center point for displaying the mirror coordinate system. Optionally, in the case of receiving a mirror trigger operation on multiple first virtual objects, receive a combination selection operation on at least one virtual object among the multiple first virtual objects, and the combination selection operation is used to combine the selected at least one virtual object to obtain a virtual module; determine the center point corresponding to the virtual module, and display the mirror coordinate system based on the center point of the virtual module.
[0161] Schematically, as Figure 12 shown, triggering the combination control 1222 can select any number of first virtual objects 1210 for combination to obtain the corresponding virtual module 1230.
[0162] Exemplarily, combine all the selected multiple first virtual objects 1210 to obtain a virtual module 1230, and display the mirror coordinate system 1240 based on the center point of the virtual module 1230.
[0163] Step 1130, in response to receiving a trigger operation on the first mirror plane among at least two mirror planes, display the mirror result of the first virtual object with the first mirror plane as the flipping reference plane.
[0164] Optionally, there is at least one way to perform mirror processing on the first virtual object. Before receiving a trigger operation on the mirror coordinate axis in the mirror coordinate system, first determine the mirroring method of the first virtual object.
[0165] After receiving a mirror trigger operation on the first virtual object, while displaying the mirror coordinate system, display mirror options.
[0166] The mirroring options include a center mirroring option and a veneer mirroring option. Among them, the center mirroring option means taking the center of the first virtual object as the center point for mirror flipping, and the veneer mirroring option means taking a preset edge of the first virtual object as the central axis for mirror flipping.
[0167] Receive a selection operation on a target mirroring option in the mirroring options, where the target mirroring option includes any one of the center mirroring option and the veneer mirroring option.
[0168] Optionally, when the target mirroring option is the center mirroring option and the first mirror plane is used as the flipping reference plane, the mirroring results of mirror flipping multiple first virtual objects include the following situations.
[0169] 1.1 In response to receiving a triggering operation on the first mirror plane among at least two mirror planes, and the target mirroring option is the center mirroring option, display the mirroring result of mirror flipping multiple first virtual objects with the combined center of the multiple first virtual objects as the center point for mirror flipping and the first mirror plane as the flipping reference plane;
[0170] As Figure 13 shown, Figure 13 is a schematic diagram of performing center mirroring on the virtual module corresponding to the first virtual object.
[0171] The center of the virtual module 1310 formed by combining multiple first virtual objects is the origin of the mirror coordinate system. That is, the center of the virtual module 1310 is used as the center point for mirror flipping. Among them, the mirror coordinate system includes 3 mirror planes, namely the mirror plane X, the mirror plane Y, and the mirror plane Z.
[0172] Exemplarily, taking the mirror plane Z as the first mirror plane, perform mirror flipping on the virtual module 1310 to obtain a mirror flipping result 1320. The mirror flipping result 1320 and the virtual module 1310 are mirrored with respect to the mirror plane Z.
[0173] It should be noted that after mirror flipping the virtual module 1310, only the mirror flipping result 1320 is displayed, and the border of the virtual module 1310 is shown as a dotted line to illustrate the changes before and after flipping the virtual module 1310.
[0174] 1.2 In response to receiving a triggering operation on the first mirror plane among at least two mirror planes, and the target mirroring option is the center mirroring option, display the mirroring result of mirror flipping multiple first virtual objects with the center of the target virtual object among the multiple first virtual objects as the center point for mirror flipping and the first mirror plane as the flipping reference plane.
[0175] Among them, the target virtual object is a virtual object that meets the selection order condition among multiple first virtual objects, and the selection order condition is used to indicate the order requirement for the target virtual object to be selected for mirror flipping among multiple first virtual objects.
[0176] Optionally, meeting the selection order condition means that the target virtual object is the last first virtual object selected among multiple first virtual objects.
[0177] Sort the multiple first virtual objects in ascending order according to the order of selection of the first virtual objects. Each first virtual object corresponds to its own serial number, and the first virtual object with the largest serial number is determined as the target virtual object.
[0178] Exemplarily, a total of 5 first virtual objects are selected and sorted in ascending order according to the selection order. The serial numbers are 1, 2, 3, 4, and 5 respectively. The first virtual object with the serial number 5 is used as the target virtual object, and the center of the target virtual object is used as the mirror flipping center point.
[0179] It should be noted that the selection order condition can be arbitrary. The method of determining the target virtual object from multiple first virtual objects can use other arbitrary methods in addition to the method based on the selection order condition for example described above. This embodiment does not limit this.
[0180] Optionally, when the target mirror option is the face-attached mirror option and the first mirror axis plane is used as the flipping reference plane, the mirroring results of mirroring multiple first virtual objects include the following situations.
[0181] 2.1 In response to receiving a trigger operation on the first mirror axis plane among at least two mirror axis planes, and the target mirror option is the face-attached mirror option, display the mirroring result of mirroring multiple first virtual objects with the combined edge of the multiple first virtual objects as the mirror flipping central axis and the first mirror axis plane as the flipping reference plane;
[0182] Such as Figure 14 shown, Figure 14 is a schematic diagram of face-attached mirroring processing of the virtual module corresponding to the first virtual object.
[0183] The combined edge of the virtual module 1410 formed by multiple first virtual objects is used as the mirror flipping central axis. Among them, the mirror coordinate system includes 3 mirror axis planes, namely mirror axis plane X, mirror axis plane Y, and mirror axis plane Z.
[0184] Optionally, if the combined edge is a straight line, then use this straight line as the mirror flipping central axis. If the combined edge is a curve, then use the tangent of the selected combined edge as the mirror flipping central axis.
[0185] Exemplarily, the mirror axis plane Z is used as the first mirror axis plane, and the virtual module 1410 is mirrored to obtain a mirror flip result 1420, and the mirror flip result 1420 is mirrored with the virtual module 1410 about the mirror axis plane Z.
[0186] It is worth noting that after the virtual module 1410 is mirror-flipped, only the mirror-flipped result 1420 is displayed, and the border of the virtual module 1410 is a dotted line to illustrate the changes before and after the virtual module 1410 is flipped.
[0187] 2.2 In response to receiving a trigger operation on a first mirror axis plane among at least two mirror axis planes, and the target mirror option is a veneer mirror option, displaying the mirroring results of mirror flipping the multiple first virtual objects with the second edge of the target virtual object among the multiple first virtual objects as the mirror flip center axis and the first mirror axis plane as the flip reference plane.
[0188] Wherein, the target virtual object is a virtual object that meets the selection order condition among the multiple first virtual objects, and the selection order condition is used to indicate the order requirement for the target virtual object to be selected among the multiple first virtual objects for mirror flipping.
[0189] In some embodiments, multiple first virtual objects form a complete virtual module. In addition to editing the virtual module as a whole (such as mirroring operations), you can also edit some of the first virtual objects in the virtual module to change only the form of the first virtual objects.
[0190] For example, the following description is made by taking the receiving of a mirror triggering operation for a portion of the first virtual object in the virtual module as an example.
[0191] There are three first virtual objects that together constitute virtual module B, namely first virtual object A1, first virtual object A2, and first virtual object A3. Only the first virtual object A1 can be centrally mirrored, and the corresponding mirroring result is first mirrored virtual object A11, which still belongs to virtual module B. That is, virtual module B is now composed of first mirrored virtual object A11, first virtual object A2, and first virtual object A3.
[0192] In some embodiments, in addition to combining multiple first virtual objects into a complete virtual module by combining controls as described above, other virtual objects can also be attached to the first virtual object so that the other virtual objects can follow the first virtual object to transform.
[0193] Exemplarily, the first virtual object is attached with at least one second virtual object, and the second virtual object follows the first virtual object.
[0194] In response to receiving a trigger operation on a first mirror plane among at least two mirror planes, display the mirroring results of a first virtual object and at least one second virtual object simultaneously with the first mirror plane as the flipping reference plane.
[0195] Among them, multiple second virtual objects can be attached to the first virtual object, and other virtual objects can also be attached to the second virtual object. This attachment relationship can also be called a parent-child relationship, that is, the first virtual object is the parent object and the second virtual object is the child object. A parent object can attach multiple child objects, but a child object has only one parent object, and each child object itself can also be used as a parent object to attach its own child objects.
[0196] When editing the parent object, the child object will inherit the editing attributes of the parent object. That is, when an editing operation is performed on the parent object, the child object will also correspondingly display the editing results after the same editing operation. When only editing the child object, the parent object will not change.
[0197] Exemplarily, a second virtual object B is attached to the first virtual object A, and a third virtual object C is attached to the second virtual object B.
[0198] Then, when only editing the first virtual object A, both the second virtual object B and the third virtual object C will correspondingly display the same editing results. When only editing the second virtual object B, the third virtual object C will correspondingly display the same editing results, while the first virtual object A does not change. When only editing the third virtual object C, neither the first virtual object A nor the second virtual object B changes.
[0199] It should be noted that the types and quantities of other virtual objects attached to each virtual object can be arbitrary, and the forms after attachment can be arbitrary. This embodiment does not limit this.
[0200] In summary, the method provided by this application can, by receiving a mirroring trigger operation on a first virtual object (UGC object), display a mirror coordinate system and multiple mirror planes in the mirror coordinate system, provide a flipping reference plane for mirroring the first virtual object, and improve the convenience when the user edits the first virtual object. Receiving a trigger operation on a mirror plane can automatically display the mirroring results of the first virtual object flipped based on the mirror plane, making the structural display effect of the first virtual object clearer and more intuitive, and improving the efficiency when the user designs the structure of the first virtual object.
[0201] The method provided by this embodiment can receive mirroring trigger operations on multiple first virtual objects, determine the position of a first reference point based on the multiple first virtual objects, and display a mirror coordinate system to implement simultaneous mirroring of the multiple first virtual objects.
[0202] The method provided in this embodiment can combine multiple first virtual objects to obtain corresponding virtual modules, which can improve the complexity and symmetry of the virtual object structure; taking the combination center of the virtual module or the center point of the target virtual object in the virtual module as the center point of mirror flipping, the virtual module is mirror flipped centered, changing the orientation of the virtual module, and improving the efficiency of batch mirror processing of virtual objects.
[0203] The method provided in this embodiment takes the combination edge of the virtual module or the first edge of the target virtual object in the virtual module as the center axis of mirror flipping, and performs face mirror flipping on the virtual module, changing the position of the virtual module, and improving the efficiency of batch mirror processing of virtual objects.
[0204] The method provided in this embodiment can operate only on the first virtual object by establishing an additional relationship between the first virtual object and the second virtual object, and simultaneously implement the editing process of the first virtual object and the second virtual object, and display the corresponding editing results, improving the editing efficiency and flexibility.
[0205] When editing virtual objects in a virtual scene, in addition to mirroring virtual objects through the mirror function option in the above several embodiments, other types of editing operations can also be superimposed with the mirror operation to jointly control virtual objects, such as: combining the operation of copying a virtual object with the operation of mirroring a virtual object. As Figure 15 shown, Figure 15 is a flowchart of a method for simultaneously mirroring and copying a first virtual object provided by an exemplary embodiment of the present application. The method includes the following steps.
[0206] Step 1510, display the first virtual object in the virtual scene.
[0207] Among them, the first virtual object is a UGC object, and the UGC object is an editable object.
[0208] Step 1520, in response to receiving a mirror trigger operation on the first virtual object, display a mirror coordinate system.
[0209] The mirror coordinate system includes a plurality of mirror coordinate axes, and the plurality of mirror coordinate axes form at least two mirror axial planes, and the mirror axial planes are used to provide a flipping reference plane for mirror processing the first virtual object.
[0210] Step 1530, receive a copy trigger operation for the first virtual object.
[0211] Schematically, as Figure 16 shown, Figure 16 is a schematic diagram of a copy trigger for a first virtual object.
[0212] Among them, after the copy control 1610 is triggered, a copy quantity prompt 1620 is displayed. The copy quantity prompt 1620 is used to prompt whether the currently selected first virtual object 1600 can be copied. The copy quantity prompt 1620 corresponds to a key-in area 1623 for the copy quantity and a click control 1624.
[0213] If copying is not allowed, the key-in area 1623 shows a non-input state 1621. If copying is allowed, the key-in area 1623 shows an input state 1622.
[0214] When the first virtual object 1600 can be copied, the copy quantity can be keyed in the key-in area 1623. For example, if the number 2 is keyed in, the number of copies of the first virtual object 1600 is 2. Or the number in the key-in area 1623 can be modified by triggering the click control 1624. Each time the click control 1624 is triggered, the copy quantity increases by 1. Among them, the default value in the key-in area 1623 is 1.
[0215] Exemplarily, Figure 16 the copy quantity prompt 1620 in indicates that the first virtual object 1600 can be copied.
[0216] Step 1540: In response to receiving a triggering operation on the first mirror axis plane among at least two mirror axis planes, display the mirror result of the first virtual object with the first mirror axis plane as the flipping reference plane.
[0217] In response to receiving a triggering operation on the first mirror axis plane among at least two mirror axis planes, based on the copy triggering operation, display a first copied virtual object corresponding to the first virtual object as the mirror result of the first virtual object with the first mirror axis plane as the flipping reference plane.
[0218] Among them, the superimposed effect of the copy operation and the mirror operation is to copy a mirror virtual object on the basis of the original virtual object. That is, in the mirror result of the first virtual object with the first mirror axis plane as the flipping reference plane, in addition to the mirrored first copied virtual object, it also includes the original first virtual object.
[0219] In some embodiments, in addition to the above-mentioned method of triggering the copy control to implement the copy operation, the first virtual object can also be copied by dragging the mirror coordinate axis. It should be noted that the virtual object obtained by this copy operation is exactly the same as the first virtual object, that is, there is no mirror relationship.
[0220] Optionally, this drag-and-copy process can be performed before step 1540 or after step 1540. In this embodiment, an example is given where this process is performed before step 1540.
[0221] In response to receiving a drag operation on a first mirror coordinate axis among multiple mirror coordinate axes, the first virtual object is copied along the drag direction of the first mirror coordinate axis, and a second copied virtual object is displayed.
[0222] After obtaining the second copied virtual object, if step 1540 is then executed, synchronous mirroring can be performed on the first virtual object and the second copied virtual object. That is, in response to receiving a trigger operation on a first mirror plane among at least two mirror planes, the mirroring results of the first virtual object and the second copied virtual object with the first mirror plane as the flipping reference plane are displayed simultaneously.
[0223] It should be noted that the above steps 1510 to 1540 are described by taking the copying and mirroring operations on one first virtual object as an example. In some embodiments, multiple first virtual objects can also be selected simultaneously, and the multiple selected first virtual objects can be copied and mirrored simultaneously to obtain multiple mirrored first virtual objects.
[0224] Optionally, a copy trigger operation for the at least one first virtual object is received, where there may or may not be a combination relationship among the at least one first virtual object.
[0225] In response to receiving a trigger operation on a first mirror plane among the at least two mirror planes, the mirroring results of the at least one first virtual object with the first mirror plane as the flipping reference plane are displayed.
[0226] Exemplarily, 2 first virtual objects are selected, namely the first virtual object A and the first virtual object B. Taking the case where there is no combination relationship between the first virtual object A and the first virtual object B as an example for description.
[0227] (1) Trigger the copy operation through the copy control;
[0228] The mirrored virtual object A1 of the first virtual object A and the mirrored virtual object B1 of the first virtual object B are obtained. Then, there are a total of 4 virtual objects in the mirroring result, namely A, B, A1, and B1;
[0229] (2) Trigger the copy operation by dragging;
[0230] The first case: copy first and then mirror. First, drag the first mirror coordinate axis in the mirror coordinate system, and simultaneously copy the first virtual object A and the first virtual object B to obtain the first virtual object C and the first virtual object D; then trigger the first mirror plane in the mirror coordinate system, and simultaneously mirror the first virtual objects A, B, C, and D to obtain 4 mirrored virtual objects, namely A1, B1, C1, and D4, as the mirroring result.
[0231] Second case: First mirror and then copy. First trigger the first mirror plane in the mirror coordinate system, and at the same time mirror the first virtual objects A and B to obtain 2 mirrored virtual objects, namely A1 and B1; then drag the first mirror coordinate axis in the mirror coordinate system, and at the same time copy the first virtual object A1 and the first virtual object B1 to obtain 2 copied virtual objects, namely C1 and D1. Then the mirror result includes a total of 4 virtual objects: A1, B1, C1, and D1.
[0232] Exemplarily, 3 first virtual objects are selected, namely the first virtual object A, the first virtual object B, and the first virtual object C. Taking the example that there is a combination relationship among the first virtual object A, the first virtual object B, and the first virtual object C, then these 3 first virtual objects together form a virtual module.
[0233] At this time, whether it is copying by dragging or by triggering the copy control, there are the following situations: (1) Taking the virtual module as a whole, perform operations of first copying and then mirroring, or first mirroring and then copying on the virtual module; (2) Only perform operations of first copying and then mirroring, or first mirroring and then copying on some of the first virtual objects in the virtual module.
[0234] In some embodiments, other virtual objects can also be attached to the first virtual object so that the other virtual objects can be mirrored and copied simultaneously with the first virtual object.
[0235] Exemplarily, at least one second virtual object is attached to the first virtual object, and the second virtual object follows the first virtual object.
[0236] Among them, multiple second virtual objects can be attached to the first virtual object, and the second virtual object can also attach other virtual objects. This attachment relationship can also be called a parent-child relationship, that is, the first virtual object is the parent object and the second virtual object is the child object.
[0237] When editing the parent object, the child object will inherit the editing attributes of the parent object. That is, when performing an editing operation on the parent object, the child object will also correspondingly display the editing result after the same editing operation. When only editing the child object, the parent object will not change.
[0238] Optionally, receive a copy trigger operation for the first virtual object. Since the first virtual object is the parent object, this copy trigger operation is an operation for both the first virtual object and the second virtual object.
[0239] In response to receiving a trigger operation for the first mirror plane among at least two mirror planes, display a mirror result in which the first virtual object and at least one second virtual object simultaneously use the first mirror plane as the flipping reference plane.
[0240] Optionally, a replication trigger operation for the at least one second virtual object is received. Since the second virtual object is a sub-object, the replication trigger operation is only for the second virtual object, and the first virtual object is not affected.
[0241] In response to receiving a trigger operation on a first mirror plane among the at least two mirror planes, a plurality of third replicated virtual objects corresponding to the at least one second virtual object are displayed. The plurality of third replicated virtual objects are mirror results of the at least one second virtual object with the first mirror plane as the flipping reference plane. Among them, the plurality of third replicated virtual objects are attached to the first virtual object.
[0242] In summary, the method provided in this application, by receiving a mirror trigger operation on a first virtual object (UGC object) and displaying a mirror coordinate system and a plurality of mirror planes in the mirror coordinate system, can provide a flipping reference plane for mirror processing the first virtual object, improving the convenience for users when editing the first virtual object. Receiving a trigger operation on the mirror plane can automatically display the mirror result of the first virtual object flipped based on the mirror plane, making the structural display effect of the first virtual object clearer and more intuitive, and improving the efficiency of users when designing the structure of the first virtual object.
[0243] The method provided in this embodiment can implement the operation of replicating the first virtual object in multiple ways such as in a dragging manner and triggering a replication control, and superimpose and process it with the mirror operation, which can improve the convenience of the editing operation. Only through simple operations, virtual objects with specified quantities, orientations, and directions can be obtained, increasing the structural complexity and symmetry of the first virtual object during the editing process of the first virtual object.
[0244] Figure 17 is a structural block diagram of an editing device for virtual objects in a virtual scene provided by an exemplary embodiment of this application. As Figure 17 shown, the device includes the following parts.
[0245] An object display module 1710, configured to display a first virtual object in a virtual scene;
[0246] A coordinate system display module 1720, configured to display a mirror coordinate system in response to receiving a mirror trigger operation on the first virtual object. The mirror coordinate system includes a plurality of mirror coordinate axes, and the plurality of mirror coordinate axes form at least two mirror planes. The mirror planes are used to provide a flipping reference plane for mirror processing the first virtual object;
[0247] A mirror result display module 1730, configured to display a mirror result of the first virtual object with the first mirror axis plane as a flipping reference plane in response to receiving a triggering operation on the first mirror axis plane among the at least two mirror axis planes.
[0248] In an optional embodiment, the coordinate system display module 1720 is further configured to display the mirror coordinate system based on a first reference point in the virtual scene in response to receiving a mirror triggering operation on the first virtual object, where the mirror coordinate system keeps a fixed relative position with the first virtual object.
[0249] In an optional embodiment, the coordinate system display module 1720 is further configured to determine a center point corresponding to at least one first virtual object among the multiple first virtual objects in response to receiving a mirror triggering operation on the multiple first virtual objects; and display the mirror coordinate system based on the center point.
[0250] In an optional embodiment, before the mirror result display module 1730, as Figure 18 shown, the device further includes:
[0251] A mirror option selection module 1740, configured to display mirror options, where the mirror options include a center mirror option and a surface-attached mirror option. The center mirror option indicates using the center of the first virtual object as a mirror flipping center point, and the surface-attached mirror option indicates using a preset edge of the first virtual object as a mirror flipping central axis; and receive a selection operation on a target mirror option in the mirror options, where the target mirror option includes any one of the center mirror option and the surface-attached mirror option.
[0252] In an optional embodiment, the mirror result display module 1730 is further configured to display a mirror result of mirror flipping the first virtual object with the center of the first virtual object as a mirror flipping center point and the first mirror axis plane as a flipping reference plane in response to receiving a triggering operation on the first mirror axis plane among the at least two mirror axis planes and the target mirror option being the center mirror option.
[0253] In an optional embodiment, the mirror triggering operation is an operation on multiple first virtual objects;
[0254] The mirror result display module 1730 is further used to, in response to receiving a trigger operation on a first mirror axis plane among the at least two mirror axis planes, and the target mirror option is the center mirror option, display the mirror result of mirror flipping the multiple first virtual objects with the combined center of the multiple first virtual objects as the mirror flip center point and the first mirror axis plane as the flip reference plane; or,
[0255] In response to receiving a trigger operation on a first mirror axis plane among the at least two mirror axis planes, and the target mirror option is the center mirror option, displaying the mirror result of mirror flipping the multiple first virtual objects with the center of the target virtual object among the multiple first virtual objects as the mirror flip center point and the first mirror axis plane as the flip reference plane.
[0256] In an optional embodiment, the target virtual object is a virtual object among the multiple first virtual objects that meets the selection order condition, and the selection order condition is used to indicate the order requirement for the target virtual object to be selected among the multiple first virtual objects for mirror flipping.
[0257] In an optional embodiment, the mirroring result display module 1730 is further used to respond to receiving a trigger operation on the first mirroring axis plane among the at least two mirroring axis planes, and the target mirroring option is the veneer mirroring option, and display the mirroring result of mirror flipping the first virtual object with the first edge of the first virtual object as the mirror flipping center axis and the first mirroring axis plane as the flipping reference plane.
[0258] In an optional embodiment, the mirror triggering operation is an operation on multiple first virtual objects;
[0259] The mirror result display module 1730 is further used to respond to receiving a trigger operation on a first mirror axis plane among the at least two mirror axis planes, and the target mirror option is the veneer mirror option, displaying the mirror result of mirror flipping the multiple first virtual objects with the combined edge of the multiple first virtual objects as the mirror flip center axis and the first mirror axis plane as the flip reference plane; or,
[0260] In response to receiving a trigger operation on a first mirror axis plane among the at least two mirror axis planes, and the target mirror option is the veneer mirror option, the mirror result of mirror flipping the multiple first virtual objects is displayed with the second edge of the target virtual object among the multiple first virtual objects as the mirror flip center axis and the first mirror axis plane as the flip reference plane.
[0261] In an alternative embodiment, after the coordinate system display module 1720, the apparatus further comprises:
[0262] a replication module 1750, configured to receive a replication trigger operation for the first virtual object;
[0263] The mirror result display module 1730 is further configured to, in response to receiving a trigger operation on a first mirror plane among the at least two mirror planes, display a first replicated virtual object corresponding to the first virtual object based on the replication trigger operation, as a mirror result of the first virtual object with the first mirror plane as a flipping reference plane.
[0264] In an alternative embodiment, before the mirror result display module 1730, the replication module 1750 is further configured to, in response to receiving a drag operation on a first mirror coordinate axis among the multiple mirror coordinate axes, replicate the first virtual object along the dragging direction of the first mirror coordinate axis and display a second replicated virtual object;
[0265] The mirror result display module 1730 is further configured to, in response to receiving a trigger operation on a first mirror plane among the at least two mirror planes, display a mirror result of the first virtual object and the second replicated virtual object simultaneously with the first mirror plane as a flipping reference plane.
[0266] In an alternative embodiment, at least one second virtual object is attached to the first virtual object, and the second virtual object follows the first virtual object;
[0267] The mirror result display module 1730 is further configured to, in response to receiving a trigger operation on a first mirror plane among the at least two mirror planes, display a mirror result of the first virtual object and the at least one second virtual object simultaneously with the first mirror plane as a flipping reference plane.
[0268] In an alternative embodiment, the replication module 1750 is further configured to receive a replication trigger operation for the first virtual object;
[0269] The mirror result display module 1730 is further configured to, in response to receiving a trigger operation on a first mirror plane among the at least two mirror planes, display a mirror result of the first virtual object and the at least one second virtual object simultaneously with the first mirror plane as a flipping reference plane.
[0270] In an alternative embodiment, the replication module 1750 is further configured to receive a replication trigger operation for the at least one second virtual object;
[0271] The mirror result display module 1730 is further configured to, in response to receiving a trigger operation on a first mirror axis plane among the at least two mirror axis planes, display a plurality of third replicated virtual objects corresponding to the at least one second virtual object, where the plurality of third replicated virtual objects are the mirror result of the at least one second virtual object with the first mirror axis plane as the flipping reference plane, and wherein the plurality of third replicated virtual objects are attached to the first virtual object.
[0272] In an optional embodiment, after the coordinate system display module 1720, the mirror result display module 1730 is further configured to, in response to receiving a trigger operation on a plurality of target mirror axis planes among the at least two mirror axis planes, display the mirror result of the first virtual object with the plurality of target mirror axis planes as the flipping reference planes in sequence, where the mirror flipping process of the first virtual object conforms to a first selection order, and the first selection order is used to indicate the order in which the plurality of target mirror axis planes are selected; or,
[0273] In response to receiving a trigger operation on a plurality of target mirror axis planes among the at least two mirror axis planes, display the mirror result of the first virtual object with the plurality of target mirror axis planes as the flipping reference planes simultaneously; or,
[0274] In response to receiving a trigger operation on a plurality of target mirror axis planes among the at least two mirror axis planes, display the mirror result of the first virtual object with the plurality of target mirror axis planes as the flipping reference planes, where in the mirror process of the first virtual object, the flipping process based on the (i + 1)-th target mirror axis plane is performed on the basis of the flipping result of the i-th target mirror axis plane, and i is a positive integer.
[0275] In an optional embodiment, after the coordinate system display module 1720, the apparatus further includes:
[0276] An axis plane display module 1760, configured to, in response to receiving a selection operation on a first mirror axis plane among the at least two mirror axis planes, display a performance feature option corresponding to the first mirror axis plane, where the performance feature option is used to adjust the appearance performance of the first mirror axis plane;
[0277] In response to receiving a trigger operation on a target performance feature option, display the first mirror axis plane with the target performance feature as the appearance performance;
[0278] The mirror result display module 1730 is further configured to, in response to receiving a trigger operation on the first mirror axis plane among the at least two mirror axis planes, display the mirror result of the first virtual object with the first mirror axis plane as the flipping reference plane and the target performance feature as the appearance performance.
[0279] In summary, the editing device for virtual objects in a virtual scene provided by the present application can display a mirror coordinate system by receiving a mirror trigger operation on a first virtual object (UGC object). Multiple mirror axial planes in the mirror coordinate system can provide flipping reference planes for mirroring the first virtual object, improving the convenience for users when editing the first virtual object. By receiving a trigger operation on a mirror axial plane, the mirror result of the first virtual object flipped based on the mirror axial plane can be automatically displayed, making the structural display effect of the first virtual object clearer and more intuitive, and improving the efficiency of users when designing the structure of the first virtual object.
[0280] It should be noted that: for the editing device of virtual objects in the virtual scene provided in the above embodiment, only the above division of each functional module is used for illustration. In actual 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. In addition, the editing device of virtual objects in the virtual scene provided in the above embodiment and the embodiment of the editing method of virtual objects in the virtual scene belong to the same concept. For the specific implementation process, please refer to the method embodiment and will not be elaborated here.
[0281] Figure 19 The block diagram of a computer device 1900 provided by an exemplary embodiment of the present application is shown. The computer device 1900 can be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 (Moving Picture Experts Group Audio Layer IV) player, a notebook computer or a desktop computer. The computer device 1900 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, etc.
[0282] Generally, the computer device 1900 includes: a processor 1901 and a memory 1902.
[0283] The processor 1901 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. The processor 1901 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), or PLA (Programmable Logic Array). The processor 1901 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 CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1901 may be integrated with a GPU (Graphics Processing Unit), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1901 may further include an AI (Artificial Intelligence) processor, and the AI processor is used to process computational operations related to machine learning.
[0284] The memory 1902 may include one or more computer-readable storage media, and the computer-readable storage media may be non-transitory. The memory 1902 may further include high-speed random access memory and 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 1902 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 1901 to implement the method for editing virtual objects in a virtual scene provided in the method embodiments of the present application.
[0285] In some embodiments, the computer device 1900 further includes other components. Those skilled in the art can understand that Figure 19 the structure shown in does not constitute a limitation on the computer device 1900, and it may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.
[0286] 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 resistive random access memory (ReRAM) and dynamic random access memory (DRAM). The serial numbers of the embodiments of the present application are only for description and do not represent the advantages or disadvantages of the embodiments.
[0287] An embodiment of the present application further provides a computer device, which 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. 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 method for editing virtual objects in a virtual scene as described in any one of the embodiments of the present application above.
[0288] An embodiment of the present application further provides a computer-readable storage medium. 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 method for editing virtual objects in a virtual scene as described in any one of the embodiments of the present application above.
[0289] An embodiment of the present application further provides a computer program product or a computer program. The computer program product or the computer program includes computer instructions, and the computer instructions are 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 method for editing virtual objects in a virtual scene as described in any one of the above embodiments.
[0290] Those of ordinary skill in the art can understand that all or part of the steps for implementing the above embodiments can be completed by hardware, or can be completed by a program instructing relevant hardware. The program can be stored in a computer-readable storage medium, and the storage medium mentioned above can be read-only memory, a magnetic disk, or an optical disc, etc.
[0291] 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 a virtual object in a virtual scene, characterized in that: The method comprises: displaying a first virtual object in a virtual scene; In response to receiving a mirror trigger operation for the first virtual object, displaying a mirror coordinate system, the mirror coordinate system including a plurality of mirror coordinate axes, the plurality of mirror coordinate axes forming at least two mirror axis planes, the mirror axis planes being used to provide a flip reference plane for performing a mirror process on the first virtual object; In response to receiving a trigger operation on a first mirror axis plane among the at least two mirror axis planes, a mirroring result of the first virtual object with the first mirror axis plane as a flipping reference plane is displayed.
2. The method according to claim 1, characterized in that The step of displaying a mirror coordinate system in response to receiving a mirror triggering operation on the first virtual object comprises: In response to receiving a mirror triggering operation on the first virtual object, the mirror coordinate system is displayed based on a first reference point in the virtual scene, wherein the mirror coordinate system and the first virtual object maintain a fixed relative position.
3. The method according to claim 2, characterized in that In response to receiving a mirror triggering operation on the first virtual object, displaying the mirror coordinate system based on a first reference point in the virtual scene includes: In response to receiving a mirror triggering operation on a plurality of first virtual objects, determining a center point corresponding to at least one first virtual object among the plurality of first virtual objects; The mirror coordinate system is displayed based on the center point.
4. The method according to claim 1, characterized in that In response to receiving a trigger operation on a first mirror axis plane among the at least two mirror axis planes, before displaying a mirroring result of the first virtual object with the first mirror axis plane as a flip reference plane, the method further includes: Display mirroring options, wherein the mirroring options include a center mirroring option and a surface mirroring option, wherein the center mirroring option means that the center of the first virtual object is used as a mirror flipping center point, and the surface mirroring option means that the first virtual object uses a preset edge as a mirror flipping center axis; A selection operation of a target mirroring option in the mirroring options is received, wherein the target mirroring option includes any one of the center mirroring option and the veneer mirroring option.
5. The method according to claim 4, characterized in that In response to receiving a trigger operation on a first mirror axis plane among the at least two mirror axis planes, displaying a mirroring result of the first virtual object with the first mirror axis plane as a flip reference plane comprises: In response to receiving a trigger operation on the first mirror axis plane among the at least two mirror axis planes, and the target mirror option is the center mirror option, the mirror result of mirror flipping the first virtual object is displayed with the center of the first virtual object as the mirror flip center point and the first mirror axis plane as the flip reference plane.
6. The method according to claim 5, characterized in that The mirror triggering operation is an operation on a plurality of first virtual objects; In response to receiving a trigger operation on a first mirror axis plane among the at least two mirror axis planes, and the target mirror option being the center mirror option, displaying the mirror result of mirror flipping the first virtual object with the center of the first virtual object as the mirror flip center point and the first mirror axis plane as the flip reference plane, including: In response to receiving a trigger operation on a first mirror axis plane among the at least two mirror axis planes, and the target mirror option is the center mirror option, displaying the mirror result of mirror flipping the multiple first virtual objects with the combined center of the multiple first virtual objects as the mirror flip center point and the first mirror axis plane as the flip reference plane; or In response to receiving a trigger operation on a first mirror axis plane among the at least two mirror axis planes, and the target mirror option is the center mirror option, the mirror result of mirror flipping the multiple first virtual objects is displayed, with the center of the target virtual object among the multiple first virtual objects as the mirror flip center point and the first mirror axis plane as the flip reference plane.
7. The method according to claim 6, characterized in that The target virtual object is a virtual object that meets a selection order condition among the plurality of first virtual objects, and the selection order condition is used to indicate an order requirement for the target virtual object to be selected among the plurality of first virtual objects for mirror flipping.
8. The method according to claim 4, characterized in that In response to receiving a trigger operation on a first mirror axis plane among the at least two mirror axis planes, displaying a mirroring result of the first virtual object with the first mirror axis plane as a flip reference plane comprises: In response to receiving a trigger operation on the first mirror axis plane among the at least two mirror axis planes, and the target mirror option is the veneer mirror option, the mirror result of mirror flipping the first virtual object is displayed with the first edge of the first virtual object as the mirror flip center axis and the first mirror axis plane as the flip reference plane.
9. The method according to claim 8, characterized in that The mirror triggering operation is an operation on a plurality of first virtual objects; In response to receiving a trigger operation on a first mirror axis plane among the at least two mirror axis planes, and the target mirror option being the veneer mirror option, displaying the mirror result of mirror flipping the first virtual object with the first edge of the first virtual object as the mirror flip center axis and the first mirror axis plane as the flip reference plane, including: In response to receiving a trigger operation on a first mirror axis plane among the at least two mirror axis planes, and the target mirror option is the veneer mirror option, displaying the mirroring result of mirror flipping the multiple first virtual objects with the combined edge of the multiple first virtual objects as the mirror flipping center axis and the first mirror axis plane as the flipping reference plane; or, In response to receiving a trigger operation on the first mirror axis plane among the at least two mirror axis planes, and the target mirror option is the veneer mirror option, the mirror result of mirror flipping the multiple first virtual objects is displayed, using the second edge of the target virtual object among the multiple first virtual objects as the mirror flipping center axis and the first mirror axis plane as the flipping reference plane.
10. The method according to any one of claims 1 to 9, characterized in that: After the mirror coordinate system is displayed in response to receiving the mirror triggering operation on the first virtual object, the method further includes: receiving a copy trigger operation for the first virtual object; In response to receiving a trigger operation on a first mirror axis plane among the at least two mirror axis planes, displaying a mirroring result of the first virtual object with the first mirror axis plane as a flip reference plane comprises: In response to receiving a trigger operation on a first mirror axis plane among the at least two mirror axis planes, a first duplicate virtual object corresponding to the first virtual object is displayed based on the copy trigger operation as a mirror result of the first virtual object with the first mirror axis plane as a flip reference plane.
11. The method according to any one of claims 1 to 9, characterized in that: In response to receiving a trigger operation on a first mirror axis plane among the at least two mirror axis planes, before displaying a mirroring result of the first virtual object with the first mirror axis plane as a flip reference plane, the method further includes: In response to receiving a drag operation on a first mirror coordinate axis among the plurality of mirror coordinate axes, copying the first virtual object along a drag direction of the first mirror coordinate axis, and displaying a second copied virtual object; In response to receiving a trigger operation on a first mirror axis plane among the at least two mirror axis planes, displaying a mirroring result of the first virtual object with the first mirror axis plane as a flip reference plane comprises: In response to receiving a trigger operation on a first mirror axis plane among the at least two mirror axis planes, a mirroring result of the first virtual object and the second duplicate virtual object is displayed while taking the first mirror axis plane as a flipping reference plane.
12. The method according to any one of claims 1 to 9, characterized in that: The first virtual object is attached with at least one second virtual object, and the second virtual object follows the first virtual object; In response to receiving a trigger operation on a first mirror axis plane among the at least two mirror axis planes, displaying a mirroring result of the first virtual object with the first mirror axis plane as a flip reference plane comprises: In response to receiving a trigger operation on a first mirror axis plane among the at least two mirror axis planes, a mirroring result of the first virtual object and the at least one second virtual object is displayed while taking the first mirror axis plane as a flip reference plane.
13. The method according to claim 12, characterized in that The method further comprises: receiving a copy trigger operation for the first virtual object; In response to receiving a trigger operation on a first mirror axis plane among the at least two mirror axis planes, a mirroring result is displayed simultaneously with the first virtual object and the at least one second virtual object with the first mirror axis plane as a flip reference plane.
14. The method according to claim 12, characterized in that The method further comprises: receiving a copy trigger operation for the at least one second virtual object; In response to receiving a trigger operation on a first mirror axis plane among the at least two mirror axis planes, a plurality of third copy virtual objects corresponding to the at least one second virtual object are displayed, wherein the plurality of third copy virtual objects are the mirroring results of the at least one second virtual object with the first mirror axis plane as a flipping reference plane, wherein the plurality of third copy virtual objects are attached to the first virtual object.
15. The method according to any one of claims 1 to 9, characterized in that: After the mirror coordinate system is displayed in response to receiving the mirror triggering operation on the first virtual object, the method further includes: In response to receiving a trigger operation on a plurality of target mirror axis planes among the at least two mirror axis planes, displaying the mirroring results of the first virtual object sequentially using the plurality of target mirror axis planes as flipping reference planes, wherein the mirror flipping process of the first virtual object complies with a first selection order, and the first selection order is used to indicate the order in which the plurality of target mirror axis planes are selected; or In response to receiving a trigger operation on a plurality of target mirror axis planes among the at least two mirror axis planes, displaying a mirroring result of the first virtual object using the plurality of target mirror axis planes as flipping reference planes; or, In response to receiving a trigger operation on multiple target mirror axis planes among the at least two mirror axis planes, the mirroring result of the first virtual object with the multiple target mirror axis planes as flipping reference planes is displayed, wherein, in the mirroring process of the first virtual object, the flipping process based on the i+1th target mirror axis plane is performed on the basis of the flipping result of the i-th target mirror axis plane, and i is a positive integer.
16. The method according to any one of claims 1 to 9, characterized in that: After the mirror coordinate system is displayed in response to receiving the mirror triggering operation on the first virtual object, the method further includes: In response to receiving a selection operation on a first mirror axis surface among the at least two mirror axis surfaces, displaying a performance feature option corresponding to the first mirror axis surface, the performance feature option being used to adjust an appearance performance of the first mirror axis surface; In response to receiving a trigger operation for a target performance feature option, displaying the first mirror axis surface with the target performance feature as an appearance representation; In response to receiving a trigger operation on a first mirror axis plane among the at least two mirror axis planes, displaying a mirroring result of the first virtual object with the first mirror axis plane as a flip reference plane comprises: In response to receiving a trigger operation on the first mirror axis plane among the at least two mirror axis planes, the first virtual object is displayed with the first mirror axis plane as a flip reference plane and the target performance feature as a mirror result of the appearance performance.
17. A device for editing virtual objects in a virtual scene, characterized in that: The device comprises: An object display module, used for displaying a first virtual object in a virtual scene; a coordinate system display module, configured to display a mirror coordinate system in response to receiving a mirror trigger operation for the first virtual object, wherein the mirror coordinate system includes a plurality of mirror coordinate axes, the plurality of mirror coordinate axes form at least two mirror axis planes, and the mirror axis planes are used to provide a flip reference plane for performing mirror processing on the first virtual object; The mirror result display module is used to display the mirror result of the first virtual object with the first mirror axis plane as the flip reference plane in response to receiving a trigger operation on the first mirror axis plane among the at least two mirror axis planes.
18. A computer device, characterized in that: The computer device includes a processor and a memory, wherein the memory stores at least one program, and the at least one program is loaded and executed by the processor to implement the method for editing virtual objects in a virtual scene as described in any one of claims 1 to 16.
19. A computer-readable storage medium, characterized in that: The storage medium stores at least one program, and the at least one program is loaded and executed by the processor to implement the method for editing virtual objects in a virtual scene as described in any one of claims 1 to 15.
20. A computer program product, characterized in that It comprises a computer program, which, when executed by a processor, implements the method for editing a virtual object in a virtual scene as claimed in any one of claims 1 to 16.