Virtual human control method and device and electronic equipment
By using the first and second control parameters in the virtual human control system, combining the information of expression and action type, as well as the control of skin status, the problem of fixed expression status of virtual human human is solved, achieving richer expression performance and better user experience.
Patent Information
- Application Number
- CN202411620295.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-13
- Publication Date
- 2025-03-07
AI Technical Summary
When controlling virtual people, the expression status of the prior art is relatively fixed, affecting the user experience.
By obtaining the first control parameter, the expression type and action type of the virtual person are characterized, and when a specific control condition is met, a second control parameter is obtained to control the skin state of the virtual person, thereby presenting a new expression state.
It realizes that virtual people can present more expression states, avoid the problem of fixed expressions, and improve the user experience.
Smart Images

Figure CN119579739A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a control method, device and electronic equipment for a virtual human. Background Art
[0002] At present, when controlling a virtual human, it is usually moved in a corresponding direction according to a blend shape BS (BlendShapes) so that the virtual human presents a corresponding expression state.
[0003] However, this control method causes the expression state of the virtual human to be different only due to the control parameters of Blendshapes, resulting in the virtual human being being able to present relatively fixed expressions, which affects the user experience. Summary of the invention
[0004] In view of the above problems, the present application provides a method, device and electronic device for controlling a virtual person to improve the user experience of the virtual person. The specific solution is as follows:
[0005] The first aspect of the present application provides a method for controlling a virtual person, the method comprising:
[0006] Obtaining a first control parameter corresponding to a virtual person; the first control parameter at least represents at least one of an expression type and an action type of the virtual person; the first control parameter is used to control the virtual person to present a first state; the first state includes at least one of an expression state and an action state;
[0007] When the first control parameter satisfies a control condition, obtaining a second control parameter corresponding to the virtual person;
[0008] According to the second control parameter, the virtual person is controlled to present a second state, and the second state at least includes a skin state.
[0009] In a possible implementation, the first control parameter satisfies a control condition, including at least one of the following:
[0010] The expression type represented by the first control parameter matches a preset target expression type;
[0011] The action type represented by the first control parameter matches a preset target action type.
[0012] In a possible implementation, the first control parameter satisfies the control condition further comprising:
[0013] The duration represented by the first control parameter reaches a preset target duration.
[0014] In a possible implementation, the second control parameter includes: a control parameter of at least one micro-detail model of the virtual human corresponding to the skin model;
[0015] Wherein, obtaining a second control parameter corresponding to the virtual person includes:
[0016] Obtaining at least one micro-detail model corresponding to the virtual person on the skin model and a detail control parameter corresponding to the micro-detail model according to at least one of the expression type, action type and duration represented by the first control parameter;
[0017] A second control parameter is obtained according to the micro-detail model and the detail control parameter.
[0018] In a possible implementation, the micro-detail model includes: at least one of a color model and a blood vessel model; the color model is a model in which skin color is a target color;
[0019] The detail control parameter corresponding to the color model represents the degree to which the skin color of the virtual person approaches the target color in the second state;
[0020] The detail control parameters corresponding to the blood vessel model represent the degree to which the blood vessels under the skin of the virtual person are visible in the second state.
[0021] In a possible implementation, the skin model includes at least: a first layer, a second layer below the first layer, and a third layer, wherein the first layer is a skin layer with a transparency less than 100%, the second layer is an opaque skin layer, and the micro-detail model is in the third layer;
[0022] In the second state, the rendering state of the micro-detail model matches the weight value in the detail control parameter.
[0023] In a possible implementation, the third layer is fixed between the first layer and the second layer;
[0024] The step of controlling the virtual person to present the second state according to the second control parameter includes:
[0025] According to the detail control parameters, the transparency of the third layer is controlled so that the virtual person presents a second state.
[0026] In a possible implementation, the third layer can be located at any position below the first layer;
[0027] The step of controlling the virtual person to present the second state according to the second control parameter includes:
[0028] According to the detail control parameter, the distance between the third layer and the first layer is controlled so that the virtual person presents a second state.
[0029] A second aspect of the present application provides a control device for a virtual person, the device comprising:
[0030] A first parameter obtaining unit is used to obtain a first control parameter corresponding to the virtual person; the first control parameter at least represents at least one of an expression type and an action type of the virtual person; the first control parameter is at least used to control the virtual person to present a first state; the first state includes at least one of an expression state and an action state;
[0031] A second parameter obtaining unit, configured to obtain a second control parameter corresponding to the virtual person when the first control parameter satisfies a control condition;
[0032] A state control unit is used to control the virtual person to present a second state according to the second control parameter, and the second state at least includes a skin state.
[0033] The third aspect of the present application provides a computer program product, including computer-readable instructions. When the computer-readable instructions are executed on an electronic device, the electronic device implements the method for controlling a virtual human according to the first aspect or any implementation of the first aspect.
[0034] A fourth aspect of the present application provides an electronic device, comprising at least one processor and a memory connected to the processor, wherein:
[0035] The memory is used to store computer programs;
[0036] The processor is used to execute the computer program so that the electronic device can implement the control method of the virtual human according to the first aspect or any implementation manner of the first aspect.
[0037] A fifth aspect of the present application provides a computer storage medium, which carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement the method for controlling a virtual person according to the first aspect or any implementation of the first aspect.
[0038] By means of the above technical scheme, in a control method, device and electronic device of a virtual human provided by the present application, in addition to controlling the virtual human to present expression state and dynamic state according to the first control parameter, the second control parameter can be obtained and the virtual human can be controlled to present at least skin state according to the second control parameter when the first control parameter satisfies the control condition. Thus, the skin state can present a new expression state of the virtual human with at least one of the expression state and the action state, thereby avoiding the situation where the expression is fixed only by the first control parameter such as the control parameter of Blendshapes, and can provide users with more expression states of the virtual human, thereby improving the user's use of the virtual human. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solutions of 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 present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0040] Figure 1 A flowchart of a method for controlling a virtual human provided in an embodiment of the present application;
[0041] Figure 2 This is an example of an angry expression.
[0042] Figure 3 This is an example diagram of the squat action;
[0043] Figure 4 This is an example diagram of controlling the redness of the skin while realizing an angry expression for a virtual person in an embodiment of the present application;
[0044] Figure 5 This is an example diagram of controlling the reddening of the skin and the bulging of veins in the blood vessels while realizing an angry expression for a virtual person in an embodiment of the present application;
[0045] Figure 6 This is an example diagram of the third layer in the embodiment of the present application;
[0046] Figure 7 This is another example diagram of the third layer in the embodiment of the present application;
[0047] Figure 8 A schematic diagram of the structure of a control device for a virtual person provided in an embodiment of the present application;
[0048] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0049] Fig.10This is an example diagram of a human head being divided into 12 areas in an embodiment of the present application;
[0050] Fig.11 This is an example diagram of setting calibration points on the face in an embodiment of the present application;
[0051] Fig.12 This is an example diagram of the 5th calibration point on the left side of the face showing different expressions under control in the embodiment of the present application;
[0052] Fig.13 This is an example diagram of the skeleton and joints of a virtual person in an embodiment of the present application;
[0053] Fig.14 This is an example diagram of specific movements such as squats and deadlifts in the embodiments of the present application;
[0054] Fig.15 This is an example diagram of the double-layer skin effect in the embodiment of the present application;
[0055] Fig.16 A schematic diagram showing micro details and skin cross-sections in an embodiment of the present application;
[0056] Fig.17 Another schematic diagram showing micro details and skin cross-sections in an embodiment of the present application;
[0057] Fig.18 A schematic diagram of the relationship between weights involved in the embodiments of the present application;
[0058] Fig.19 This is an example diagram of presenting a micro-detail model (such as a blood vessel) through a switch system in an embodiment of the present application;
[0059] Fig. 20 This is a flow chart for implementing micro-detail control in an embodiment of the present application. DETAILED DESCRIPTION
[0060] The following describes the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. The terms used in the implementation method section of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application.
[0061] The embodiments of the present application are described below in conjunction with the accompanying drawings. Those skilled in the art will appreciate that, with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0062] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, which is only to describe the distinction mode adopted by the objects of the same attributes when describing in the embodiments of the present application. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, so that the process, method, system, product or equipment comprising a series of units need not be limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or equipment.
[0063] Reference Figure 1 , is a flow chart of a method for controlling a virtual person provided in an embodiment of the present application, which can be applied to electronic devices with data processing functions, such as mobile phones, notebooks, tablets, servers and other devices. The technical solution in this embodiment is mainly used to control the expression of a virtual person to improve the user experience of the virtual person.
[0064] Specifically, the method in this embodiment may include the following steps:
[0065] Step 101: Obtain a first control parameter corresponding to a virtual human.
[0066] The first control parameter represents at least one of the expression type and the action type of the virtual person. Specifically, the first control parameter may include at least one of the control parameters of the virtual person's facial blendshapes and the control parameters of the virtual person's limb bones and joints. The first control parameter is used to control the virtual person to present a first state, and the first state includes at least one of an expression state and a dynamic state.
[0067] Specifically, in this embodiment, after obtaining the first control parameter, according to the control parameter of Blendshapes in the first control parameter, the corresponding Blendshapes of the virtual person are controlled to change according to the corresponding control parameter to present the corresponding expression state, such as Figure 2 and, according to the control parameters of the limb bones and joints in the first control parameter, controlling the corresponding bones and joints of the virtual person to change according to their corresponding control parameters to present the corresponding action state, such as Figure 3 The squat (horse stance) movement shown in .
[0068] For example, after obtaining the first control parameter in this embodiment, according to the first control parameter, the following 7 Blendshapes of the virtual person are controlled to move corresponding distances according to the Blendshapes weight values corresponding to the angry expression, and the corresponding weight values of each Blendshape in the first control parameter are within the weight value range corresponding to the corresponding Blendshape in the angry expression:
[0069] 1. Eyebrow sinking: corresponding to Blendshapes: MT_L_2 and MT_R_2, weight value range [0.8-1];
[0070] 2. Nasal root extrusion: corresponding to Blendshapes: BG_5, weight value range [0.8-1];
[0071] 3. Upper eyelid sinking: corresponding to Blendshapes: SYJ_L_2 and SYJ_R_2, weight value range [0-0.2];
[0072] 4. Lower eyelid lifting: corresponding Blendshapes: XYJ_L_8 and XYJ_R_8, weight value range [0-1];
[0073] 5. Drooping of mouth corners: corresponding to Blendshapes: ZJ_L_2 and ZJ_R_2, weight value range [0.5-1];
[0074] 6. Open mouth: corresponding Blendshapes: SC_L_7, SC_R_9, XC_L_1, XC_R_3, SKL_8, XKL_2, weight value range [0.8-1];
[0075] 7. Mandibular subsidence: corresponding Blendshapes: XH_2, weight value [0.9].
[0076] At the same time, in this embodiment, according to the first control parameter, the bones and joints of the two arms of the virtual person are controlled to lift up, and the joints in the two palms of the virtual person are controlled to move toward the center, so that the virtual person presents an action state with both arms raised and clenched into fists. As a result, the virtual person presents an angry expression and an angry action of clenching and raising both fists.
[0077] For another example, after the first control parameter is obtained in this embodiment, only the bones and joints of the virtual person's legs are controlled to sink according to the first control parameter, so that the virtual person presents a squatting action state.
[0078] Step 102: Detect whether the first control parameter satisfies the control condition. If the first control parameter satisfies the control condition, execute step 103. If the first control parameter does not satisfy the control condition, return to step 101 to continue to obtain new first control parameters, and then continue to control the virtual human to be in the first state.
[0079] Among them, the control condition can be understood as a switch that triggers the virtual person to present other states different from the first state. If the first control parameter meets the trigger condition, it means that while the virtual person is presenting the first state, the virtual person can be controlled to present other states, thereby enriching the presentation effect brought by the virtual person to the user; if the first control parameter does not meet the control condition, it means that the first state presented by the virtual person does not require the cooperation of other states, which is sufficient to present the corresponding virtual human effect to the user.
[0080] In one implementation, the first control parameter satisfies the control condition, which may include at least one of the following:
[0081] The expression type represented by the first control parameter matches a preset target expression type;
[0082] The action type represented by the first control parameter matches the preset target action type.
[0083] For example, the first control parameter represents an angry expression type, and the angry expression type is a target expression type that triggers the virtual person to present other states. At this time, it can be determined that the first control parameter meets the control condition.
[0084] For another example, the first control parameter represents the action type of squatting, and the action type of squatting is the target action type that triggers the virtual human to present other states. At this time, it can be determined that the first control parameter meets the control condition.
[0085] Furthermore, in order to improve the accuracy of control, the first control parameter satisfies the control condition, which may also include: the duration represented by the first control parameter reaches a preset target duration.
[0086] For example, the first control parameter satisfies the control condition including: the first control parameter represents an angry expression type and the duration of the angry expression type on the virtual person reaches 5 seconds;
[0087] For another example, the first control parameter satisfies the control condition including: the first control adoption number represents the action type of squatting horse stance and the duration of the action type of squatting horse stance on the virtual human reaches 20 seconds.
[0088] Step 103: Obtain a second control parameter corresponding to the virtual human.
[0089] The second control parameter includes: a control parameter of at least one micro-detail model of the virtual person corresponding to the skin model. The micro-detail model here may include at least one of a color model, a blood vessel model, a sweat hair model, a skin goose bump model, etc. The color model here may be a model with the skin color as the target color, such as a reddish skin color model, a white skin color model, etc. The blood vessel model refers to a model of blood vessels under the skin.
[0090] Specifically, the second control parameter can be obtained according to the first control parameter.
[0091] For example, the first control parameter is a control parameter characterizing an angry expression type, and accordingly, in this embodiment, a second control parameter is obtained for the skin type and corresponds to the angry expression type; for another example, the first control parameter is a control parameter characterizing an action type of squatting, and accordingly, in this embodiment, a second control parameter is obtained for the skin type and corresponds to the action type of squatting.
[0092] Step 104: According to the second control parameter, control the virtual human to present a second state.
[0093] The second state at least includes skin state, which may include at least one of the state of skin color and the state of blood vessels under the skin.
[0094] For example, in this embodiment, according to the second control parameter, the virtual person's skin is controlled to turn red, so that the virtual person not only presents an angry expression, but also presents a red skin state, thereby presenting a more realistic angry state to the user through multiple states, thereby improving the user's experience of using the virtual person. Figure 4 As shown in;
[0095] For another example, in this embodiment, according to the second control parameter, the blood vessels under the skin of the virtual person are controlled to be clearly displayed, so that when the virtual person presents an angry expression, in addition to the reddened facial skin, the facial blood vessels are also clearly displayed, i.e., the veins are bulging, such as Figure 5 As shown in , a more realistic anger state is presented to the user through multiple states, thereby improving the user's experience of using the virtual person.
[0096] According to the above technical scheme, in a control method for a virtual human provided by an embodiment of the present application, in addition to controlling the virtual human to present expression state and dynamic state according to the first control parameter, it is also possible to obtain the second control parameter and control the virtual human to at least present the skin state according to the second control parameter when the first control parameter satisfies the control condition. Thus, the skin state can present a new expression state of the virtual human with at least one of the expression state and the action state, thereby avoiding the situation where the expression is fixed only by the first control parameter, such as the control parameter of Blendshapes, and can provide users with more expression states of the virtual human, thereby improving the user's usage of the virtual human.
[0097] In one implementation, when obtaining the second control parameter in step 103, it can be implemented in the following manner:
[0098] First, based on at least one of the expression type, action type and duration represented by the first control parameter, at least one micro-detail model corresponding to the virtual person's skin type and the detail control parameters corresponding to the micro-detail model are obtained; then, based on the micro-detail model and the detail control parameters, the second control parameter is obtained.
[0099] For example, in this embodiment, when the first control parameter satisfies the control condition, the expression type, action type, duration, and other information represented by the first control parameter are first extracted, and then at least one micro-detail model such as a color model and a blood vessel model and the detail control parameters corresponding to the micro-detail model are obtained according to the expression type, action type, and duration, and then the second control parameter is obtained according to the micro-detail model and the detail control parameters corresponding to the micro-detail model. Specifically, these micro-detail models and the detail control parameters corresponding to the micro-detail model constitute the second control parameter. Based on this, according to the second control parameter, the virtual person is controlled to present the corresponding skin state.
[0100] Among them, the detail control parameters corresponding to the color model represent the degree to which the skin color of the virtual person is close to the target color in the second state. Specifically, the detail control parameters corresponding to the color model can be represented by weight values. When the expression type is an angry expression type and the duration is longer, the weight value corresponding to the color model is larger, which represents that the skin color of the virtual person is closer to the target color such as red, so that the virtual person can present a reddish skin state under the detail control parameters; the smaller the weight value corresponding to the color model is, the more the virtual person's skin color is closer to the normal skin color such as the skin color of the virtual person's skin type, so that the virtual person can present a normal skin state under the detail control parameters.
[0101] The detail control parameters corresponding to the vascular model represent the degree of visibility of the skin blood vessels of the virtual person in the second state. Specifically, the detail control parameters corresponding to the vascular model can be represented by weight values. When the action type is a squatting action type and the duration is longer, the weight value corresponding to the vascular model is larger, which represents that the blood vessels of the virtual person are more obvious under the skin. Therefore, the virtual person can present a state of bulging blood vessels, i.e., bulging veins, under the detail control parameters; the smaller the weight value corresponding to the vascular model is, the less obvious the blood vessels of the virtual person are under the skin. Therefore, the virtual person can present a state of normal blood vessels under the skin under the detail control parameters.
[0102] Based on the above implementation scheme, the skin model may include at least: a first layer, a second layer under the first layer, and a third image. The first layer is a skin layer with a transparency less than 100%, that is, a semi-transparent skin layer, the second layer is an opaque skin layer, and the micro-detail model is in the third layer, that is, the third layer can also be understood as a micro-detail layer.
[0103] Based on this, in the second state, the presentation state of the micro-detail model matches the weight value in the detail control parameter. The presentation state of the micro-detail model can be understood as the presentation degree of the micro-detail model under the virtual human skin. For example, the larger the weight value in the detail control parameter, the more obvious the micro-detail model in the third layer is under the virtual human skin; the smaller the weight value in the detail control parameter, the less obvious the micro-detail model in the third layer is under the virtual human skin.
[0104] In one implementation, the third layer may be fixed between the first layer and the second layer, such as Figure 6 As shown in . The transparency of the third layer can be adjusted according to the detail control parameter. Based on this, in step 104, the transparency of the third layer can be controlled according to the detail control parameter so that the virtual human presents the second state, that is, the skin state presented by the micro-detail model in the third layer.
[0105] For example, in step 104, the transparency of the third layer is adjusted according to the weight value in the detail control parameter, thereby making the color or blood vessels under the virtual person's skin more obvious. If the weight value in the detail control parameter is larger, the transparency of the third layer is adjusted to be higher, so that the color or blood vessels under the virtual person's skin are more obvious, such as the skin is more red or the blood vessels are more obvious.
[0106] In one implementation, the third layer can be located at any position below the first layer, such as any position between the first layer and the second layer, or any position below the second layer, such as Figure 7As shown in , the third layer can be moved under the first layer according to the detail control parameter. Based on this, in step 104, the distance between the third layer and the first layer can be controlled according to the detail control parameter so that the virtual human is in the second state, that is, the skin state presented by the micro-detail model in the third layer.
[0107] For example, in step 104, the distance between the third layer and the first layer is adjusted according to the weight value in the detail control parameter, thereby making the color or blood vessels under the virtual person's skin more obvious. If the weight value in the detail control parameter is larger, the third layer is adjusted closer to the first layer after passing the second layer, that is, the distance between the third layer and the first layer between the second layer and the first layer is smaller, so that the color or blood vessels under the virtual person's skin are more obvious, such as the skin is more red or the blood vessels are more obvious.
[0108] Accordingly, from the user's perspective, the blending result between the second layer, the third layer and the first layer under the virtual human skin can be obtained by the weight value in the detail control parameter, that is, the distance between the third layer and the first layer, and the transparency of the first layer. For example, when the weight value is the largest, such as 1, the blending result is simplified to the blending result of the first layer and the third layer; when the weight value is the smallest, such as 0, the softening result is simplified to the blending result of the first layer and the second layer.
[0109] It should be noted that the third layer can be divided into multiple sub-layers, and the sub-layers are adjacent to each other to form the entire third layer. Based on this, in this embodiment, when adjusting the transparency of the third layer, the transparency of each sub-layer in the third layer can be adjusted, and the transparency of different sub-layers is the same or different, and the transparency of the sub-layer corresponds to the weight value corresponding to the sub-layer in the detail control parameter, thereby, the degree of redness and the degree of blood vessel presentation in different areas under the skin of the virtual person are the same or different; or, in this embodiment, when adjusting the distance between the third layer and the first layer, the distance between each sub-layer in the third layer and the first layer can be adjusted, and the distance between different sub-layers and the first layer is the same or different, and the distance between the sub-layer and the first layer corresponds to the weight value corresponding to the sub-layer in the detail control parameter, thereby, the degree of redness and the degree of blood vessel presentation in different areas under the skin of the virtual person are the same or different.
[0110] refer to Figure 8 , is a schematic diagram of the structure of a virtual human control device provided in an embodiment of the present application. The device can be configured in an electronic device with a data processing function, such as a mobile phone, a notebook, a tablet, a server and other devices. The technical solution in this embodiment is mainly used to control the expression of the virtual human to improve the user's experience of the virtual human.
[0111] Specifically, the device in this embodiment may include the following units:
[0112] A first parameter obtaining unit 801 is used to obtain a first control parameter corresponding to a virtual person; the first control parameter at least represents at least one of an expression type and an action type of the virtual person; the first control parameter is at least used to control the virtual person to present a first state; the first state includes at least one of an expression state and an action state;
[0113] A second parameter obtaining unit 802, configured to obtain a second control parameter corresponding to the virtual person when the first control parameter satisfies a control condition;
[0114] The state control unit 803 is used to control the virtual person to present a second state according to the second control parameter, and the second state at least includes a skin state.
[0115] According to the above technical scheme, in a control device for a virtual human provided by an embodiment of the present application, in addition to controlling the virtual human to present expression state and dynamic state according to the first control parameter, the second control parameter can be obtained and the virtual human can be controlled to present at least skin state according to the second control parameter when the first control parameter satisfies the control condition. Thus, the skin state can present a new expression state of the virtual human with at least one of the expression state and the action state, thereby avoiding the situation where the expression is fixed only by the first control parameter, such as the control parameter of Blendshapes, and can provide users with more expression states of the virtual human, thereby improving the user's usage of the virtual human.
[0116] In one implementation, the first control parameter satisfies a control condition, including at least one of the following:
[0117] The expression type represented by the first control parameter matches a preset target expression type;
[0118] The action type represented by the first control parameter matches a preset target action type.
[0119] In addition, the first control parameter satisfies the control condition further comprising:
[0120] The duration represented by the first control parameter reaches a preset target duration.
[0121] In one implementation, the second control parameter includes: a control parameter of at least one micro-detail model of the virtual human corresponding to the skin model;
[0122] Among them, the second parameter acquisition unit 802 is specifically used to: obtain at least one micro-detail model corresponding to the virtual person on the skin model and the detail control parameters corresponding to the micro-detail model according to at least one of the expression type, action type and duration represented by the first control parameter; obtain the second control parameter according to the micro-detail model and the detail control parameter.
[0123] In one implementation, the micro-detail model includes: at least one of a color model and a blood vessel model; the color model is a model in which skin color is a target color; wherein the detail control parameters corresponding to the color model represent the degree to which the skin color of the virtual person is close to the target color in the second state; and the detail control parameters corresponding to the blood vessel model represent the degree to which the blood vessels under the skin of the virtual person are visible in the second state.
[0124] In one implementation, the skin model includes at least: a first layer, a second layer below the first layer, and a third layer, the first layer is a skin layer with a transparency less than 100%, the second layer is an opaque skin layer, and the micro-detail model is in the third layer; in the second state, the presentation state of the micro-detail model matches the weight value in the detail control parameter.
[0125] In one implementation, the third layer is fixed between the first layer and the second layer; the state control unit 803 is specifically used to: control the transparency of the third layer according to the detail control parameter, so that the virtual human presents the second state.
[0126] In one implementation, the third layer can be located at any position below the first layer; wherein the state control unit 803 is specifically used to: control the distance between the third layer and the first layer according to the detail control parameters so that the virtual person presents the second state.
[0127] It should be noted that the specific implementation method of each unit in this embodiment can refer to the corresponding content in the previous text and will not be described in detail here.
[0128] The present application also provides an electronic device, comprising at least one processor and a memory connected to the processor, wherein:
[0129] The memory is used to store computer programs;
[0130] The processor is used to execute the computer program so that the electronic device can implement the virtual human control method described in any of the above embodiments.
[0131] refer to Fig. 9As shown, it shows a schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present application. The electronic device in the embodiments of the present application may include but is not limited to fixed terminals such as mobile phones, notebook computers, PDAs (personal digital assistants), PADs (tablet computers), desktop computers, etc. Fig. 9 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0132] like Fig. 9 As shown, the electronic device may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage device 908 into a random access memory (RAM) 903. When the electronic device is powered on, various programs and data required for the operation of the electronic device are also stored in the RAM 903. The processing device 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.
[0133] Typically, the following devices may be connected to the I / O interface 905: an input device 906 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 907 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 908 including, for example, a memory card, a hard disk, etc.; and a communication device 909. The communication device 909 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although Fig. 9 An electronic device having various devices is shown, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0134] An embodiment of the present application also provides a computer program product including computer-readable instructions. When the computer-readable instructions are executed on an electronic device, the electronic device implements any virtual human control method provided in the embodiment of the present application.
[0135] A computer-readable storage medium is also provided in an embodiment of the present application. The storage medium carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement any virtual human control method provided in the embodiment of the present application.
[0136] Taking the scenario where an actor wears a sensor to realize the animation production of a virtual person as an example, the technical solution of this application is illustrated as follows:
[0137] Firstly, in order to enable the virtual character (i.e. virtual human) to produce facial expression animations through facial capture equipment (i.e. sensors worn by actors), it is usually necessary to set up controllers in the virtual human's skeletal system.
[0138] In the framework for implementing virtual human control, Blendshapes usually contains 52 sets of feature motion data, covering the motion of eyes, eyebrows, cheeks, nose, mouth, tongue and other parts. Based on this, Blendshapes is used as an expression locator, and the corresponding motion factor represents the range of expression motion. The 52 sets of motion factor data are as follows:
[0139] eyeBlinkLeft left eye blinks; eyeLookDownLeft left eye looks down; eyeLookInLeft left eye looks at the tip of the nose; eyeLookOutLeft left eye looks to the left; eyeLookUpLeft left eye looks up; eyeSquintLeft left eye squints; eyeWideLeft left eye opens wide; eyeBlinkRight right eye blinks; eyeLookDownRight right eye looks down; eyeLookInRight right eye looks at the tip of the nose; eyeLookOutRight right eye looks to the left; eyeLookUpRight right eye looks up; eyeSquint tRight Squint your right eye; eyeWideRight Open your right eye; jawForward Chin forward when pursing your lips; jawLeft Chin to the left when pouting your lips; jawRight Chin to the right when pouting your lips; jawOpen Chin down when opening your mouth; mouthClose Close your mouth; mouthFunnel Open your mouth slightly with your lips open; mouthPucker Purse your lips; mouthLeft Pout to the left; mouthRight Pout to the right; mouthSmileLeft Pout your lips to the left; mouthSmileRight Pout your lips to the right; mouthFrownLeft Press your left lip down; mouthFrownRight Press your right lip down press; mouthDimpleLeft left lip backward; mouthDimpleRight right lip backward; mouthStretchLeft left corner of mouth to the left; mouthStretchRight right corner of mouth to the right; mouthRollLower lower lip rolled inward; mouthRollUpper lower lip rolled upward; mouthShrugLower lower lip downward; mouthShrugUpper upper lip upward; mouthPressLeft lower lip pressed to the left; mouthPressRight lower lip pressed to the right; mouthLowerDownLeft lower lip pressed to the left; mouth thLowerDownRight press the lower lip to the lower right; mouthUpperUpLeft press the upper lip to the upper left; mouthUpperUpRight press the upper lip to the upper right; browDownLeft left eyebrow outward; browDownRight right eyebrow outward; browInnerUp frown; browOuterUpLeft left eyebrow up to the upper left; browOuterUpRight right eyebrow up to the upper right; cheekPuff cheek outward; cheekSquintLeft left cheek up and rotated; cheekSquintRight right cheek up and rotated; noseSneerLeft frown nose to the left;noseSneerRight frown nose to the right; tongueOut stick out tongue. ;
[0140] In the specific implementation, each Blendshapes is named to facilitate subsequent mapping and control. These Blendshapes can be used in combination to help the character express rich emotions and reactions. Based on this, the actor wears a facial capture device, which maps the captured facial motion data to the corresponding Blendshapes to obtain the data of the virtual human facial animation.
[0141] In order to solve the problem of facial expression animation, virtual humans can usually only make pre-made Blendshapes animations, and cannot make micro details beyond the preset Blendshapes. For example, if you want to add facial micro details such as bulging veins and pupil changes (enlargement or reduction) caused by emotional fluctuations, they can usually only be processed and produced in the later stage, and cannot be driven and generated in real time. To this end, this application proposes the following solutions:
[0142] 1. If Fig.10 As shown in , in the facial capture system, the human head can be divided into 12 areas: 1 frontal area, 2 glabellar area, 3 orbital area, 4 temporal area, 5 nasal area, 6 infraorbital area, 7 zygomatic area, 8 mouth area, 9 cheek area, 10 parotid-masseter area, 11 chin area, 12 eyeball area. Facial capture is to capture and record the changes in these 12 areas, convert the data into digital signals, and provide animation data for the virtual human. The area with bulging veins in the micro details is generally located in area 4 (other areas can also be preset in the early stage, and the bulging veins in this article refer to area 4), and pupil changes (enlargement or reduction) are located in area 12.
[0143] 2. Create a micro-detailed switch system:
[0144] (1) Create a facial expression system. In reality, facial expressions are generated by facial muscle movements. In this application, the virtual human is calibrated with calibration points that make up the expressions. The movement of these calibration points can be simulated by Blendshapes to simulate muscle movement. Then, the eyebrows, eyes, nose, mouth, cheekbones, mandibles, and chin of the face are calibrated on the virtual human. These calibration points are specifically Fig.11 Shown in: 1 inner canthus, 2 outer canthus, 3 upper eyelid, 4 lower eyelid, 5 eyebrow, 6 eyebrow peak, 7 eyebrow tail, 8 cheekbone, 9 mandible, 10 chin, 11 nose wing, 12 nasolabial angle, 13 nose tip, 14 nose root, 15 mouth corner, 16 upper lip, 17 lower lip, 18 upper palate, 19 lower palate, 20 pupil.
[0145] (2) Create Blendshapes corresponding to the respective directions of these calibration points and add a weight value representing the degree of expression to the Blendshapes. The range of the expression weight value is [0,1], where 0 represents the initial position and 1 represents the final position.
[0146] For example, Fig.12 As shown in the figure, the Blendshapes of raising and lowering the eyebrow position at position 5 on the left side of the face. Here, these two Blendshapes are named MT_L_8 and MT_L_2 (MT represents the eyebrow, L represents the left side of the subjective perspective, and the numbers 1-9 represent the moving directions of the calibration points, where 5 represents the muscle being squeezed after the calibration point is moved, and 0 represents the chicken being expanded after the calibration point is moved.
[0147] (3) Define micro-detail switches. In reality, micro-details may or may not appear under the same facial expression. For example, when a person exerts force, his facial expression becomes tense, which is accompanied by the micro-detail of veins popping out. However, a tense expression alone does not necessarily result in the micro-detail of veins popping out. In this case, the micro-detail switch needs to be defined as:
[0148] W (micro-detail switch) = B (specific expression) + D (specific action)
[0149] D can be equal to 0 (i.e. no specific action, which is the target action type mentioned above), and B can also be equal to 0 (i.e. no specific action, which is the target expression type mentioned above), but B and D cannot be equal to 0 at the same time.
[0150] Based on this, in this application, by making and prefabricating virtual human facial calibration point Blendshapes, in the facial capture system, the actor's facial performance will be recorded in real time and transmitted to the virtual human, and the virtual human will have facial animation.
[0151] A specific expression is composed of a specific Blendshapes and its weights. For example, the bulging veins in the micro-details are mainly caused by the anger expression of a specific expression. The Blendshapes of the anger expression are shown in the previous text. For another example, the dilated pupils in the micro-details are mainly caused by the surprise and shock expression of a specific expression, such as Fig.13 As shown in , the expression of surprise mainly involves the following action units:
[0152] 1. Eyebrow rise: corresponding to Blendshapes: MT_L_8 and MT_R_8, weight value range [0.8-1];
[0153] 2. Eyebrow peak rise: corresponding to Blendshapes: MF_L_8 and MF_R_8, weight value range [0.8-1];
[0154] 3. Eyebrow tail rise: corresponding to Blendshapes: MW_L_8 and MW_R_8, weight value range [0.8-1];
[0155] 4. Upper eyelid rise: corresponding Blendshapes: SYJ_L_8 and SYJ_R_8, weight value range [0.8-1];
[0156] 5. Open mouth: corresponding Blendshapes: SC_L_8, SC_R_8, XC_L_2, XC_R_2, SKL_8, XKL_2, weight value range [0.2-0.5].
[0157] It should be noted that both anger and surprise involve mouth opening movements, and the moving direction and weight value range of the calibration points are important factors affecting the mouth opening animation.
[0158] (4) Define specific actions:
[0159] like Fig.13 As shown in , the skeleton of the virtual human is T-POSE, and the joints are in a parent-child relationship, recording the initial angle information of each joint. Fig.13 As shown in , the hand is a child of the forearm, the forearm is a child of the upper arm, and the upper arm is a child of the shoulder. The animation of the virtual human is composed of the rotation information of these bones.
[0160] (5) Custom pre-made character-specific animations:
[0161] Customize which actions need to trigger micro details and record the rotation values of each bone in a specific animation. Fig.14 As shown in , specific actions include squats, deadlifts, etc., and the rotation values of each bone in these actions are recorded.
[0162] To summarize, after defining specific expressions and specific actions, we can define the trigger switches for micro-details (i.e., the control conditions mentioned above).
[0163] 3. Micro-detail generation:
[0164] Micro details can be triggered by emotions or actions. For example, when people are angry, their veins will bulge and their faces will turn red. When they are surprised, their pupils will dilate. In this way, in the facial capture device, you only need to determine whether the virtual human animation has produced emotional expressions and actions that can trigger micro details.
[0165] Expressions are generated through Blendshapes or animations. In essence, the changes in the virtual human mesh form the expression of the virtual human. Add controllers to the emotional expressions that need to trigger micro details. The default state is off. When the virtual human animation meets the specific expressions and specific actions that need to show micro details, the micro details are triggered.
[0166] Usually, micro details can be added by adding one or more textures, triggering switches at specific times, and merging them with the textures of the virtual person to form a new display mode in the current situation.
[0167] This application provides a new micro-detail production method, as follows:
[0168] (1) Create a shell (dual layer) for the virtual human. The shell is divided into the surface skin (i.e. the first layer) and the inner skin (i.e. the second layer). The material of the surface skin is a translucent skin material, and the material of the inner skin is an opaque material. Fig.15 The double skin effect is shown in Figure 2. The spacing between the shells is h.
[0169] (2) Create a layer of micro-detail model (i.e., the third layer). The micro-detail model can have height differences. The micro-detail model is placed below the inner opaque skin layer by default. The up and down displacement can be controlled by the weight [0, 1] of the micro-detail trigger switch. The highest point of the micro-detail model layer cannot exceed the surface semi-transparent skin layer.
[0170] (3) Display method of micro-detail model 1:
[0171] Plane a (i.e. the first layer) is the semi-transparent surface skin, plane b (i.e. the second layer) is the inner opaque skin, and plane a is above plane b. Plane c (i.e. the third layer) is a micro-detail model. Plane c is below plane b by default, and plane c can be moved up and down. By default, when the micro-expression switch is not triggered, that is, when the weight of plane c is 0, plane c is not displayed at all; the picture is plane a mixed with plane b; when the weight of plane c is 1, the mixing of plane a and plane c is the largest. When plane c moves above plane b, the closer it is to plane a, the greater the mixing of plane c and plane a. The specific instructions are as follows:
[0172] 1. Plane a is translucent.
[0173] 2. Plane b is opaque.
[0174] 3. Plane c is opaque, but can be moved up and down, and has a weight value (from 0 to 1) that determines its visibility.
[0175] 4. When the weight of plane c is 0, plane c is not displayed at all, and the picture is plane a mixed with plane b.
[0176] 5. When the weight of plane c is 1, the mixture of plane a and plane c is maximum.
[0177] 6. As plane c moves above plane b and gets closer to plane a, the blending between plane c and plane a becomes greater.
[0178] Assume the transparency of plane a is Ta (ranging from 0 to 1), and the transparencies of plane b and plane c are Tb = 0 (opaque) and Tc = 1 (opaque, but the weight affects its display) respectively.
[0179] Based on this, this application also uses a parameter to represent the position of plane c relative to plane b and plane a. Assume the distance between plane c and plane b is Zc, and the distance between plane a and plane b is h. Then the relative position of plane c relative to plane a and plane b can be expressed as:
[0180] 1. Calculate the normalized height of plane c, as shown in formula (1):
[0181]
[0182] where the value range of t is from 0 to 1. When t = 0, plane c coincides with plane b; when t = 1, plane c coincides with plane a.
[0183] Here, t is a value within the range of [0, 1], representing the ratio of the distance between plane c relative to the distances between plane a and b.
[0184] 2. Calculate the mixing ratio:
[0185] Derive the mixing formula according to the weight w (value range from 0 to 1) and the relative position t.
[0186] (1) When w = 0, the screen is plane a mixed with plane b, and the mixing result is as shown in formula (2):
[0187] Mixing result = Ta · plane a + (1 - Ta) · plane b (2)
[0188] (2) When w = 1, the screen is the maximum mixing of plane a and plane c (assuming plane c completely covers plane b), and the mixing result is as shown in formula (3):
[0189] Mixing result = Ta · plane a + (1 - Ta · t) · plane c (3)
[0190] Here, it is assumed that when plane c coincides with plane a (i.e., t = 1), plane c completely covers the transparent part of plane a, so the transparent part of plane a is mixed with plane c.
[0191] (3) For the case of 0 < w < 1, interpolation can be performed according to the weight and relative position, and the mixing result is as shown in formula (4):
[0192] Mixing result = Ta · plane a + (1 - Ta · (1 - w · t)) · plane c + (Ta · (1 - w · t) - Ta) · plane b (4)
[0193] However, considering that plane b is opaque and when plane c exists (w > 0), it will at least partially cover plane b, so it can be simplified as shown in formula (5):
[0194] Mixing result = Ta·(1 - w·t)·plane a + w·t·plane c + (1 - w·t)·plane b·(1 - Ta) (5)
[0195] Since plane b is opaque, plane b·(1 - Ta) is actually plane b itself (because Tb = 0), so it can be further simplified as shown in formula (6):
[0196] Mixing result = Ta·(1 - w·t)·plane a + w·t·plane c + (1 - w·t)·plane b (6)
[0197] The final formula is as shown in (7):
[0198] Mixing result = (1 - w·t)·(Ta·plane a + plane b) + w·t·plane c (7)
[0199] When w is 0, it simplifies to the mixture of plane a and plane b; when w = 1 and t = 1, it simplifies to the mixture of plane a and plane c (assuming plane c completely covers plane b), as shown in Fig.16 the display schematic of micro - details and the skin cross - section schematic shown therein.
[0200] (4) The second way to display the micro - detail model:
[0201] Plane a is the surface semi - transparent skin, plane b is the inner - layer opaque skin, and plane a is above plane b. Plane c is the micro - detail layer, and plane c is between plane a and plane b.
[0202] The transparency of plane c is controlled by the weight value (0 - 1). When the weight value is 0, plane c is completely transparent, and the picture is completely shown as the mixture of a and b. When the weight value is 1, plane c is maximally displayed, and the picture is the mixture of plane a and plane c. Plane c can be semi - transparent or opaque. If it is semi - transparent and the maximum weight value is 1, then the picture shows the mixture of plane a, plane c, and plane b. If plane c is opaque, the picture is the mixture of plane a and plane c, as shown in Fig.17 the display schematic of micro - details and the skin cross - section schematic shown therein.
[0203] It should be noted that in the first method, the micro - detail layer can be displaced up and down to change the transparency. In this way, the micro - detail layer itself can have a concave - convex (high - low) effect. For example, there are two points, point X and point Y, on plane c, and point X is higher than point Y, but point X does not exceed plane a. Then when 0 < w < 1, the fusion of point X and plane a is more than the fusion of point Y and plane a.
[0204] Method 2 simplifies the height algorithm, so the micro-detail layer itself does not need to be concave or convex. If you want to achieve the effect that the fusion of point X with plane a is greater than the fusion of point Y with plane a in method 1 above, then the art engineer needs to draw the micro-detail layer so that the transparency of point X is lower than that of point Y.
[0205] Based on the above description, if Fig.18 As shown in , this application configures weights for the Blendshapes animation factors, ranging from 0 to 1, where the weights represent the range of values for a specific expression. This application also configures weights for specific expressions or specific actions, ranging from 0 to 1, where the weights will correspond to the weights that affect the subsequent micro-detail layers. At the same time, this application sets weights for the micro-detail layers, ranging from 0 to 1, where the weights correspond to the weights of the specific expressions or specific actions mentioned above.
[0206] Based on the technical solution of this application, taking the micro-detail model of blood vessels under the skin as an example, the default virtual human skin model does not have a micro-detail model, and there is no blood vessel presentation in the simulated animation (BS). After creating a micro-detail switch system through this application, micro-details such as blood vessels and skin color can be realized, such as Fig.19 as shown in .
[0207] The following is in accordance with Fig. 20 As shown, the implementation process of this application is described:
[0208] First, for the virtual model (i.e., virtual person), preset micro details are made for the designated area of the virtual model in advance, and the trigger conditions are set, which are closed by default.
[0209] Based on this, for the virtual model, first make calibration points for the virtual model's face, then make Blendshapes animation for the calibration points, and after creating the micro-detail switch system, preset which expressions or actions need to be linked to micro-details. After the actor's motion is captured through the facial capture device, while realizing the facial animation, according to specific expressions and specific actions, the system with preset micro-details (i.e., the switch system) is triggered to generate micro-detail preset animations. After leaving the system with preset micro-details, the micro-detail budget animation disappears, thereby realizing micro-detail control while realizing facial animation and model animation.
[0210] It should also be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the drawings of the device embodiments provided by the present application, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.
[0211] Through the description of the above implementation mode, the technicians in the field can clearly understand that the present application can be implemented by means of software plus necessary general hardware, and of course, it can also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components, etc. In general, all functions completed by computer programs can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be various, such as analog circuits, digital circuits or special circuits. However, for the present application, software program implementation is a better implementation mode in more cases. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer floppy disk, a U disk, a mobile hard disk, a ROM, a RAM, a disk or an optical disk, etc., including a number of instructions to enable a computer device (which can be a personal computer, a training device, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0212] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.
[0213] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a training device, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, training device, or data center. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a training device, a data center, etc. that includes one or more available media integrations. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)), etc.
Claims
1. A method for controlling a virtual person, characterized in that: The method comprises: Obtaining a first control parameter corresponding to a virtual person; the first control parameter at least represents at least one of an expression type and an action type of the virtual person; the first control parameter is used to control the virtual person to present a first state; the first state includes at least one of an expression state and an action state; When the first control parameter satisfies a control condition, obtaining a second control parameter corresponding to the virtual person; According to the second control parameter, the virtual person is controlled to present a second state, and the second state at least includes a skin state.
2. The method according to claim 1, characterized in that The first control parameter satisfies a control condition, including at least one of the following: The expression type represented by the first control parameter matches a preset target expression type; The action type represented by the first control parameter matches a preset target action type.
3. The method according to claim 2, characterized in that The first control parameter satisfies the control condition further comprising: The duration represented by the first control parameter reaches a preset target duration.
4. The method according to claim 1, characterized in that The second control parameters include: control parameters of at least one micro-detail model of the virtual human corresponding to the skin model; Wherein, obtaining a second control parameter corresponding to the virtual person includes: Obtaining at least one micro-detail model corresponding to the virtual person on the skin model and a detail control parameter corresponding to the micro-detail model according to at least one of the expression type, action type and duration represented by the first control parameter; A second control parameter is obtained according to the micro-detail model and the detail control parameter.
5. The method according to claim 4, characterized in that The micro-detail model includes: at least one of a color model and a blood vessel model; the color model is a model in which skin color is a target color; The detail control parameter corresponding to the color model represents the degree to which the skin color of the virtual person approaches the target color in the second state; The detail control parameters corresponding to the blood vessel model represent the degree to which the blood vessels under the skin of the virtual person are visible in the second state.
6. The method according to claim 4, characterized in that The skin model at least includes: a first layer, a second layer below the first layer, and a third layer, wherein the first layer is a skin layer with a transparency less than 100%, the second layer is an opaque skin layer, and the micro-detail model is in the third layer; In the second state, the rendering state of the micro-detail model matches the weight value in the detail control parameter.
7. The method according to claim 6, characterized in that The third layer is fixed between the first layer and the second layer; The step of controlling the virtual person to present the second state according to the second control parameter includes: According to the detail control parameters, the transparency of the third layer is controlled so that the virtual person presents a second state.
8. The method according to claim 6, characterized in that The third layer can be located at any position below the first layer; The step of controlling the virtual person to present the second state according to the second control parameter includes: According to the detail control parameter, the distance between the third layer and the first layer is controlled so that the virtual person presents a second state.
9. A control device for a virtual person, characterized in that: The device comprises: A first parameter obtaining unit is used to obtain a first control parameter corresponding to the virtual person; the first control parameter at least represents at least one of an expression type and an action type of the virtual person; the first control parameter is at least used to control the virtual person to present a first state; the first state includes at least one of an expression state and an action state; A second parameter obtaining unit, configured to obtain a second control parameter corresponding to the virtual person when the first control parameter satisfies a control condition; A state control unit is used to control the virtual person to present a second state according to the second control parameter, and the second state at least includes a skin state.
10. An electronic device, characterized in that: The method comprises at least one processor and a memory connected to the processor, wherein: The memory is used to store computer programs; The processor is used to execute the computer program so that the electronic device can implement the virtual human control method as described in any one of claims 1 to 8.
Citation Information
Cited By
Method for controlling numerous wisdom persons, electronic device, storage medium and computer program product
CN121328613A