Animation generation method, device, equipment and medium

By obtaining and updating the vertex information of the animation model, building a facet model and generating animations, the problem of difficulty in using three-dimensional animation software to create two-dimensional animations in the existing technology is solved, and more efficient two-dimensional animation generation is achieved.

CN113870398BActive Publication Date: 2025-03-28WUHAN SHENGGUANGJI CULTURE COMM CO LTD +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202111253427.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-27
Publication Date
2025-03-28
Estimated Expiration
2041-10-27

AI Technical Summary

Technical Problem

The existing technology is difficult to use three-dimensional animation software to create high-quality two-dimensional animations, which has led to artists facing difficulties and inefficiency in the transformation from three-dimensional to two-dimensional.

Method used

By obtaining the first vertex information of the first granularity of the initial animation model, the vertex information of the plurality of first faces constituting the initial animation model is determined, and the facet model is constructed using the second vertex information, and the normal attributes of the first face vertex are updated, thereby generating an animation and determining the light.

Benefits of technology

It reduces the difficulty of converting the initial animation model to a facet model, reduces the workload of building a facet model, and improves the generation efficiency of two-dimensional animations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113870398B_ABST
    Figure CN113870398B_ABST
Patent Text Reader

Abstract

The present application discloses an animation generation method, device, equipment and medium, which are applied in the field of computer technology and are used to produce two-dimensional animations through three-dimensional animation software. Specifically, the initial animation model is obtained, and the section body model corresponding to the initial animation model is determined, and the normal attribute of the second face of the section body model is passed to one or more first faces covered by it, and the normal attribute of the first vertex is updated to obtain the updated animation model; the animation is generated based on the updated animation model, and in the process of generating the animation, the light is determined based on the normal attribute of the updated first vertex. In this way, the difficulty of converting the initial animation model into the section body model is reduced by obtaining the first vertex of the first granularity to determine the vertex of the first face, and the second vertex information is used to determine the vertex of the second face, and the second face covers one or more first faces, which can reduce the workload of constructing the section body model, thereby further improving the generation efficiency of the two-dimensional animation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to an animation generation method, device, equipment and medium. Background Art

[0002] With the rapid development of cultural and creative products, especially the rapid development of technology in the field of animation production, the works of animation creation and production have become rich and colorful, forming a variety of animation works with different styles and contents.

[0003] At present, the cultural market of the "two-dimensional" concept is booming, and various cultural products developed around the "two-dimensional" concept are emerging in an endless stream, but there are no related products that can use three-dimensional animation software to produce two-dimensional animation. Summary of the invention

[0004] The embodiments of the present application provide an animation generation method, apparatus, device and medium for producing two-dimensional animation using three-dimensional animation software.

[0005] The technical solutions provided by the embodiments of this application are as follows:

[0006] On the one hand, an embodiment of the present application provides an animation generation method, comprising:

[0007] Acquire an initial animation model, the initial animation model comprising first vertices of a first granularity, the first vertices being vertices of a plurality of first faces constituting the initial animation model;

[0008] Determine a slice face model corresponding to the initial animation model, the slice face model includes second vertices of a second granularity, the second granularity is larger than the first granularity, the second vertices are vertices of a plurality of second faces constituting the slice face model, and each second face covers one or more first faces;

[0009] The normal attribute of the second face is transferred to one or more first faces covered by the second face, and the normal attribute of the first vertex is updated to obtain an updated animation model;

[0010] Animation is generated based on the updated animation model, and in the process of generating the animation, light is determined based on the updated normal attribute of the first vertex.

[0011] On the other hand, an embodiment of the present application provides an animation generation device, including:

[0012] A model acquisition unit, used to acquire an initial animation model, the initial animation model includes first vertices of a first granularity, the first vertices being vertices of a plurality of first faces constituting the initial animation model;

[0013] A model determination unit, used to determine a slice model corresponding to the initial animation model, the slice model comprising second vertices of a second granularity, the second granularity being larger than the first granularity, the second vertices being vertices of a plurality of second faces constituting the slice model, each second face covering one or more first faces;

[0014] an attribute updating unit, used for transferring the normal attribute of the second surface to one or more first surfaces covered by the second surface, updating the normal attribute of the first vertex, and obtaining an updated animation model;

[0015] The animation generation unit is used to generate animation based on the updated animation model, and in the process of generating the animation, determine the light based on the normal attribute of the updated first vertex.

[0016] On the other hand, an embodiment of the present application provides an animation generation device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the animation generation method provided in the embodiment of the present application is implemented.

[0017] On the other hand, an embodiment of the present application further provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed by a processor, the animation generation method provided by the embodiment of the present application is implemented.

[0018] The beneficial effects of the embodiments of the present application are as follows:

[0019] In an embodiment of the present application, by obtaining the first vertex information of multiple first granularities of the initial animation model, the vertex information of multiple first faces constituting the initial animation model can be determined, thereby reducing the difficulty of converting the initial animation model into a section solid model. Moreover, by utilizing the second vertex information, the vertices of multiple second faces constituting the section solid model are determined, and the second faces cover one or more first faces, which can reduce the workload of constructing the section solid model, thereby further improving the generation efficiency of the two-dimensional animation.

[0020] Other features and advantages of the present application will be described in the subsequent description, and in part, will become apparent from the description, or will be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0022] Figure 1It is a schematic diagram of the general flow of the animation generation method in the embodiment of the present application;

[0023] Figure 2 A schematic diagram of a specific process of the animation generation method in an embodiment of the present application;

[0024] Figure 3 This is a functional structure diagram of an animation generating device in an embodiment of the present application;

[0025] Figure 4 Schematic diagram of the hardware structure of the animation generation device in the embodiment of the present application. DETAILED DESCRIPTION

[0026] In order to make the purpose, technical solution and beneficial effects of this application clearer, the technical solution in the embodiment of this application will be clearly and completely described below in conjunction with the drawings in the embodiment of this application. Obviously, the described embodiment is only a part of the embodiment of this application, not all the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0027] At present, the technology in the field of animation production is changing with each passing day, and there is a big difference between 3D animation production and 2D animation production. Therefore, artists who are proficient in three-dimensional animation need to spend a lot of time to relearn a very different technology if they want to produce excellent two-dimensional style animation works. To this end, in an embodiment of the present application, the initial animation model is used to obtain the corresponding facet model, and based on the normal attribute of the second face of the facet model, the normal attribute of the first face of the initial model is updated, so as to generate an animation according to the updated animation model. In this way, by obtaining the first vertex information of multiple first granularities of the initial animation model, the vertex information of multiple first faces constituting the initial animation model can be determined, thereby reducing the difficulty of converting the initial animation model into a facet model. Moreover, by using the second vertex information, the vertices of multiple second faces constituting the facet model are determined, and the second face covers one or more first faces, which can reduce the workload of constructing the facet model, thereby further improving the generation efficiency of the two-dimensional animation.

[0028] After introducing the application scenarios and design concepts of the embodiments of the present application, the technical solutions provided by the embodiments of the present application are described in detail below.

[0029] The present application embodiment provides an animation generation method, see Figure 1 As shown, the general process of the animation generation method provided in the embodiment of the present application is as follows:

[0030] Step 101: Obtain an initial animation model.

[0031] In practical applications, the initial animation model includes first vertices of a first granularity, and the first vertices are vertices of a plurality of first faces constituting the initial animation model.

[0032] Step 102: Determine the section volume model corresponding to the initial animation model.

[0033] In practical applications, the faceted solid model includes second vertices of a second granularity, the second granularity is larger than the first granularity, the second vertices are vertices of multiple second faces constituting the faceted solid model, and each second face covers one or more first faces.

[0034] Step 103: The normal attribute of the second surface is transferred to one or more first surfaces covered by the second surface, and the normal attribute of the first vertex is updated to obtain an updated animation model.

[0035] Step 104: Generate an animation based on the updated animation model, and in the process of generating the animation, determine the light based on the updated normal attribute of the first vertex.

[0036] In specific implementation, when generating animation based on the updated animation model, it can also be combined with preset maps. In actual applications, the preset maps can include light steering maps, which include pre-set multi-frame light steering sub-maps corresponding to different light angles. The light steering sub-map is determined based on a cartoon light material based on a binary mask. The cartoon light material is a binary image. The binary mask is used to indicate the light and shadow effects at different angles. Based on this, when generating animation based on the updated animation model, the angle between the light and the updated animation model can be determined first. Based on the angle, after selecting the target light steering sub-map from the multi-frame light steering sub-maps, the animation is generated based on the updated animation model and the target light steering sub-map.

[0037] In one embodiment, when generating an animation based on an updated animation model, a first animation of a first frequency can also be generated based on the updated animation model, wherein the first animation includes multiple frame images, each image corresponds to a parameter of a controller, and the multiple frame images include a first key frame set; a change curve of the parameters of the controller corresponding to the first animation is determined in frames, and the change curve is processed into a broken line to obtain a ladder line, wherein the ladder line is a line connecting multiple key points, and the second frequency of the key points is less than the first frequency; the key frames in the first key frame set that are at non-turning positions in the ladder line are deleted to obtain a second key frame set, and then a second animation is generated based on the second key frame set.

[0038] In another embodiment, when generating the first animation based on the updated animation model, material images may be outputted in different rendering layers, and the second animation may be optimized based on the material images, wherein the material images include one or more of the following: effect material images, inherent color material images, lighting material images, and wireframe material images. In specific implementation, when optimizing the second animation based on the material images, the following methods may be used but are not limited to:

[0039] The first method: Determine the cartoon wireframe based on the wireframe material image, superimpose the cartoon wireframe on the second animation, adjust the exposure and contrast of the overall picture, enhance the contrast of the main performance area of ​​the picture, reduce the brightness and contrast of the close-up, increase the brightness and reduce the contrast of the long-range view, and keep the color of the front and back shots consistent.

[0040] The second method: using the inherent color material map and the light material map to adjust the light-receiving surface and the backlight surface of the virtual object in the second animation.

[0041] In actual applications, in the process of optimizing the second animation based on the material image, the eyes and body of the virtual object in the second animation can also be determined, and depth of field, virtuality and reality, and cold and warm transition effects can be added to the eyes and body respectively.

[0042] The following is a further detailed description of the animation generation method provided in the embodiment of the present application. Figure 2 As shown, the specific process of the animation generation method provided in the embodiment of the present application is as follows:

[0043] Step 201: Obtain an initial animation model; wherein the initial animation model includes first vertices of a first granularity, the first vertices being vertices of a plurality of first faces constituting the initial animation model. The initial animation model includes first vertices of a first granularity, the first vertices being vertices of a plurality of first faces constituting the initial animation model.

[0044] Step 202: Determine a section solid model corresponding to the initial animation model; wherein the section solid model includes second vertices of a second granularity, the second granularity is larger than the first granularity, the second vertices are vertices of multiple second faces constituting the section solid model, and each second face covers one or more first faces.

[0045] Step 203: The normal attribute of the second surface is transferred to one or more first surfaces covered by the second surface, and the normal attribute of the first vertex is updated to obtain an updated animation model.

[0046] Step 204: Determine the angle between the light and the updated animation model, and based on the angle, select a target light steering sub-map from multiple frames of light steering sub-maps; wherein the light steering sub-map is determined based on a cartoon light material based on a binary mask, the cartoon light material is a binary image, and the binary mask is used to indicate light and shadow effects at different angles.

[0047] Step 205: Generate animation based on the updated animation model and the target light steering sub-map.

[0048] Step 206: During the animation generation process, light is determined based on the updated normal attribute of the first vertex.

[0049] Step 207: in the process of generating the animation, a first animation of a first frequency is generated based on the updated animation model, wherein the first animation includes a plurality of frames of images, each of which corresponds to a parameter of a controller, and the plurality of frames of images includes a first key frame set.

[0050] Step 208: Determine a change curve of the controller parameter corresponding to the first animation in frames, and perform line processing on the change curve to obtain a ladder line, wherein the ladder line is a line connecting multiple key points, and the second frequency of the key point is less than the first frequency.

[0051] Step 209: After deleting the key frames in the first key frame set that are at non-turning positions in the ladder line, a second key frame set is obtained, and a second animation is generated based on the second key frame set.

[0052] Step 210: Outputting material images in different rendering layers; wherein the material images include one or more of the following: effect material images, inherent color material images, lighting material images, and wireframe material images.

[0053] Step 211: Determine a cartoon wireframe based on the wireframe material image, and superimpose the cartoon wireframe on the second animation.

[0054] Step 212: Adjust the exposure and contrast of the entire image, enhance the contrast of the main performance area of ​​the image, reduce the brightness and contrast of the close-up, increase the brightness and reduce the contrast of the long-range view, and keep the color of the front and back lenses consistent.

[0055] Step 213: Use the inherent color material map and the light material map to adjust the light-receiving surface and the backlight surface of the virtual object in the second animation.

[0056] Step 214: Determine the eyes and body of the virtual object in the second animation, and add depth of field, virtuality and reality, and cold-warm transition effects to the eyes and body respectively.

[0057] Based on the above embodiments, the present application provides an animation generation device. Figure 3 As shown, the animation generating device 300 provided in the embodiment of the present application at least includes:

[0058] A model acquisition unit 301 is used to acquire an initial animation model, where the initial animation model includes first vertices of a first granularity, where the first vertices are vertices of a plurality of first faces constituting the initial animation model;

[0059] A model determination unit 302 is used to determine a slice model corresponding to the initial animation model, the slice model includes second vertices of a second granularity, the second granularity is larger than the first granularity, the second vertices are vertices of a plurality of second faces constituting the slice model, and each second face covers one or more first faces;

[0060] An attribute updating unit 303, used to transfer the normal attribute of the second surface to one or more first surfaces covered by the second surface, update the normal attribute of the first vertex, and obtain an updated animation model;

[0061] The animation generating unit 304 is used to generate an animation based on the updated animation model, and in the process of generating the animation, determine the light based on the normal attribute of the updated first vertex.

[0062] In a possible implementation, the preset map includes a light steering map, the light steering map includes a plurality of pre-set light steering sub-maps corresponding to different light angles, the light steering sub-map is determined based on a cartoon light material based on a binary mask, the cartoon light material is a binary image, and the binary mask is used to indicate light and shadow effects at different angles; the animation generation unit 304 is further used to:

[0063] Determine the angle between the light and the updated animated model;

[0064] Based on the angle, after selecting a target light steering sub-map in the multi-frame light steering sub-maps, an animation is generated based on the updated animation model and the target light steering sub-map.

[0065] In a possible implementation, when generating the animation based on the updated animation model, the animation generating unit 304 is further configured to:

[0066] Generate a first animation of a first frequency based on the updated animation model, the first animation includes a plurality of frames, each of the images corresponds to a parameter of a controller, and the plurality of frames include a first key frame set;

[0067] Determine a change curve of a parameter of a controller corresponding to the first animation in frames;

[0068] The change curve is processed into a broken line to obtain a ladder line, which is a line connecting multiple key points, and the second frequency of the key point is less than the first frequency;

[0069] After deleting the key frames in the first key frame set that are at non-turning positions in the ladder line to obtain a second key frame set, a second animation is generated based on the second key frame set.

[0070] In a possible implementation, when generating the first animation based on the updated animation model, the animation generating unit 304 is further configured to:

[0071] Output material images in different rendering layers;

[0072] Optimize the second animation based on the material image;

[0073] Among them, the material pictures include one or more of the following: effect material pictures, inherent color material pictures, lighting material pictures, and wireframe material pictures.

[0074] In a possible implementation, when optimizing the second animation based on the material picture, the animation generation unit 304 is specifically used to:

[0075] Determine a cartoon wireframe based on the wireframe material image, and superimpose the cartoon wireframe on the second animation;

[0076] Adjust the exposure and contrast of the overall picture, strengthen the contrast of the main performance area of ​​the picture, reduce the brightness and contrast of the close-up, increase the brightness and reduce the contrast of the long-range view, and keep the color of the front and back lenses consistent.

[0077] In a possible implementation, when optimizing the second animation based on the material picture, the animation generation unit 304 is specifically used to:

[0078] The inherent color material map and the light material map are used to adjust the light-receiving surface and the backlight surface of the virtual object in the second animation.

[0079] In a possible implementation manner, the animation generating device 300 provided in the embodiment of the present application further includes:

[0080] The effect adding unit 305 is used to determine the eyes and body of the virtual object in the second animation; and to add depth of field, virtuality and reality, and cold-warm transition effects to the eyes and body respectively.

[0081] It should be noted that the principle of solving the technical problem by the animation generating device 300 provided in the embodiment of the present application is similar to the animation generating method provided in the embodiment of the present application. Therefore, the implementation of the animation generating device 300 provided in the embodiment of the present application can refer to the implementation of the animation generating method provided in the embodiment of the present application, and the repeated parts will not be repeated.

[0082] After introducing the animation generation method and apparatus provided in the embodiments of the present application, the animation generation device provided in the embodiments of the present application is briefly introduced next.

[0083] See also Figure 4 As shown, the animation generation device 400 provided in the embodiment of the present application includes at least: a processor 401, a memory 402, and a computer program stored in the memory 402 and executable on the processor 401. When the processor 401 executes the computer program, the animation generation method provided in the embodiment of the present application is implemented.

[0084] The animation generation device 400 provided in the embodiment of the present application may also include a bus 403 connecting different components (including the processor 401 and the memory 402). The bus 403 represents one or more of several types of bus structures, including a memory bus, a peripheral bus, a local bus, and the like.

[0085] The memory 402 may include a readable medium in the form of a volatile memory, such as a random access memory (RAM) 4021 and / or a cache memory 4022 , and may further include a read-only memory (ROM) 4023 .

[0086] The memory 402 may also include a program tool 4025 having a set (at least one) of program modules 4024, including but not limited to: an operating subsystem, one or more applications, other program modules, and program data, each of which or some combination may include the implementation of a network environment.

[0087] The animation generating device 400 may also communicate with one or more external devices 404 (e.g., keyboards, remote controls, etc.), may also communicate with one or more devices that enable a user to interact with the animation generating device 400 (e.g., mobile phones, computers, etc.), and / or, may communicate with any device that enables the animation generating device 400 to communicate with one or more other animation generating devices 400 (e.g., routers, modems, etc.). Such communication may be performed through an input / output (I / O) interface 405. Furthermore, the animation generating device 400 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 406. Figure 4 As shown, the network adapter 406 communicates with other modules of the animation generation device 400 via the bus 403. It should be understood that although Figure 4 Not shown, other hardware and / or software modules may be used in conjunction with the animation generation device 400, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, disk arrays (Redundant Arrays of Independent Disks, RAID) subsystems, tape drives, and data backup storage subsystems.

[0088] It should be noted that Figure 4 The animation generating device 400 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.

[0089] Next, the computer-readable storage medium provided in the embodiment of the present application is introduced. The computer-readable storage medium provided in the embodiment of the present application stores computer instructions, and when the computer instructions are executed by the processor, the animation generation method provided in the embodiment of the present application is implemented. Specifically, the computer instructions can be built-in or installed in the animation generation device 400, so that the animation generation device 400 can implement the animation generation method provided in the embodiment of the present application by executing the built-in or installed computer instructions.

[0090] In addition, the animation generation method provided in the embodiment of the present application can also be implemented as a program product, which includes a program code. When the program product can be run on the animation generation device 400, the program code is used to enable the animation generation device 400 to execute the animation generation method provided in the embodiment of the present application.

[0091] The program product provided in the embodiments of the present application may adopt any combination of one or more readable media, wherein the readable medium may be a readable signal medium or a readable storage medium, and the readable storage medium may be but is not limited to an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination of the above. Specifically, more specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, RAM, ROM, Erasable Programmable Read Only Memory (EPROM), optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0092] The program product provided in the embodiment of the present application may adopt a CD-ROM and include program code, and may also be run on a computing device. However, the program product provided in the embodiment of the present application is not limited thereto. In the embodiment of the present application, the readable storage medium may be any tangible medium containing or storing a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.

[0093] It should be noted that, although several units or subunits of the device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more units described above can be embodied in one unit. Conversely, the features and functions of one unit described above can be further divided into multiple units to be embodied.

[0094] In addition, although the operations of the method of the present application are described in a specific order in the drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations 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.

[0095] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0096] Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the spirit and scope of the embodiments of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. An animation generation method, characterized in that: include: Acquire an initial animation model, wherein the initial animation model includes first vertices of a first granularity, wherein the first vertices are vertices of a plurality of first faces constituting the initial animation model; Determine a slice face model corresponding to the initial animation model, the slice face model includes second vertices of a second granularity, the second granularity is greater than the first granularity, the second vertices are vertices of a plurality of second faces constituting the slice face model, and each of the second faces covers one or more first faces; Transferring the normal attribute of the second surface to one or more first surfaces covered by the second surface, updating the normal attribute of the first vertex, and obtaining an updated animation model; generating an animation based on the updated animation model, and determining light based on the updated normal attribute of the first vertex during the process of generating the animation; Wherein, when generating the animation based on the updated animation model, it also includes: Generate a first animation of a first frequency based on the updated animation model, the first animation includes a plurality of frames, each frame corresponds to a parameter of a controller, and the plurality of frames include a first key frame set; Determine a change curve of a parameter of a controller corresponding to the first animation in frames; Performing a broken line processing on the change curve to obtain a ladder line, wherein the ladder line is a line connecting a plurality of key points, and the second frequency of the key points is less than the first frequency; Deleting the key frames in the first key frame set that are at non-turning positions in the ladder line to obtain a second key frame set; A second animation is generated based on the second set of key frames.

2. The animation generation method according to claim 1, characterized in that: The preset map includes a light steering map, the light steering map includes a plurality of pre-set light steering sub-maps corresponding to different light angles, the light steering sub-maps are determined based on a cartoon light material based on a binary mask, the cartoon light material is a binary image, and the binary mask is used to indicate light and shadow effects at different angles; The animation generation method further comprises: determining an angle between the light and the updated animation model; Based on the angle, select a target light steering sub-map from the multiple frames of light steering sub-maps; Animation is generated based on the updated animation model and the target light steering sub-map.

3. The animation generation method according to claim 1, characterized in that: When generating the first animation based on the updated animation model, the method further includes: Output material images in different rendering layers; Optimizing the second animation based on the material picture; Among them, the material pictures include one or more of the following: effect material pictures, inherent color material pictures, lighting material pictures, and wireframe material pictures.

4. The animation generation method according to claim 3, characterized in that: Optimizing the second animation based on the material picture includes: Determine a cartoon wireframe based on the wireframe material image, and superimpose the cartoon wireframe on the second animation; Adjust the exposure and contrast of the overall picture, strengthen the contrast of the main performance area of ​​the picture, reduce the brightness and contrast of the close-up, increase the brightness and reduce the contrast of the long-range view, and keep the color of the front and back lenses consistent.

5. The animation generation method according to claim 3, characterized in that: Optimizing the second animation based on the material picture includes: The inherent color material map and the light material map are used to adjust the light-receiving surface and the backlight surface of the virtual object in the second animation.

6. The animation generation method according to claim 3, characterized in that: Also includes: determining the eyes and body of the virtual object in the second animation; Add depth of field, virtuality and reality, and warm and cold transition effects to the eyes and body respectively.

7. An animation generating device, characterized in that: include: A model acquisition unit, configured to acquire an initial animation model, wherein the initial animation model includes first vertices of a first granularity, wherein the first vertices are vertices of a plurality of first faces constituting the initial animation model; a model determining unit, configured to determine a faceted solid model corresponding to the initial animation model, wherein the faceted solid model includes second vertices of a second granularity, the second granularity being greater than the first granularity, the second vertices being vertices of a plurality of second faces constituting the faceted solid model, and each of the second faces covering one or more first faces; an attribute updating unit, configured to transfer the normal attribute of the second surface to one or more first surfaces covered by the second surface, update the normal attribute of the first vertex, and obtain an updated animation model; An animation generating unit, configured to generate an animation based on the updated animation model, and in the process of generating the animation, determine the light based on the updated normal attribute of the first vertex; The animation generation unit is further used to generate a first animation of a first frequency based on the updated animation model, wherein the first animation includes multiple frames of images, each frame of the image corresponds to a parameter of a controller, and the multiple frames of the image include a first key frame set; determine a change curve of the parameters of the controller corresponding to the first animation in frames; perform line processing on the change curve to obtain a ladder line, wherein the ladder line is a line connecting multiple key points, and the second frequency of the key points is less than the first frequency; delete the key frames in the first key frame set that are at non-turning positions in the ladder line to obtain a second key frame set; A second animation is generated based on the second set of key frames.

8. An animation generating device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the animation generation method according to any one of claims 1 to 6 when executing the computer program.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the animation generation method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Color control method and device for role model

    CN106815881A

  • Rendering acceleration method

    CN107622520A

  • Model processing method and device, electronic equipment and storage medium

    CN111402385A

  • Expression generation method, device and equipment and storage medium

    CN111489426A