Automatic skeleton weight matching method under same topological structure

By using the automatic bone weight matching method in virtual character animation production, the problem of inaccurate facial vertex control is solved, precise control of the virtual character model bones is achieved, and the authenticity and naturalness of the animation are improved.

CN118864671AInactive Publication Date: 2024-10-29JILIN ANIMATION INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410893145.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-04
Publication Date
2024-10-29
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing virtual character animation production technology lacks accurate facial vertex control. Traditional methods cannot accurately control the vertex positions of facial expressions, resulting in low expression accuracy and limited control precision. The skeletal system cannot provide sufficient support when complex facial expressions change. The precise control limits the naturalness and authenticity of expressions.

Method used

Using the automatic matching method of bone weights under the same topological structure, by collecting facial expression data, establishing the facial bone structure, associating bones with facial vertices, and achieving fine deformation and control of facial vertices through bone weight binding and skin wrapping mapping. , ensuring precise deformation of the skeletal system.

Benefits of technology

It achieves precise control of the skeleton of virtual character models, improves the authenticity and naturalness of facial expressions, and can more accurately meet the facial expression needs of different virtual characters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118864671A_ABST
    Figure CN118864671A_ABST
Patent Text Reader

Abstract

The invention discloses a skeleton weight automatic matching method under the same topological structure, and relates to the technical field of computer graphic processing, and the method comprises the steps: S1, collecting facial expression data, obtaining vertex position information of a facial expression, S2, building a facial skeleton structure, S3, carrying out skeleton weight binding, and carrying out weight binding on a facial vertex and a skeleton, s4, facial vertex deformation and control to realize fine deformation and control of facial vertexes, and S5, facial animation production to create a facial animation effect. By combining the vertex deformation technology and the skeleton animation control technology, the virtual face vertex deformation skeleton controllable model manufacturing method is provided, deformation of a skeleton system is accurately controlled by using the control points of the model vertexes, and therefore precise skeleton control over a virtual character model is achieved; compared with a traditional facial animation production method, the facial animation production method has the advantages that facial expressions can be controlled more finely, and authenticity and naturalness of animations are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of computer graphics processing, and in particular to a method for automatically matching bone weights under the same topological structure. Background Art

[0002] In the process of making 3D animation, the part with the highest technical content and the least easy to control is the production of 3D character animation. Character animation production is mainly divided into two parts, one is character facial animation, and the other is character limb movement animation. Usually, these two kinds of animation need to be given to the character at the same time, and they should be reasonably matched. The main production methods of character facial animation are as follows: The first is to rely on the motion sensing system to collect the facial expressions performed by real people, and then give them to the 3D character. In this way, the facial expression of the character will become realistic and credible. The second method is to distribute bones to the points on the character's face in different areas, and control the relevant points on the face by adjusting the shape and position of the bones, so as to change the expression of the character. Any exaggerated expression can be made by controlling the bones, but the efficiency is low. This method of making expression animation requires adjusting the bones frame by frame to generate. The third method is to make expressions through object expressions. First, copy the character's face, and then modify the copied face into the expression to be made. This modified expression is called object expression. Load the expression into the Morph deformation channel of the character's face, and control the facial expression by adjusting the value in the channel to make animation;

[0003] According to the field of image processing technology proposed by the invention patent with patent publication number CN 111784809 B, it specifically relates to a method and device for controlling skeleton animation of a virtual character, a computer-readable storage medium and an electronic device, the method comprising: determining a first gravity parameter of the virtual environment where the virtual character is located; determining a first skeleton motion parameter of the virtual character according to the first gravity parameter; controlling the skeleton motion form in the target skeleton animation of the virtual character according to the first skeleton motion parameter; in response to the first gravity parameter of the virtual character changing to a second gravity parameter, determining a second skeleton motion parameter of the virtual character according to the second gravity parameter; controlling the skeleton motion form in the target skeleton animation of the virtual character according to the second skeleton motion parameter; wherein the first skeleton motion parameter is different from the second skeleton motion parameter. The technical solution of the disclosed embodiment overcomes the shortcomings of the prior art in wasting more human resources and slow response;

[0004] Existing virtual character animation production technology lacks accurate facial vertex control. Traditional deformation methods based on shape keyframes cannot accurately control the vertex positions of facial expressions, resulting in low accuracy of character facial expressions and limited control precision. Deformation methods based on skin binding rely on the control of the skeletal system, but the skeletal system may not be able to provide sufficiently precise control in the case of complex facial expression changes, which limits the naturalness and authenticity of the expression. At the same time, it lacks adaptability. Existing technologies have difficulties in adapting to different facial shapes and features, and it is difficult to flexibly meet the facial expression requirements of different virtual characters. Summary of the invention

[0005] The purpose of the present invention is to solve the deficiencies in real life, and therefore a method for automatically matching bone weights under the same topological structure is proposed to solve the above-mentioned problems.

[0006] The following technical solutions are specifically adopted:

[0007] The matching methods include the following:

[0008] S1 collects facial expression data and obtains the vertex position information of facial expressions through 3D scanning and manual drawing;

[0009] S2 builds the facial bone structure, designs and creates the facial bone structure, and associates the bones with facial vertices to achieve control of facial expressions;

[0010] S3 bone weight binding, which weights the facial vertices to the bones and determines the degree to which each vertex is affected by the bone movement;

[0011] S4 facial vertex deformation and control, based on the facial bone structure and weight binding, adjusts the bone posture and weight to achieve fine deformation and control of facial vertices;

[0012] S5 facial animation production, through the animation control of bones, create facial animation effects.

[0013] Preferably, in step S1, in the operation of collecting facial expression data, an actual model is collected as a sample, a 3D scanning device is used to perform an omnidirectional scan on the facial data of the sample model, and multiple vertex data information of the facial expression is recorded.

[0014] Preferably, in step S2, in the operation of establishing the facial skeleton structure, based on the acquired facial expression vertex position information, 3D modeling software is used to connect the vertex data in series to establish a preliminary skeleton model.

[0015] Preferably, in step S3, in the bone weight binding operation, the weight setting for controlling each bone element on the virtual bone system determines the relative force of each bone in affecting the shape and position of the model vertex, and associates the bone with a set of control weights including rotation and displacement capabilities. After the bone is bound to the character's mesh model, these weights are adjusted to achieve the dynamic performance of the model. When performing bone binding, each model vertex is assigned to the nearest bone, and the weight value corresponding to each bone is changed to adjust the degree of contribution of the bone to vertex deformation. When the bone moves or rotates, the vertices connected to it will also deform accordingly.

[0016] Preferably, in step S4, in the facial vertex deformation and control operation, facial meshes with different topological structures are first imported and mapped to the same topological structure model through skinning wrapping. Specifically, a wrapping method is used to wrap the facial mesh vertices with different topological structures with the mesh body of the basic structure, and the facial mesh vertices with different topological structures are evenly distributed on the surface of the basic mesh body. Then, the skeleton is bound to the wrapped mesh body, and the weight information of the basic mesh body is copied to the wrapped mesh body.

[0017] Preferably, in step S4, in the facial vertex deformation and control operation, after completing the skin wrapping mapping operation, the position weight information of the bones and the vertices of the basic topological model is matched, and the bone space position weight information is matched with the position weight information of the model mesh vertices.

[0018] Preferably, in step S4, in the facial vertex deformation and control operation, after completing the position weight information matching operation, the skeleton is converted to the position weight space of the target topological model, specifically, the source mesh of the target is created as a fusion deformation of the wrapped mesh, and after the position information is linked, the skeleton weights are extracted and stored using the weight information storage method and the fusion deformation of the mesh is set, so that the skeleton follows the mesh body deformation to match the position information effect.

[0019] Preferably, in step S5, during the facial animation production operation, the established character skeleton model is animatedly controlled to deform the model to achieve changes in the character's facial expression.

[0020] Compared with the prior art, the present invention has the following beneficial effects:

[0021] 1. The present invention provides a method for producing a virtual facial vertex deformation skeleton controllable model by combining vertex deformation technology and skeleton animation control technology. The deformation of the skeleton system is accurately controlled by using the control points of the model vertices, thereby achieving precise control of the skeleton of the virtual character model. Compared with traditional facial animation production methods, the present invention can control facial expressions more finely and improve the authenticity and naturalness of the animation. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 The figure is a flow chart of a method for automatically matching bone weights under the same topological structure in the present invention. DETAILED DESCRIPTION

[0023] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.

[0024] Embodiment 1: Figure 1 As shown in the figure, a method for automatically matching bone weights under the same topological structure is as follows:

[0025] S1 collects facial expression data and obtains the vertex position information of facial expressions through 3D scanning and manual drawing;

[0026] S2 builds the facial bone structure, designs and creates the facial bone structure, and associates the bones with facial vertices to achieve control of facial expressions;

[0027] S3 bone weight binding, which weights the facial vertices to the bones and determines the degree to which each vertex is affected by the bone movement;

[0028] S4 facial vertex deformation and control, based on the facial bone structure and weight binding, adjusts the bone posture and weight to achieve fine deformation and control of facial vertices;

[0029] S5 facial animation production, through the animation control of bones, create facial animation effects.

[0030] Specifically, in step S1, in the operation of collecting facial expression data, an actual model is collected as a sample, a 3D scanning device is used to perform an omnidirectional scan on the facial data of the sample model, and multiple vertex data information of the facial expression is recorded.

[0031] Specifically, in step S2, in the operation of establishing the facial bone structure, based on the acquired facial expression vertex position information, 3D modeling software is used to connect the vertex data in series to establish a preliminary bone model.

[0032] Specifically, in step S3, in the bone weight binding operation, the weight setting for controlling each bone element on the virtual bone system determines the relative force of each bone in affecting the shape and position of the model vertex, and associates the bone with a set of control weights including rotation and displacement capabilities. After the bone is bound to the character's mesh model, these weights are adjusted to achieve the dynamic performance of the model. When performing bone binding, each model vertex is assigned to the nearest bone, and the weight value corresponding to each bone is changed to adjust the degree of contribution of the bone to vertex deformation. When the bone moves or rotates, the vertices connected to it will also deform accordingly.

[0033] Specifically, in step S4, in the facial vertex deformation and control operation, facial meshes with different topological structures are first imported and mapped to the same topological structure model through skinning wrapping. Specifically, a wrapping method is used to wrap the facial mesh vertices with different topological structures with the mesh body of the basic structure, and the facial mesh vertices with different topological structures are evenly distributed on the surface of the basic mesh body. Then, the skeleton is bound to the wrapped mesh body, and the weight information of the basic mesh body is copied to the wrapped mesh body.

[0034] Specifically, in step S4, in the facial vertex deformation and control operation, after the skin wrapping mapping operation is completed, the position weight information of the bones and the basic topological model vertices is matched, and the bone space position weight information is matched with the position weight information of the model mesh vertices.

[0035] Specifically, in step S4, in the facial vertex deformation and control operation, after completing the position weight information matching operation, the skeleton is converted to the position weight space of the target topological model, and specifically the source mesh of the target is created as a fusion deformation of the wrapped mesh. After the position information is linked, the skeleton weights are extracted and stored using the weight information storage method and the fusion deformation of the mesh is set, so that the skeleton follows the mesh deformation to match the position information effect.

[0036] Specifically, in step S5, during the facial animation production operation, the established character skeleton model is animatedly controlled to deform the model to achieve changes in the character's facial expressions.

[0037] From the above, it can be seen that this method provides a method for making a virtual facial vertex deformation skeleton controllable model by combining vertex deformation technology and skeleton animation control technology. By using the control points of the model vertices to accurately control the deformation of the skeleton system, precise control of the skeleton of the virtual character model is achieved. Compared with traditional facial animation production methods, the present invention can control facial expressions more finely and improve the authenticity and naturalness of the animation.

[0038] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. The replacement may be a replacement of a part of the structure, device, method step, or a complete technical solution. Any equivalent replacement or change according to the technical solution and the inventive concept of the present invention shall be covered within the protection scope of the present invention.

Claims

1. A method for automatically matching bone weights under the same topological structure, characterized in that: The following steps are involved: S1 collects facial expression data and obtains the vertex position information of facial expressions through 3D scanning and manual drawing; S2 builds the facial bone structure, designs and creates the facial bone structure, and associates the bones with facial vertices to achieve control of facial expressions; S3 bone weight binding, which weights the facial vertices to the bones and determines the degree to which each vertex is affected by the bone movement; S4 facial vertex deformation and control, based on the facial bone structure and weight binding, adjusts the bone posture and weight to achieve fine deformation and control of facial vertices; S5 facial animation production creates facial animation effects by controlling the animation of bones.

2. The method for automatically matching bone weights under the same topological structure as claimed in claim 1, characterized in that: In step S1, in the facial expression data collection operation, an actual model is collected as a sample, a 3D scanning device is used to perform an omnidirectional scan on the facial data of the sample model, and multiple vertex data information of the facial expression is recorded.

3. The method for automatically matching bone weights under the same topological structure as claimed in claim 1, characterized in that: In step S2, in the facial bone structure establishment operation, based on the acquired facial expression vertex position information, 3D modeling software is used to connect the vertex data in series to establish a preliminary bone model.

4. The method for automatically matching bone weights under the same topological structure as claimed in claim 1, characterized in that: In step S3, in the bone weight binding operation, the weight setting for controlling each bone element on the virtual bone system determines the relative force of each bone in affecting the shape and position of the model vertex, and associates the bone with a set of control weights including rotation and displacement capabilities. After the bone is bound to the character's mesh model, these weights are adjusted to achieve the dynamic performance of the model. When performing bone binding, each model vertex is assigned to the nearest bone, and the weight value corresponding to each bone is changed to adjust the degree of contribution of the bone to vertex deformation. When the bone moves or rotates, the vertex connected to it will also deform accordingly.

5. The method for automatically matching bone weights under the same topological structure as claimed in claim 1, characterized in that: In step S4, in the facial vertex deformation and control operation, facial meshes with different topological structures are first imported and mapped to the same topological structure model through skinning wrapping. Specifically, a wrapping method is used to wrap the facial mesh vertices with different topological structures with the mesh body of the basic structure, and the facial mesh vertices with different topological structures are evenly distributed on the surface of the basic mesh body. Then, the skeleton is bound to the wrapped mesh body, and the weight information of the basic mesh body is copied to the wrapped mesh body.

6. The method for automatically matching bone weights under the same topological structure as claimed in claim 5, characterized in that: In step S4, in the facial vertex deformation and control operation, after the skin wrapping mapping operation is completed, the position weight information of the bones and the vertices of the basic topological model is matched, and the bone space position weight information is matched with the position weight information of the model mesh vertices.

7. The method for automatically matching bone weights under the same topological structure as claimed in claim 6, characterized in that: In step S4, in the facial vertex deformation and control operation, after completing the position weight information matching operation, the skeleton is converted to the position weight space of the target topological model, and specifically the source mesh of the target is created as a fusion deformation of the wrapped mesh. After the position information is linked, the skeleton weight is extracted and stored using the storage weight information method and the fusion deformation of the mesh is set, so that the skeleton follows the mesh deformation to match the position information effect.

8. The method for automatically matching bone weights under the same topological structure as claimed in claim 1, characterized in that: In step S5, during the facial animation production operation, the established character skeleton model is animatedly controlled to deform the model to achieve changes in the character's facial expressions.