Parameter optimization in digital media and 3D animation design and its visual performance research
Publié en ligne: 21 mars 2025
Reçu: 03 nov. 2024
Accepté: 14 févr. 2025
DOI: https://doi.org/10.2478/amns-2025-0626
Mots clés
© 2025 Liang Yang, published by Sciendo
This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Since the beginning of the 20th century, digital technology has permeated all aspects of our daily life. Movies, television, networks, interactive media, a large number of modern high-tech means, resulting in breathtaking digital special effects and synthesis technology [1-3], showing a colorful digital world.
The development of digital media technology for animation designers to create a new platform and tools, especially the rise of one-dimensional animation, completely changed the way of animation production and presentation form [4]. Traditional two-dimensional animation needs mountain animator frame by frame to draw, the production cycle is long and high cost, and the use of digital media technology to produce three-dimensional animation can be modeling, rendering, animation and control through computer software, its production cycle is shortened, the cost is reduced, and can be presented more realistic picture effect [5-6]. Traditional animation effects need to be realized through manual drawing and chemical synthesis, the production cycle is long and the effect is limited. Now, digital media technology can realize a variety of complex special effects through computer software, such as explosions, fragments, light and shadow, etc., not only the effect is more realistic, but also can greatly improve the production efficiency [7]. Digital media technology also provides more possibilities for post-production, including synthesis, retouching, color mixing, etc., so that the animation work can be completed through post-processing to further improve the quality of the picture, making the work more ornamental and artistic [8]. The development of digital media technology provides more possibilities for the production of interactive animation, such as the application of virtual reality, augmented reality and other technologies, so that the animation work is no longer limited to the traditional linear display, but through the audience’s participation and operation to achieve a richer form of presentation [9-12]. This kind of interactive animation works can not only increase the audience’s sense of participation and immersion, but also can provide more diversified solutions for brand marketing, education and training, entertainment consulting and other fields. In addition, 3D animation has become a popular trend of art in today’s society and is loved by more and more viewers around the world. A successful 3D animation design, the most important thing is to have an attractive visual performance effect, the visual effect of 3D animation design belongs to the art of creation [13-15].
In order to realize the better development of three-dimensional animation, it is important to focus on the improvement of animation visual art. Designers skillfully use the visual language of three-dimensional animation design and visual performance aids, can effectively enhance the visual expression of animation works. At the same time, the current animation design parameters still have technical problems, such as resolution, rendering, production, ray tracing, frame rate and smoothness [16-17]. Therefore, the parameters need to be optimized to improve the smoothness and richness of animation, and enhance the rendering effect, etc.
This paper focuses on the key parameters in 3D animation design, such as model parameters, material parameters, lighting parameters, and animation parameters, and briefly describes them. Genetic algorithm is chosen to optimize the key parameters selected in this paper, which enhances the fit between the key parameters and the actual parameters in 3D animation design through the steps of genetic coding, crossover operation, mutation operation and selection operation. Aiming at the possible problem of the genetic algorithm falling into the local optimum, this paper uses the simulated annealing algorithm to improve the genetic algorithm, accelerate the iteration speed of the genetic algorithm, and improve the efficiency of parameter optimization. Based on the measurement indexes of stereoscopic realism and viewing comfort of 3D animation design, this paper intuitively shows the effect of parameter optimization on the parallax distribution in the comfortable parallax interval transformation through parallax map calculation. An objective method for calculating visual comfort assessment scores is proposed, and the comfort score function is trained using linear regression to map visual comfort features to subjective scores. Experiments are designed to analyze the performance of the improved genetic algorithm in this paper and the effect of parameter optimization on the performance of 3D animation design, highlighting the adaptability of the parameter optimization method in this paper.
Vertices are the basic geometric elements that form a 3D model, and their number and distribution directly determine the level of detail of the model. A larger number of vertices can accurately describe complex shapes, but it also increases the storage and computation burden. When constructing organic models, such as human body models, a reasonable increase in vertex density is needed in key areas such as faces and hands to capture delicate morphological changes.
Polygonal faces are connected by vertices, and their topology affects the surface quality and deformation effects of the model. A good topology should avoid narrow triangular faces and non-fluid geometries to ensure the smoothness and stability of the model during deformation animation. For example, when creating a character model, a quadrilateral-based polygonal surface layout is usually adopted and certain topological rules are followed, so that the model can deform naturally and smoothly when performing expression animation and body movement animation.
Subdivision is the process of increasing the level of detail in a model by adding more vertices and faces to the model, and is often used to create highly accurate models. For example, when creating movie-level character models or fine industrial work models, the base model will be subdivided several times to make the model surface smoother and richer in details. In some application scenarios with high real-time requirements, the model needs to be simplified in order to ensure the smooth operation of the system. The goal of simplification is to reduce the number of vertices and faces while maintaining the appearance characteristics of the model as much as possible.
The color parameter contains the object’s base color, highlight color, and ambient color. The base color determines the main color tone of the object under diffuse illumination, the highlight color affects the highlight color and glossiness of the object under strong light irradiation, and the ambient light color simulates the effect of the ambient light around the object on its color. The reasonable combination of these color parameters can make the object in the light environment to present rich color changes and layering.
Texture is an important means to provide details and realism to the surface of the object, and the 2D texture image is mapped to the surface of the 3D model through texture coordinates. The texture coordinates should be set to ensure that the texture is correctly laid on the model surface to avoid stretching, distortion, and other phenomena. Meanwhile, the resolution and quality of the texture also have an impact on the visual effect. Higher resolution textures can provide clearer details, but they also take up more memory resources.
The roughness parameter controls the microscopic roughness of an object’s surface. The higher the roughness, the more uniformly the light is scattered over the surface, and the object has a matte effect. The Warp Blocking parameter is used to describe the metallic properties of a physical surface. The higher the metallicity, the closer the object’s reflection and refraction behavior of light is to real metal. The refractive index parameter is responsible for determining how much light is refracted as it passes through the surface of an object. Different materials have different refractive indexes, and the correct setting of the refractive index can simulate the transparent and refractive effects of an object.
Common types of light sources include point light sources, parallel light sources, spot lights, etc. Different types of light sources have different light characteristics and distribution laws. The position of the light source determines the incident direction and angle of the light, which has an important impact on the sensitive relationship and shadow effects of the object.
Light intensity affects the overall brightness of the scene, while the color temperature determines the warm and cool tones of the light, and reasonable adjustment of light intensity and color temperature can create different atmospheres and emotional tones.
Key frames are the key time points of the animation, which record the position, rotation, scaling, and other state information of the object. Interpolation algorithms are used to generate smooth over-animation between key frames, such as linear interpolation, Bessel interpolation, etc. Different interpolation algorithms affect the smoothness of the animation and the naturalness of the motion trajectory.
By editing the animation curve, you can accurately control the motion speed, acceleration, and other dynamic characteristics of the object, making the animation more vivid and expressive.
Genetic coding chooses the real number coding method. From the elaboration in the previous section, it can be seen that the 3D animation design parameter optimization needs to solve the objective of four real values, corresponding to the model parameters, material parameters, lighting parameters, animation parameters, through the genetic algorithm will be optimized for the four parameters, it can be created through the 3D engine to create a three-dimensional animation design model and set up the correct parameters and the actual object size mapping one by one.
The encoding of the
Thus after the transformation of the solution by Eq. (1), the 8 vectors obtained are the search space that can be handled by the genetic algorithm, which can perform operations such as crossover, mutation, etc., on these 8 vectors and match them with the calibrated vectors with the adapted values.
The specific steps are:
1) Generate 2) Randomly generate a random number from 1 to 8 to determine the total number of genes for this crossover 3) The gene data mapping after crossover is reduced to new chromosomes
The specific steps are:
1) Randomly generate 2) Randomly generate 3) Randomly generate a floating-point number within the range of vector values to update the replacement vector 4) After the mutation, the gene number mapping is reduced to a new chromosome 5) End the mutation operation.
Genetic algorithms simulate the process of reproduction of realized populations through selection operations. Selection means meritocracy, so the selection operation is a filtering method based on the results of the calculation of fitness values, and the probability
1) Set the number of selection operations
2) Initialize
3)
4) Get the
5) The selection operation is completed, and the assignment of all chromosomes to the new generation of populations is completed, ending the operation.
After unitizing the 8 vectors
The next step is to calculate the vector difference of the 8 pairs of vectors and to find the value of the length of the vector difference and finally the value of the adaptation, which is calculated as follows:
Eq. (4) is a function that calculates the adaptation value, where the physical meaning of
Simulated annealing algorithm is a stochastic optimization algorithm [18]. Its core lies in the use of the “Meltroff criterion”, which allows the algorithm to accept non-optimal solutions with a certain probability, thus solving the problem of the algorithm being trapped in a local optimum. In this case, a certain probability:
When the simulated annealing algorithm iterates, when an individual satisfies the condition, it iterates with it as a new individual, and vice versa with probability
However, the simulated annealing algorithm may affect the final result due to its poor local search ability. Therefore, in order to better realize genetic algorithm optimization, the simulated annealing algorithm was first improved.
To enhance the local search performance of the simulated annealing algorithm, a perturbation parameter is added to the existing simulated annealing algorithm as:
With the above improvement, the simulated annealing algorithm searches for the value of
where
gradually decreases, narrowing the search range, which in turn enhances the local search ability of the algorithm.
Improved simulated annealing algorithm is used to optimize the genetic algorithm [19]: firstly, an initialized population needs to be generated, and then the individual fitness in the population is calculated, followed by genetic operation, and then the population is streamlined by similarity judgement, and then finally the excellent individuals among them are selected to carry out the improved simulated annealing, and then the individual fitness is calculated. When the next calculated individual fitness value meets the iteration termination condition, output the result and end the algorithm.
There are two important indicators of the visual performance of 3D animation design: the realism of the stereoscopic sense and the comfort of viewing. Based on binocular vision 3D scene image surface reconstruction algorithm to the image content depth, this difference is parallax. According to the actual use of the need can have a variety of ways of representation, such as distance parallax in units of observation distance, retinal parallax in units of radian and screen parallax in units of percentage, etc.. Parallax determines the depth perception of three-dimensional content by the human eye, i.e. stereoscopic sense. Inappropriate parallax will not only cause depth distortion, but also exacerbate the convergence-adjustment conflict of people watching stereoscopic content, causing a series of visual discomfort during viewing, such as dizziness, sore eyes and other symptoms.
Zero parallax surface is the parallax surface at the depth of the display screen. The parallax value of an object is zero, which means that its depth value is equal to the depth value of the screen location, and the human eye converges on the screen. Located before the zero parallax surface of the object, that is, the parallax value is negative, it looks like “floating” in front of the display screen (out of the screen effect), on the contrary, the parallax value of the object is positive, it seems to be “embedded” in the back of the display screen (into the screen effect). The zero-parallax surface is an important factor in depth perception. Differences in zero-parallax surface values result in different parallax distributions for stereoscopic content pairs, which in turn produce different stereoscopic sensations.
For the stereoscopic sense and comfort of these two indicators, in the three-dimensional animation design, to meet the following two conditions at the same time: (1) all the scene content is displayed in the visual comfort zone. (2) The 3D animation design parameters can make the content have a good stereoscopic effect.
In the training and testing phases, the extracted visual performance evaluation relies on the computation of the global parallax map [20]. For a designed 3D animated scene, the parallax map of its stereo image pairs can be obtained directly in the animation production process using camera parameters and key parameters. In this paper, the calculation formula for the conversion between an arbitrary point (
In order to evaluate the visual comfort of 3D animation production after parameter optimization compared to that before optimization, this paper introduces a visual comfort metric [21]. This method considers various causes of discomfort in the visual comfort metric, and makes a trade-off between prediction accuracy and complexity. The visual comfort assessment score is calculated as follows:
Where, V is the viewing distance, in this paper we set V=1.5m. IPD is the pupil distance, generally taken as 65mm. PP is the pixel pitch, in this paper we set PP=0.311mm.
Where
Where
Here, a 3D animation design image dataset with mean subjective opinion scores (MOS) is used to map visual comfort features to subjective scores by training the comfort score function through linear regression.
In this paper, we use Maya 3D animation production software to design a 3D scene containing multiple objects and complex lighting environments, including models with different geometries, such as character models, mechanical parts models, natural object models (number, stone, etc.), as well as objects with different materials (metal, plastic, wood, fabric, etc.). Several light sources, including point light sources, parallel light sources, spot light sources, and ambient light, are set in the scene to simulate different lighting conditions, such as indoor light, outdoor sunlight, and stage lighting.
In this paper, model, material, lighting and animation parameters such as the number of fixed points of the model, the number of polygonal surfaces subdivided into levels, the material roughness, metallicity, refractive index, the intensity of the light, the color temperature, the position of the light source, as well as the animation of the keyframe interval, interpolation algorithms, etc., are selected as variables, and a number of different levels are set for each parameter to generate a number of groups of experiments through the design of full factorial experiments or the design of part of the factorial experiments method. Parameter combinations are generated using either full factorial experimental design or partial factorial experimental design.
Subjective evaluation: Invite 30 professional 3D animation designers, digital media experts and general audience to form an evaluation team to subjectively evaluate the visual effects of 3D animation before and after parameter optimization. The evaluation indexes include the model’s detail clarity, realism, material texture, naturalness of lighting effect, smoothness and vividness of animation, etc. A scoring standard of 1-5 points is adopted, in which 1 point means the worst and 5 points means the best.
Objective assessment is quantitatively calculated using the visual performance evaluation method proposed in this paper. In order to further evaluate the impact of parameter optimization on the quality of stereo images generated by 3D animation design, this paper adopts the peak signal-to-noise ratio (PSNR) and structural similarity (SSIM) of the image as the most objective evaluation indexes of the image quality, and in order to facilitate the comparison of the final results, the study enlarges the SSIM 100 times In order to facilitate the comparison of the final results, the SSIM is expanded by 100 times, and the calculation formula is as follows:
Where,
Where,
In this section, the performance analysis of the improved genetic algorithm is divided into coding and selection module, crossover and mutation module, and simulated annealing module for performance analysis.
The performance of the encoding module and selection module is analyzed at the same time, and the comparison object is the genetic algorithm using binary encoding and general selection module for comparison, to ensure that the parameters of other modules except the encoding module and selection module are the same, the number of iterations is the same, and the optimization search is carried out on the same object by using the application of the improved genetic algorithm in this paper and the genetic algorithm using the general binary encoding and selection operation, respectively. The results are shown in Figure 1, where the horizontal coordinate is the number of iterations and the vertical coordinate is the optimal value obtained. From the figure, it can be seen that the improved real number coding and selection operation converge to the optimal value of 20 in 34 iterations, while the algorithm using binary coding and general selection operation needs to be iterated to 47 generations to converge to the optimal value, but the optimal value is far from 20.Therefore, the selection operation using the improved real number encoding in this paper converges with the least number of iterations than the genetic algorithm using binary encoding and ordinary selection operation, converges better and can obtain better optimal values.

The optimization process of both methods
In this subsection, the crossover and mutation modules of the improved genetic of this paper are unified for comparative analysis, and the crossover and mutation modules in the genetic algorithm used for the comparison are the ordinary crossover and mutation operations before the improvement, which are not adaptive. The functions utilized are identical to the optimization objects employed in the previous section, and the outcomes are represented in Fig. 2. From the figure, it can be seen that the number of iterations required for convergence using the crossover and mutation method with improved genetic algorithm in this paper is about 61, while the number of iterations required for convergence using the pre-improvement one needs 114, and the convergence to the optimal value is much worse than the improved one. Therefore, the improved crossover and mutation modules in this paper require fewer iterations to converge compared to the ordinary genetic algorithm with crossover and mutation operations before improvement, and the final converged value is less different from the optimal value, and the convergence will be better.

The Optimization pross before and after the improvement
The performance analysis of the simulated annealing of the improved genetic algorithm is carried out to compare the parameter optimization process before and after adding the simulated annealing module in the same parameter optimization process, and the results are shown in Fig. 3. The horizontal coordinate in the figure also indicates the number of iterations, and the vertical coordinate indicates the value of the objective function. From the figure, it can be seen that the genetic algorithm with simulated annealing module can quickly converge to the optimal objective function value in the 0-5th iteration, while the genetic algorithm without simulated annealing module slows down the convergence speed when the objective function value converges to 18.73 until the 121st iteration to complete the convergence and converge to the optimal objective function value. It can be concluded that the improved genetic algorithm using the simulated annealing module added in this paper will get the optimal value faster than the one before the improvement and can converge to the optimal value accurately.

The optimization process before and after improvement GA
This section analyzes the effect of parameter optimization using an improved genetic algorithm by evaluating visual performance. According to the visual performance evaluation indexes constructed in the previous section, firstly, subjective indexes analysis is carried out to statistically score the visual performance of 3D animation design before and after parameter optimization by 30 invitees, and analyze the effect of parameter optimization on the visual performance of 3D animation design through the scoring statistical results. Secondly, using objective indicators, the parallax and visual comfort scores of the generated models and images of 3D animation designs before and after parameter optimization are calculated to comprehensively analyze the impact of parameter optimization on visual performance.
The subjective assessment results before and after the optimization of 3D animation design parameters are shown in Table 1. From the table, it can be seen that before the parameter optimization, the 30 experts’ scores for the visual performance of the 3D animation design are low, with the highest score being 3, the lowest score being 5, and the mean value of the scores being 1.73. After the parameter optimization using the improved genetic algorithm, the scores of the 30 experts’ scores for the visual performance of the 3D animation design are obviously improved, with the lowest score being 4, the highest score being 5, and the mean value of the scores being 4.47.The subjective assessment results show that after optimizing the key parameters in the 3D animation design using improved genetic algorithm, this paper significantly improves the visual performance effect of the 3D animation design model or image, and enhances the subjective visual attraction of the design results to the audience.
Visual performance scores before and after parametric optimization
Numbering | Before | After | Numbering | Before | After |
---|---|---|---|---|---|
1 | 3 | 5 | 16 | 2 | 4 |
2 | 1 | 4 | 17 | 2 | 4 |
3 | 1 | 5 | 18 | 1 | 4 |
4 | 2 | 5 | 19 | 2 | 5 |
5 | 2 | 5 | 20 | 1 | 4 |
6 | 1 | 4 | 21 | 3 | 4 |
7 | 1 | 4 | 22 | 1 | 4 |
8 | 3 | 5 | 23 | 1 | 4 |
9 | 2 | 5 | 24 | 3 | 4 |
10 | 2 | 4 | 25 | 1 | 5 |
11 | 2 | 5 | 26 | 2 | 4 |
12 | 1 | 5 | 27 | 1 | 4 |
13 | 2 | 4 | 28 | 2 | 4 |
14 | 2 | 5 | 29 | 1 | 5 |
15 | 2 | 5 | 30 | 2 | 5 |
In the Maya software main interface, select the “Disparity Marking” button appears Disparity Marking from the interface, the part of the realization of the current generation of stereoscopic images according to the viewing device parallax more than the comfortable parallax range of marking. The interface offers four options for viewing devices: cell phones, desktops, televisions, and theaters. After the 3D animation designer selects the 3D animation delivery device, the same operation as that of the Disparity Gradient Map from the interface is used to generate the parallax depth map with the corresponding threshold markers, and the results are shown in Fig. 4, with the parallax distributions before and after the optimization of the parameters shown in (a) and (b), respectively. The figure reflects the transformation of the parallax distribution in the comfortable parallax interval before and after parameter optimization of the 3D animation design. This paper considers -0.60cm to 1.75cm as the comfortable parallax interval, and it can be seen that the parallax of the 3D animation design after parameter optimization is basically distributed within the best comfortable parallax interval.

Parallax distribution
In this paper, the visual comfort of the visual performance of 3D animation design before and after parameter optimization is analyzed by using an objective comfort calculation method combined with the peak signal-to-noise ratio and structural similarity, and the results are shown in Fig. 5, with (a)-(d) indicating the model parameter, material parameter, lighting parameter and animation parameter, respectively. From the figure, it can be seen that after the optimization of each key parameter, the visual comfort score, peak signal-to-noise ratio and structural similarity of the work produced by the 3D animation design are significantly improved compared to the optimization. Before parameter optimization, the mean visual comfort scores of model parameters, material parameters, lighting parameters and animation parameters were 32.17, 32.44, 27.91 and 37.32, the mean peak signal-to-noise ratio scores were 30.51, 32.10, 26.60 and 29.29, and the mean structural similarity scores were 32.57, 33.65, 34.61 and 30.20, respectively. The visual comfort scores after parameter optimization were improved by 1.64, 1.54, 1.99, and 1.24 times, the peak signal-to-noise ratios were improved by 1.75, 1.63, 2.16, and 1.83 times, and the structural similarities were improved by 1.64, 1.38, 1.39, and 1.82 times, respectively, compared to the pre-optimization period. The exponential improvement of the objective evaluation indexes shows the effectiveness of this paper’s improved genetic algorithm on the optimization of key parameters in 3D animation design, and it also shows that the parameter optimization can significantly improve the visual performance effect of 3D animation design, effectively reduce the visual discomfort caused by parameter problems, and enhance the visual experience of the 3D animation design for the audience.

Objective assessment results
This paper implements parameter optimization in 3D animation design based on the improved genetic algorithm, and analyzes the performance of the improved genetic algorithm and the comparison of subjective evaluation, parallax distribution and visual comfort of 3D animation design before and after parameter optimization in combination with experimental results. The results show that: (1) the improved genetic algorithm in this paper has significantly improved performance in the modules of crossover, mutation, selection and simulated annealing compared with the pre-improved genetic algorithm, and it can achieve stable algorithm performance with fewer iterations, and the optimal objective function value obtained is better than that of the pre-improved genetic algorithm. (2) The average score of subjective evaluation of 3D animation design before parameter optimization by experts is 1.73, while the average score after parameter optimization is 4.47, which is 1.58 times higher than that, indicating that parameter optimization can significantly enhance the subjective visual performance of 3D animation design. (3) The parallax distribution of the 3D animation design after parameter optimization can basically be maintained within the comfortable parallax range of -0.60cm to 1.75cm. In addition, the visual comfort scores of model, material, lighting and animation are increased by 164%, 154%, 199% and 124% respectively after parameter optimization compared with those before optimization, which effectively improves the impact of improper parameters on the visual performance of 3D animation design and improves the visual perception of 3D animation design.