3D rendering control system based on art image

The 3D rendering control system optimizes rendering processes by analyzing frame rates and adjusting parameters to enhance quality and reduce computational load, addressing inefficiencies in existing 3D rendering technologies.

CN120318404APending Publication Date: 2025-07-15TONGLIAO VOCATIONAL COLLEGE (TONGLIAO BRANCH OF INNER MONGOLIA TV UNIVERSITY)
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202510370810.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-27
Publication Date
2025-07-15

AI Technical Summary

Technical Problem

The prior art fails to effectively use the frame rate to determine whether the rendering process is qualified, and adjust the system parameters when it fails to meet the criteria, which affects the operating load of the computer system.

Method used

By building the model and obtaining the original image, preprocessing generates the target image, attaching it to the model and rendering it in ray reflection, obtaining the frame rate mean, and the analysis module adjusts the system parameters based on the frame rate mean and preset value comparison results, such as reducing the resolution, pixel points or brightness value, and optimizing the rendering process.

Benefits of technology

It improves the pass rate of the rendering process, reduces the running load of the computer system, avoids lag, and improves the stability and efficiency of the rendering effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120318404A_ABST
    Figure CN120318404A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of image processing, in particular to a 3D rendering control system based on art images. According to the system, an original model is constructed through a model construction module, a plurality of original images are acquired through an image acquisition module, an image preprocessing module is used for preprocessing the original images to generate a target image, and the target image is attached to the original model through a first rendering module to generate a first rendering model; performing light reflection rendering on the first rendering model through a second rendering module to generate a second rendering model, generating a running picture based on the second rendering model by using a test module, obtaining a plurality of frame rates and obtaining a frame rate mean value, whether the rendering process is qualified or not is judged through the analysis module on the basis of the comparison result of the frame rate mean value and the preset frame rate mean value, when it is determined that the disqualification reason is generation of the corresponding instruction, the control module adjusts the operation parameters of the corresponding module on the basis of the instruction, and therefore the qualified rate of rendering is increased while the operation load of a computer system is considered.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image processing, and particularly to a 3D rendering control system based on artistic images. Background Art

[0002] With the rapid development of computer technology, 3D-rendered artistic images are increasingly applied in fields such as product design, scene construction, and character modeling. A three-dimensional model is made through 3D modeling software and a two-dimensional texture map is attached to the model, and then after lighting rendering, a two-dimensional image meeting specific requirements is obtained, which can bring a more real and shocking visual experience to the audience. Among them, the frame rate of the 3D-rendered picture will have a certain impact on the operation process of devices such as computers, thus affecting the rendering effect.

[0003] For the current prior art, Chinese Patent Publication No.: CN119206100A discloses a digital twin method based on real-time rendering. During the period when a rendering device provides services for a user terminal, a control center detects the user's frame rate of the rendering device in real time, determines whether the device state of the rendering device is healthy, and when it is determined to be unhealthy, switches another rendering device to be connected to the user terminal through the control center, so as to ensure that coordinate conversion can be automatically processed based on a model file, and while building a target scene, ensure the stable output of the picture during real-time rendering. However, this technical solution determines the state of the rendering device based on the user's frame rate, and does not consider whether the rendering process is qualified based on the frame rate, and when the rendering process is unqualified, it is not possible to adjust the operating parameters in the control system based on the determination of the frame rate to correspondingly correct the rendering process, so as to improve the qualification rate of the rendering process while taking into account the operating load of the computer system. Summary of the Invention

[0004] Therefore, the present invention provides a 3D rendering control system based on artistic images to solve the problems in the prior art that there is no determination of whether the rendering process in the control system is qualified based on the frame rate, and when the reason for unqualified is determined, the operating parameters of the corresponding modules in the system are adjusted to improve the rendering process.

[0005] To achieve the above object, the present invention provides a 3D rendering control system based on artistic images, including:

[0006] A model construction module for constructing an original model to be rendered;

[0007] An image acquisition module for acquiring a plurality of original images;

[0008] An image preprocessing module connected to the image acquisition module for preprocessing the plurality of original images to generate corresponding target images as rendering texture maps;

[0009] The first rendering module, which is respectively connected to the model construction module and the image preprocessing module, is used to attach a plurality of the target images to corresponding positions of the original model to generate a first rendering model;

[0010] The second rendering module, which is connected to the first rendering module, is used to perform ray reflection rendering on the first rendering model to generate a second rendering model;

[0011] The testing module, which is connected to the second rendering module, is used to generate a running screen based on the second rendering model and obtain a plurality of frame rates within a preset period, and calculate a frame rate average value based on the plurality of frame rates;

[0012] The analysis module, which is connected to the testing module, is used to determine corresponding processing based on the frame rate average value, including: outputting the second rendering model, or generating corresponding instructions based on the reasons for non-compliance;

[0013] The adjustment module, which is respectively connected to the image preprocessing module, the testing module, and the analysis module, is used to correct the preprocessing of the image preprocessing module, reduce the screen resolution in the testing module, or lower the determination criterion of the analysis module based on the instruction.

[0014] Further, the analysis module is also used to make a determination based on the comparison result between the frame rate average value and the preset frame rate average value pre-stored in the analysis module, or re-determine whether the rendering process is qualified based on the variance of a plurality of historical frame rates within a preset period, and, in the case of determining that the rendering process is unqualified, determine the reason for non-compliance based on the frame rate average value difference, where the frame rate average value difference is the difference between the preset frame rate average value and the frame rate average value.

[0015] Further, the analysis module is also used to determine whether to lower the determination criterion of the analysis module based on the comparison result between the variance and the preset variance pre-stored in the analysis module.

[0016] Further, the analysis module is also used to determine to lower the determination criterion of the analysis module based on the comparison result between the variance difference and the preset variance difference pre-stored in the analysis module, and the reduction amplitude of the determination criterion is in a direct proportion relationship with the variance difference, where the variance difference is the difference between the preset variance and the variance, and the determination criterion is the pre-stored preset frame rate average value.

[0017] Further, the analysis module is also used to determine the reason for the unqualified rendering process based on the comparison result between the frame rate average value difference and the preset frame rate average value difference pre-stored in the analysis module, and generate corresponding correction methods based on the reason, including: reducing the screen resolution in the testing module, reducing the number of pixels of a single target image, and using brightness value division to replace ray reflection simulation.

[0018] Further, the analysis module is further configured to determine to reduce the screen resolution in the test module based on the comparison result between the difference ratio and a preset difference ratio stored in the analysis module, and the reduction amplitude of the screen resolution is directly proportional to the difference ratio, where the difference ratio is the ratio between the preset average frame rate difference and the average frame rate difference.

[0019] Further, after the screen resolution of the test module is reduced, the analysis module is further configured to reduce the number of pixels of a plurality of the target images based on the reduced screen resolution, and the reduction amplitude of the number of pixels is directly proportional to the reduction amplitude of the screen resolution.

[0020] Further, the analysis module is further configured to determine to reduce the number of pixels of the target image based on the comparison result between the imaging distance and a preset imaging distance stored in the analysis module, and the reduction amplitude of the number of pixels is directly proportional to the light and shadow distance, where the imaging distance is the straight-line distance between the camera of the output screen in the test module and the center of gravity of the second rendering model.

[0021] Further, after using the brightness value division to replace the light reflection simulation for the target image, the analysis module is further configured to determine to increase the brightness value of the bright part on the target image based on the comparison result between the light source distance and a preset light source distance stored in the analysis module, and the increase amplitude of the brightness value is inversely proportional to the light and shadow distance, where the light source distance is the straight-line distance between the light source in the test module and the center of gravity of the second rendering model.

[0022] Further, after the brightness value of the bright part on the target image is increased, the analysis module is further configured to determine to increase the area of the bright part based on the comparison result between the light and shadow distance and the preset light source distance, and the increase amplitude of the area is directly proportional to the light and shadow distance.

[0023] Compared with the prior art, the beneficial effects of the 3D rendering control system based on art images of the present invention are as follows. The system constructs the original model to be rendered through the model construction module and obtains a number of original images through the image acquisition module. The image preprocessing module preprocesses the original images to generate target images. The first rendering module attaches the target images to the original model to generate a first rendered model. Then, the second rendering module performs ray reflection rendering on the first rendered model to generate a second rendered model. The test module generates a running screen based on the second rendered model, obtains a number of frame rates, and calculates the average frame rate. The analysis module determines whether the rendering process is qualified based on the comparison result between the average frame rate and the preset average frame rate. When the unqualified reason is determined, a corresponding instruction is generated. Then, the control module adjusts the running parameters of the corresponding module based on the instruction to increase the frame rate after rendering, thereby improving the qualification rate of the rendering process while taking into account the operating load of the computer system.

[0024] Furthermore, the present invention further quickly determines whether the rendering process is qualified based on the comparison result between the average frame rate and the preset average frame rate. And when it is determined that the rendering process is unqualified, the reason for unqualified is quickly determined based on the difference in average frame rates.

[0025] Furthermore, when the present invention makes a judgment based on the comparison result between the average frame rate and the preset average frame rate, it further makes a secondary determination based on the variance of a number of historical frame rates within a preset period and the preset variance to improve the judgment accuracy for the rendering process and reduce misjudgment results.

[0026] Furthermore, the present invention also determines the reduction amplitude of the preset average frame rate in the analysis module based on the comparison result between the variance difference and the preset variance difference. Then, after the secondary determination, the judgment benchmark is adjusted, so as to be able to reduce the range of re-judgment, improve the judgment accuracy, reduce the operating load of the computer system, and improve the qualification rate of the rendering process.

[0027] Furthermore, the present invention also determines the specific reason for the unqualified rendering process based on the comparison result between the difference in average frame rates and the preset difference in average frame rates, and determines the corresponding correction method based on the reason, so as to be able to improve the qualification rate of the rendering process.

[0028] Furthermore, when the present invention determines that the reason for the unqualified rendering process is specifically that the screen resolution in the test module is higher than the preset standard, it reduces the screen resolution in the test module to adapt to the resolution of the second rendered model based on the comparison result between the difference ratio and the preset difference ratio. Then, without increasing the operating load of the computer system, it can also improve the qualification rate of the rendering process.

[0029] Furthermore, when it is determined that the reason for the unqualified rendering process is specifically that the number of pixels in a single target image exceeds the preset standard, the present invention is also used to reduce the number of pixels in the single target image based on the comparison result between the imaging distance and the preset imaging distance, thereby reducing the operating load of the computer system, and thus improving the qualified rate of the rendering process.

[0030] Furthermore, when it is determined that the reason for the unqualified rendering process is specifically that the number of target images attached to the original model exceeds the preset standard, the present invention is also used to determine to use the brightness value division to replace the real-time rendering process based on the comparison result between the light source distance and the preset light source distance, thereby reducing the operating load of the computer system, and thus improving the qualified rate of the rendering process. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 It is a schematic diagram of the modules of the 3D rendering control system based on the art image in this embodiment;

[0032] Figure 2 It is a schematic flowchart of the 3D rendering control system based on the art image in this embodiment;

[0033] Figure 3 It is a logical flowchart for determining whether the rendering process is qualified based on the average frame rate in this embodiment;

[0034] Figure 4 It is a logical flowchart for determining the reason for the unqualified rendering process based on the average frame rate difference and correcting the rendering process in this embodiment. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0035] In order to make the objectives and advantages of the present invention clearer, the present invention will be further described below in conjunction with embodiments; it should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0036] The preferred embodiments of the present invention will be described below with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are only used to explain the technical principles of the present invention and do not limit the protection scope of the present invention.

[0037] It should be noted that in the description of the present invention, unless otherwise clearly defined and limited, the term "connection" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and it can be the communication inside two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific situations.

[0038] In this embodiment, a 3D rendering control system based on artistic images is provided. The control system determines whether the rendering process is qualified by detecting the comparison result between the average frame rate in the rendering process within a preset period and a preset value, and can improve the rendering process through self - adjustment when it is determined that the rendering is unqualified. Furthermore, it can improve the rendering qualification rate of, including but not limited to, 3D models, thereby reducing the operating load of the computer system and reducing the occurrence of lag during operation after rendering. In this embodiment, the 3D model is a static model.

[0039] Please refer to Figure 1 As shown, it is a schematic diagram of the modules of the 3D rendering control system based on artistic images in this embodiment. The system includes a model construction module, an image acquisition module, an image pre - processing module, a first rendering module, a second rendering module, a test module, an analysis module, and an adjustment module. The model construction module is used to construct the original model to be rendered; the image acquisition module is used to acquire a number of original images; the image pre - processing module is connected to the image acquisition module and is used to pre - process the number of original images to generate corresponding target images as rendering textures. Among them, the pre - processing process includes: adjusting the number of pixels and the brightness value of the target image; the first rendering module is respectively connected to the model construction module and the image pre - processing module and is used to attach the target image to the corresponding position of the original model to generate a first rendered model; the second rendering module is connected to the first rendering module and is used to perform ray - tracing rendering on the first rendered model to generate a second rendered model; the test module is connected to the second rendering module and is used to generate a running screen based on the second rendered model and obtain a number of frame rates within a preset period, and calculate the average frame rate based on the number of frame rates; the analysis module is connected to the test module and is used to determine corresponding processing based on the average frame rate, including: outputting the second rendered model, or generating corresponding instructions based on the unqualified reasons; the adjustment module is respectively connected to the image pre - processing module, the test module, and the analysis module and is used to adjust the running parameters of the corresponding modules based on the instructions, including: correcting the pre - processing of the image pre - processing module, or reducing the screen resolution in the test module, or reducing the determination benchmark in the analysis module.

[0040] Specifically, in this embodiment, an original model to be rendered is constructed by a model construction module. The original model includes a 3D character model and a 3D scene model, and the original model is a static model. Original images to be attached to the original model are obtained from an image database by an image acquisition module. The original images are obtained by an image preprocessing module connected to the image acquisition module. There are several original images, and then each of the several original images is preprocessed one by one. The preprocessing includes adjusting the resolution and brightness value of the original image. After preprocessing, several target images are obtained. At this time, the target images can be used as rendering textures for model rendering. Several target images are attached to the original model by a first rendering module to obtain a first rendered model. Then, the first rendered model is placed in a second rendering module, and ray reflection rendering is performed by adjusting the ray running parameters in the second rendering module to generate a second rendered model. The obtained second rendered model is placed in a testing module. The testing module will perform a frame rate test based on the second rendered model within a preset period to obtain the frame rates at several time nodes, and calculate the average value of the several frame rates to obtain the average frame rate. The analysis module obtains the average frame rate and determines whether the current entire rendering process is qualified according to the comparison result between the average frame rate and the preset average frame rate. When the rendering is qualified, the second rendered model is directly output. When the rendering is unqualified, the reason for the unqualified is determined, and a corresponding instruction is generated based on this. Then, an adjustment module connected to the analysis module obtains the instruction and adjusts the running parameters of the corresponding module according to the instruction, so as to adapt to the frame rate under the current screen operation when the rendering does not meet the requirements, reduce the running load of the computer system while ensuring the stable operation of the screen, that is, reduce energy consumption. The parameters include: the preprocessing of the image preprocessing module, the screen resolution in the testing module, and the determination benchmark of the analysis module.

[0041] Please refer to Figure 2 as shown, which is a schematic flowchart of a 3D rendering control system based on artistic images in this embodiment. The process includes:

[0042] S1: An original model to be rendered is constructed by a model construction module.

[0043] S2: Several original images are obtained by an image acquisition module.

[0044] S3: Several original images are preprocessed by an image preprocessing module connected to the image acquisition module to generate corresponding target images as rendering textures.

[0045] S4: Several target images are attached to corresponding positions of the original model by a first rendering module respectively connected to the model construction module and the image preprocessing module to generate a first rendered model.

[0046] S5: The first rendering model is subjected to ray reflection rendering by a second rendering module connected to the first rendering module to generate a second rendering model.

[0047] S6: A test module connected to the second rendering module generates a running screen based on the second rendering model and obtains a number of frame rates within a preset period, and a frame rate average value is calculated based on the number of frame rates.

[0048] S7: An analysis module connected to the test module determines corresponding processing based on the frame rate average value, including: outputting the second rendering model, or generating corresponding instructions based on the reasons for non-conformance.

[0049] S8: An adjustment module connected to the image preprocessing module, the test module, and the analysis module respectively adjusts the operating parameters of the corresponding modules based on the instructions, including: correcting the preprocessing of the image preprocessing module, or reducing the screen resolution in the test module, or reducing the determination criterion in the analysis module.

[0050] Please refer to Figure 3 As shown, it is a logic flowchart for determining whether the rendering process is qualified based on the frame rate average value in this embodiment. The analysis module is further configured to make a determination based on the comparison result between the frame rate average value and a preset frame rate average value stored in the analysis module, or re-determine whether the rendering process is qualified based on the variance of a number of historical frame rates within a preset period, and, in the case of determining that the rendering process is unqualified, determine the reason for non-conformance based on the frame rate average value difference, where the frame rate average value difference is the difference between the preset frame rate average value and the frame rate average value.

[0051] Specifically, in this embodiment, the preset frame rate average value Y0 can be divided into a first preset frame rate average value Y1 and a second preset frame rate average value Y2. It is set that the preset frame rate average value standard Y3 = 50 frames per second, and Y1 = Y3, Y2 = a × Y3, and at this time, a is assigned a value of 2. It should be noted that the assignments of Y3 and a can also be other values, and no specific limitations are made; the specific process of comparing the frame rate average value Y with the preset frame rate average value Y0 is as follows:

[0052] If Y ≤ Y1, it indicates that the frame rate during the current screen operation is relatively low, which will cause the current screen to freeze. Therefore, it is determined that the rendering process is unqualified. When the screen needs to run smoothly, it will cause an increase in the operating load of the computer system. At this time, it is necessary to determine the cause of the unqualified based on the frame rate mean difference Q and solve the problem of the increase in the operating load of the computer system. In this embodiment, the frame rate mean difference is specifically the difference between the first preset frame rate mean Y1 and the actual frame rate mean Y. If Y1 < Y ≤ Y2, the smoothness of the current screen operation is between smooth and frozen. Based on this, it is impossible to accurately determine whether the rendering process is qualified. Therefore, a time-frame rate curve can be drawn based on several historical frame rates and corresponding time nodes within a preset period. The variance of the frame rate is calculated through this curve, and the qualification of the rendering process is further determined based on the comparison result between the variance and the preset value. If Y2 < Y, it indicates that the frame rate of the current screen operation is relatively high and the screen operation is relatively smooth. Therefore, it is determined that the rendering process is qualified and there is no need to additionally increase the operating load of the computer system.

[0053] Further, the analysis module is also used to determine whether to lower the judgment benchmark of the analysis module based on the comparison result between the variance and the preset variance pre-stored in the analysis module.

[0054] Specifically, in this embodiment, a time-frame rate curve is drawn through the obtained several historical frame rates and corresponding time nodes. This curve includes the frame rate at the current time node and all historical frame rates within a preset period. The variance is calculated through this curve, and the variance is used to reflect the change degree of several frame rate values within the preset period, that is, to determine the stability of the frame rate change within the preset period. The preset variance H0 is set to 0.8. The specific comparison process between the variance H and the preset variance H0 is as follows:

[0055] If H ≤ H0, it indicates that the frame rate change within the current preset period is relatively stable, and the current screen operation is also relatively smooth and clear. Therefore, the judgment benchmark of the analysis module can be corrected. Specifically, the preset frame rate mean Y0 is lowered, and further, the second preset frame rate mean Y2 is lowered, so as to ensure that when Y1 < Y ≤ Y2, the qualification rate of rendering is improved by lowering the judgment benchmark, avoid misjudgment, and improve the accuracy of judgment. If H0 < H, it indicates that the frame rate change within the current preset period is relatively unstable. In order to ensure that the screen can run smoothly, the operating load of the system needs to be increased accordingly at this time. Therefore, it is determined that the rendering process is unqualified at this time, and it is necessary to determine the cause of the unqualified based on the frame rate mean difference Q.

[0056] Further, the analysis module is further configured to determine to lower the determination criterion of the analysis module based on the comparison result between the variance difference and a preset variance difference pre-stored in the analysis module, and the reduction amplitude of the determination criterion is in a direct proportion relationship with the variance difference, where the variance difference is the difference between the preset variance and the variance, and the determination criterion is the pre-stored preset frame rate average value.

[0057] Specifically, in this embodiment, by lowering the determination criterion of the analysis module, that is, by reducing the preset frame rate average value, the situation of misjudgment re-determined is reduced, so as to improve the determination accuracy. The preset variance difference E0 can be divided into a first preset variance difference E1 and a second preset variance difference E2. The variance difference standard is set as E3 = 0.2, E1 = 0.5×E3, E2 = 1.5×E3. It should be noted that the values of E1, E2, and E3 change with the values of the variance H and the preset variance H0, and are rounded up, and are not specifically limited herein; the specific process of comparing the variance difference E with the preset variance difference E0 is as follows:

[0058] If E≤E1, the control module uses the first reference adjustment coefficient to lower the second preset frame rate average value Y2 to 0.9 times the initial value; if E1<E≤E2, the control module uses the second reference adjustment coefficient to lower the second preset frame rate average value Y2 to 0.8 times the initial value; if E2<E, the control module uses the third reference adjustment coefficient to lower the second preset frame rate average value Y2 to 0.6 times the initial value. The reduction multiple of the second preset frame rate average value Y2 can be adjusted according to specific situations, and the adjusted Y2 is rounded up.

[0059] Please refer to Figure 4 shown, which is a logic flowchart for determining the reason for the unqualified rendering process and correcting the rendering process in this embodiment based on the frame rate average value difference. The analysis module is further configured to determine the reason for the unqualified rendering process based on the comparison result between the frame rate average value difference and a preset frame rate average value difference pre-stored in the analysis module, and generate a corresponding correction method based on the reason, including: lowering the picture resolution in the test module, lowering the number of pixels of a single target image, and using brightness value division to replace ray reflection simulation.

[0060] Specifically, in this embodiment, when the average frame rate during the operation of the screen is detected to be relatively low within a preset period, in order to reduce the operating load of the computer system, a corresponding correction method can be generated based on the corresponding cause to reduce the stuttering effect caused by the current frame rate. The preset average frame rate difference Q0 can be divided into a first preset average frame rate difference Q1 and a second preset average frame rate difference Q2. It is set that the preset average frame rate standard Q3 = 5 frames per second, Q1 = 0.8×Q3, and Q2 = 1.2×Q3. It should be noted that Q1, Q2, and Q3 change according to the change of the average frame rate Y and the preset average frame rate Y0, and are rounded up, and no specific limitation is made here. The specific process of comparing the average frame rate difference Q with Q1 and Q2 is as follows:

[0061] If Q ≤ Q1, it indicates that the current average frame rate difference is relatively small. It can be determined that the reason for the unqualified rendering is that the screen resolution in the test module is higher than the preset standard, that is, higher than the resolution of the second rendering model. Therefore, the mismatch between the two will cause stuttering. At this time, the screen resolution in the test module can be reduced to adapt to the resolution of the second rendering model, thereby improving the stuttering situation without increasing the operating load of the computer system. If Q1 < Q ≤ Q2, it indicates that the current average frame rate difference is relatively average. It can be determined that the reason for the unqualified rendering is that the number of pixels in a single target image is more than the preset standard, that is, more than the predetermined number of pixels that the computer can drive during rated operation. At this time, the number of pixels can be reduced during the preprocessing of the original image, thereby reducing the number of pixels in a single target image used as a rendering texture, thus reducing the operating load of the computer system and improving the stuttering situation. If Q2 < Q, it indicates that the current average frame rate difference is relatively large. It can be determined that the reason for the unqualified rendering is that the number of target images attached to the original model is more than the preset standard, that is, more than the predetermined number of target images that the computer can drive during rated operation. At this time, during the preprocessing of the original image, the rendering simulation highlight area and shadow area can be divided on the original image using the brightness value in advance to replace the real-time rendering simulation of light reflection for highlights and shadows, thereby reducing the number of times of light reflection rendering used when generating the second rendering model, thus reducing the operating load of the computer system and improving the stuttering situation.

[0062] Further, the analysis module is also used to determine to reduce the screen resolution in the test module based on the comparison result between the difference ratio and the preset difference ratio stored in the analysis module, and the reduction amplitude of the screen resolution is in a direct proportional relationship with the difference ratio, where the difference ratio is the ratio between the preset average frame rate difference and the average frame rate difference.

[0063] Specifically, in this embodiment, the difference ratio W is specifically the ratio between the first preset frame rate average difference Q1 and the frame rate average difference Q. The preset difference ratio W0 can be divided into a first preset difference ratio W1 and a second preset difference ratio W2. It is set that the preset difference ratio standard W3 = 1.15, W1 = 0.95×W3, and W2 = 1.05×W3. It should be noted that W1, W2, and W3 can all change according to the situation and are not limited to the current set values; the specific process of comparing the difference ratio W with W1 and W2 is as follows:

[0064] If W ≤ W1, the control module uses the first screen resolution adjustment coefficient to reduce the screen resolution of the test module to 0.8 times the initial value; if W1 < W ≤ W2, the control module uses the second screen resolution adjustment coefficient to reduce the screen resolution of the test module to 0.6 times the initial value; if W2 < W, the control module uses the third screen resolution adjustment coefficient to reduce the screen resolution of the test module to 0.4 times the initial value. The reduction ratio of the screen resolution can be adjusted according to the specific situation.

[0065] Furthermore, after reducing the screen resolution of the test module, the analysis module is also used to reduce the number of pixels of a number of the target images based on the reduced screen resolution, and the reduction amplitude of the number of pixels is in a direct proportional relationship with the reduction amplitude of the screen resolution.

[0066] Specifically, in this embodiment, after reducing the screen resolution of the test module, the number of pixels of the corresponding number of target images also needs to be reduced accordingly. The control module adjusts the preprocessing in the image preprocessing module to reduce the number of pixels of the target images, thereby reducing the operating load of the computer system and improving the rendering qualification rate. Moreover, the reduction of the number of pixels of the target images is in a direct proportional relationship with the reduction of the screen resolution.

[0067] Furthermore, the analysis module is also used to determine the reduction of the number of pixels of the target images based on the comparison result between the imaging distance and the preset imaging distance stored in the analysis module, and the reduction amplitude of the number of pixels is in a direct proportional relationship with the light and shadow distance. Here, the imaging distance is the straight-line distance between the camera of the output screen in the test module and the center of gravity of the second rendering model.

[0068] Specifically, in this embodiment, the imaging distance is actually a straight-line distance between the camera that generates the output image and the center of gravity of the second rendering model in the scene. When the straight-line distance is larger, the number of pixels of the corresponding target image can be reduced accordingly. In this way, it is possible to improve the stuttering situation while ensuring the quality of the output image and increase the rendering pass rate. The preset imaging distance T0 can be divided into a first preset imaging distance T1 and a second preset imaging distance T2. The preset imaging distance standard T3 is set to 1 meter, T1 = 0.5 × T3, and T2 = 1.5 × T3. It should be noted that T1, T2, and T3 can also be set to other values and be specifically assigned according to specific situations. The specific process of comparing the imaging distance T with T1 and T2 is as follows:

[0069] If T ≤ T1, the control module uses the first pixel number adjustment coefficient to adjust the preprocessing process in the image preprocessing module, reducing the number of pixels of the target image to 0.95 times the initial value. If T1 < T ≤ T2, the control module uses the second pixel number adjustment coefficient to adjust the preprocessing process in the image preprocessing module, reducing the number of pixels of the target image to 0.93 times the initial value. If T2 < T, the control module uses the third pixel number adjustment coefficient to adjust the preprocessing process in the image preprocessing module, reducing the number of pixels of the target image to 0.87 times the initial value. The reduction ratio of the number of pixels can be adjusted according to specific situations, and the adjusted number of pixels is rounded up.

[0070] Further, in the case where the analysis module has completed using the brightness value division to replace the light reflection simulation for the target image, the analysis module is further configured to determine to increase the brightness value of the bright part on the target image based on the comparison result between the light source distance and the preset light source distance pre-stored in the analysis module, and the increase amplitude of the brightness value is inversely proportional to the light and shadow distance, where the light source distance is the straight-line distance between the light source in the test module and the center of gravity of the second rendering model.

[0071] Specifically, in this embodiment, when it is determined that the reason for the unqualified rendering is that there are too many target images attached to the original module, in order to improve the frame rate, it is possible to pre-divide the bright part and the dark part by adjusting the brightness value at the corresponding position during the process of generating a single target image, so as to be able to use the brightness value division to replace the light reflection rendering simulation process, thereby reducing the light reflection rendering operation parameters of the second rendering model, and further reducing the operation load of the computer system, thus improving the stuttering situation. The preset light source distance M0 can be divided into a first preset light source distance M1 and a second preset light source distance M2. The preset light source distance M3 is set to 0.5 meters, M1 = 0.8 × M3, and M2 = 1.2 × M3. It should be noted that the values of M1, M2, and M3 are not limited to the current values and can be specifically determined according to specific situations. The specific process of comparing the light source distance M with M1 and M2 is as follows:

[0072] If M ≤ M1, the control module uses the first brightness value adjustment coefficient to adjust the preprocessing process in the image preprocessing module, increasing the brightness value of the target image to 3.5 times the initial value. By adjusting the brightness value of the bright part of the target image, the bright part and the dark part of the target image are distinguished to simulate the light reflection rendering effect. If M1 < M ≤ M2, the control module uses the second brightness value adjustment coefficient to adjust the preprocessing process in the image preprocessing module, increasing the brightness value of the target image to 2.5 times the initial value. If M2 < M, the control module uses the third brightness value adjustment coefficient to adjust the preprocessing process in the image preprocessing module, increasing the brightness value of the target image to 1.5 times the initial value. By increasing the brightness value, the operating load of the computer system is reduced, indirectly improving the frame rate after rendering. The magnification of the increased brightness value can be adjusted according to specific circumstances, and the adjusted brightness value is rounded up.

[0073] Further, after increasing the brightness value of the bright part of the target image, the analysis module is further configured to determine to increase the area of the bright part based on the comparison result between the light and shadow distance and the preset light source distance, and the increase amplitude of the area is in direct proportion to the light and shadow distance.

[0074] Specifically, in this embodiment, if M ≤ M1, the control module uses the first bright part area adjustment coefficient to adjust the preprocessing process in the image preprocessing module, increasing the area of the bright part of the target image to 1.2 times the initial value. If M1 < M ≤ M2, the control module uses the second bright part area adjustment coefficient to adjust the preprocessing process in the image preprocessing module, increasing the area of the bright part of the target image to 1.6 times the initial value. If M2 < M, the control module uses the third bright part area adjustment coefficient to adjust the preprocessing process in the image preprocessing module, increasing the area of the bright part of the target image to 1.8 times the initial value. By increasing the bright part area, the operating load of the computer system is reduced, and the frame rate after rendering is improved at intervals. The magnification of the increased bright part area can be adjusted according to specific circumstances, and the adjusted bright part area value is rounded up.

[0075] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will all fall within the protection scope of the present invention.

[0076] The above are only the preferred embodiments of the present invention and are not intended to limit the present invention; for those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims

1. A 3D rendering control system based on artistic images, characterized in that, Including: A model construction module for constructing an original model to be rendered; An image acquisition module for acquiring a number of original images; An image preprocessing module connected to the image acquisition module for preprocessing a number of the original images to generate corresponding target images as rendering textures; A first rendering module connected to the model construction module and the image preprocessing module respectively for attaching a number of the target images to corresponding positions of the original model to generate a first rendered model; A second rendering module connected to the first rendering module for performing ray reflection rendering on the first rendered model to generate a second rendered model; A testing module connected to the second rendering module for generating a running screen based on the second rendered model and acquiring a number of frame rates within a preset period, and calculating a frame rate average based on the number of frame rates; An analysis module connected to the testing module for determining corresponding processing based on the frame rate average, including: outputting the second rendered model, or generating corresponding instructions based on reasons for non-compliance; An adjustment module connected to the image preprocessing module, the testing module, and the analysis module respectively for correcting the preprocessing of the image preprocessing module, reducing the screen resolution in the testing module, or reducing the determination criterion in the analysis module based on the instructions; 2. The 3D rendering control system based on art images according to claim 1, wherein The analysis module is further configured to make a determination based on the comparison result between the frame rate average and a preset frame rate average pre-stored in the analysis module, or re-determine whether the rendering process is qualified based on the variance of a number of historical frame rates within a preset period, and, in the case of determining that the rendering process is unqualified, determine the reason for non-compliance based on the difference in frame rate average, where the difference in frame rate average is the difference between the preset frame rate average and the frame rate average; 3. The 3D rendering control system based on artistic images according to claim 2, characterized in that, The analysis module is also configured to determine whether to reduce the determination criterion of the analysis module based on the comparison result between the variance and a preset variance pre-stored in the analysis module; 4. The 3D rendering control system based on artistic images according to claim 3, characterized in that, The analysis module is further configured to determine to reduce the determination criterion of the analysis module based on the comparison result between the variance difference and a preset variance difference pre-stored in the analysis module, and the reduction amplitude of the determination criterion is in a proportional relationship with the variance difference, where the variance difference is the difference between the preset variance and the variance, and the determination criterion is the pre-stored preset frame rate average; 5. The 3D rendering control system based on artistic images according to claim 2, wherein The analysis module is further configured to determine the reason for the unqualified rendering process based on the comparison result between the difference in frame rate average and a preset difference in frame rate average pre-stored in the analysis module, and generate a corresponding correction method based on the reason, including: reducing the screen resolution in the testing module, reducing the number of pixels of a single target image, and using brightness value division to replace ray reflection simulation; 6. The 3D rendering control system based on an art image according to claim 5, wherein, The analysis module is further configured to determine to reduce the screen resolution in the testing module based on the comparison result between the difference ratio and a preset difference ratio pre-stored in the analysis module, and the reduction amplitude of the screen resolution is in a proportional relationship with the difference ratio, where the difference ratio is the ratio between the preset difference in frame rate average and the difference in frame rate average; 7. The 3D rendering control system based on artistic images according to claim 6, wherein, After reducing the screen resolution of the test module, the analysis module is further configured to reduce the number of pixels of a plurality of the target images based on the reduced screen resolution, and the reduction amplitude of the number of pixels is in a direct proportional relationship with the reduction amplitude of the screen resolution.

8. The 3D rendering control system based on artistic images according to claim 5, wherein The analysis module is further configured to determine the reduction of the number of pixels of the target images based on the comparison result between the imaging distance and a preset imaging distance stored in the analysis module, and the reduction amplitude of the number of pixels is in a direct proportional relationship with the light and shadow distance, where the imaging distance is the straight-line distance between the camera that outputs the screen in the test module and the center of gravity of the second rendering model.

9. The 3D rendering control system based on artistic images according to claim 5, characterized in that, After using the division by brightness value to replace the light reflection simulation for the target images, the analysis module is further configured to determine the increase of the brightness value of the bright part on the target images based on the comparison result between the light source distance and a preset light source distance stored in the analysis module, and the increase amplitude of the brightness value is in an inverse proportional relationship with the light and shadow distance, where the light source distance is the straight-line distance between the light source in the test module and the center of gravity of the second rendering model.

10. The 3D rendering control system based on artistic images according to claim 9, wherein After increasing the brightness value of the bright part on the target images, the analysis module is further configured to determine the increase of the area of the bright part based on the comparison result between the light and shadow distance and the preset light source distance, and the increase amplitude of the area is in a direct proportional relationship with the light and shadow distance.

Citation Information

Patent Citations

  • Picture rendering method, device, terminal, and storage medium

    CN109285211A

  • Information processing device, information processing method, information processing program, and information processing system

    CN116964635A

  • Frame rate control method and device of virtual game, storage medium and electronic equipment

    CN118615705A

  • Digital twinning method based on real-time rendering

    CN119206100A