Virtual object posture editing method and device, computer equipment and storage medium
Through the pose editing method and device of virtual objects, users can customize the pose of virtual objects, solving the problem of single pose display in the prior art, and improving the display effect and user experience of virtual objects.
Patent Information
- Application Number
- CN202310749987.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-21
- Publication Date
- 2024-12-24
AI Technical Summary
The posture display of virtual objects in existing electronic games is relatively simple, lacks flexibility, and it is difficult to meet the personalized needs of users.
Provides a pose editing method and device for virtual objects. By displaying a pose editing interface, users can perform pose editing of template virtual objects, including bone point adjustment, gestures and expression settings, generate custom poses, and apply them to target virtual objects. Object.
It improves the posture flexibility and display effect of virtual objects, meets users' personalized needs, and enhances the gaming experience.
Smart Images

Figure CN119174914A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of computer technology, and in particular to a method, apparatus, computer equipment, and storage medium for editing the posture of a virtual object. Background Art
[0002] With the development of computer technology and multimedia technology, more and more electronic games have appeared, which greatly enriched people's daily life. Virtual objects are provided in electronic games, and users can control the virtual objects to play games in the electronic games.
[0003] In order to make it easier for users to understand virtual objects, the virtual objects owned by the users can be displayed in the object display interface. However, the postures of the virtual objects are usually fixed postures preset in electronic games, and the display effect is relatively simple and the flexibility is poor. Summary of the invention
[0004] The embodiments of the present application provide a method, device, computer equipment and storage medium for editing the posture of a virtual object, which improves the flexibility of the posture of the virtual object and improves the display effect of the virtual object. The technical solution is as follows:
[0005] In one aspect, a method for editing a posture of a virtual object is provided, the method comprising:
[0006] In response to the gesture creation request, displaying a gesture editing interface, the gesture editing interface including a template virtual object;
[0007] Based on the posture editing operation on the template virtual object in the posture editing interface, controlling the posture of the template virtual object to change so that the template virtual object is in a first posture;
[0008] In response to a gesture application request to apply the gesture of the template virtual object to a target virtual object, the target virtual object in the first gesture is displayed in an object display interface of the target virtual object.
[0009] In another aspect, a device for editing a posture of a virtual object is provided, the device comprising:
[0010] An interface display module, for displaying a gesture editing interface in response to a gesture creation request, wherein the gesture editing interface includes a template virtual object;
[0011] A posture editing module, used for controlling the posture of the template virtual object to change based on the posture editing operation of the template virtual object in the posture editing interface, so that the template virtual object is in a first posture;
[0012] The gesture application module is used to display the target virtual object in the first gesture in the object display interface of the target virtual object in response to a gesture application request for applying the gesture of the template virtual object to the target virtual object.
[0013] Optionally, the posture editing interface further displays the skeleton points of the template virtual object; the posture editing module is used to:
[0014] In response to a selection operation on a target bone point of the template virtual object, switching the target bone point from a non-editable state to an editable state, the target bone point being any bone point of the template virtual object;
[0015] In response to an adjustment operation on the target skeleton point, the target skeleton point is controlled to move according to the adjustment operation.
[0016] Optionally, the posture editing module is used to control the target bone point to move in the direction of the dragging operation in response to the dragging operation in the posture editing interface;
[0017] The dragging operation is a dragging operation on the target skeleton point or a dragging operation on a virtual joystick in the posture editing interface.
[0018] Optionally, the posture editing module is used to:
[0019] When the posture editing interface is in the first mode, in response to the drag operation, the associated bone point of the target bone point is determined, and the target bone point and the associated bone point are controlled to rotate so that the target bone point is displaced according to the drag operation, and the first mode is used to control the bone point of the template virtual object to be displaced;
[0020] When the gesture editing interface is in the second mode, in response to the drag operation, the target skeleton point is controlled to rotate according to the drag operation, and the second mode is used to control the skeleton point of the template virtual object to rotate.
[0021] Optionally, the posture editing module is further used to stop controlling the rotation of any bone point in the current direction when the rotation angle of the bone point in the current direction reaches a rotation angle threshold of the bone point in the current direction during the process of controlling the rotation of the bone point.
[0022] Optionally, the posture editing module is further used to display a direction indication mark in response to a selection operation on the target bone point, wherein the direction indication mark is used to indicate the movable direction of the target bone point, and the movable direction includes at least one of a displacement direction or a rotation direction.
[0023] Optionally, the direction indication mark is composed of a plurality of indicator sub-marks of movable directions, each indicator sub-mark being used to indicate a movable direction; the posture editing module is also used to cancel the display of other indicator sub-marks except the indicator sub-mark of the target direction in response to a drag operation in the posture editing interface, wherein the target direction refers to the direction of the drag operation.
[0024] Optionally, the gesture editing interface further includes a gesture setting option, and the gesture editing module is further used to:
[0025] In response to a triggering operation on the gesture setting option, displaying a plurality of candidate gestures on the gesture editing interface;
[0026] In response to a selection operation on any candidate gesture, the gesture of the template virtual object is adjusted to the selected candidate gesture.
[0027] Optionally, the posture editing interface further includes an expression setting option, and the posture editing module is further used to:
[0028] In response to a triggering operation on the expression setting option, displaying a plurality of candidate expressions on the gesture editing interface;
[0029] In response to a selection operation on any candidate expression, the expression of the template virtual object is adjusted to the selected candidate expression.
[0030] Optionally, the posture editing interface further includes a direction setting option, and the posture editing module is further used to:
[0031] In response to a triggering operation on the orientation setting option, displaying a plurality of candidate orientations on the posture editing interface;
[0032] In response to a selection operation on any candidate orientation, the orientation of the template virtual object is adjusted to the selected candidate orientation.
[0033] Optionally, the interface display module is used to:
[0034] Displaying a gesture management interface, the gesture management interface including gesture creation options and generated gestures;
[0035] In response to a triggering operation on the gesture creation option, the gesture editing interface is displayed.
[0036] Optionally, the device further comprises an attribute display module, configured to display a detail interface of the second gesture in response to a trigger operation on the second gesture, wherein the second gesture is any gesture that has been generated;
[0037] The device further comprises any of the following:
[0038] a posture application module, configured to display the target virtual object in the second posture in the object display interface in response to a triggering operation on the application option when the details interface includes the application option;
[0039] a gesture sharing module, configured to send the gesture data of the second gesture to a selected account in response to a triggering operation on the sharing option when the detail interface includes the sharing option;
[0040] The interface display module is further used to display the posture editing interface in response to a triggering operation on the editing option when the details interface includes the editing option, wherein the posture editing interface includes the template virtual object in the second posture.
[0041] Optionally, the interface display module is used to:
[0042] In response to the gesture creation request, displaying a plurality of candidate gestures in the gesture editing interface;
[0043] In response to a selection operation on any candidate posture, a template virtual object in the selected candidate posture is displayed on the posture editing interface.
[0044] Optionally, the device further comprises:
[0045] a posture generating module, configured to generate posture data of the first posture based on the template virtual object in the first posture in response to a posture generating request for the template virtual object;
[0046] The gesture application module is configured to display the target virtual object in the first gesture in an object display interface of the target virtual object based on the gesture data in response to the gesture application request.
[0047] Optionally, the posture data includes an initial posture identifier and a first skeleton point motion parameter, the initial posture identifier indicates a first initial posture, the first initial posture is an initial posture of the template virtual object, and the first skeleton point motion parameter is used to adjust the first initial posture to the first posture;
[0048] The posture application module is used for:
[0049] Based on the initial posture identifier, acquiring a stored second skeleton point motion parameter, wherein the second skeleton point motion parameter is used to adjust a second initial posture to the first initial posture, and the second initial posture is the initial posture of the target virtual object;
[0050] Based on the first skeleton point motion parameter and the second skeleton point motion parameter, the posture of the target virtual object in the object display interface is switched to the first posture.
[0051] Optionally, the gesture editing interface includes a plurality of template virtual objects, and the first gesture is a combined gesture composed of gestures of the plurality of template virtual objects;
[0052] The posture application module is used for:
[0053] In response to a gesture application request for applying a gesture of any template virtual object to the target virtual object, the target virtual object in the gesture of the selected template virtual object is displayed in the object display interface.
[0054] On the other hand, a computer device is provided, comprising a processor and a memory, wherein the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the operations performed by the virtual object posture editing method as described in the above aspects.
[0055] On the other hand, a computer-readable storage medium is provided, in which at least one computer program is stored. The at least one computer program is loaded and executed by a processor to implement the operations performed by the virtual object posture editing method as described in the above aspects.
[0056] On the other hand, a computer program product is provided, including a computer program, wherein the computer program is loaded and executed by a processor to implement the operations performed by the method for editing the posture of a virtual object as described in the above aspects.
[0057] According to the solution provided by the embodiment of the present application, the user can first use the template virtual object to edit the customized posture, and by performing the posture editing operation on the template virtual object, various postures can be flexibly generated, and then the generated posture is applied to the target virtual object controlled by the user, so that the target virtual object in the customized posture is displayed on the object display interface. Therefore, the user can flexibly set the posture of the target virtual object displayed in the object display interface, which improves the flexibility of the posture of the virtual object when displaying the virtual object, and improves the display effect of the virtual object. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0059] Figure 1 It is a schematic diagram of an implementation environment provided by an embodiment of the present application;
[0060] Figure 2 is a flow chart of a method for editing a posture of a virtual object provided in an embodiment of the present application;
[0061] Figure 3 is a flowchart of another method for editing the posture of a virtual object provided in an embodiment of the present application;
[0062] Figure 4 is a schematic diagram of a gesture editing interface provided in an embodiment of the present application;
[0063] Figure 5 is a schematic diagram of another posture editing interface provided in an embodiment of the present application;
[0064] Figure 6 is a schematic diagram of another posture editing interface provided in an embodiment of the present application;
[0065] Figure 7 is a schematic diagram of another posture editing interface provided in an embodiment of the present application;
[0066] Figure 8 is a schematic diagram of another posture editing interface provided in an embodiment of the present application;
[0067] Fig. 9 is a schematic diagram of another posture editing interface provided in an embodiment of the present application;
[0068] Fig.10 is a schematic diagram of another posture editing interface provided in an embodiment of the present application;
[0069] Fig.11 is a schematic diagram of a posture setting interface provided in an embodiment of the present application;
[0070] Fig.12 is a schematic diagram of an object display interface provided in an embodiment of the present application;
[0071] Fig.13 is a flowchart of another method for editing the posture of a virtual object provided in an embodiment of the present application;
[0072] Fig.14 is a schematic diagram of a posture management interface provided in an embodiment of the present application;
[0073] Fig.15 is a schematic diagram of a details interface provided in an embodiment of the present application;
[0074] Fig.16is a schematic diagram of a confirmation interface provided in an embodiment of the present application;
[0075] Fig.17 is a flowchart of another method for editing the posture of a virtual object provided in an embodiment of the present application;
[0076] Fig.18 is a schematic diagram of another posture editing interface provided in an embodiment of the present application;
[0077] Fig.19 It is a structural schematic diagram of a posture editing device for a virtual object provided in an embodiment of the present application;
[0078] Fig. 20 is a structural schematic diagram of another virtual object posture editing device provided in an embodiment of the present application;
[0079] Fig.21 is a schematic diagram of the structure of a terminal provided in an embodiment of the present application;
[0080] Fig. 22 It is a structural diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION
[0081] In order to make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.
[0082] It is understood that the terms "first", "second", etc. used in this application can be used in this article to describe various concepts, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another concept. For example, without departing from the scope of this application, a first gesture can be referred to as a second gesture, and similarly, a second gesture can be referred to as a first gesture.
[0083] Among them, at least one refers to one or more than one, for example, at least one virtual object can be one virtual object, two virtual objects, three virtual objects, or any other virtual object greater than or equal to one. Multiple refers to two or more than two, for example, multiple virtual objects can be two virtual objects, three virtual objects, or any other virtual objects greater than or equal to two. Each refers to each of at least one, for example, each virtual object refers to each virtual object in the multiple virtual objects. If the multiple virtual objects are 3 virtual objects, each virtual object refers to each virtual object in the 3 virtual objects.
[0084] It can be understood that in the implementation methods of the present application, data related to template virtual objects, target virtual objects, posture data, etc., when the above embodiments of the present application are applied to specific products or technologies, are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0085] The virtual scene involved in the present application can be used to simulate a three-dimensional virtual space, which can be an open space. For example, the virtual scene can include the sky, land, ocean, etc., and the land can include environmental elements such as deserts and cities. Of course, the virtual scene can also include virtual items, such as throwing objects, buildings, vehicles, and virtual weapons and other props required for virtual objects in the virtual scene to equip themselves or play against other virtual objects. The virtual scene can also be used to simulate environments under different weather conditions, such as sunny days, rainy days, foggy days, or nights. Various scene elements enhance the diversity and authenticity of the virtual scene.
[0086] Among them, the user controls the virtual object to move in the virtual scene. The virtual object is a virtual image in the virtual scene that is used to represent the user. The virtual image is in any form, such as a person or an animal, etc., and this application is not limited to this. Taking electronic games as an example, the electronic games are first-person shooter games, third-person shooter games, or other electronic games that use virtual weapons for remote combat. Taking shooting games as an example, the user can control the virtual object to fall freely, glide, or open a parachute to fall in the sky of the virtual scene, run, jump, crawl, bend forward on land, etc., and can also control the virtual object to swim, float or dive in the ocean, etc. Of course, the user can also control the virtual object to move in the virtual scene by riding a virtual vehicle. The user can also control the virtual object to enter and exit the building in the virtual scene, discover and pick up the virtual items in the virtual scene, and then fight with other virtual objects through the picked up virtual items. For example, the virtual item can be a virtual clothing, a virtual helmet, a virtual bulletproof vest, a virtual medical product, a virtual weapon, etc., or it can be a virtual item left after other virtual objects are eliminated. The above scenario is merely used as an example for illustration and is not specifically limited in the embodiments of the present application.
[0087] In the embodiment of the present application, an electronic game scene is taken as an example. The user performs an operation on the terminal in advance. After the terminal detects the user's operation, it downloads the game configuration file of the electronic game. The game configuration file includes the application program, interface display data or virtual scene data of the electronic game, so that when the user logs in to the electronic game on the terminal, the game configuration file is called to render and display the electronic game interface. The user performs a touch operation on the terminal. After the terminal detects the touch operation, it determines the game data corresponding to the touch operation and renders and displays the game data. The game data includes virtual scene data and behavior data of virtual objects in the virtual scene, etc.
[0088] Figure 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application, such as Figure 1 As shown, the implementation environment includes a terminal 101 and a server 102. The terminal 101 and the server 102 are directly or indirectly connected via wired or wireless communication, which is not limited in the present application.
[0089] In the embodiment of the present application, the server 102 provides a virtual object to the terminal 101, and the terminal 101 displays the virtual object provided by the server 102. The server 102 is used to perform background processing according to the trigger operation detected by the terminal 101, and provide background support for the terminal 101, such as editing the posture of the virtual object.
[0090] In one possible implementation, a game application provided by server 102 is installed on terminal 101, and terminal 101 interacts with server 102 through the game application. The game application can provide game functions. Optionally, server 102 is a background server of the game application or a cloud server that provides cloud computing and cloud storage services.
[0091] In one possible implementation, the terminal 101 is a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart TV, a smart watch or a car terminal, etc., but is not limited thereto. Optionally, the server 102 is an independent physical server, or the server 102 is a server cluster or a distributed system composed of multiple physical servers, or the server 102 is a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.
[0092] The virtual object posture editing method provided in the embodiment of the present application can be applied to any scenario in which a virtual object is displayed.
[0093] For example, in a game application, a user has a virtual object controlled by the user's operation, and the user's virtual object can be displayed in an object panel or lobby interface. When displaying a virtual object, the virtual object is in a preset posture in the game application. If the user thinks that the virtual object is in a preset posture, it is relatively monotonous, then the method provided in the embodiment of the present application can be used to edit the posture by oneself, and the customized posture can be applied to the virtual object of the user, so that when the virtual object is displayed in the object panel or lobby interface, the virtual object is in a customized posture, making the display of the virtual object more personalized, thereby improving the display effect of the virtual object.
[0094] Figure 2 is a flowchart of a method for editing a posture of a virtual object provided in an embodiment of the present application. The embodiment of the present application is executed by a computer device, with the computer device as the above Figure 1 As an example, see Figure 2 , the method comprising:
[0095] 201. In response to a gesture creation request, the terminal displays a gesture editing interface, where the gesture editing interface includes a template virtual object.
[0096] The terminal provides a virtual object, which can be displayed in a display interface of the virtual object for the user to view. When the virtual object is displayed, the posture of the virtual object can be a preset posture. In the embodiment of the present application, the posture of the virtual object can be customized by editing the posture.
[0097] If the user wants to customize the posture of the virtual object, the posture creation operation is performed to trigger a posture creation request. In response to the posture creation request, the terminal displays a posture editing interface, which is used to edit the posture of the virtual object. The posture editing interface includes a template virtual object, which is a model for posture editing. The user edits the posture on the template virtual object, and the posture of the template virtual object can be applied to other virtual objects later.
[0098] In a possible implementation, a terminal runs a target application, and a virtual object is provided in the target application. For example, the target application is a game application, and the game application is used to play electronic games, and each user controls a virtual object in the game application to play a game. The game application includes virtual objects controlled by user operations and virtual objects not controlled by user operations.
[0099] 202. The terminal controls the posture of the template virtual object to change based on the posture editing operation on the template virtual object in the posture editing interface, so that the template virtual object is in a first posture.
[0100] The user performs a posture editing operation on the template virtual object in the posture editing interface. Based on the posture editing operation performed by the user, the terminal controls the posture of the template virtual object to change according to the instructions of the posture editing operation. After the change, the template virtual object is in a first posture, which refers to the posture obtained after the posture of the template virtual object is changed based on the posture editing operation.
[0101] 203 . In response to the gesture application request for applying the gesture of the template virtual object to the target virtual object, the terminal displays the target virtual object in the first gesture in the object display interface of the target virtual object.
[0102] After the user performs a gesture editing operation to make the template virtual object in the first gesture, the user obtains a customized first gesture, and the user can apply the gesture of the template virtual object to the target virtual object, that is, apply the first gesture to the target virtual object, and applying the first gesture to the target virtual object means that when the target virtual object is displayed in the object display interface, the target virtual object is in the first gesture. If the user wants to apply the gesture of the template virtual object to the target virtual object, a gesture application operation of applying the gesture of the template virtual object to the target virtual object is performed to trigger a gesture application request, and the terminal responds to the gesture application request and displays the target virtual object in the first gesture in the object display interface.
[0103] Among them, the object display interface can be the lobby interface of the game application or the property panel interface of the target virtual object, etc., which is not limited in this embodiment of the present application.
[0104] According to the method provided in the embodiment of the present application, the user can first use the template virtual object to edit the customized posture, and by performing the posture editing operation on the template virtual object, various postures can be flexibly generated, and then the generated posture is applied to the target virtual object controlled by the user, so that the target virtual object in the customized posture is displayed on the object display interface. Therefore, the user can flexibly set the posture of the target virtual object displayed in the object display interface, which improves the flexibility of the posture of the virtual object when displaying the virtual object, and improves the display effect of the virtual object.
[0105] Above Figure 2 The embodiment shown briefly describes the method for editing the posture of a virtual object. In the method for editing the posture of a virtual object, the detailed process of editing the posture and the detailed process of applying the posture can be found in the following Figure 3 The embodiment shown. Figure 3 is a flowchart of another method for editing the posture of a virtual object provided in an embodiment of the present application. The embodiment of the present application is executed by a computer device, with the computer device as the above Figure 1As an example, see Figure 3 , the method comprising:
[0106] 301. In response to a gesture creation request, the terminal displays a gesture editing interface, where the gesture editing interface includes a template virtual object.
[0107] The terminal is provided with a virtual object. If the user wants to customize the posture of the virtual object, a posture creation operation is performed to trigger a posture creation request. In response to the posture creation request, the terminal displays a posture editing interface.
[0108] In a possible implementation, the terminal displays a gesture management interface, which includes a gesture creation option and a generated gesture. In response to a trigger operation on the gesture creation option, the terminal displays a gesture editing interface.
[0109] In an embodiment of the present application, a posture creation option is provided in the posture management interface. If the user wants to create a custom posture, a trigger operation is performed on the posture creation option. In response to the trigger operation on the posture creation option, the terminal jumps from the posture management interface to the posture editing interface so that the user can edit the posture on the template virtual object of the posture editing interface.
[0110] In a possible implementation, the terminal displays a plurality of candidate gestures in a gesture editing interface in response to a gesture creation request, and displays a template virtual object in the selected candidate gesture in the gesture editing interface in response to a selection operation on any candidate gesture.
[0111] When the user creates a gesture, the terminal provides the user with multiple candidate gestures, and the user can select one of the multiple candidate gestures as the initial gesture of the template virtual object, and then edit the gesture of the template virtual object based on the initial gesture.
[0112] In the embodiment of the present application, the user can select a candidate posture from multiple candidate postures provided by the terminal as the initial posture for posture editing, so that the user can make simple adjustments based on the candidate posture to achieve the desired effect, thereby reducing the difficulty of posture editing for the user. Or the user can use his imagination to perform secondary creation based on the candidate posture, thereby increasing the fun of creating custom postures for the user.
[0113] In a possible implementation, the terminal displays a plurality of candidate body types in a posture editing interface in response to a posture creation request, and displays a template virtual object belonging to the selected candidate body type in the posture editing interface in response to a selection operation on any candidate body type.
[0114] When the user creates a gesture, the terminal provides the user with multiple candidate body types, which refer to the body types of the template virtual object, such as the candidate body types including adult male body type, adult female body type, adolescent body type, teenage body type, or child body type. The user can select one of the candidate body types as the body type of the template virtual object from the multiple candidate body types. For example, if the user selects an adult male body type, the terminal displays a template virtual object of an adult male body type in the gesture editing interface.
[0115] In the embodiment of the present application, the user can select a candidate body type from multiple candidate body types provided by the terminal as the body type of the template virtual object used for posture editing, and the posture of the template virtual object can be applied to other virtual objects of the same body type later. For example, if the user wants to apply a customized posture to a virtual object of a girl's body type, the template virtual object of the girl's body type can be selected for posture editing. By providing the user with an optional space for the body type of the template virtual object, the consistency of the body type in the posture editing stage and the posture application stage can be guaranteed, which is conducive to improving the effect of subsequently applying the posture of the template virtual object to other virtual objects.
[0116] Figure 4 is a schematic diagram of a gesture editing interface provided in an embodiment of the present application, such as Figure 4 As shown, the posture editing interface includes a template virtual object 401 and multiple candidate postures 402. The template virtual object 401 is currently in a preset posture. If the user wants to edit based on the preset posture, he or she can directly execute the trigger operation of the "Start Editing" option. If the user wants to choose to edit based on a candidate posture, he or she will execute the selection operation of the candidate posture so that the terminal will switch the posture of the template virtual object from the preset posture to the candidate posture in the posture editing interface.
[0117] In a possible implementation, the terminal also displays the skeleton points of the template virtual object in the posture editing interface, and drives the posture of the virtual object to change by adjusting the skeleton points of the virtual object. Figure 5 is a schematic diagram of another posture editing interface provided in an embodiment of the present application, such as Figure 5 As shown, the terminal displays the template virtual object 401 in the posture editing interface, and skeleton points are displayed on the body of the template virtual object 401, and the skeleton points of the template virtual object are also displayed on the left side of the posture editing interface.
[0118] In the embodiment of the present application, after the terminal displays the posture editing interface, the user can perform a posture editing operation on the template virtual object in the posture editing interface, and the terminal controls the posture of the template virtual object to change based on the posture editing operation on the template virtual object in the posture editing interface, so that the template virtual object is in the first posture. The process of controlling the posture of the template virtual object to change based on the posture editing operation includes at least one of the following steps 302-305.
[0119] 302. In response to a selection operation on a target bone point of a template virtual object, the terminal switches the target bone point from a non-editable state to an editable state, where the target bone point is any bone point of the template virtual object. In response to an adjustment operation on the target bone point, the terminal controls the target bone point to move according to the adjustment operation.
[0120] The posture editing interface also displays the skeleton points of the template virtual object. When not selected, the skeleton points of the template virtual object are in an uneditable state, and the user cannot adjust the skeleton points in the uneditable state. If the user wants to adjust the target skeleton point among multiple skeleton points, the selection operation of the target skeleton point is performed, and the terminal responds to the selection operation to switch the target skeleton point from an uneditable state to an editable state, and the user can adjust the skeleton point in the editable state. The user performs an adjustment operation on the target skeleton point, and the terminal responds to the adjustment operation, and controls the target skeleton point to move according to the adjustment operation. The user can continue to adjust the target skeleton point according to the movement of the target skeleton point to change the target skeleton point to the state expected by the user.
[0121] In an embodiment of the present application, the user can adjust the skeleton points of the template virtual object in the posture editing interface. By adjusting the skeleton points, the posture of the template virtual object can be driven to change. The user operation complexity is low, which makes it easy for the user to control the posture changes of the template virtual object, and improves the convenience of customizing the posture of the template virtual object.
[0122] In one possible implementation, the terminal displays a direction indicator mark in response to the selection operation of the target bone point, and the direction indicator mark is used to indicate the movable direction of the target bone point, and the movable direction includes at least one of the displacement direction or the rotation direction. In the embodiment of the present application, after the user selects the target bone point, the terminal determines the movable direction of the target bone point, and the movement of the target bone point includes at least one of the displacement or the rotation, so the movable direction of the target bone point includes at least one of the displacement direction or the rotation direction.
[0123] In an embodiment of the present application, the terminal displays a direction indicator mark to prompt the user through the direction indicator mark in which the skeleton point can move, thereby guiding the user to control the skeleton point to move in the movable direction, and assisting the user to adjust the skeleton point of the template virtual object.
[0124] Optionally, the movable directions include multiple types, for example, the movable directions include displacement in the x-axis direction, displacement in the y-axis direction, displacement in the z-axis direction, rotation around the x-axis, rotation around the y-axis, or rotation around the z-axis, etc. The terminal stores the movable directions of each skeleton point, each skeleton point has at least one movable direction, and the movable directions of different skeleton points can be the same or different, for example, some skeleton points can be displaced in the x-axis and y-axis directions, but cannot be displaced in the z-axis direction.
[0125] Optionally, the direction indicating mark may be an indicating arrow, the direction pointed by the arrow is the movable direction, or the direction indicating mark may be a three-axis direction indicating model or a three-axis direction indicating sphere, etc., which is not limited in the embodiments of the present application.
[0126] Optionally, the direction indication mark is composed of multiple indication sub-marks of movable directions, each indication sub-mark is used to indicate a movable direction. In response to the drag operation in the gesture editing interface, the terminal cancels the display of other indication sub-marks except the indication sub-mark of the target direction, where the target direction refers to the direction of the drag operation.
[0127] When the user performs a drag operation, the direction of movement of the skeleton point is also the direction of the drag operation. The direction in which the user controls the movement of the skeleton point is clear, and there is no need to indicate other movable directions of the skeleton point. Therefore, the terminal only displays the indicator sub-mark consistent with the direction of the drag operation, and cancels the indicator sub-mark inconsistent with the direction of the drag operation, so that the content displayed in the posture editing interface is more concise, which is convenient for users to observe the changes of the skeleton points according to the drag operation.
[0128] In another possible implementation, the terminal responds to a drag operation in the posture editing interface and controls the target bone point to move in the direction of the drag operation; wherein the drag operation is a drag operation on the target bone point or a drag operation on the virtual joystick in the posture editing interface.
[0129] The posture editing interface displays the skeleton points of the template virtual object on the template virtual object, and the posture editing interface also displays a virtual joystick. After selecting the target skeleton point, the user can perform a drag operation on the target skeleton point (press and drag the target skeleton point continuously) to make the target skeleton point move in the direction of the drag of the target skeleton point. Alternatively, the user can also perform a drag operation on the virtual joystick (press and drag the virtual joystick continuously) to make the target skeleton point move in the direction of the drag of the virtual joystick.
[0130] In an embodiment of the present application, the movement of the skeleton points is controlled by dragging operations. Among them, by dragging the skeleton points to control the movement of the skeleton points, the effect of the skeleton points being dragged by the user can be presented, which is vivid and vivid. By dragging the virtual joystick to control the movement of the skeleton points, the situation where the skeleton points are blocked by directly dragging the skeleton points can be avoided, which is convenient for the user to clearly observe the movement changes of the skeleton points. The embodiment of the present application provides the above two operation methods, which makes the user more flexible in controlling the movement of the skeleton points by dragging operations, which is conducive to improving the user's experience of human-computer interaction.
[0131] In one possible implementation, controlling the movement of a skeleton point by dragging the skeleton point includes a first mode and a second mode. The terminal responds to the drag operation in the gesture editing interface and controls the target skeleton point to move in the direction of the drag operation, including the following two control methods.
[0132] The first control method: when the posture editing interface is in the first mode, the terminal determines the associated bone points of the target bone point in response to the drag operation, controls the target bone point and the associated bone points to rotate, so that the target bone point is displaced according to the drag operation. The first mode is used to control the displacement of the bone points of the template virtual object.
[0133] In the first mode, the dragging operation of the target skeleton point is used to rotate the target skeleton point and the associated skeleton point to drive the target skeleton point to move. The association relationship between the skeleton points can be pre-set in the game application, and the terminal can determine the associated skeleton point of the target skeleton point by querying the association relationship between the skeleton points. Among them, there is a connection relationship between the mutually associated skeleton points, so the rotation of a skeleton point can drive other skeleton points associated with the skeleton point to move. In the embodiment of the present application, the first mode can be understood as a simple mode. When the user performs the dragging operation on the target skeleton point, the terminal rotates the target skeleton point and the associated skeleton point through the IK (Inverse Kinematics, reverse motion) algorithm, so that the target skeleton point moves according to the dragging operation. Therefore, in the first mode, the dragging operation on the target skeleton point will cause the target skeleton point and the associated skeleton point of the target skeleton point to move.
[0134] Figure 6 is a schematic diagram of another posture editing interface provided in an embodiment of the present application, Figure 6The "simple mode" shown is the first mode. After the user selects the target bone point, the terminal displays a direction indicator mark at the location of the target bone point. The terminal also displays the direction indicator mark at the location of the virtual joystick in the lower right corner of the posture editing interface. In the first mode, the direction indicator mark is a three-axis direction indicator model, and the direction indicator mark includes three movable direction indicator sub-marks. When the user performs a drag operation (a drag operation on the target bone point or a drag operation on the virtual joystick), the terminal cancels the display of the direction indicator mark except for the direction of the drag operation. The direction indicator mark only displays the direction indicator sub-mark.
[0135] The second control method: when the posture editing interface is in the second mode, in response to the drag operation, the target bone point is controlled to rotate according to the drag operation. The second mode is used to control the bone point of the template virtual object to rotate.
[0136] In the second mode, the dragging operation on the target bone point is used to rotate the target bone point. In the embodiment of the present application, the second mode can be understood as a professional mode. When the user performs a dragging operation on the target bone point, the terminal causes the target bone point to rotate according to the dragging operation. In the first mode, the dragging operation on the target bone point will only cause the target bone point to rotate, and will not cause other bone points to move.
[0137] Figure 7 is a schematic diagram of another posture editing interface provided in an embodiment of the present application, Figure 7 The "professional mode" shown is the second mode. After the user selects the target bone point, the terminal displays a direction indicator mark at the location of the target bone point. The terminal also displays the direction indicator mark at the location of the virtual joystick in the lower right corner of the posture editing interface. In the second mode, the direction indicator mark is a three-axis direction indicator sphere, and the direction indicator mark includes three movable direction indicator sub-marks. When the user performs a drag operation (a drag operation on the target bone point or a drag operation on the virtual joystick), the terminal cancels the display of the direction indicator mark except for the direction of the drag operation, and only displays the direction indicator mark of the drag operation.
[0138] In the embodiment of the present application, the terminal provides two ways to control the skeleton points. The first is that in the first mode, by performing a drag operation, the currently controlled skeleton point and the associated skeleton points are rotated, thereby causing the skeleton point to move according to the drag operation, which is convenient for novice users who are not familiar with the skeleton points to make rough adjustments to the skeleton points. The second is that in the second mode, by performing a drag operation, the currently controlled skeleton point is rotated, which is convenient for experienced users who are very familiar with the skeleton points to make fine adjustments to the skeleton points.
[0139] In a possible implementation, when the terminal is controlling any skeleton point to rotate, if the rotation angle of the skeleton point in the current direction reaches a rotation angle threshold of the skeleton point in the current direction, the terminal stops controlling the skeleton point to rotate in the current direction.
[0140] Whether in the first mode or the second mode, if a certain bone point is currently being controlled to rotate, and the rotation angle of the bone point in the current direction reaches the rotation angle threshold of the bone point in the current direction, the bone point cannot continue to rotate in the current direction. The rotation angle threshold is a threshold pre-set in the game application.
[0141] Optionally, the rotation angle threshold includes a first rotation angle threshold and a second rotation angle threshold. When the rotation angle of the skeleton point in the current direction reaches either the first rotation angle threshold or the second rotation angle threshold, the control of the skeleton point to rotate in the current direction is stopped. The first rotation angle threshold is set according to the maximum physiological angle limit that the skeleton point of the virtual object can reach. By setting the first rotation angle threshold, the posture of the virtual object can be prevented from breaking through the physiological limit, and the user can be prevented from customizing some postures that do not meet the physiological limit, which is conducive to ensuring the authenticity of the posture of the virtual object. The second rotation angle threshold is set by the R&D personnel according to the maximum freedom limit of the custom posture. By setting the second rotation angle threshold, the posture of the virtual object can be prevented from not being aesthetically pleasing, and the user can be prevented from customizing some unsightly postures, and the freedom of the user-defined posture is reasonably limited.
[0142] 303. In response to a trigger operation on a gesture setting option in the gesture editing interface, the terminal displays a plurality of candidate gestures in the gesture editing interface, and in response to a selection operation on any candidate gesture, adjusts the gesture of the template virtual object to the selected candidate gesture.
[0143] In an embodiment of the present application, the gesture editing interface also includes a gesture setting option, and the user can also set the gesture of the template virtual object. If the user wants to adjust the gesture of the template virtual object, a trigger operation on the gesture setting option is performed, and the terminal responds to the trigger operation on the gesture setting option and displays multiple candidate gestures in the gesture editing interface. If the user wants to set the gesture of the template virtual object to a candidate gesture, a selection operation on the candidate gesture is performed, and the terminal responds to the selection operation and adjusts the gesture of the template virtual object to the selected candidate gesture. Among them, the gesture of the template virtual object also belongs to the gesture of the template virtual object. When the gesture of the template virtual object is subsequently applied to the target virtual object, the gesture of the target virtual object is adjusted to the gesture of the template virtual object.
[0144] The terminal may display a plurality of candidate gestures on the gesture editing interface by displaying gesture names of the plurality of candidate gestures or by displaying gesture images of the plurality of candidate gestures.
[0145] In an embodiment of the present application, the user can also set the gesture of the template virtual object and adjust the gesture of the template virtual object according to the candidate gestures provided by the terminal, so that the user can match the hand movements of the template virtual object by himself, making the overall posture of the template virtual object more vivid and interesting. Subsequently, when the gesture of the template virtual object is applied to the target virtual object, the gesture of the target virtual object will also be synchronously adjusted to the gesture of the template virtual object, thereby making the overall posture of the target virtual object more vivid and interesting.
[0146] Figure 8 is a schematic diagram of another posture editing interface provided in an embodiment of the present application, such as Figure 8 As shown, the gesture editing interface displays a gesture setting option "Gesture". After the user performs a trigger operation on the gesture setting option, the terminal displays gesture images of multiple candidate gestures on the left side of the gesture editing interface. After the user clicks on the gesture image of a candidate gesture, the terminal adjusts the gesture of the template virtual object in the gesture editing interface to the candidate gesture.
[0147] 304. The terminal displays a plurality of candidate expressions in the gesture editing interface in response to a triggering operation on an expression setting option in the gesture editing interface, and adjusts the expression of the template virtual object to the selected candidate expression in response to a selection operation on any candidate expression.
[0148] In an embodiment of the present application, the posture editing interface also includes an expression setting option, and the user can also set the expression of the template virtual object. If the user wants to adjust the expression of the template virtual object, a trigger operation on the expression setting option is performed, and the terminal responds to the trigger operation on the expression setting option and displays multiple candidate expressions in the posture editing interface. If the user wants to set the expression of the template virtual object to a candidate expression, a selection operation on the candidate expression is performed, and the terminal responds to the selection operation and adjusts the expression of the template virtual object to the selected candidate expression. Among them, the expression of the template virtual object also belongs to the posture of the template virtual object. When the posture of the template virtual object is subsequently applied to the target virtual object, the expression of the target virtual object is adjusted to the expression of the template virtual object.
[0149] The terminal may display a plurality of candidate expressions on the gesture editing interface by displaying the expression names of the plurality of candidate expressions or by displaying the expression images of the plurality of candidate expressions.
[0150] In an embodiment of the present application, the user can also set the expression of the template virtual object and adjust the expression of the template virtual object according to the candidate expressions provided by the terminal, so that the user can match the facial expression of the template virtual object by himself, making the overall posture of the template virtual object more vivid and interesting. Subsequently, when the posture of the template virtual object is applied to the target virtual object, the expression of the target virtual object will also be synchronously adjusted to the expression of the template virtual object, thereby making the overall posture of the target virtual object more vivid and interesting.
[0151] Fig. 9 is a schematic diagram of another posture editing interface provided in an embodiment of the present application, such as Fig. 9 As shown, the posture editing interface displays an expression setting option "Expression". After the user performs a trigger operation on the expression setting option, the terminal displays expression images of multiple candidate expressions on the left side of the posture editing interface. After the user clicks on the expression image of a candidate expression, the terminal adjusts the expression of the template virtual object in the posture editing interface to the candidate expression.
[0152] 305. In response to a triggering operation on an orientation setting option in the posture editing interface, the terminal displays a plurality of candidate orientations in the posture editing interface, and in response to a selection operation on any candidate orientation, adjusts the orientation of the template virtual object to the selected candidate orientation.
[0153] In an embodiment of the present application, the posture editing interface also includes a direction setting option, and the user can also set the direction of the template virtual object. If the user wants to adjust the direction of the template virtual object, a trigger operation on the direction setting option is performed, and the terminal responds to the trigger operation on the direction setting option and displays multiple candidate directions in the posture editing interface. If the user wants to set the direction of the template virtual object to a candidate direction, a selection operation on the candidate direction is performed, and the terminal responds to the selection operation, and adjusts the direction of the template virtual object to the selected candidate direction. Among them, the direction of the template virtual object also belongs to the posture of the template virtual object. When the posture of the template virtual object is subsequently applied to the target virtual object, the direction of the target virtual object is adjusted to the direction of the template virtual object.
[0154] Optionally, in addition to providing candidate orientations, the terminal may also provide an orientation adjustment option in the posture editing interface. In response to a trigger operation on the orientation adjustment option, the posture editing interface is adjusted to an orientation adjustment mode. In the orientation adjustment mode, in response to a drag operation, the orientation of the template virtual object is adjusted to the direction of the drag operation.
[0155] Optionally, the terminal displays multiple candidate orientations of the face in the posture editing interface, and in response to a selection operation on any candidate orientation of the face, adjusts the facial orientation of the template virtual object to the selected candidate orientation. Optionally, the terminal displays multiple candidate orientations of the eyes in the posture editing interface, and in response to a selection operation on any candidate orientation of the eyes, adjusts the eye orientation of the template virtual object to the selected candidate orientation.
[0156] In an embodiment of the present application, the user can also set the orientation of the template virtual object and adjust the orientation of the template virtual object according to the candidate orientations provided by the terminal, so that the user can adjust the orientation of the template virtual object by himself, making the overall posture of the template virtual object more vivid and interesting. Subsequently, when the posture of the template virtual object is applied to the target virtual object, the orientation of the target virtual object will also be synchronously adjusted to the orientation of the template virtual object, thereby making the overall posture of the target virtual object more vivid and interesting.
[0157] Fig.10 is a schematic diagram of another posture editing interface provided in an embodiment of the present application, such as Fig.10 As shown, the posture editing interface displays a direction setting option "Direction". After the user performs a trigger operation on the direction setting option, the terminal displays multiple candidate orientations of the face, the orientation adjustment option "Manual Adjustment" of the face, multiple candidate orientations of the eyes and the orientation adjustment option "Manual Adjustment" of the eyes on the left side of the posture editing interface.
[0158] 306 . The terminal generates posture data of a first posture based on the template virtual object in a first posture in response to the posture generation request for the template virtual object.
[0159] When the posture of the template virtual object reaches a posture that satisfies the user, the user stops performing the posture editing operation and performs a posture generation operation on the template virtual object to trigger a posture generation request. The terminal responds to the posture generation request and generates posture data of the first posture based on the template virtual object in the first posture. The posture data is used to indicate the first posture.
[0160] In a possible implementation, the posture data of the first posture includes at least one of a posture name, creator information, creation time, body type information, initial posture identifier, skeletal point motion parameters, gesture information, expression information, orientation information, and a posture preview image. The creator information is information of an account that creates the posture, the body type information refers to the body type of the template virtual object used when creating the posture, the initial posture identifier indicates the initial posture of the template virtual object used when creating the posture, the skeletal point motion parameters indicate the rotation direction and rotation angle of each skeletal point, the gesture information indicates the gesture set for the template virtual object when creating the posture, the expression information indicates the expression set for the template virtual object when creating the posture, the orientation information indicates the orientation set for the template virtual object when creating the posture, the posture preview image refers to an image of the template virtual object in the posture, and the orientation of the template virtual object in the posture preview image is facing the camera.
[0161] 307 . In response to the gesture application request for applying the gesture of the template virtual object to the target virtual object, the terminal displays the target virtual object in the first gesture in the object display interface of the target virtual object based on the gesture data.
[0162] After generating posture data based on the template virtual object in the first posture, the user can apply the posture of the template virtual object to the target virtual object. The user performs a posture application operation of applying the posture of the template virtual object to the target virtual object to trigger a posture application request, and the terminal responds to the posture application request, obtains the posture data of the first posture, and displays the target virtual object in the first posture in the object display interface based on the posture data. The terminal drives the target virtual object based on the posture data, and can obtain the target virtual object in the first posture.
[0163] In a possible implementation, the target virtual object is a virtual object controlled by the account logged in by the current terminal, and the current terminal can display the object display interface of the target virtual object, and other terminals logged in to other accounts in the game application can also display the object display interface of the target virtual object. After the current terminal applies the first posture to the target virtual object, the current terminal displays the target virtual object in the first posture on the object display interface of the target virtual object, and other terminals also display the target virtual object in the first posture on the object display interface of the target virtual object, so as to ensure that the posture of the target virtual object is unified. In one possible implementation, after generating posture data of the first posture, the terminal uploads the posture data to the game server. In response to a posture application request to apply the first posture to the target virtual object, the terminal also forwards the posture application request to the game server. The game server saves the association between the object identifier of the target virtual object and the posture identifier of the first posture. When the server receives a viewing request for the target virtual object sent by other terminals, it queries that the object of the target virtual object has an association with the posture identifier of the first posture, indicating that the current target virtual object applies the first posture. The posture data of the first posture is then sent to other terminals, so that the other terminals display the target virtual object in the first posture on the object display interface of the target virtual object based on the posture data of the first posture, so that any user can view the posture customized by other users.
[0164] In one possible implementation, the posture data includes an initial posture identifier and a first skeleton point motion parameter, the initial posture identifier indicates a first initial posture, the first initial posture is the initial posture of the template virtual object, and the first skeleton point motion parameter is used to adjust the first initial posture to the first posture.
[0165] Then, based on the posture data, the terminal displays the target virtual object in the first posture in the object display interface of the target virtual object, including: based on the initial posture identifier, the terminal obtains the stored second skeleton point motion parameters, the second skeleton point motion parameters are used to adjust the second initial posture to the first initial posture, and the second initial posture is the initial posture of the target virtual object. Based on the first skeleton point motion parameters and the second skeleton point motion parameters, the terminal switches the posture of the target virtual object in the object display interface to the first posture.
[0166] Among them, the initial indication mark in the posture data indicates the first initial posture of the template virtual object used when creating the posture, and the first skeleton point motion parameter includes the rotation direction and rotation angle of each skeleton point required to rotate when the first initial posture is adjusted to the first posture. When the first posture needs to be applied to the target virtual object, the second initial posture of the target virtual object is first determined. The first initial posture and the second initial posture are both postures pre-set in the game application, so the terminal obtains the second skeleton point motion parameter, and the second skeleton point motion parameter includes the rotation direction and rotation angle of each skeleton point required to rotate when the second initial posture is adjusted to the first initial posture. Based on the second skeleton point motion parameter, the terminal switches the posture of the target virtual object from the second initial posture to the first initial posture, and then based on the first skeleton point motion parameter, switches the posture of the target virtual object from the first initial posture to the first posture, and displays the target virtual object in the first posture in the object display interface.
[0167] Fig.11 is a schematic diagram of a posture setting interface provided in an embodiment of the present application, such as Fig.11 As shown, in the posture setting interface, the posture of the target virtual object 1101 can be set. The posture setting interface displays multiple generated postures. If the user wants to apply a posture 1102 among the multiple postures to the target virtual object 1101, the user performs a selection operation on the posture 1102. In response to the selection operation on the posture 1102, the terminal sets the posture of the target virtual object 1101 to the posture 1102. The user performs a trigger operation on the "Save Dress Up" option in the posture setting interface. In response to the trigger operation, the terminal displays the following Fig.12 The object display interface shown in Fig.12 As shown, the terminal displays the target virtual object 1101 in posture 1102 in the object display interface. In addition, the object display interface also displays the equipment and attribute information of the target virtual object 1101.
[0168] In the related art, when a virtual object is displayed in an object display interface, the virtual object is usually a fixed posture preset in a game application, lacking space to show the user's personalization. In the embodiment of the present application, the user is supported to edit based on the initial posture in the game application to obtain a custom posture, and the virtual object in the custom posture can be displayed in the object display interface, so that when the virtual object is displayed in the object display interface, not only can the rich appearance and attribute information of the virtual object be displayed, but also the custom posture can be matched independently, thereby meeting the personalized needs of thousands of people.
[0169] According to the method provided in the embodiment of the present application, the user can first use the template virtual object to edit the customized posture, and by performing the posture editing operation on the template virtual object, various postures can be flexibly generated, and then the generated posture is applied to the target virtual object controlled by the user, so that the target virtual object in the customized posture is displayed on the object display interface. Therefore, the user can flexibly set the posture of the target virtual object displayed in the object display interface, which improves the flexibility of the posture of the virtual object when displaying the virtual object, and improves the display effect of the virtual object.
[0170] Based on the above embodiment, after creating a custom gesture, the user can also apply the custom gesture, edit the custom gesture, and share the custom gesture. For detailed process, see the following Fig.13 The embodiment shown. Fig.13 is a flowchart of another method for editing the posture of a virtual object provided in an embodiment of the present application. The embodiment of the present application is executed by a terminal. Fig.13 , the method comprising:
[0171] 1301. The terminal displays a posture management interface, which includes posture creation options and generated postures.
[0172] The gesture management interface is used to manage custom gestures, and includes gesture creation options and generated gestures, the generated gestures include gestures generated by the currently logged-in account, and may also include gestures shared by other accounts to the currently logged-in account. Optionally, the displayed gesture refers to an image of the displayed gesture or a name of the displayed gesture, etc.
[0173] Fig.14 is a schematic diagram of a posture management interface provided by an embodiment of the present application, such as Fig.14 As shown, the posture management interface includes multiple postures that have been generated and the creation time of each posture. The postures include single-person postures and multi-person postures (the generation process of multi-person postures is described below). Fig.17 The gesture management interface also displays gesture creation options, such as Fig.14 As shown, the posture creation options include a "new single-person posture" option and a "new multi-person posture" option. The "new single-person posture" option is used to request the creation of a single-person posture, and the "new multi-person posture" option is used to request the creation of a multi-person posture.
[0174] 1302. In response to a trigger operation on a second gesture, the terminal displays a detail interface of the second gesture, where the second gesture is any gesture that has been generated.
[0175] If the user wants to view the details of the second gesture, a trigger operation is performed on the second gesture, and the terminal responds to the trigger operation and displays a details interface of the second gesture. Optionally, the details interface includes a gesture preview image, gesture name, creator information, creation time, sharing options, editing options, and application options of the second gesture.
[0176] Among them, the second posture is any posture that has been generated. For example, the second posture can be a posture generated for the currently logged-in account. The second posture can also include postures shared by other accounts to the currently logged-in account. The embodiment of the present application does not limit this.
[0177] Fig.15 is a schematic diagram of a details interface provided in an embodiment of the present application, such as Fig.15 As shown, the details interface is the details interface of the single-person gesture 3, which includes the gesture preview image, gesture name, gesture name, creator information and creation time of the single-person gesture 3, and the details interface also includes a share option 1501, an edit option 1502 and an apply option 1503. In addition, the details interface also includes a rename option and a delete option.
[0178] 1303. In response to a triggering operation on an application option in the details interface, the terminal displays the target virtual object in the second posture in the object display interface.
[0179] The details interface includes an application option, which is used to request that the second gesture be applied to the virtual object controlled by the currently logged-in account. If the user wants to apply the second gesture to the target virtual object, a trigger operation for the application option is performed in the details interface. Optionally, the terminal obtains gesture data of the second gesture in response to the trigger operation, drives the target virtual object to be in the second gesture based on the gesture data of the second gesture, and displays the target virtual object in the second gesture in the object display interface of the target virtual object.
[0180] 1304. In response to a triggering operation on a sharing option in the details interface, the terminal sends the gesture data of the second gesture to the selected account.
[0181] The details interface includes a sharing option, which is used to request that the second gesture be shared with other accounts. If the user wants to share the second gesture with other accounts, a trigger operation for the sharing option is performed in the details interface, and the terminal responds to the trigger operation to display the associated accounts associated with the currently logged-in account, and responds to the selection operation of any associated account, and sends the gesture data of the second gesture to the selected associated account. After receiving the gesture data of the second gesture, the terminal of the associated account can import the second gesture into the gesture management interface of the associated account, that is, display the second gesture in the gesture management interface of the associated account, and the associated account can subsequently apply the second gesture to the virtual object controlled by the associated account.
[0182] In the embodiment of the present application, users can share their own custom gestures with friends, and their friends can directly apply the custom gestures made by the user to their own virtual objects, thereby realizing the sharing of custom gestures, which is not only conducive to improving the usage rate of custom gestures, but also promotes the interaction between users in the game application, expands the social gameplay of sharing gestures, and improves the fun of the game application.
[0183] 1305. In response to a triggering operation on an editing option in the details interface, the terminal displays a posture editing interface, where the posture editing interface includes the template virtual object in the second posture.
[0184] The details interface includes an edit option, which is used to request editing of the generated gesture. If the user wants to continue to improve the generated second gesture, a trigger operation for the edit option is performed in the details interface, and the terminal jumps to the gesture editing interface in response to the trigger operation, and displays the template virtual object in the second gesture in the gesture editing interface. The user can continue to edit the second gesture on the template virtual object in the gesture editing interface, and the editing method is the same as the process of the above steps 302 to 306, which will not be repeated here.
[0185] 1306. In response to the triggering operation on the gesture creation option, the terminal displays a gesture editing interface.
[0186] The gesture management interface provides a gesture creation option. If the user wants to create a custom gesture, the user triggers the gesture creation option. The terminal responds to the trigger operation of the gesture creation option and jumps from the gesture management interface to the gesture editing interface. The process of editing the gesture in the gesture editing interface is described above. Figure 3 The embodiments shown will not be described in detail here.
[0187] In one possible implementation, the terminal displays a confirmation interface in response to a trigger operation on a gesture creation option, the confirmation interface including a prompt message, a confirmation option, and a cancel option, the prompt message is used to prompt whether to jump to the gesture editing interface, the confirmation option is used to confirm the jump to the gesture editing interface, and the cancel option is used to cancel the jump to the gesture editing interface. In the embodiment of the present application, by displaying the confirmation interface to allow the user to perform a second confirmation, the user can avoid accidental touches.
[0188] Fig.16 is a schematic diagram of a confirmation interface provided in an embodiment of the present application, such as Fig.16 As shown, the confirmation interface displays a prompt message "Do you want to go to the creation scene and start creating?" The confirmation interface also displays a confirmation option "Start Creating" and a cancel option "Cancel".
[0189] According to the method provided in the embodiment of the present application, users can share their own custom gestures with friends, and their friends can directly apply the custom gestures made by the user to their own virtual objects, thereby realizing the sharing of custom gestures, which is not only conducive to improving the utilization rate of custom gestures, but also promotes the interaction between users in the game application, expands the social gameplay of sharing gestures, and improves the fun of the game application.
[0190] Above Figure 3 The embodiment shown is only described by taking the creation of a single person's gesture as an example. In addition, the user can also create a multi-person gesture. The detailed process is shown in the following Fig.17 The embodiment shown. Fig.17 is a flowchart of another method for editing the posture of a virtual object provided in an embodiment of the present application. The embodiment of the present application is executed by a terminal. Fig.17 , the method comprising:
[0191] 1701. In response to a gesture creation request, the terminal displays a gesture editing interface, where the gesture editing interface includes a plurality of template virtual objects.
[0192] In response to the multi-person gesture creation request, the terminal displays multiple template virtual objects on a gesture editing interface, and the user can directly edit the gestures of the multiple template virtual objects on the gesture editing interface to form a combined gesture.
[0193] Fig.18 is a schematic diagram of another posture editing interface provided in an embodiment of the present application, such as Fig.18 As shown, the gesture editing interface includes three template virtual objects, namely template virtual object 1801, template virtual object 1802 and template virtual object 1803.
[0194] 1702. The terminal controls the postures of the multiple template virtual objects to change based on the posture editing operation on the multiple template virtual objects in the posture editing interface, so that the multiple template virtual objects are in a first posture, where the first posture is a combined posture composed of the postures of the multiple template virtual objects.
[0195] The gesture editing operation on the multiple template virtual objects includes a gesture editing operation on each template virtual object. The terminal displays multiple template virtual objects in a gesture editing interface, and in response to a trigger operation on any template virtual object, switches the selected template virtual object from a non-editable state to an editable state. The user performs a gesture editing operation on a template virtual object in an editable state in the gesture editing interface, and the terminal responds to the gesture editing operation on the template virtual object in an editable state to control the gesture of the template virtual object in the editable state to change. The user can switch multiple template virtual objects to an editable state for editing in sequence, thereby performing a gesture editing operation on each template virtual object respectively, so that the terminal controls the gesture of each template virtual object to change respectively, and the gestures of the multiple template virtual objects after the change constitute a first gesture, which is a combined gesture composed of the gestures of the multiple template virtual objects. The process of the user performing gesture editing on any template virtual object is the same as the process of the above steps 302-305, which will not be repeated here.
[0196] For example, Fig.18 As shown, when the template virtual object 1801 is in an editable state, the sesame paste template virtual object 1801 is displayed in the central area of the posture editing interface, and the bone points are displayed on the template virtual object 1801 so that the user can perform adjustment operations on the bone points of the template virtual object 1801.
[0197] 1703. In response to a request for generating a posture of multiple template virtual objects, the terminal generates posture data of a first posture based on multiple template virtual objects in a first posture, where the posture data includes posture sub-data of each template virtual object.
[0198] The posture sub-data of the template virtual object indicates the posture of the template virtual object. The process of step 1703 is the same as the process of step 306, which will not be repeated here.
[0199] 1704. In response to a gesture application request to apply a gesture of any template virtual object to a target virtual object, the terminal displays the target virtual object in the gesture of the selected template virtual object in the object display interface based on the gesture sub-data of the selected template virtual object.
[0200] The target virtual object is a virtual object controlled by the user in the game application. If the user wants to apply the posture of a certain template virtual object to the target virtual object, the posture application operation of applying the posture of the template virtual object to the target virtual object is performed to trigger a posture application request. The terminal responds to the posture application request, obtains the posture sub-data of the template virtual object, and displays the target virtual object in the posture of the template virtual object in the object display interface based on the posture sub-data. The process of step 1704 is the same as the process of step 307 above, and will not be repeated here.
[0201] It should be noted that after applying the posture of a certain template virtual object to the target virtual object, other virtual objects can also apply the postures of other template virtual objects, so that multiple virtual objects are combined into the first posture. For example, the first posture is composed of the postures of three template virtual objects, namely the posture x of template virtual object 11, the posture y of template virtual object 12, and the posture z of template virtual object 13. The currently logged-in account is account A, and account A has the target virtual object 21. After account A applies the posture x of template virtual object 1 to the target virtual object 21, the target virtual object 21 in posture x is displayed in the object display interface, and the posture y and posture z are also displayed in the object display interface. Account B has the target virtual object 22, and account B can apply the posture y of template virtual object 12 to the target virtual object 22 in the object display interface. Account B has the target virtual object 23, and account C can apply the posture z of template virtual object 13 to the target virtual object 23 in the object display interface. The object display interface then displays the target virtual object 21 in posture x, the target virtual object 22 in posture y, and the target virtual object 23 in posture z. Therefore, the target virtual object 21, the target virtual object 22, and the target virtual object 23 constitute a first posture, thereby realizing the application of the first posture to multiple virtual objects.
[0202] With the method provided in the embodiment of the present application, a user can simultaneously edit the postures of multiple template virtual objects. The postures of multiple template virtual objects constitute a combined posture to flexibly generate various postures. The user applies one of the combined postures to his or her own virtual object, thereby displaying the target virtual object in a custom posture on the object display interface. Therefore, the user can flexibly set the posture of the target virtual object displayed in the object display interface, thereby improving the flexibility of the posture of the virtual object when displaying the virtual object and improving the display effect of the virtual object.
[0203] Fig.19 is a structural diagram of a virtual object posture editing device provided in an embodiment of the present application. Fig.19 , the device comprises:
[0204] The interface display module 1901 is used to display a gesture editing interface in response to a gesture creation request, where the gesture editing interface includes a template virtual object;
[0205] A posture editing module 1902, configured to control the posture of the template virtual object to change based on the posture editing operation of the template virtual object in the posture editing interface, so that the template virtual object is in a first posture;
[0206] The gesture application module 1903 is configured to display the target virtual object in a first gesture in the object display interface of the target virtual object in response to a gesture application request for applying the gesture of the template virtual object to the target virtual object.
[0207] The embodiment of the present application provides a posture editing device for virtual objects. A user can first use a template virtual object to edit a custom posture. By performing posture editing operations on the template virtual object, a variety of postures can be flexibly generated. The generated posture is subsequently applied to a target virtual object controlled by the user, thereby displaying the target virtual object in a custom posture on an object display interface. Therefore, the user can flexibly set the posture of the target virtual object displayed in the object display interface, thereby improving the flexibility of the posture of the virtual object when displaying the virtual object and improving the display effect of the virtual object.
[0208] Optionally, the posture editing interface also displays the skeleton points of the template virtual object; the posture editing module 1902 is used to:
[0209] In response to a selection operation on a target bone point of the template virtual object, switching the target bone point from a non-editable state to an editable state, the target bone point being any bone point of the template virtual object;
[0210] In response to the adjustment operation on the target bone point, the target bone point is controlled to move according to the adjustment operation.
[0211] Optionally, the posture editing module 1902 is used to control the target bone point to move in the direction of the dragging operation in response to the dragging operation in the posture editing interface;
[0212] The dragging operation is a dragging operation on a target bone point or a dragging operation on a virtual joystick in a posture editing interface.
[0213] Optionally, the gesture editing module 1902 is used to:
[0214] When the posture editing interface is in the first mode, in response to the drag operation, the associated bone point of the target bone point is determined, and the target bone point and the associated bone point are controlled to rotate so that the target bone point is displaced according to the drag operation. The first mode is used to control the bone point of the template virtual object to be displaced;
[0215] When the gesture editing interface is in the second mode, in response to the drag operation, the target skeleton point is controlled to rotate according to the drag operation. The second mode is used to control the skeleton point of the template virtual object to rotate.
[0216] Optionally, the posture editing module 1902 is further used to stop controlling the rotation of any bone point in the current direction when the rotation angle of the bone point in the current direction reaches a rotation angle threshold of the bone point in the current direction during the process of controlling the rotation of any bone point.
[0217] Optionally, the posture editing module 1902 is further used to display a direction indicator mark in response to a selection operation on a target bone point, where the direction indicator mark is used to indicate the movable direction of the target bone point, where the movable direction includes at least one of a displacement direction or a rotation direction.
[0218] Optionally, the direction indication mark is composed of a plurality of indicator sub-marks of movable directions, each indicator sub-mark being used to indicate a movable direction; the posture editing module 1902 is also used to respond to a drag operation in the posture editing interface and cancel the display of other indicator sub-marks except the indicator sub-mark of the target direction, where the target direction refers to the direction of the drag operation.
[0219] Optionally, the gesture editing interface further includes a gesture setting option, and the gesture editing module 1902 is further used to:
[0220] In response to a triggering operation on a gesture setting option, displaying a plurality of candidate gestures in a gesture editing interface;
[0221] In response to a selection operation on any candidate gesture, the gesture of the template virtual object is adjusted to the selected candidate gesture.
[0222] Optionally, the gesture editing interface further includes an expression setting option, and the gesture editing module 1902 is further used to:
[0223] In response to a triggering operation on an expression setting option, a plurality of candidate expressions are displayed on a gesture editing interface;
[0224] In response to a selection operation on any candidate expression, the expression of the template virtual object is adjusted to the selected candidate expression.
[0225] Optionally, the posture editing interface further includes a direction setting option. The posture editing module 1902 is further used to:
[0226] In response to a triggering operation on the orientation setting option, a plurality of candidate orientations are displayed in the posture editing interface;
[0227] In response to a selection operation on any candidate orientation, the orientation of the template virtual object is adjusted to the selected candidate orientation.
[0228] Optionally, the interface display module 1901 is used to:
[0229] Display the pose management interface, which includes pose creation options and generated poses;
[0230] In response to a triggering operation on the gesture creation option, a gesture editing interface is displayed.
[0231] Alternatively, see Fig. 20 , the device further includes an attribute display module 1904, which is used to display a detail interface of the second gesture in response to a trigger operation on the second gesture, where the second gesture is any gesture that has been generated;
[0232] The device also includes any of the following:
[0233] A posture application module 1903, configured to display the target virtual object in the second posture in the object display interface in response to a trigger operation on the application option when the details interface includes the application option;
[0234] A gesture sharing module 1905, for sending the gesture data of the second gesture to a selected account in response to a triggering operation on the sharing option when the detail interface includes the sharing option;
[0235] The interface display module 1901 is further configured to display a posture editing interface in response to a triggering operation on the editing option when the details interface includes the editing option, wherein the posture editing interface includes the template virtual object in the second posture.
[0236] Optionally, the interface display module 1901 is used to:
[0237] In response to the gesture creation request, displaying a plurality of candidate gestures in a gesture editing interface;
[0238] In response to a selection operation on any candidate posture, a template virtual object in the selected candidate posture is displayed on the posture editing interface.
[0239] Optionally, the device further comprises:
[0240] A posture generating module 1906, configured to generate posture data of a first posture based on the template virtual object in a first posture in response to a posture generating request for the template virtual object;
[0241] The gesture application module 1903 is configured to display the target virtual object in a first gesture in an object display interface of the target virtual object based on the gesture data in response to the gesture application request.
[0242] Optionally, the posture data includes an initial posture identifier and a first skeleton point motion parameter, the initial posture identifier indicates a first initial posture, the first initial posture is an initial posture of the template virtual object, and the first skeleton point motion parameter is used to adjust the first initial posture to the first posture;
[0243] The gesture application module 1903 is used to:
[0244] Based on the initial posture identifier, acquiring the stored second skeleton point motion parameters, the second skeleton point motion parameters are used to adjust the second initial posture to the first initial posture, the second initial posture being the initial posture of the target virtual object;
[0245] Based on the first skeleton point motion parameter and the second skeleton point motion parameter, the posture of the target virtual object in the object display interface is switched to the first posture.
[0246] Optionally, the gesture editing interface includes a plurality of template virtual objects, and the first gesture is a combined gesture composed of gestures of the plurality of template virtual objects;
[0247] The gesture application module 1903 is used to:
[0248] In response to a gesture application request for applying a gesture of any template virtual object to a target virtual object, the target virtual object in the gesture of the selected template virtual object is displayed in the object display interface.
[0249] It should be noted that the virtual object posture editing device provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the computer device is divided into different functional modules to complete all or part of the functions described above. In addition, the virtual object posture editing device provided in the above embodiment and the virtual object posture editing method embodiment belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0250] An embodiment of the present application also provides a computer device, which includes a processor and a memory, wherein at least one computer program is stored in the memory, and the at least one computer program is loaded and executed by the processor to implement the operations performed in the virtual object posture editing method of the above embodiment.
[0251] Optionally, the computer device is provided as a terminal. Fig.21 The schematic diagram of the structure of a terminal 2100 provided by an exemplary embodiment of the present application is shown. The terminal 2100 includes: a processor 2101 and a memory 2102 .
[0252] The processor 2101 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 2101 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field Programmable Gate Array), and PLA (Programmable Logic Array). The processor 2101 may also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 2101 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 2101 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0253] The memory 2102 may include one or more computer-readable storage media, which may be non-transitory. The memory 2102 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 2102 is used to store at least one computer program, which is used by the processor 2101 to implement the posture editing method of the virtual object provided in the method embodiment of the present application.
[0254] In some embodiments, the terminal 2100 may further optionally include: a peripheral device interface 2103 and at least one peripheral device. The processor 2101, the memory 2102 and the peripheral device interface 2103 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 2103 via a bus, a signal line or a circuit board. Optionally, the peripheral device includes: at least one of a radio frequency circuit 2104, a display screen 2105, a camera assembly 2106 and a power supply 2107.
[0255] The peripheral device interface 2103 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 2101 and the memory 2102. In some embodiments, the processor 2101, the memory 2102, and the peripheral device interface 2103 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 2101, the memory 2102, and the peripheral device interface 2103 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
[0256] The radio frequency circuit 2104 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 2104 communicates with communication networks and other communication devices through electromagnetic signals. The radio frequency circuit 2104 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuit 2104 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The radio frequency circuit 2104 can communicate with other devices through at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: a metropolitan area network, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 2104 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.
[0257] The display screen 2105 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 2105 is a touch display screen, the display screen 2105 also has the ability to collect touch signals on the surface or above the surface of the display screen 2105. The touch signal can be input to the processor 2101 as a control signal for processing. At this time, the display screen 2105 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 2105 can be one, arranged on the front panel of the terminal 2100; in other embodiments, the display screen 2105 can be at least two, respectively arranged on different surfaces of the terminal 2100 or in a folding design; in other embodiments, the display screen 2105 can be a flexible display screen, arranged on a curved surface or a folding surface of the terminal 2100. Even, the display screen 2105 can also be arranged as a non-rectangular irregular figure, that is, a special-shaped screen. The display screen 2105 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0258] The camera assembly 2106 is used to capture images or videos. Optionally, the camera assembly 2106 includes a front camera and a rear camera. The front camera is arranged on the front panel of the terminal 2100, and the rear camera is arranged on the back of the terminal 2100. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 2106 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. The dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.
[0259] The power supply 2107 is used to power various components in the terminal 2100. The power supply 2107 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 2107 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.
[0260] Those skilled in the art will understand that Fig.21The structure shown in the figure does not constitute a limitation on the terminal 2100, and the terminal 2100 may include more or fewer components than those shown in the figure, or combine certain components, or adopt a different component arrangement.
[0261] Optionally, the computer device is provided as a server. Fig. 22 This is a schematic diagram of the structure of a server provided in an embodiment of the present application. The server 2200 may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) 2201 and one or more memories 2202, wherein the memory 2202 stores at least one computer program, and the at least one computer program is loaded and executed by the processor 2201 to implement the methods provided in the above-mentioned various method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output, and the server may also include other components for implementing device functions, which will not be described in detail here.
[0262] An embodiment of the present application also provides a computer-readable storage medium, in which at least one computer program is stored. The at least one computer program is loaded and executed by a processor to implement the operations performed by the virtual object posture editing method of the above embodiment.
[0263] The embodiment of the present application further provides a computer program product, including a computer program, wherein the computer program is loaded and executed by a processor to implement the operations performed by the virtual object posture editing method of the above embodiment.
[0264] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0265] The above description is only an optional embodiment of the embodiments of the present application and is not intended to limit the embodiments of the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the protection scope of the present application.
Claims
1. A method for editing the posture of a virtual object, characterized in that: The method comprises: In response to the gesture creation request, displaying a gesture editing interface, the gesture editing interface including a template virtual object; Based on the posture editing operation on the template virtual object in the posture editing interface, controlling the posture of the template virtual object to change so that the template virtual object is in a first posture; In response to a gesture application request to apply the gesture of the template virtual object to a target virtual object, the target virtual object in the first gesture is displayed in an object display interface of the target virtual object.
2. The method according to claim 1, characterized in that: The posture editing interface also displays the skeleton points of the template virtual object; and based on the posture editing operation of the template virtual object in the posture editing interface, controlling the posture of the template virtual object to change includes: In response to a selection operation on a target bone point of the template virtual object, switching the target bone point from a non-editable state to an editable state, the target bone point being any bone point of the template virtual object; In response to an adjustment operation on the target skeleton point, the target skeleton point is controlled to move according to the adjustment operation.
3. The method according to claim 2, characterized in that In response to the adjustment operation on the target skeleton point, controlling the target skeleton point to move according to the adjustment operation includes: In response to a drag operation in the gesture editing interface, controlling the target bone point to move in a direction of the drag operation; The dragging operation is a dragging operation on the target skeleton point or a dragging operation on a virtual joystick in the posture editing interface.
4. The method according to claim 3, characterized in that In response to the drag operation in the posture editing interface, controlling the target bone point to move in the direction of the drag operation includes: When the posture editing interface is in the first mode, in response to the drag operation, the associated bone point of the target bone point is determined, and the target bone point and the associated bone point are controlled to rotate so that the target bone point is displaced according to the drag operation, and the first mode is used to control the bone point of the template virtual object to be displaced; When the gesture editing interface is in the second mode, in response to the drag operation, the target skeleton point is controlled to rotate according to the drag operation, and the second mode is used to control the skeleton point of the template virtual object to rotate.
5. The method according to claim 4, characterized in that The method further comprises: In the process of controlling any skeleton point to rotate, when the rotation angle of the skeleton point in the current direction reaches the rotation angle threshold of the skeleton point in the current direction, stop controlling the skeleton point to rotate in the current direction.
6. The method according to claim 2, characterized in that The method further comprises: In response to the selection operation of the target skeleton point, a direction indication mark is displayed, wherein the direction indication mark is used to indicate a movable direction of the target skeleton point, wherein the movable direction includes at least one of a displacement direction or a rotation direction.
7. The method according to claim 6, characterized in that The direction indicating mark is composed of a plurality of indicating sub-marks of movable directions, each indicating sub-mark is used to indicate a movable direction; the method further comprises: In response to the drag operation in the gesture editing interface, other indication sub-marks except the indication sub-mark of the target direction are cancelled, and the target direction refers to the direction of the drag operation.
8. The method according to claim 2, characterized in that: The gesture editing interface further includes a gesture setting option, and the gesture editing operation on the template virtual object in the gesture editing interface controls the gesture of the template virtual object to change, and further includes: In response to a triggering operation on the gesture setting option, displaying a plurality of candidate gestures on the gesture editing interface; In response to a selection operation on any candidate gesture, the gesture of the template virtual object is adjusted to the selected candidate gesture.
9. The method according to claim 2, characterized in that: The posture editing interface further includes an expression setting option, and the posture of the template virtual object is controlled to change based on the posture editing operation of the template virtual object in the posture editing interface, and further includes: In response to a triggering operation on the expression setting option, displaying a plurality of candidate expressions on the gesture editing interface; In response to a selection operation on any candidate expression, the expression of the template virtual object is adjusted to the selected candidate expression.
10. The method according to claim 2, characterized in that The posture editing interface further includes a direction setting option, and the posture of the template virtual object is controlled to change based on the posture editing operation of the template virtual object in the posture editing interface, and further includes: In response to a triggering operation on the orientation setting option, displaying a plurality of candidate orientations on the posture editing interface; In response to a selection operation on any candidate orientation, the orientation of the template virtual object is adjusted to the selected candidate orientation.
11. The method according to any one of claims 1 to 10, characterized in that: The step of displaying a gesture editing interface in response to a gesture creation request includes: Displaying a gesture management interface, the gesture management interface including gesture creation options and generated gestures; In response to a triggering operation on the gesture creation option, the gesture editing interface is displayed.
12. The method according to claim 11, characterized in that The method further comprises: In response to a trigger operation on a second gesture, displaying a detail interface of the second gesture, where the second gesture is any gesture that has been generated; The method further comprises any of the following: The details interface includes an application option, and in response to a triggering operation on the application option, the target virtual object in the second posture is displayed in the object display interface; The details interface includes a sharing option, and in response to a triggering operation on the sharing option, the posture data of the second posture is sent to a selected account; The details interface includes an editing option. In response to a triggering operation on the editing option, the posture editing interface is displayed, and the posture editing interface includes a template virtual object in the second posture.
13. The method according to any one of claims 1 to 10, characterized in that: The method of displaying a gesture editing interface in response to a gesture creation request in a game application includes: In response to the gesture creation request, displaying a plurality of candidate gestures in the gesture editing interface; In response to a selection operation on any candidate posture, a template virtual object in the selected candidate posture is displayed on the posture editing interface.
14. The method according to any one of claims 1 to 10, characterized in that: After the posture editing operation on the template virtual object in the posture editing interface is used to control the posture of the template virtual object to change so that the template virtual object is in a first posture, the method further includes: In response to a request for generating a posture of the template virtual object, generating posture data of the first posture based on the template virtual object in the first posture; In response to a gesture application request for applying the gesture of the template virtual object to the target virtual object, displaying the target virtual object in the first gesture in an object display interface of the target virtual object comprises: In response to the gesture application request, based on the gesture data, the target virtual object in the first gesture is displayed in an object display interface of the target virtual object.
15. The method according to claim 14, characterized in that The posture data includes an initial posture identifier and a first skeleton point motion parameter, the initial posture identifier indicates a first initial posture, the first initial posture is the initial posture of the template virtual object, and the first skeleton point motion parameter is used to adjust the first initial posture to the first posture; The step of displaying the target virtual object in the first posture in the object display interface of the target virtual object based on the posture data includes: Based on the initial posture identifier, acquiring a stored second skeleton point motion parameter, wherein the second skeleton point motion parameter is used to adjust a second initial posture to the first initial posture, and the second initial posture is the initial posture of the target virtual object; Based on the first skeleton point motion parameter and the second skeleton point motion parameter, the posture of the target virtual object in the object display interface is switched to the first posture.
16. The method according to any one of claims 1 to 10, characterized in that: The gesture editing interface includes a plurality of template virtual objects, and the first gesture is a combined gesture composed of the gestures of the plurality of template virtual objects; In response to a gesture application request for applying the gesture of the template virtual object to the target virtual object, displaying the target virtual object in the first gesture in an object display interface of the target virtual object comprises: In response to a gesture application request for applying a gesture of any template virtual object to the target virtual object, the target virtual object in the gesture of the selected template virtual object is displayed in the object display interface.
17. A virtual object posture editing device, characterized in that: The device comprises: An interface display module, for displaying a gesture editing interface in response to a gesture creation request, wherein the gesture editing interface includes a template virtual object; A posture editing module, used for controlling the posture of the template virtual object to change based on the posture editing operation of the template virtual object in the posture editing interface, so that the template virtual object is in a first posture; The gesture application module is used to display the target virtual object in the first gesture in the object display interface of the target virtual object in response to a gesture application request for applying the gesture of the template virtual object to the target virtual object.
18. A computer device, characterized in that: The computer device includes a processor and a memory, wherein at least one computer program is stored in the memory, and the at least one computer program is loaded and executed by the processor to implement the operations performed by the virtual object posture editing method according to any one of claims 1 to 16.
19. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one computer program, and the at least one computer program is loaded and executed by a processor to implement the operations performed by the virtual object posture editing method according to any one of claims 1 to 16.
20. A computer program product comprising a computer program, characterized in that The computer program is loaded and executed by a processor to implement the operations performed by the method for editing the posture of a virtual object according to any one of claims 1 to 16.
