Search

CN-121999106-A - Method and system for simplifying rendering of three-dimensional animation in dynamic style

CN121999106ACN 121999106 ACN121999106 ACN 121999106ACN-121999106-A

Abstract

The invention relates to the technical field of rendering control, and particularly discloses a method and a system for simplifying rendering of a three-dimensional animation in a dynamic style, wherein the method comprises the steps of reading time axis information of the three-dimensional animation, determining a key frame according to the time axis information, and grouping image frames based on the key frame; the method comprises the steps of reading key frames, constructing a key frame sequence, receiving a demand parameter of each key frame input by a user based on the key frame sequence, randomly determining rendering parameters of the same group of image frames based on the demand parameters, executing a rendering process, fitting the rendered three-dimensional animation, and outputting a final animation.

Inventors

  • ZHANG CHENG

Assignees

  • 安徽职业技术学院

Dates

Publication Date
20260508
Application Date
20260130

Claims (7)

  1. 1. A method for simplified rendering of a dynamic style three-dimensional animation, the method comprising: reading time axis information of the three-dimensional animation, determining a key frame according to the time axis information, and grouping image frames based on the key frame; Reading key frames, constructing a key frame sequence, and receiving a requirement parameter of each key frame input by a user based on the key frame sequence; The method comprises the steps of randomly determining rendering parameters of the same group of image frames based on demand parameters, and executing a rendering process, wherein the rendering parameters contain a preset number of parameter types, and the determining process of the rendering parameters is a screening type determining scheme; fitting the rendered three-dimensional animation, and outputting a final animation.
  2. 2. The method for simplified rendering of a three-dimensional animation of a dynamic style according to claim 1, wherein the step of reading time axis information of the three-dimensional animation, determining key frames based on the time axis information, and grouping image frames based on the key frames comprises: reading a virtual camera path of the three-dimensional animation, and setting sampling points on the virtual camera path according to a preset detection density; Acquiring image frames on each sampling point, inputting the image frames at different sampling points into a preset feature extraction model, and extracting image features, wherein the image features are two-dimensional arrays; counting image features according to the path sequence, calculating the change condition of the image features, and marking key frames according to the change condition; for any image frame, calculating the similarity between the image frame and two adjacent key frames, and selecting the key frame with larger similarity as the index of the image frame; And counting all image frames based on the index to obtain a grouping result, wherein each group of image frames takes the key frame as a characteristic frame.
  3. 3. The method for simplified rendering of dynamic style three-dimensional animation according to claim 1, wherein the step of reading key frames, constructing a key frame sequence, and receiving a demand parameter of each key frame input by a user based on the key frame sequence comprises: reading a three-dimensional model of the three-dimensional animation; Reading a key frame, and determining geometrical parameters, material parameters and illumination parameters corresponding to the key frame based on the three-dimensional model; normalizing the geometric parameters, the material parameters and the illumination parameters to be a degree of simplification; setting the simplifications in a gradient manner, synchronously determining a preset number of parameter groups corresponding to each simplification, and constructing a display image frame based on the parameter groups; and feeding back the display image frame to the user, acquiring the selection information of the user based on a preset acquisition port, and determining the demand simplification degree.
  4. 4. A method of simplified rendering of a dynamic style three-dimensional animation according to claim 3, wherein the step of normalizing the geometric parameters, the texture parameters, and the illumination parameters to a degree of simplification comprises: normalizing the average LOD level to obtain an average LOD index; processing an average LOD index by using a hyperbolic tangent function, squaring a visible instantiation proportion, processing the utilization rate of the proxy geometry by adopting an exponential decay form, and then carrying out weighted combination after three calculation results are matched with weight coefficients to finally obtain a geometry simplification comprehensive index; Normalizing the average texture resolution and the coloring complexity, respectively obtaining an average texture resolution ratio and a coloring complexity index, and carrying out weighted combination after the average texture resolution ratio and the coloring complexity index are matched with weight coefficients to finally obtain a material simplification comprehensive index; Normalizing the number of dynamic light sources and the shadow mapping resolution, respectively obtaining a dynamic light source number proportion and a shadow mapping resolution proportion, matching the ratio of the number of the light sources, the shadow mapping resolution proportion and the number of shadow projectors and receivers with weight coefficients, and then carrying out weighted combination to finally obtain an illumination simplification comprehensive index; And (3) matching the geometric simplified comprehensive index, the material simplified comprehensive index and the illumination simplified comprehensive index with weight coefficients, and then carrying out weighted combination to obtain the simplification degree.
  5. 5. The method for simplified rendering of dynamic style three-dimensional animation according to claim 4, wherein the step of randomly determining rendering parameters of the same group of image frames based on the demand parameters, and performing a rendering process comprises: Reading the required simplification degree of a corresponding key frame for any group of image frames, and expanding the required simplification degree based on a preset expansion proportion to obtain a simplification degree range; Determining the parameter value of each parameter based on a preset step length, and constructing a parameter sequence; Combining different parameter sequences to obtain alternative parameter sets, and synchronously calculating the simplification degree of each alternative parameter; When the degree of simplification is included in the degree of simplification range, marking corresponding alternative parameters; performing a rendering process by assigning values to the same group of image frames based on the marked alternative parameters; the process of assigning values to the same group of image frames based on the marked alternative parameters is a random selection process.
  6. 6. The method for simplified rendering of a three-dimensional animation in a dynamic style according to claim 5, wherein the step of combining different parameter sequences to obtain a set of alternative parameters and synchronously calculating the degree of simplification of each alternative parameter comprises: sequentially selecting a parameter sequence, selecting a parameter value from the parameter sequence based on the demand simplification degree, and synchronously acquiring the serial numbers of the parameter values; Determining a sequence number range based on the sequence number and a preset sequence number span; Limiting the residual parameter sequence based on the sequence number range; Counting the parameter value of each parameter sequence to obtain alternative parameters, and calculating the simplification degree by using a simplification degree calculation process; And circularly executing to obtain an alternative parameter set.
  7. 7. A dynamic style three-dimensional animation simplified rendering system for implementing the dynamic style three-dimensional animation simplified rendering method as claimed in any one of claims 1 to 6, the system comprising: The time information analysis module is used for reading time axis information of the three-dimensional animation, determining key frames according to the time axis information, and grouping image frames based on the key frames; The demand parameter acquisition module is used for reading the key frames, constructing a key frame sequence and receiving demand parameters of each key frame input by a user based on the key frame sequence; the system comprises a rendering process execution module, a filtering type determination scheme, a filtering type determination module and a processing module, wherein the rendering process execution module is used for randomly determining rendering parameters of the same group of image frames based on demand parameters and executing a rendering process, wherein the rendering parameters contain a preset number of parameter types, and the determining process of the rendering parameters is a filtering type determination scheme; And the fitting output module is used for fitting the rendered three-dimensional animation and outputting a final animation.

Description

Method and system for simplifying rendering of three-dimensional animation in dynamic style Technical Field The invention relates to the technical field of rendering control, in particular to a method and a system for simplifying rendering of a three-dimensional animation in a dynamic style. Background Three-dimensional animation, also called 3D animation, is a three-dimensional virtual world created by computer graphics technology, and generates a dynamic image with a sense of realism or stylization by simulating the effects of motion, material, illumination, and the like of an object. Compared with the traditional two-dimensional animation, the three-dimensional animation has a more stereoscopic and vivid visual effect, can display richer space sense and detail, and has increasingly prominent coordination requirements on rendering efficiency and picture quality along with the deep application of the three-dimensional animation technology in game development, virtual reality experience and film and television special effect production. In a mobile terminal, a web browser or a large-scale online interaction scene, the limitation of hardware resources often leads to the fact that complex three-dimensional content is blocked to be difficult to meet the real-time requirement, so that three-dimensional animation needs to be simplified and rendered, the existing simplified rendering process is mostly a static single simplified scheme, rendering parameters of different degrees are set, corresponding rendering parameters are directly read to execute the rendering process according to different requirements, the operation process of the mode is very easy, but the information retention degree of the mode is very low, for example, when the mode is facing the reduction requirement, the reduction is difficult to be carried out, and therefore, how to retain the data amount as much as possible in the simplified rendering process is the technical problem to be solved by the technical scheme of the invention. Disclosure of Invention The invention aims to provide a method and a system for simplifying rendering of a three-dimensional animation in a dynamic style, which are used for solving the problems in the background technology. In order to achieve the above purpose, the present invention provides the following technical solutions: a method and a system for simplifying rendering of a three-dimensional animation in a dynamic style, wherein the method comprises the following steps: reading time axis information of the three-dimensional animation, determining a key frame according to the time axis information, and grouping image frames based on the key frame; Reading key frames, constructing a key frame sequence, and receiving a requirement parameter of each key frame input by a user based on the key frame sequence; The method comprises the steps of randomly determining rendering parameters of the same group of image frames based on demand parameters, and executing a rendering process, wherein the rendering parameters contain a preset number of parameter types, and the determining process of the rendering parameters is a screening type determining scheme; fitting the rendered three-dimensional animation, and outputting a final animation. The method is characterized in that the step of reading time axis information of the three-dimensional animation, determining key frames according to the time axis information, and grouping image frames based on the key frames comprises the following steps: reading a virtual camera path of the three-dimensional animation, and setting sampling points on the virtual camera path according to a preset detection density; Acquiring image frames on each sampling point, inputting the image frames at different sampling points into a preset feature extraction model, and extracting image features, wherein the image features are two-dimensional arrays; counting image features according to the path sequence, calculating the change condition of the image features, and marking key frames according to the change condition; for any image frame, calculating the similarity between the image frame and two adjacent key frames, and selecting the key frame with larger similarity as the index of the image frame; And counting all image frames based on the index to obtain a grouping result, wherein each group of image frames takes the key frame as a characteristic frame. The step of reading key frames, constructing a key frame sequence and receiving the requirement parameters of each key frame input by a user based on the key frame sequence comprises the following steps: reading a three-dimensional model of the three-dimensional animation; Reading a key frame, and determining geometrical parameters, material parameters and illumination parameters corresponding to the key frame based on the three-dimensional model; normalizing the geometric parameters, the material parameters and the illumination parameters to be a de