Rendering method, electronic equipment and storage medium
By dynamically adjusting the rendering parameters in the in-vehicle display system, the problem of rendering consistency between different screen sizes was solved, achieving seamless rendering and state synchronization across screens, thus improving user experience consistency and development efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-02
- Publication Date
- 2026-03-10
Smart Images

Figure CN121636029A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of intelligent driving, in particular to a rendering method applied to a vehicle display system, an electronic device and a storage medium. BACKGROUND
[0002] With the deep integration of the automotive industry and digital technology, modern car cabins are undergoing an unprecedented digital transformation. Vehicle display systems have evolved from traditional mechanical instruments to complex multi-screen interactive systems, including instrument panel displays, center console entertainment screens, co-pilot entertainment screens, and rear entertainment screens. These display screens differ significantly in size, resolution, and purpose, providing users with a more diverse and personalized interactive experience.
[0003] In the vehicle environment, Physically Based Rendering (PBR) technology has become a core technology for achieving high-quality visual effects. PBR simulates the physical interaction of light and materials in the real world, generating more realistic and consistent visual effects. In particular, in automotive interior rendering, PBR technology can accurately represent the optical properties of different materials such as metal, plastic, and leather, improving overall visual quality. ClearCoat, as an important extension of the PBR material model, is specifically used to simulate material surfaces with transparent coatings, such as car paint, polished metal, and wet surfaces. The ClearCoat layer can produce additional specular reflection effects, enhancing the realism and depth of materials, and in vehicle display systems, this technology is of great significance in representing the fine texture of instrument panels, center consoles, and other components.
[0004] However, existing technologies face significant challenges in handling rendering consistency between screens of different sizes. First, there is a lack of screen size adaptation mechanism. Current rendering techniques typically use fixed rendering parameters, which cannot dynamically adjust rendering effects according to screen size. Second, there are limitations in ClearCoat layer rendering. ClearCoat layer parameters (such as roughness, intensity) are fixed and cannot be dynamically adjusted according to screen characteristics and viewing environment. Third, there is a lack of adaptation of lighting and environmental reflections. Using a uniform environment map in a multi-screen system cannot be optimized according to different screen positions and sizes. Fourth, there is difficulty in balancing performance and quality. It is difficult to allocate rendering resources reasonably according to the importance and size of different screens. Fifth, there is a lack of a unified screen adaptation framework to handle rendering consistency between screens of different sizes. SUMMARY
[0005] To solve the above technical problems, the technical solution adopted by the present application is: A rendering method applied to a vehicle display system, the method comprising: In response to receiving a display command, the scaling factor of the target screen is obtained; the target screen includes an instrument display screen, a central control screen, a passenger-side screen, and a rear-seat screen. Obtain the rendering parameters of the target screen; the rendering parameters include material parameters and varnish parameters; The rendering parameters are adjusted according to the scaling factor to obtain the target rendering parameters; Rendering calculations are performed based on the target rendering parameters to render the content to be displayed onto the target screen.
[0006] Further, adjusting the rendering parameters according to the scaling factor to obtain the target rendering parameters includes: The scaling parameter is obtained by multiplying the rendering parameter by the scaling factor. The target rendering parameters are obtained by performing a mixed interpolation calculation on the rendering parameters and the scaling parameters.
[0007] Furthermore, the target rendering parameters also include the target blur radius; obtaining the rendering parameters of the target screen includes: Obtain the resolution of the target screen; Calculate the ratio of the resolution to the preset standard resolution to obtain the resolution factor corresponding to the target screen; The target blur radius is obtained by multiplying the preset blur radius by the resolution factor.
[0008] Furthermore, the target rendering parameters also include target reflection quality; obtaining the rendering parameters of the target screen includes: Calculate the distance from each pixel in the target screen to the center of the screen, and determine the weight coefficient corresponding to the reflection quality of each pixel based on the distance; the closer the pixel is to the center of the screen, the larger the weight coefficient corresponding to its reflection quality. The target reflection quality of each pixel is obtained by multiplying the weight coefficient corresponding to the reflection quality of each pixel with the preset reflection quality.
[0009] Furthermore, the target rendering parameters also include the MIP sampling level; obtaining the rendering parameters of the target screen includes: The material roughness of the target screen is determined based on the material parameters; Determine the MIP level corresponding to the material roughness, calculate the product of the MIP level and the scaling factor, and obtain the MIP sampling level.
[0010] Furthermore, the target rendering parameters also include a target Fresnel factor; obtaining the rendering parameters of the target screen includes: Obtain the standard Fresnel factor; The target Fresnel factor is obtained by multiplying the standard Fresnel factor by the scaling factor.
[0011] Furthermore, the target rendering parameters also include varnish roughness; obtaining the rendering parameters of the target screen includes: The viewport width of the target screen is determined. If the viewport width is a preset value, the target screen is determined to be the main screen, and the clear coat roughness corresponding to the main screen is matched to the target screen. If the viewport width is not the preset value, the target screen is determined to be a non-main screen, and the corresponding clear coat roughness is matched to the target screen according to the viewport width. The larger the value of the viewport width, the smaller the value of its corresponding clear coat roughness.
[0012] Furthermore, the target rendering parameters also include the computational complexity of the light source; obtaining the rendering parameters of the target screen includes: In the case where the target screen is the main screen, calculate the computational complexity of matching the light source corresponding to the main screen to the target screen. When the target screen is not the main screen, the computational complexity of matching the corresponding light source to the target screen is calculated based on the viewport width; the larger the value of the viewport width, the higher the computational complexity of the corresponding light source.
[0013] A non-transitory computer-readable storage medium storing at least one instruction or at least one program segment, the at least one instruction or the at least one program segment being loaded and executed by a processor to implement the aforementioned method.
[0014] An electronic device includes a processor and the aforementioned non-transitory computer-readable storage medium.
[0015] The present invention has at least the following beneficial effects: This invention dynamically adjusts the target rendering parameters of the target screen based on the scaling factor, which can effectively solve the rendering consistency problem of screens of different sizes. In a multi-screen system, it can achieve seamless rendering and state synchronization across screens, ensuring a consistent user experience when switching between different screens. At the same time, it eliminates the need to fine-tune rendering parameters for each screen size, reducing development and maintenance complexity and minimizing reconfiguration and testing work. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 A flowchart of a rendering method provided in an embodiment of the present invention; Figure 2 This is a structural diagram of a rendering system provided in an embodiment of the present invention. Detailed Implementation
[0018] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0019] This invention provides an embodiment of a rendering method applied to an in-vehicle display system, such as... Figure 1 As shown, it includes: S01: In response to receiving a display command, obtain the scaling factor of the target screen; the target screen includes the instrument display screen, the central control screen, the passenger screen, and the rear screen; S02: Obtain the rendering parameters of the target screen; the rendering parameters include material parameters and varnish parameters; S03: Adjust the rendering parameters according to the scaling factor to obtain the target rendering parameters; S04: Perform rendering calculations based on the target rendering parameters to render the content to be displayed onto the target screen.
[0020] The scaling factor is the ratio of the actual screen density to the reference density, and can be obtained in the following way: The scaling factor of the target screen relative to the reference size is obtained by calculating the ratio of the zw component length value of kzViewport to the reference screen size. The material parameters include metallicity, roughness or specular reflection, and gloss. The varnish parameters include roughness and strength.
[0021] Screens of different sizes often have different resolutions and pixel densities, which can lead to quality differences when using the same rendering algorithm on different screens. To address this issue, Figure 1 The embodiment described above dynamically adjusts the target rendering parameters of the target screen according to the scaling factor, which can effectively solve the rendering consistency problem of screens of different sizes. In a multi-screen system, it can achieve seamless rendering and state synchronization across screens, ensuring the consistency of user experience when switching between different screens. At the same time, it eliminates the need to fine-tune rendering parameters for each screen size, reducing development and maintenance complexity and reducing reconfiguration and testing work.
[0022] In one embodiment of the present invention, adjusting the rendering parameters according to the scaling factor to obtain the target rendering parameters includes: The scaling parameter is obtained by multiplying the rendering parameter by the scaling factor. The target rendering parameters are obtained by performing a mixed interpolation calculation on the rendering parameters and the scaling parameters.
[0023] The hybrid interpolation calculation is a technique that combines multiple interpolation methods to improve the accuracy and stability of the interpolation results, further ensuring the adaptability of the target rendering parameters to obtain better rendering effects and enhance the user experience. Specifically, the calculation process can use the `mix` function to perform a weighted average or other hybrid operation on the rendering parameters and the scaling parameters, with the interpolation weights determined by the scaling factor.
[0024] In one embodiment of the present invention, the target rendering parameters further include a target blur radius; obtaining the rendering parameters of the target screen includes: Obtain the resolution of the target screen; Calculate the ratio of the resolution to the preset standard resolution to obtain the resolution factor corresponding to the target screen; The target blur radius is obtained by multiplying the preset blur radius by the resolution factor.
[0025] The above embodiment automatically adjusts the blur processing parameters based on the target screen resolution to dynamically adjust the blur radius parameter. This ensures a suitable blur effect on devices with different resolutions, avoiding the problem of too weak a blur effect on high-resolution screens or too strong a blur effect on low-resolution screens. This adaptive adjustment mechanism guarantees consistent visual effects and performance for blur processing across various screen resolutions.
[0026] In one embodiment of the present invention, the target rendering parameters further include target reflection quality; obtaining the rendering parameters of the target screen includes: Calculate the distance from each pixel in the target screen to the center of the screen, and determine the weight coefficient corresponding to the reflection quality of each pixel based on the distance; the closer the pixel is to the center of the screen, the larger the weight coefficient corresponding to its reflection quality. The target reflection quality of each pixel is obtained by multiplying the weight coefficient corresponding to the reflection quality of each pixel with the preset reflection quality.
[0027] The above embodiment employs a screen position-based reflection quality adjustment strategy, determining the weighting coefficient of reflection quality by calculating the distance from the current pixel to the screen center. High-quality reflection is used in the central area of the screen, while the reflection quality gradually decreases towards the screen edges. This approach optimizes resource allocation, dedicating more computational resources to the user's visual focus area.
[0028] In one embodiment of the present invention, the target rendering parameters further include a MIP sampling level; obtaining the rendering parameters of the target screen includes: The material roughness of the target screen is determined based on the material parameters; Determine the MIP level corresponding to the material roughness, calculate the product of the MIP level and the scaling factor, and obtain the MIP sampling level.
[0029] The above embodiments dynamically adjust the blur level of the environment mapping according to the screen size, so as to obtain a consistent environment reflection effect on screens of different sizes.
[0030] In one embodiment of the present invention, the target rendering parameters further include a target Fresnel factor; obtaining the rendering parameters of the target screen includes: Obtain the standard Fresnel factor; The target Fresnel factor is obtained by multiplying the standard Fresnel factor by the scaling factor.
[0031] The above embodiments adjust the intensity of the Fresnel effect according to the screen size, thereby achieving screen size-related Fresnel effect adjustment.
[0032] In one embodiment of the present invention, the target rendering parameters further include varnish roughness; obtaining the rendering parameters of the target screen includes: The viewport width of the target screen is determined. If the viewport width is a preset value, the target screen is determined to be the main screen, and the clear coat roughness corresponding to the main screen is matched to the target screen. If the viewport width is not the preset value, the target screen is determined to be a non-main screen, and the corresponding clear coat roughness is matched to the target screen according to the viewport width. The larger the value of the viewport width, the smaller the value of its corresponding clear coat roughness.
[0033] The above embodiment determines whether the current rendering is the main screen. For non-main screens, the system will reduce the texture sampling quality and simplify the rendering calculation by quantizing the roughness value.
[0034] In one embodiment of the present invention, the target rendering parameters further include light source computational complexity; obtaining the rendering parameters of the target screen includes: In the case where the target screen is the main screen, calculate the computational complexity of matching the light source corresponding to the main screen to the target screen. When the target screen is not the main screen, the computational complexity of matching the corresponding light source to the target screen is calculated based on the viewport width; the larger the value of the viewport width, the higher the computational complexity of the corresponding light source.
[0035] The above embodiments dynamically adjust the complexity of light source calculations based on the importance level of the screen. The main screen uses the full number of light sources for calculation, while secondary screens limit the maximum number of light sources, thereby balancing rendering quality and performance consumption.
[0036] The aforementioned embodiments introduce unified parameters such as screen type and physical size. Different adaptation factors are returned based on the screen type (main screen, secondary screen, or dashboard, etc.). The main screen uses full-quality rendering, the secondary screen uses medium quality, and the dashboard, etc., uses basic quality. A unified screen adaptation function can be designed, which returns the corresponding adaptation factor based on the screen type and uses this factor to uniformly adjust all relevant rendering parameters, including roughness, varnish roughness, and blur radius. All parameter adjustments can be coordinated through a unified screen adaptation entry function. This function first obtains the adaptation factor based on the screen type, and then uses this factor to uniformly adjust various material parameters. The aforementioned embodiments effectively address the shortcomings of existing technologies in multi-screen environments, achieving more intelligent and adaptive rendering effects while balancing the performance and quality requirements of different screens.
[0037] This application also provides an embodiment of a rendering system applied to an in-vehicle display system, such as... Figure 2 As shown, it includes: The scaling factor acquisition module 21, in response to receiving a display command, acquires the scaling factor of the target screen; the target screen includes the instrument display screen, the central control screen, the passenger screen, and the rear screen; The rendering parameter acquisition module 22 acquires the rendering parameters of the target screen; the rendering parameters include material parameters and varnish parameters. The parameter adjustment module 23 adjusts the rendering parameters according to the scaling factor to obtain the target rendering parameters; The rendering module 24 performs rendering calculations based on the target rendering parameters to render the content to be displayed onto the target screen.
[0038] In one embodiment of the present invention, adjusting the rendering parameters according to the scaling factor to obtain the target rendering parameters includes: The scaling parameter is obtained by multiplying the rendering parameter by the scaling factor. The target rendering parameters are obtained by performing a mixed interpolation calculation on the rendering parameters and the scaling parameters.
[0039] In one embodiment of the present invention, the target rendering parameters further include a target blur radius; obtaining the rendering parameters of the target screen includes: Obtain the resolution of the target screen; Calculate the ratio of the resolution to the preset standard resolution to obtain the resolution factor corresponding to the target screen; The target blur radius is obtained by multiplying the preset blur radius by the resolution factor.
[0040] In one embodiment of the present invention, the target rendering parameters further include target reflection quality; obtaining the rendering parameters of the target screen includes: Calculate the distance from each pixel in the target screen to the center of the screen, and determine the weight coefficient corresponding to the reflection quality of each pixel based on the distance; the closer the pixel is to the center of the screen, the larger the weight coefficient corresponding to its reflection quality. The target reflection quality of each pixel is obtained by multiplying the weight coefficient corresponding to the reflection quality of each pixel with the preset reflection quality.
[0041] In one embodiment of the present invention, the target rendering parameters further include a MIP sampling level; obtaining the rendering parameters of the target screen includes: The material roughness of the target screen is determined based on the material parameters; Determine the MIP level corresponding to the material roughness, calculate the product of the MIP level and the scaling factor, and obtain the MIP sampling level.
[0042] In one embodiment of the present invention, the target rendering parameters further include a target Fresnel factor; obtaining the rendering parameters of the target screen includes: Obtain the standard Fresnel factor; The target Fresnel factor is obtained by multiplying the standard Fresnel factor by the scaling factor.
[0043] In one embodiment of the present invention, the target rendering parameters further include varnish roughness; obtaining the rendering parameters of the target screen includes: The viewport width of the target screen is determined. If the viewport width is a preset value, the target screen is determined to be the main screen, and the clear coat roughness corresponding to the main screen is matched to the target screen. If the viewport width is not the preset value, the target screen is determined to be a non-main screen, and the corresponding clear coat roughness is matched to the target screen according to the viewport width. The larger the value of the viewport width, the smaller the value of its corresponding clear coat roughness.
[0044] In one embodiment of the present invention, the target rendering parameters further include light source computational complexity; obtaining the rendering parameters of the target screen includes: In the case where the target screen is the main screen, calculate the computational complexity of matching the light source corresponding to the main screen to the target screen. When the target screen is not the main screen, the computational complexity of matching the corresponding light source to the target screen is calculated based on the viewport width; the larger the value of the viewport width, the higher the computational complexity of the corresponding light source.
[0045] Figure 2 The embodiment described above dynamically adjusts the target rendering parameters of the target screen according to the scaling factor, which can effectively solve the rendering consistency problem of screens of different sizes. In a multi-screen system, it can achieve seamless rendering and state synchronization across screens, ensuring the consistency of user experience when switching between different screens. At the same time, it eliminates the need to fine-tune rendering parameters for each screen size, reducing development and maintenance complexity and reducing reconfiguration and testing work.
[0046] Figure 2 The embodiment is as follows: Figure 1 The system implementation corresponding to the method implementation is described above. Figure 2 The implementation process and technical effects of the embodiments are as follows: Figure 1 The embodiments described are similar, therefore, for Figure 2 The description of the embodiments is relatively simple; please refer to relevant details. Figure 1 The embodiment described above.
[0047] Furthermore, although the steps of the method in this disclosure are described in a specific order in the accompanying drawings, this does not require or imply that the steps must be performed in that specific order, or that all the steps shown must be performed to achieve the desired result. Additional or alternative steps may be omitted, multiple steps may be combined into one step, and / or a step may be broken down into multiple steps.
[0048] From the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, mobile terminal, or network device, etc.) to execute the methods according to the embodiments of this disclosure.
[0049] In an exemplary embodiment of this disclosure, an electronic device capable of implementing the above-described method is also provided.
[0050] Those skilled in the art will understand that various aspects of this application can be implemented as a system, method, or program product. Therefore, various aspects of this application can be specifically implemented in the following forms: a completely hardware implementation, a completely software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, collectively referred to herein as a "circuit," "module," or "system."
[0051] An electronic device according to this embodiment of the present application. The electronic device is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments of this application.
[0052] Electronic devices are manifested in the form of general-purpose computing devices. Components of an electronic device may include, but are not limited to: at least one processor, at least one memory, and buses connecting different system components (including memory and processor).
[0053] The storage device stores program code that can be executed by the processor to perform the steps described in the "Exemplary Methods" section above, according to various exemplary embodiments of this application.
[0054] The storage may include readable media in the form of volatile storage, such as random access memory (RAM) and / or cache memory, and may further include read-only memory (ROM).
[0055] The storage may also include programs / utilities having a set (at least one) of program modules, including but not limited to: an operating system, one or more applications, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment.
[0056] A bus can represent one or more of several bus architectures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus that uses any of the various bus architectures.
[0057] The electronic device can also communicate with one or more external devices (e.g., keyboards, pointing devices, Bluetooth devices, etc.), one or more devices that enable a user to interact with the electronic device, and / or any device that enables the electronic device to communicate with one or more other computing devices (e.g., routers, modems, etc.). This communication can be performed via input / output (I / O) interfaces. Furthermore, the electronic device can communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter. The network adapter communicates with other modules of the electronic device via a bus. It should be understood that, although not shown in the figures, other hardware and / or software modules can be used in conjunction with the electronic device, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0058] From the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, terminal device, or network device, etc.) to execute the methods according to the embodiments of this disclosure.
[0059] In exemplary embodiments of this disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the methods described above is stored. In some possible implementations, various aspects of this application may also be implemented as a program product comprising program code that, when the program product is run on a terminal device, causes the terminal device to perform the steps of the various exemplary embodiments of this application described in the "Exemplary Methods" section above.
[0060] The program product may employ any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0061] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium, capable of sending, propagating, or transmitting programs for use by or in conjunction with an instruction execution system, apparatus, or device.
[0062] The program code contained on the readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical fiber, RF, etc., or any suitable combination thereof.
[0063] Program code for performing the operations of this application can be written in any combination of one or more programming languages, including object-oriented programming languages such as Java and C++, and conventional procedural programming languages such as C or similar languages. The program code can execute entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).
[0064] Furthermore, the above figures are merely illustrative of the processes included in the method according to exemplary embodiments of this application, and are not intended to be limiting. It is readily understood that the processes shown in the above figures do not indicate or limit the temporal order of these processes. Additionally, it is readily understood that these processes may be executed synchronously or asynchronously, for example, in multiple modules.
[0065] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to embodiments of this disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0066] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A rendering method applied to a vehicle display system, characterized in that, The method comprises: in response to receiving a display instruction, obtaining a scaling factor of a target screen; the target screen comprises an instrument display screen, a central control screen, a copilot screen, and a rear screen; obtaining rendering parameters of the target screen; the rendering parameters comprise material parameters and varnish parameters; adjusting the rendering parameters according to the scaling factor to obtain target rendering parameters; performing rendering calculation according to the target rendering parameters to render the content to be displayed to the target screen.
2. The method of claim 1, wherein, The method comprises: calculating the product of the rendering parameters and the scaling factor to obtain scaling parameters; performing mixed interpolation calculation on the rendering parameters and the scaling parameters to obtain target rendering parameters.
3. The method of claim 2, wherein, The target rendering parameters further comprise a target blur radius; the method comprises: obtaining the resolution of the target screen; calculating the ratio of the resolution to a preset standard resolution to obtain a resolution factor corresponding to the target screen; calculating the product of a preset blur radius and the resolution factor to obtain a target blur radius.
4. The method according to any of claims 1 to 3, characterized in that, The target rendering parameters further comprise a target reflection quality; the method comprises: calculating the distance of each pixel point in the target screen to the center of the screen, and determining the weight coefficient corresponding to the reflection quality of each pixel point according to the distance; the closer the pixel point is to the center of the screen, the greater the weight coefficient corresponding to the reflection quality of the pixel point is; calculating the product of the weight coefficient corresponding to the reflection quality of each pixel point and a preset reflection quality to obtain the target reflection quality corresponding to each pixel point.
5. The method of claim 4, wherein, The target rendering parameters further comprise a MIP sampling level; the method comprises: determining the material roughness of the target screen according to the material parameters; determining the MIP level corresponding to the material roughness, and calculating the product of the MIP level and the scaling factor to obtain a MIP sampling level.
6. The method of any of claims 1 or 2 or 3 or 5, wherein, The target rendering parameters further comprise a target Fresnel factor; the method comprises: obtaining a standard Fresnel factor; calculating the product of the standard Fresnel factor and the scaling factor to obtain a target Fresnel factor.
7. The method of claim 6, wherein, The target rendering parameters further comprise a varnish roughness; the method comprises: determining the viewport width of the target screen, if the viewport width is a preset value, determining that the target screen is a main screen, and matching the varnish roughness corresponding to the main screen for the target screen; if the viewport width is not the preset value, determining that the target screen is a non-main screen, and matching the corresponding varnish roughness for the target screen according to the viewport width; the greater the value of the viewport width, the smaller the value of the corresponding varnish roughness.
8. The method of claim 7, wherein, The target rendering parameters further comprise light source calculation complexity; the method comprises: if the target screen is a main screen, matching the light source calculation complexity corresponding to the main screen for the target screen; In the case that the target screen is a non-main screen, a corresponding light source calculation complexity is matched for the target screen according to the viewport width; the greater the value of the viewport width is, the higher the corresponding light source calculation complexity is. 9.A non-transitory computer readable storage medium having stored therein at least one instruction or at least one piece of program, the at least one instruction or the at least one piece of program being loaded and executed by a processor to implement the method according to any one of claims 1-8.
10. An electronic device, comprising: A device comprising a processor and a non-transitory computer readable storage medium according to claim 9.