Skeletal animation processing method and device, electronic equipment and computer readable medium

By generating basic shape animations of clothing components and mixing animations in the game engine, the problem that the bones of clothing components cannot be driven is solved, the overall effect of the character is optimized, and the interleaving phenomenon is avoided.

CN118781237APending Publication Date: 2024-10-15SHANGHAI NETEASE CUICAN NETWORK TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410792940.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-18
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

In the game, after the skeleton of the clothing component is merged with the skeleton of the character, the animation of the bones that are not included cannot be driven, causing the model to appear interspersed, affecting the overall effect.

Method used

By generating basic shape animations of clothing components in multiple basic states, and creating animation mixing spaces in the game engine, these animations are mixed according to the animation blending curves and parameter values, and the animation mixing results in the target state are generated and added to the skeleton of the clothing components. , realize the animation driver of clothing parts.

Benefits of technology

It solves the problem of uncontrollable bones of clothing components, optimizes the overall performance of the character, and avoids the phenomenon of model interleaving.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118781237A_ABST
    Figure CN118781237A_ABST
Patent Text Reader

Abstract

The invention relates to a skeletal animation processing method and device, electronic equipment and a computer readable medium, and belongs to the technical field of animation production. The method comprises the following steps: generating basic form animations of a garment part of a game role in a plurality of basic states according to a garment part skeleton; creating an animation mixing curve for controlling the animation mixing degree in the character animation file, and determining an animation mixing parameter value according to the target state of the clothing part and the animation mixing curve; creating an animation mixing space of the skeleton of the garment part in a game engine, and transmitting the animation mixing parameter value to the animation mixing space; mixing the basic form animation in the animation mixing space according to the animation mixing parameter value to obtain an animation mixing result of the garment part; and adding the animation mixing result into the skeleton of the clothing part, and generating a target model animation of the clothing part in the target state. The problem that the skeleton of the garment part cannot be controlled can be solved, and the overall expression effect of the role is optimized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of animation production, and in particular to a skeletal animation processing method, a skeletal animation processing device, an electronic device, and a computer-readable medium. Background Art

[0002] In the process of making 3D models, the common ways to change the morphology of 3D models are bones and skinning. Skinning is to associate the surface vertices of the 3D model with the skeletal system. The 3D model is a mesh composed of a series of vertices. The skeletal system is a set of virtual bones. Each bone has its own position and transformation information. The vertices of the model are bound to the bones through the skinning operation, so that the deformation of the model is driven by the transformation of the bones. The animation of the morphological transformation of the bones in the animation software is the animation of the 3D model. This technical solution is commonly used in the fields of film and television animation, game development, etc.

[0003] In games that require changing clothes, there are usually clothing component bones in addition to the character bones. By merging the clothing component bones into the character bones, the effect of wearing the character's clothing can be achieved. Since the clothing component bones may be different from the character bones, and there are bones in the clothing component bones that are not included in the character bones, the character animation will not drive these clothing component bones that are not included. If the position of the clothing component bones is wrong, the model will be interlaced, affecting the overall effect of the model.

[0004] In view of this, there is an urgent need in the art for a skeletal animation processing method that can solve the problem that the skeletons of clothing parts cannot be controlled and optimize the overall performance of the character.

[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0006] The purpose of the present disclosure is to provide a skeletal animation processing method, a skeletal animation processing device, an electronic device and a computer-readable medium, thereby at least to a certain extent being able to solve the problem of uncontrollable skeletons of clothing parts and optimize the overall performance of the character.

[0007] According to a first aspect of the present disclosure, a method for processing skeletal animation is provided, comprising:

[0008] Generating a skeleton of a clothing component of a game character, and generating basic form animations of the clothing component of the game character in multiple basic states according to the skeleton of the clothing component;

[0009] Creating an animation blending curve for controlling the degree of animation blending in a character animation file corresponding to the game character, and determining animation blending parameter values ​​according to a target state of the clothing component and the animation blending curve;

[0010] Creating an animation blending space for the skeleton of the clothing component in a game engine, and transferring the animation blending parameter value to the animation blending space;

[0011] Mixing the basic form animation in the animation mixing space according to the animation mixing parameter value to obtain the animation mixing result of the clothing component in the target state;

[0012] The animation blending result is added to the clothing component skeleton to generate a target model animation of the clothing component in the target state.

[0013] According to a second aspect of the present disclosure, there is provided a skeletal animation processing device, comprising:

[0014] A basic animation generation module, used to generate a skeleton of a clothing component of a game character, and generate basic form animations of the clothing component of the game character in multiple basic states according to the skeleton of the clothing component;

[0015] A mixing parameter determination module, used to create an animation mixing curve for controlling the degree of animation mixing in a character animation file corresponding to the game character, and determine an animation mixing parameter value according to a target state of the clothing component and the animation mixing curve;

[0016] A mixing parameter transfer module, used for creating an animation mixing space of the skeleton of the clothing component in a game engine, and transferring the animation mixing parameter value to the animation mixing space;

[0017] A basic animation mixing module, used for mixing the basic form animation in the animation mixing space according to the animation mixing parameter value, to obtain the animation mixing result of the clothing component in the target state;

[0018] The model animation generation module is used to add the animation mixing result to the clothing component skeleton to generate the target model animation of the clothing component in the target state.

[0019] According to a third aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any one of the above-mentioned skeletal animation processing methods by executing the executable instructions.

[0020] According to a fourth aspect of the present disclosure, a computer-readable medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the method for processing skeletal animation described in any one of the above is implemented.

[0021] According to a fifth aspect of the present disclosure, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements any one of the above-mentioned methods for processing skeletal animation.

[0022] The exemplary embodiments of the present disclosure may have the following beneficial effects:

[0023] In the processing method of the skeletal animation of the exemplary embodiment of the present disclosure, the basic form animation of the clothing parts of the game character in multiple basic states is generated in advance, and an animation mixing curve for controlling the degree of animation mixing is created in the character animation file corresponding to the game character, the determined animation mixing parameter value is passed to the animation mixing space, the basic form animation is mixed, and the animation mixing result of the clothing parts in the target state is obtained, and then the animation mixing result is added to the clothing parts skeleton to generate the target model animation of the clothing parts in the target state. The processing method of the skeletal animation in the exemplary embodiment of the present disclosure realizes model driving without skeletal animation by providing a technical solution for flexibly processing the skeletal animation of clothing parts, and solves the animation problem of unnecessary bones after the clothing parts skeleton and the character skeleton are merged. By creating an animation mixing curve for controlling the degree of animation mixing in the animation file of the character skeleton, the animation mixing degree in the clothing parts mixing space can be controlled, and the skeletal animation of the clothing parts can be realized, thereby optimizing the overall effect performance of the character, solving the problem that the clothing parts skeleton cannot be controlled, and avoiding the interlacing phenomenon of the model.

[0024] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0026] Figure 1 A schematic flow chart showing a method for processing skeletal animation according to an exemplary embodiment of the present disclosure;

[0027] Figure 2 A schematic diagram of a basic character skeleton according to a specific embodiment of the present disclosure is schematically shown;

[0028] Figure 3 A schematic diagram of a garment component skeleton according to a specific embodiment of the present disclosure is schematically shown;

[0029] Figure 4 A schematic diagram schematically shows a plurality of basic form animations according to a specific embodiment of the present disclosure;

[0030] Figure 5 A schematic diagram showing a process of transferring animation blending parameter values ​​according to an exemplary embodiment of the present disclosure is shown;

[0031] Figure 6 A schematic diagram of adding various basic form animations to a blending node according to a specific embodiment of the present disclosure is schematically shown;

[0032] Figure 7 A schematic diagram schematically shows a comparison of before and after effects of skeletal animation processing according to a specific embodiment of the present disclosure;

[0033] Figure 8 A schematic diagram schematically shows a comparison of before and after effects of skeletal animation processing according to another specific embodiment of the present disclosure;

[0034] Fig. 9 A block diagram showing a skeletal animation processing device according to an exemplary embodiment of the present disclosure;

[0035] Fig.10 A schematic diagram of the structure of a computer system suitable for implementing the electronic device of the embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0036] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.

[0037] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0038] Bones and skeletal animations are associated. A set of bones can contain multiple skeletal animations, and a skeletal animation can only correspond to a set of bones. In game development, considering project requirements, character design and other factors, a character usually has a set of character bones, and all character animation files are made based on this set of character bones.

[0039] In some related embodiments, the skeleton of clothing parts that are not included in the skeleton of the character can be used as a physical effect in the game engine, and physical calculations are automatically performed to realize animations as the character's actions change. However, since there are bones in the skeleton of clothing parts that are not included in the skeleton of the character, such as the character and short skirt fashion, the basic character skeleton will include the basic human-like skeletons such as the head, hands, torso, arms, legs, and feet, and the short skirt parts will include the skeletons of the legs and skirt, and the skeleton of the skirt is not included in the basic character skeleton, so in the character animation, the skirt will not change shape as the character moves.

[0040] This example implementation first provides a method for processing skeletal animation. Figure 1 As shown, the above-mentioned skeletal animation processing method may include the following steps:

[0041] Step S110: Generate the skeleton of the clothing parts of the game character, and generate the basic form animation of the clothing parts of the game character in multiple basic states according to the skeleton of the clothing parts.

[0042] Step S120. Create an animation blending curve for controlling the degree of animation blending in the character animation file corresponding to the game character, and determine the animation blending parameter value according to the target state of the clothing parts and the animation blending curve.

[0043] Step S130: Create an animation blending space for the skeleton of the clothing components in the game engine, and transfer the animation blending parameter values ​​to the animation blending space.

[0044] Step S140: Mix the basic form animation in the animation mixing space according to the animation mixing parameter value to obtain the animation mixing result of the clothing component in the target state.

[0045] Step S150. Add the animation blending result to the clothing component skeleton to generate the target model animation of the clothing component in the target state.

[0046] In the processing method of the skeletal animation of the exemplary embodiment of the present disclosure, the basic form animation of the clothing parts of the game character in multiple basic states is generated in advance, and an animation mixing curve for controlling the degree of animation mixing is created in the character animation file corresponding to the game character, the determined animation mixing parameter value is passed to the animation mixing space, the basic form animation is mixed, and the animation mixing result of the clothing parts in the target state is obtained, and then the animation mixing result is added to the clothing parts skeleton to generate the target model animation of the clothing parts in the target state. The processing method of the skeletal animation in the exemplary embodiment of the present disclosure realizes model driving without skeletal animation by providing a technical solution for flexibly processing the skeletal animation of clothing parts, and solves the animation problem of unnecessary bones after the clothing parts skeleton and the character skeleton are merged. By creating an animation mixing curve for controlling the degree of animation mixing in the animation file of the character skeleton, the animation mixing degree in the clothing parts mixing space can be controlled, and the skeletal animation of the clothing parts can be realized, thereby optimizing the overall effect performance of the character, solving the problem that the clothing parts skeleton cannot be controlled, and avoiding the interlacing phenomenon of the model.

[0047] Next, combine Figures 2 to 8 The above steps of this exemplary embodiment are described in more detail.

[0048] In step S110, the skeleton of the clothing parts of the game character is generated, and the basic form animation of the clothing parts of the game character in multiple basic states is generated according to the skeleton of the clothing parts.

[0049] In this example implementation, the clothing component skeleton refers to the skeleton corresponding to the clothing component worn by the game character, such as the skirt skeleton corresponding to the skirt component.

[0050] In this example implementation, the basic character skeleton of the game character can be obtained first, and the clothing component skeleton of the game character can be generated based on the root skeleton in the basic character skeleton. The root skeleton is a part of the skeleton in the basic character skeleton of the game character that is connected to the clothing component skeleton, and can be used as a reference point for the production of the clothing component skeleton.

[0051] Figure 2 A schematic diagram of a basic character skeleton according to a specific embodiment of the present disclosure is schematically shown. The basic character skeleton generally includes a root skeleton, a torso, a head, upper limbs, lower limbs, and fingers. Comprehensive considerations are required when making the basic character skeleton. The basic character skeleton may differ depending on project requirements, character design, animation, and other factors.

[0052] Figure 3 The schematic diagram of the skeleton of a clothing component according to a specific embodiment of the present disclosure is schematically shown. Taking the skirt component as an example, based on the character skeleton, the pelvis bone in the character skeleton can be selected as the root bone, and the clothing component skeleton corresponding to the skirt component can be made based on it.

[0053] In this example implementation, the basic form animation of the clothing component in the basic state refers to the form animation of the clothing component in multiple extreme states. Taking the skirt component as an example, Figure 4 The schematic diagram of multiple basic morphological animations according to a specific embodiment of the present disclosure is schematically shown. If the skirt morphology when the legs are raised in the forward, left front, left side, right front, and right directions is set as the basic state, the basic morphological animation of the skirt part may include the morphological animation when the skirt is completely drooped, the morphological animation when it is completely floating, the morphological animation when it floats to the left front to the highest, the morphological animation when it floats to the left to the highest, the morphological animation when it floats to the right front to the highest, and the morphological animation when it floats to the right to the highest. By making the morphological animation of the skeleton of the clothing part in multiple extreme states, it can be used as the basic morphological animation of the clothing part. Subsequently, by mixing these basic morphological animations, the model animation of the skirt part in any state can be obtained. When making the basic morphological animation, the animation creation function in the engine or the animation creation function in the 3D software can be used to create the morphological animation of the skirt skeleton in different situations, and the animation duration can be 1 frame or other suitable frames.

[0054] In step S120, an animation blending curve for controlling the degree of animation blending is created in the character animation file corresponding to the game character, and animation blending parameter values ​​are determined according to the target state of the clothing parts and the animation blending curve.

[0055] In this example implementation, the animation blending curve includes a horizontal coordinate blending curve and a vertical coordinate blending curve. On this basis, the animation blending parameter value in the horizontal direction can be determined according to the target state of the clothing component and the horizontal coordinate blending curve, and the animation blending parameter value in the vertical direction can be determined according to the target state of the clothing component and the vertical coordinate blending curve.

[0056] For example, you can create two new floating-point value curves in the character animation file as animation blending curves, named "SkirtShape_LR" and "SkirtShape_FB". Among them, SkirtShape_LR refers to the horizontal coordinate value in the animation blending space. When it is -1, the skirt bone shape on the left side of the horizontal coordinate is taken, when it is 0, the skirt bone shape in the middle is taken, and when it is 1, the skirt bone shape on the right side of the coordinate is taken. SkirtShape_FB refers to the vertical coordinate value in the animation blending space. When it is 1, the skirt bone shape on the upper side of the coordinate is taken, when it is 0, the shape in the middle is taken, and when it is -1, the skirt bone shape on the lower side of the coordinate is taken.

[0057] In the character animation file, these two curve values ​​can be edited, with a value range of -1 to 1, and the target state required by the current animation is expressed through these two variable values. For example, when the front side of the skirt is fully raised, the values ​​are: SkirtShape_LR = 0; SkirtShape_FB = -1. When the skirt is half raised to the right, the values ​​are: SkirtShape_LR = 0.5; SkirtShape_FB = 0.

[0058] In step S130, an animation blending space of the clothing component skeleton is created in the game engine, and the animation blending parameter values ​​are transferred to the animation blending space.

[0059] In this example implementation, an animation blend space for the skirt bone can be created in the game engine. A blend space is a resource that allows any number of animations to be blended based on the values ​​of multiple inputs. It is a special resource that can be sampled in an animation graph, allowing animations to be blended based on the values ​​of two inputs. To achieve a simple blend between two animations based on one input, you can use one of the standard blend nodes provided in the animation blueprint. Blend spaces provide methods for more complex blending between multiple animations based on multiple values.

[0060] Animation Blueprints are a special type of Blueprint used to control the animation effects of Skeletal Meshes in the game. The Animation Blueprint Editor is where you can edit the Animation Blueprint graph, where you can perform animation blending, directly control the bones of the Skeleton, or set up logic that will ultimately define the final animation pose of the Skeletal Mesh to be used each frame.

[0061] In this example implementation, Figure 5 As shown, passing the animation mixing parameter value to the animation mixing space can include the following steps:

[0062] Step S510: Pass the animation mixing parameter value to the character animation blueprint corresponding to the basic character skeleton of the game character to obtain the first animation mixing parameter value.

[0063] Since the animation file is created based on the character skeleton, node-based visual programming is required in the character animation blueprint to extract the curve value created in the character animation file in step S120 into the character animation blueprint to obtain the first animation blending parameter value, named "Shape_LR" and "Shape_FB". This operation can convert the curve value in the animation file into the format of a floating-point variable in the animation blueprint, which is convenient for reference and transfer.

[0064] Step S520. The first animation mixing parameter value in the character animation blueprint is transferred to the clothing component animation blueprint corresponding to the clothing component skeleton to obtain the second animation mixing parameter value.

[0065] Since the character bones and clothing component bones are in a hierarchical relationship, clothing component bones can only be added to the character bones, and the reverse operation cannot be performed. This property also exists in the character animation blueprint and the clothing component animation blueprint. Data transfer between blueprints can only be passed from the character animation blueprint to the clothing component animation blueprint.

[0066] In the clothing skirt part animation blueprint, you can use node-based visual programming to receive the two variables in the previous character animation blueprint into the skirt part animation blueprint to obtain the second animation blending parameter value and rename the two variables to "Skiry Shape LR" and "Skiry Shape FB" respectively.

[0067] Step S530: Pass the second animation mixing parameter value to the animation mixing space to obtain the target animation mixing parameter value in the animation mixing space.

[0068] Finally, the second animation blending parameter value in the clothing component animation blueprint is passed to the animation blending space to obtain the target animation blending parameter value in the animation blending space to control the blending effect of the animation. In the parameter transfer process, only the names are different, and the corresponding parameter values ​​are the same.

[0069] Continue to refer Figure 1 As shown, in step S140, the basic form animation is mixed in the animation mixing space according to the animation mixing parameter value to obtain the animation mixing result of the clothing component in the target state.

[0070] In this example implementation, the basic form animation can be added to the mixing nodes corresponding to each basic state in the animation mixing space, and then the basic form animation corresponding to each mixing node is mixed according to the target animation mixing parameter value to obtain the animation mixing result of the clothing parts in the target state.

[0071] Figure 6The schematic diagram of adding each basic form animation to the mixing node according to a specific embodiment of the present disclosure is schematically shown. The second animation mixing parameter value in the clothing component animation blueprint is passed to the animation mixing space, and the two target animation mixing parameter values ​​of "left-right" and "front-back" are input. Then, the previously created basic form animations are added to the corresponding nodes of the animation mixing space respectively, and the two variables "left-right" and "front-back" are used to control the mixing of the animations, so as to achieve the fusion between the animations and realize the changes in the skeletal morphology of the skirt when the legs are in different postures.

[0072] In step S150, the animation blending result is added to the skeleton of the clothing component to generate a target model animation of the clothing component in a target state.

[0073] In this example implementation, the animation blending result can be added to the clothing part bones in the clothing part animation blueprint corresponding to the clothing part bones.

[0074] In the character animation blueprint, the transformation information of the clothing part bones processed by the animation blend space can be added to the clothing part bones, where the clothing part bones are contained in the character bones.

[0075] Finally, in the animation blueprint of the skirt part, add the skirt bone posture in the animation blend space to the skirt bone. The degree of fusion of the animation blend space can be controlled by "Skiry Shape LR" and "Skiry Shape FB". Since the values ​​of "Skiry Shape LR" and "Skiry Shape FB" are obtained through the transfer between the animation floating point curve, the character animation blueprint, and the skirt part animation blueprint, the animation floating point curve can drive the skeleton shape of the skirt part to achieve the purpose of optimizing the character clothing shape.

[0076] Figure 7 A schematic diagram schematically shows a comparison of before and after effects of skeletal animation processing according to a specific embodiment of the present disclosure; Figure 8 The schematic diagram schematically shows the comparison of the effects before and after the skeletal animation processing according to another specific embodiment of the present disclosure. Among them, Figure 701 and Figure 801 are the model effects before using the above-mentioned skeletal animation processing method. It can be seen that the position of the skirt bones is wrong, resulting in the model being interlaced; Figure 702 and Figure 802 are the model effects after using the above-mentioned skeletal animation processing method. It can be seen that the shape of the skirt bones has been greatly improved, avoiding the interlacing phenomenon. Figure 7 and Figure 8 The left picture shows the model + skeleton, and the right picture shows the model alone.

[0077] It should be noted that although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.

[0078] Furthermore, the present disclosure also provides a skeletal animation processing device. Fig. 9 As shown, the skeletal animation processing device may include a basic animation generation module 910, a mixing parameter determination module 920, a mixing parameter transfer module 930, a basic animation mixing module 940 and a model animation generation module 950. Among them:

[0079] The basic animation generation module 910 can be used to generate the skeleton of the clothing parts of the game character, and generate the basic form animation of the clothing parts of the game character in multiple basic states according to the skeleton of the clothing parts;

[0080] The mixing parameter determination module 920 may be used to create an animation mixing curve for controlling the degree of animation mixing in a character animation file corresponding to the game character, and determine the animation mixing parameter value according to the target state of the clothing component and the animation mixing curve;

[0081] The blending parameter transfer module 930 may be used to create an animation blending space for the skeleton of a clothing component in a game engine, and transfer the animation blending parameter value to the animation blending space;

[0082] The basic animation mixing module 940 can be used to mix the basic form animation in the animation mixing space according to the animation mixing parameter value to obtain the animation mixing result of the clothing component in the target state;

[0083] The model animation generation module 950 can be used to add the animation blending results to the clothing component skeleton to generate the target model animation of the clothing component in the target state.

[0084] In some exemplary embodiments of the present disclosure, the basic animation generation module 910 may include a clothing part skeleton generation unit, which can be used to obtain the basic character skeleton of the game character and generate the clothing part skeleton of the game character based on the root skeleton in the basic character skeleton.

[0085] In some exemplary embodiments of the present disclosure, the animation blending curve includes a horizontal coordinate blending curve and a vertical coordinate blending curve.

[0086] In some exemplary embodiments of the present disclosure, the hybrid parameter determination module 920 may include a horizontal parameter determination unit and a vertical parameter determination unit.

[0087] The horizontal parameter determination unit may be used to determine the animation mixing parameter value in the horizontal direction according to the target state of the garment component and the horizontal coordinate mixing curve;

[0088] The vertical parameter determination unit can be used to determine the animation mixing parameter value in the vertical direction according to the target state of the clothing component and the vertical coordinate mixing curve.

[0089] In some exemplary embodiments of the present disclosure, the mixing parameter transfer module 930 may include a first mixing parameter value determination unit, a second mixing parameter value determination unit, and a second mixing parameter value transfer unit.

[0090] The first mixing parameter value determining unit may be used to transfer the animation mixing parameter value to the character animation blueprint corresponding to the basic character skeleton of the game character to obtain the first animation mixing parameter value;

[0091] The second mixing parameter value determining unit may be used to transfer the first animation mixing parameter value in the character animation blueprint to the clothing component animation blueprint corresponding to the clothing component skeleton to obtain the second animation mixing parameter value;

[0092] The second mixing parameter value transferring unit may be used to transfer the second animation mixing parameter value to the animation mixing space to obtain a target animation mixing parameter value in the animation mixing space.

[0093] In some exemplary embodiments of the present disclosure, the basic animation blending module 940 may include a blending node adding unit and a blending result determining unit.

[0094] The blending node adding unit can be used to add the basic form animation to the blending nodes corresponding to each basic state in the animation blending space;

[0095] The mixing result determination unit can be used to mix the basic form animations corresponding to each mixing node according to the target animation mixing parameter value to obtain the animation mixing result of the clothing component in the target state.

[0096] In some exemplary embodiments of the present disclosure, the model animation generation module 950 may include an animation blending result adding unit, which may be used to add the animation blending result to the clothing part skeleton in the clothing part animation blueprint corresponding to the clothing part skeleton.

[0097] The specific details of each module / unit in the above-mentioned skeletal animation processing device have been described in detail in the corresponding method embodiment part, and will not be repeated here.

[0098] Fig.10 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present disclosure is shown.

[0099] It should be noted that Fig.10 The computer system 1000 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0100] like Fig.10 As shown, the computer system 1000 includes a central processing unit (CPU) 1001, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage part 1008 into a random access memory (RAM) 1003. Various programs and data required for system operation are also stored in the RAM 1003. The CPU 1001, the ROM 1002, and the RAM 1003 are connected to each other via a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.

[0101] The following components are connected to the I / O interface 1005: an input section 1006 including a keyboard, a mouse, etc.; an output section 1007 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1008 including a hard disk, etc.; and a communication section 1009 including a network interface card such as a LAN card, a modem, etc. The communication section 1009 performs communication processing via a network such as the Internet. A drive 1010 is also connected to the I / O interface 1005 as needed. A removable medium 1011, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1010 as needed, so that a computer program read therefrom is installed into the storage section 1008 as needed.

[0102] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part 1009, and / or installed from a removable medium 1011. When the computer program is executed by a central processing unit (CPU) 1001, various functions defined in the system of the present disclosure are executed.

[0103] It should be noted that the computer-readable medium shown in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0104] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0105] As another aspect, the present disclosure further provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by an electronic device, the electronic device implements the method described in the above embodiment.

[0106] It should be noted that, although several modules of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules described above can be concretized in one module. Conversely, the features and functions of one module described above can be further divided into multiple modules to be concretized.

[0107] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure.

[0108] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A method for processing skeletal animation, characterized in that: include: Generating a skeleton of a clothing component of a game character, and generating basic form animations of the clothing component of the game character in multiple basic states according to the skeleton of the clothing component; Creating an animation blending curve for controlling the degree of animation blending in a character animation file corresponding to the game character, and determining animation blending parameter values ​​according to a target state of the clothing component and the animation blending curve; Creating an animation blending space for the skeleton of the clothing component in a game engine, and transferring the animation blending parameter value to the animation blending space; Mixing the basic form animation in the animation mixing space according to the animation mixing parameter value to obtain the animation mixing result of the clothing component in the target state; The animation blending result is added to the clothing component skeleton to generate a target model animation of the clothing component in the target state.

2. The method for processing skeletal animation according to claim 1, characterized in that: The method of generating the clothing component skeleton of the game character includes: The basic character skeleton of the game character is obtained, and based on the root skeleton in the basic character skeleton, the clothing component skeleton of the game character is generated.

3. The method for processing skeletal animation according to claim 1, characterized in that: The animation blending curve includes a horizontal coordinate blending curve and a vertical coordinate blending curve.

4. The method for processing skeletal animation according to claim 3, characterized in that: The step of determining the animation mixing parameter value according to the target state of the garment component and the animation mixing curve comprises: Determining the animation mixing parameter value in the horizontal direction according to the target state of the garment component and the horizontal coordinate mixing curve; The animation mixing parameter value in the vertical direction is determined according to the target state of the garment component and the vertical coordinate mixing curve.

5. The method for processing skeletal animation according to claim 1, characterized in that: The transferring the animation mixing parameter value to the animation mixing space comprises: Passing the animation mixing parameter value to the character animation blueprint corresponding to the basic character skeleton of the game character to obtain a first animation mixing parameter value; The first animation mixing parameter value in the character animation blueprint is transferred to the clothing component animation blueprint corresponding to the clothing component skeleton to obtain a second animation mixing parameter value; The second animation mixing parameter value is transferred to the animation mixing space to obtain a target animation mixing parameter value in the animation mixing space.

6. The method for processing skeletal animation according to claim 5, characterized in that: The step of mixing the basic form animation in the animation mixing space according to the animation mixing parameter value to obtain the animation mixing result of the clothing component in the target state includes: Adding the basic form animation to the mixing nodes corresponding to each of the basic states in the animation mixing space; The basic form animations corresponding to the various mixing nodes are mixed according to the target animation mixing parameter values ​​to obtain the animation mixing results of the clothing parts in the target state.

7. The method for processing skeletal animation according to claim 5, characterized in that: The step of adding the animation blending result to the clothing component skeleton comprises: In the clothing part animation blueprint corresponding to the clothing part skeleton, the animation blending result is added to the clothing part skeleton.

8. A skeletal animation processing device, characterized in that: include: A basic animation generation module, used to generate a skeleton of a clothing component of a game character, and generate basic form animations of the clothing component of the game character in multiple basic states according to the skeleton of the clothing component; A mixing parameter determination module, used to create an animation mixing curve for controlling the degree of animation mixing in a character animation file corresponding to the game character, and determine an animation mixing parameter value according to a target state of the clothing component and the animation mixing curve; A mixing parameter transfer module, used for creating an animation mixing space of the skeleton of the clothing component in a game engine, and transferring the animation mixing parameter value to the animation mixing space; A basic animation mixing module, used for mixing the basic form animation in the animation mixing space according to the animation mixing parameter value, to obtain the animation mixing result of the clothing component in the target state; The model animation generation module is used to add the animation mixing result to the clothing component skeleton to generate the target model animation of the clothing component in the target state.

9. An electronic device, characterized in that: include: processor; as well as A memory is used to store one or more programs. When the one or more programs are executed by the processor, the processor implements the skeletal animation processing method according to any one of claims 1 to 7.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the skeletal animation processing method according to any one of claims 1 to 7 is implemented.