A rendering method and apparatus, an electronic device, and a medium
By acquiring vehicle status information in real time and overlaying ambient effects based on trigger conditions, and adjusting rendering parameters frame by frame, the problem of disconnect between ambient effects and vehicle status in the smart cockpit is solved, achieving dynamic response and smooth transition, thus improving user experience and system performance.
Patent Information
- Application Number
- CN202611382046.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-07
- Publication Date
- 2026-11-27
AI Technical Summary
Existing environmental rendering technologies in smart cockpits cannot respond to changes in vehicle status in real time, resulting in a disconnect between atmospheric effects and the real environment. The effects are static and cannot be adjusted, the rendering range is limited, and issues such as the performance of the vehicle's infotainment system are not taken into account.
By determining vehicle status information, atmospheric effects are superimposed based on trigger conditions, and rendering parameters are adjusted frame by frame when a preset event is detected, so as to achieve dynamic linkage between atmospheric effects and the real vehicle environment and user interaction. This includes obtaining weather, time, driving and display status signals, selecting target rendering resources and display devices, adjusting rendering parameters and transition duration, priority arbitration, etc.
It improves the linkage and consistency between ambient effects and the actual vehicle status, avoids visual abrupt changes, ensures driving safety, optimizes system resource utilization, and enhances user experience.
Smart Images

Figure CN123181789A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the fields of vehicle networking and smart cockpit technology, and in particular to a rendering method and apparatus, electronic equipment and medium. Background Technology
[0002] In the field of connected vehicle technology, environmental rendering technology in smart cockpits utilizes computer graphics to render virtual scenes into realistic visual images, providing a more authentic visual experience. With the continuous development of computer graphics technology, environmental rendering technology in smart cockpits is also constantly improving, enabling real-time rendering—that is, responding instantly to user actions and providing a more realistic and fluid interactive experience. Summary of the Invention
[0003] This disclosure provides a rendering method, apparatus, electronic device, and medium, which can overlay rendered atmosphere effects on the vehicle's display interface in real time based on the vehicle's real-time status to respond to real-world environmental changes.
[0004] The first aspect of this disclosure proposes a rendering method, comprising: determining vehicle state information, the state information including the weather conditions of the area where the vehicle is located and / or the current time state of the vehicle; in response to the state information satisfying a trigger condition, overlaying a rendering atmosphere effect on the display content of the vehicle's display interface based on the rendering resources corresponding to the state information; in response to detecting a preset event, adjusting the rendering parameters of the atmosphere effect frame by frame based on the preset event, and displaying the change process of the atmosphere effect through the display interface.
[0005] This disclosed solution obtains weather and / or time status by determining the vehicle's status information, and overlays atmospheric effects based on corresponding rendering resources when the status information meets the triggering conditions. When a preset event is detected, the rendering parameters of the atmospheric effects are adjusted frame by frame and the continuous change process is displayed. This achieves dynamic visual feedback that links the cabin atmospheric effects with the vehicle's real environment and user interaction, thereby improving the consistency between the atmospheric effects and the vehicle's real state.
[0006] In this disclosure, determining the vehicle's status information includes: acquiring a vehicle status signal, the status signal including at least one of a weather status signal, a time status signal, a driving status signal, and a display status signal of a display device; and determining status information based on the status signal, the status information further including at least one of a vehicle status, a display status, and a load status, the vehicle status including a first status and a second status, and the display status including the status of a first display device and / or a second display device.
[0007] This disclosed solution acquires weather status signals, time status signals, driving status signals, and display status signals of the display device, and determines status information including vehicle status, display status, and load status based on these status signals. It can acquire real-time status information inside and outside the vehicle, as well as the vehicle's own operating status, providing a data foundation for the triggering and rendering of subsequent ambient effects. This avoids the problem of ambient effects deviating from the vehicle's actual status, thereby improving the accuracy of ambient effect triggering.
[0008] In this disclosure, in response to the state information meeting the triggering condition, rendering atmosphere effects are superimposed on the display content of the vehicle's display interface based on the rendering resources corresponding to the state information, including: in response to the state information meeting the triggering condition, determining the target rendering resource and the target display device based on the state information; and superimposing the rendering target atmosphere effects on the display content of the target display interface corresponding to the target display device based on the target rendering resource and the state information.
[0009] This disclosed solution determines the target rendering resources and target display device based on state information, and overlays the target atmosphere effect on the display interface of the target display device based on the target rendering resources and state information. This enables the rendering of the atmosphere effect to match the current environmental state of the vehicle and the available display devices, thereby improving the adaptability of the atmosphere effect rendering.
[0010] In this disclosure, the triggering conditions include at least one of the following: the weather status in the status information is preset weather, and the preset weather includes type and level; the time status in the status information meets preset time conditions, and the preset time conditions include preset date and preset time period.
[0011] This disclosed solution uses weather or time status as triggering conditions, enabling the triggering of atmospheric effects to be synchronized with external weather changes or time, thereby achieving diversified ways to trigger atmospheric effects and enhancing users' perception of various real-world scenarios.
[0012] In this disclosure, in response to the state information satisfying the triggering condition, the target rendering resource and the target display device are determined based on the state information, including: determining the target display device based on the vehicle state in the state information; and determining the target rendering resource based on the state information and the display state of the target display device.
[0013] This disclosed solution determines the target display device based on the vehicle status and the target rendering resource based on the display status of the target display device. This enables the rendering device and rendering resource of the atmosphere effect to adapt to the current operating status of the vehicle and the display content of the display device, thereby improving the adaptability of the atmosphere effect rendering.
[0014] In this disclosure, determining a target display device based on the vehicle state in the state information includes: in response to the vehicle state being a first state, determining a first display device as the target display device, wherein the first display device is used to display a first interface or a second interface, the first interface is used to display at least one preset window, and the second interface is used to display a three-dimensional model of the vehicle; or in response to the vehicle state being a second state, determining the first display device and / or the second display device as the target display device, wherein the second display device is used to display the driving state of the vehicle.
[0015] This disclosed solution enables the ambient effects to adapt to different display devices under different vehicle conditions by flexibly selecting the first display device and / or the second display device as the target display device according to the vehicle status, thereby improving the diversity of ambient effect display.
[0016] In this disclosure, the first state is the driving state, and the target display device is the central control screen; the second state is the parking state, and the target display device is the central control screen and / or head-up display.
[0017] The disclosed solution uses the vehicle's driving or parking status to select the central control screen and / or head-up display as the target display device for rendering. This allows for flexible presentation of rendering effects to the user through different display interfaces while avoiding obscuring necessary driving information during driving, thus ensuring driving safety.
[0018] In this disclosure, the target rendering resource is determined based on state information and the display state of the target display device, including any one of the following: in response to the display state of the target display device being a 3D model displaying a vehicle, a first preset rendering resource corresponding to the state information is determined as the target rendering resource; in response to the display state of the target display device being a 3D model not displaying a vehicle, a second preset rendering resource corresponding to the state information is determined as the target rendering resource.
[0019] This disclosed solution selects the corresponding preset rendering resources based on whether the target display device displays a 3D model of the vehicle. This enables the rendering method of the atmosphere effects to be adapted to the display content of the display device. On interfaces displaying 3D models, the atmosphere of the real environment can be perceived by the user through the superposition rendering of 3D space, thus improving the adaptability of the atmosphere effects display.
[0020] In this disclosure, a target atmosphere effect is superimposed and rendered on the display content of the target display interface corresponding to the target display device based on target rendering resources and status information. This includes: responding to the weather status in the status information being preset weather, determining the initial rendering parameters of the target atmosphere effect based on the target rendering resources and the level of the preset weather; superimposing and rendering the target atmosphere effect on the display content of the target display interface based on the initial rendering parameters, and displaying the initial rendering status of the target atmosphere effect through the target display interface.
[0021] This disclosed solution determines the initial rendering parameters of the target atmosphere effect based on the preset weather level, which enables the initial rendering intensity of the atmosphere effect to correspond to the weather level, thereby improving the consistency between the atmosphere effect and the real environment.
[0022] In this disclosure, based on initial rendering parameters, a target atmosphere effect is overlaid and rendered on the display content of the target display interface, and the initial rendering state of the target atmosphere effect is displayed through the target display interface. This includes: in response to the target display device including a first display device and the first display device displaying a first interface, overlaying and rendering the target atmosphere effect in a preset area of the first display device based on the initial rendering parameters, wherein the preset area is the area in the display interface of the first display device other than at least one preset window; and displaying the initial rendering state of the target atmosphere effect through the preset area.
[0023] This disclosed solution overlays and renders target ambient effects in a preset area of a first display device, and the preset area is an area other than the preset window. This allows the ambient effects to be overlaid and rendered without obscuring the display of driving-related information, thereby enhancing the cabin atmosphere while ensuring driving safety.
[0024] In this disclosure, in response to the detection of a preset event, the rendering parameters of the ambient effect are adjusted frame by frame based on the preset event, and the change process of the ambient effect is displayed through a display interface. This includes: determining the target rendering parameters, the target transition area corresponding to the target rendering parameters, and the target transition duration based on the preset event; adjusting the initial rendering parameters of the target transition area in the display interface frame by frame based on the preset transition curve and / or the target transition duration until the initial rendering parameters are adjusted to the target rendering parameters, and displaying the change process of the target ambient effect from the initial rendering state to the target rendering state in the target transition area.
[0025] This disclosed solution determines the target rendering parameters, target transition area, and target transition duration based on preset events, and adjusts the rendering parameters frame by frame based on preset transition curves and target transition duration. This enables the rendering parameters of the atmosphere effect to smoothly transition from the initial value to the target value, avoiding visual abrupt changes caused by parameter jumps. This makes the change process of the atmosphere effect smoother and more natural, improves the linkage between the atmosphere effect and the changes in the real scene, and thus enhances the user's visual experience.
[0026] In this disclosure, the preset events include at least one of the following: the preset function corresponding to the preset weather is switched from a closed state to an open state; the preset function corresponding to the preset weather is switched from an open state to a closed state; user interaction operations.
[0027] This disclosed solution defines the activation or deactivation of preset functions corresponding to preset weather and user interaction as preset events. This enables the adjustment of the rendering parameters of the ambient effects to be associated with changes in vehicle function status and user interaction, thereby realizing dynamic changes in the ambient effects as preset events occur, and improving the linkage between the ambient effects and the real vehicle status and user operation.
[0028] In this disclosure, based on a preset event, the target rendering parameters, the target transition area corresponding to the target rendering parameters, and the target transition duration are determined, including any one of the following: in response to a preset event that a preset function is switched from a closed state to an open state or a preset function is switched from an open state to a closed state, the target rendering parameters corresponding to the preset function, as well as the target transition area and the target transition duration are determined; in response to a preset event that is a user's interactive operation, the target transition area, as well as the target rendering parameters and the target transition duration are determined based on the trajectory of the interactive operation.
[0029] This disclosed solution employs different methods for determining target rendering parameters, target transition areas, and target transition durations for different types of preset events. When the preset function is enabled, it achieves deterministic and consistent rendering parameter adjustments through pre-configured parameters. When users interact with the system, it dynamically generates target transition areas and determines target transition durations based on the interaction trajectory. This enables the adjustment area of the ambient effects to accurately correspond to the user's gesture trajectory and achieves rapid response, thereby improving the accuracy of ambient effect adjustments.
[0030] In this disclosure, based on a preset transition curve and / or a target transition duration, the initial rendering parameters of the target transition area in the display interface are adjusted frame by frame until the initial rendering parameters are adjusted to the target rendering parameters, and the change process of the target atmosphere effect from the initial rendering state to the target rendering state is displayed in the target transition area. This includes: in response to the target transition duration being greater than a preset value, for each frame image within the target transition duration, determining the interpolation weight corresponding to each frame image based on the ratio of the duration corresponding to each frame image to the target transition duration and the preset transition curve; determining the rendering parameters of each frame image according to the interpolation weight, the initial rendering parameters, and the target rendering parameters, so as to overlay rendering on the target transition area until the target rendering state of the target atmosphere effect is reached.
[0031] This disclosed solution determines the interpolation weight for each frame within the target transition duration based on the ratio of the duration of each frame to the target transition duration and a preset transition curve. Then, it determines the rendering parameters for each frame based on the interpolation weight, initial rendering parameters, and target rendering parameters. This ensures that the rate of change of the rendering parameters from the initial value to the target value conforms to the change law of the preset transition curve, thereby achieving a smooth and continuous change of the atmosphere effect from the initial rendering state to the target rendering state within the target transition area. This avoids visual abrupt changes caused by parameter jumps and improves the continuity of the atmosphere effect changes.
[0032] In this disclosure, based on a preset transition curve and / or a target transition duration, the initial rendering parameters of the target transition area in the display interface are adjusted frame by frame until the initial rendering parameters are adjusted to the target rendering parameters, and the change process of the target atmosphere effect from the initial rendering state to the target rendering state is displayed in the target transition area, including: in response to the target transition duration being less than or equal to a preset value, adjusting the initial rendering parameters of the target transition area to the target rendering parameters.
[0033] The disclosed solution quickly adjusts the rendering parameters to the target rendering parameters when the transition time is less than or equal to the preset value, thereby achieving a fast response of the display interface.
[0034] In this disclosure, the method further includes at least one of the following: in response to the load state of the state information being a preset load state, stopping the frame-by-frame adjustment of the rendering parameters of the ambient effect, and maintaining the rendering state corresponding to the rendering parameters before stopping the frame-by-frame adjustment; in response to the end of a preset event, adjusting the rendering parameters of the target transition area in the target display interface from the target rendering parameters to the initial rendering parameters frame by frame.
[0035] This disclosed solution, by stopping frame-by-frame adjustment of the ambient effect rendering parameters when the load state of the status information is at a preset load state and maintaining the current rendering state on the display interface, can prevent the ambient effect rendering from continuing to consume system resources under high load conditions, thereby ensuring the normal operation of other core vehicle functions when system resources are scarce. Furthermore, by adjusting the rendering parameters of the target transition area in the target display interface frame-by-frame from the target rendering parameters to the initial rendering parameters after the preset event ends, the ambient effect can automatically recover to the rendering state matching the current environment state after the user closes the preset function, without requiring manual user intervention, thereby improving the user experience of ambient effect rendering.
[0036] In this disclosure, the method further includes: in response to multiple atmospheric effects corresponding to state information satisfying triggering conditions, determining the priority of multiple atmospheric effects; determining a target atmospheric effect based on the priority of multiple atmospheric effects; wherein the multiple atmospheric effects include a first atmospheric effect and a second atmospheric effect, and the priority of the first atmospheric effect is higher than the priority of the second atmospheric effect.
[0037] This disclosed solution determines the priority of multiple ambient effects and selects the target ambient effect based on that priority. This allows the ambient effects to be rationally determined according to their priority when multiple ambient effects are triggered simultaneously, avoiding conflicts when multiple ambient effects are displayed at the same time, thereby improving the coordination of the display of ambient effects.
[0038] In this disclosure, determining a target ambient effect based on the priority of multiple ambient effects includes: in response to the target display device being a first display device, determining the higher priority ambient effect as the target ambient effect based on the priority of multiple ambient effects; in response to the target display device being a second display device, overlaying and rendering the first ambient effect on the second display device, and detecting that state information that meets the triggering conditions corresponds to the second ambient effect, determining the second ambient effect as the target ambient effect.
[0039] This disclosed solution determines the target ambient effects by adopting corresponding priority rules based on the type of the target display device. The ambient effects are then determined on the central control screen according to their type priority, and interrupted on the head-up display according to their arrival order. This achieves reasonable determination of ambient effects on different display devices, and the central control screen and head-up display can be displayed simultaneously, thereby improving the coordination of ambient effect display and user experience.
[0040] In summary, this disclosure determines the vehicle's state information and, when the state information meets the triggering conditions, overlays atmospheric effects based on corresponding rendering resources to simulate the visual effects corresponding to the external environment state. When a preset event is detected, the rendering parameters of the atmospheric effects are adjusted frame by frame and their continuous change process is displayed to dynamically respond to changes in vehicle function state or user interaction operations. This allows the atmospheric effects to dynamically change according to changes in the vehicle state and achieve a smooth and continuous transition of rendering parameters. It effectively solves the technical problems in related technologies, such as the rendering results being disconnected from the actual vehicle state, static and unadjustable effects, limited rendering range, and failure to consider the performance of the vehicle system. This improves the dynamic response performance and real-time interactivity of the intelligent cockpit atmospheric effects.
[0041] A second aspect of this disclosure discloses a rendering apparatus, comprising: a determining module configured to determine vehicle state information, the state information including the weather conditions of the area where the vehicle is located and / or the current time state of the vehicle; a rendering module configured to, in response to the state information satisfying a trigger condition, overlay rendering atmosphere effects onto the display content of the vehicle's display interface based on rendering resources corresponding to the state information; and an adjusting module configured to, in response to the detection of a preset event, adjust the rendering parameters of the atmosphere effects frame by frame based on the preset event, and display the change process of the atmosphere effects through the display interface.
[0042] In this disclosure, the determining module is configured to: acquire a vehicle status signal, the status signal including at least one of a weather status signal, a time status signal, a driving status signal, and a display status signal of a display device; and determine status information based on the status signal, the status information including at least one of a vehicle status, a display status, and a load status, the vehicle status including a first status and a second status, and the display status including the status of a first display device and / or a second display device.
[0043] In this disclosure, the determining module is configured to: determine the target rendering resource and the target display device based on the state information in response to the state information satisfying the triggering condition; the rendering module is configured to: overlay the rendering target atmosphere effect on the display content of the target display interface corresponding to the target display device based on the target rendering resource and the state information.
[0044] In this disclosure, the triggering conditions include at least one of the following: the weather status in the status information is preset weather, and the preset weather includes type and level; the time status in the status information meets preset time conditions, and the preset time conditions include preset date and preset time period.
[0045] In this disclosure, the determining module is configured to: determine the target display device based on the vehicle status in the status information; and determine the target rendering resource based on the status information and the display status of the target display device.
[0046] In this disclosure, the determining module is configured to: in response to the vehicle state being a first state, determine the first display device as the target display device, the first display device being used to display a first interface or a second interface, the first interface being used to display at least one preset window, and the second interface being used to display a three-dimensional model of the vehicle; or in response to the vehicle state being a second state, determine the first display device and / or the second display device as the target display device, the second display device being used to display the driving state of the vehicle.
[0047] In this disclosure, the first state is the driving state, and the target display device is the central control screen; the second state is the parking state, and the target display device is the central control screen and / or head-up display.
[0048] In this disclosure, the determining module is configured to: in response to the target display device displaying a 3D model of a vehicle, determine a first preset rendering resource corresponding to the status information as the target rendering resource; and in response to the target display device displaying a 3D model of a vehicle not being displayed, determine a second preset rendering resource corresponding to the status information as the target rendering resource.
[0049] In this disclosure, the determining module is configured to: in response to the weather status in the status information being a preset weather, determine the initial rendering parameters of the target atmosphere effect based on the target rendering resource and the level of the preset weather; the rendering module is configured to: based on the initial rendering parameters, overlay the target atmosphere effect onto the display content of the target display interface, and display the initial rendering status of the target atmosphere effect through the target display interface.
[0050] In this disclosure, the rendering module is configured to: in response to a target display device including a first display device and the first display device displaying a first interface, overlay a target atmosphere effect on a preset area of the first display device based on initial rendering parameters, wherein the preset area is an area in the display interface of the first display device other than at least one preset window; and display the initial rendering state of the target atmosphere effect through the preset area.
[0051] In this disclosure, the determining module is configured to: determine the target rendering parameters, the target transition area corresponding to the target rendering parameters, and the target transition duration based on a preset event; the rendering module is configured to: adjust the initial rendering parameters of the target transition area in the display interface frame by frame based on a preset transition curve and / or the target transition duration, until the initial rendering parameters are adjusted to the target rendering parameters, and display the change process of the target atmosphere effect from the initial rendering state to the target rendering state in the target transition area.
[0052] In this disclosure, the preset events include at least one of the following: the preset function corresponding to the preset weather is switched from a closed state to an open state; the preset function corresponding to the preset weather is switched from an open state to a closed state; user interaction operations.
[0053] In this disclosure, the determining module is configured to: in response to a preset event that a preset function is switched from a closed state to an open state or a preset function is switched from an open state to a closed state, determine the target rendering parameters, target transition area and target transition duration corresponding to the preset function; and in response to a preset event that is a user interaction operation, determine the target transition area, target rendering parameters and target transition duration based on the trajectory of the interaction operation.
[0054] In this disclosure, the adjustment module is configured to: respond to a target transition duration exceeding a preset value, for each frame of an image within the target transition duration, determine the interpolation weight corresponding to each frame of an image based on the ratio of the duration corresponding to each frame of an image to the target transition duration and a preset transition curve; and determine the rendering parameters of each frame of an image based on the interpolation weight, initial rendering parameters, and target rendering parameters, so as to overlay rendering on the target transition area until the target rendering state of the target atmosphere effect is achieved.
[0055] In this disclosure, the adjustment module is configured to adjust the initial rendering parameters of the target transition region to the target rendering parameters in response to the target transition duration being less than or equal to a preset value.
[0056] In this disclosure, the adjustment module is configured to: stop adjusting the rendering parameters of the ambient effect frame by frame in response to the load state of the status information being a preset load state, and maintain the rendering state corresponding to the rendering parameters before the frame-by-frame adjustment was stopped; and adjust the rendering parameters of the target transition area in the target display interface frame by frame from the target rendering parameters to the initial rendering parameters in response to the end of a preset event.
[0057] In this disclosure, the determining module is configured to: determine the priority of multiple atmosphere effects in response to multiple atmosphere effects corresponding to the state information satisfying the triggering condition; and determine the target atmosphere effect based on the priority of the multiple atmosphere effects; wherein the multiple atmosphere effects include a first atmosphere effect and a second atmosphere effect, and the priority of the first atmosphere effect is higher than the priority of the second atmosphere effect.
[0058] In this disclosure, the determining module is configured to: in response to the target display device being a first display device, determine the high-priority ambient effect as the target ambient effect based on the priority of multiple ambient effects; in response to the target display device being a second display device, overlay and render the first ambient effect on the second display device, and detect the state information that meets the triggering conditions corresponding to the second ambient effect, determine the second ambient effect as the target ambient effect.
[0059] In summary, the rendering device proposed in this disclosure determines the vehicle's state information and, when the state information meets the triggering conditions, overlays rendering atmosphere effects based on corresponding rendering resources to simulate the visual effects corresponding to the external environment state. When a preset event is detected, the rendering parameters of the atmosphere effects are adjusted frame by frame and their continuous change process is displayed to dynamically respond to changes in vehicle function state or user interaction operations. This enables the atmosphere effects to change dynamically according to changes in vehicle state and achieve a smooth and continuous transition of rendering parameters, thereby improving the dynamic response performance and real-time interactivity of the intelligent cockpit atmosphere effects.
[0060] A third aspect of this disclosure provides an electronic device comprising: a processor and a memory for storing a computer program capable of running on the processor, wherein, when the processor is used to run the computer program, it performs the method described in any embodiment of the first aspect of this disclosure.
[0061] A fourth aspect of this disclosure provides a computer-readable storage medium storing computer instructions for causing a computer to perform the methods described in any embodiment of the first aspect of this disclosure.
[0062] The fifth aspect of this disclosure provides a program product including computer instructions for causing a computer to perform the methods described in any embodiment of the first aspect of this disclosure.
[0063] In summary, the rendering method and apparatus proposed in this disclosure determine the vehicle's state information and, when the state information meets the triggering conditions, overlay rendering atmosphere effects based on corresponding rendering resources to simulate the visual effects corresponding to the external environment state. When a preset event is detected, the rendering parameters of the atmosphere effects are adjusted frame by frame and their continuous change process is displayed to dynamically respond to changes in vehicle function state or user interaction operations. This realizes the upgrade of the cabin atmosphere effects from static display to dynamic visual feedback that is linked with the real vehicle environment and user interaction, thereby improving the dynamic response performance and real-time interactivity of the intelligent cabin atmosphere effects.
[0064] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0065] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure, and are not intended to unduly limit this disclosure.
[0066] Figure 1 This is one of the flowcharts illustrating the rendering method in an embodiment of this disclosure; Figure 2 This is a second schematic flowchart illustrating the rendering method according to an embodiment of the present disclosure; Figure 3 This is the third schematic flowchart illustrating the rendering method according to an embodiment of the present disclosure; Figure 4 This is a flowchart illustrating the atmosphere priority arbitration and cache pool management process in an embodiment of this disclosure; Figure 5 This is a schematic diagram of the structure of a rendering apparatus according to an embodiment of the present disclosure; Figure 6 This is a schematic diagram of the structure of an electronic device shown in an embodiment of this disclosure. Detailed Implementation
[0067] Embodiments of this disclosure are described in detail below. Examples of these embodiments are illustrated in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this disclosure, and should not be construed as limiting this disclosure.
[0068] In the field of environmental rendering technology for smart cockpits, rendering virtual scenes into realistic environments can achieve relatively lifelike image effects, including realistic lighting and shadow effects, detailed texture mapping, and realistic physical simulation. Furthermore, real-time rendering allows for immediate responses to user actions, providing a smoother interactive experience. For example, in rain and snow weather scenarios, the rain and snow atmosphere effects can only display animations based on the weather, failing to respond to real-time changes in the environment or scene and adjust the rendering accordingly.
[0069] Therefore, in order to solve the above-mentioned technical problems, this disclosure proposes a rendering method and apparatus to solve the problem of the disconnect between the atmosphere effect of the smart cockpit and the state changes of the vehicle.
[0070] The rendering method proposed in this disclosure can be applied to weather-linked scenarios. Vehicles executing the rendering method of this disclosure can dynamically display corresponding ambient effects on the central control screen or panoramic head-up display (or head-up display) according to changes in external weather conditions. During the execution of the rendering method of this disclosure in the vehicle, the ambient effects inside the vehicle cabin and the real environmental conditions can be presented in a linked manner.
[0071] The rendering method proposed in this disclosure can be applied to rainy or foggy scenes. The vehicle can overlay environmental visual effects such as raindrops, rain streaks, water flow, wet glass or fog, blur mask, and low brightness filter on the display interface. After the user turns on the wipers or defogging function, the display performance is dynamically adjusted according to the working status of the wipers or defogging, so that the raindrops on the screen are gradually cleared or the fog is gradually dissipated, and the image clarity is gradually improved, thereby realizing the synchronous change of the atmosphere effect and the real vehicle status.
[0072] In some embodiments, the device executing the rendering method of this disclosure can be any type of mobile device with an atmosphere rendering function, and this disclosure does not limit it. The atmosphere rendering function can be a function that can trigger corresponding atmosphere effects based on weather conditions, or a function that can dynamically adjust the atmosphere effect rendering parameters based on changes in vehicle function status or user interaction.
[0073] In some embodiments, the mobile device may be a vehicle, and the mobile device includes at least one display device. The display interface of the at least one display device is used to display ambient effects and the process of changes in the ambient effects. The at least one display device may include a first display device and a second display device.
[0074] In some embodiments, at least one display device may be disposed at any location inside the vehicle cabin, or at any location outside the vehicle, without limitation by this disclosure. For example, it may be disposed at any location in front of the front seats, or at any location between the rear seats and the front seats, or at any location on the side of the vehicle cabin, or at the bottom area of the front and rear windshields of the vehicle, etc.
[0075] In some embodiments, at least one display device may be a device with only display function, or it may be a device with both display and interactive functions, and this disclosure does not limit this. For example, on a display device with only display function, the rendering method of this disclosure can overlay rendering atmosphere effects on the displayed content of the display device; on a display device with both display and interactive functions, the rendering method of this disclosure can overlay rendering atmosphere effects on the displayed content of the display device and enable real-time interaction with the user.
[0076] In some embodiments, the central control screen can serve as a first display device, and the head-up display can serve as a second display device. The first display device can be used to display a first interface or a second interface, wherein the first interface can be used to display at least one preset window, such as a music application window, a navigation application window, or a vehicle settings window. The at least one preset window can be a pre-set fixed window or a user-customized window; the second interface can be used to display a three-dimensional model of the vehicle, i.e., a vehicle model desktop. Both the first interface and the second interface are display interfaces of the central control screen.
[0077] In some embodiments, on the first interface, where the vehicle's 3D model is not displayed, the ambient effects can be displayed as a 2D plane floating above at least one preset window. On the second interface, where the vehicle's 3D model is displayed, the ambient effects can be presented in a 3D space using a blended display method. On the second display device, i.e., the head-up display, the ambient effects can be displayed in a floating manner above the driving status information.
[0078] In some embodiments, the rendering method disclosed herein may be to overlay rendering atmosphere effects on the display content of the vehicle's display interface, or to adjust the rendering parameters of the atmosphere effects frame by frame and display the change process of the atmosphere effects through the display interface.
[0079] In some embodiments, the rendering method disclosed herein can achieve hot updates of ambient effect resources through cloud control configuration, or it can achieve arbitration and cache pool management of multiple ambient effects through priority scheduling, or it can achieve driving safety and system performance assurance through performance degradation.
[0080] In some embodiments, the rendering method of this disclosure can also be applied to various scenarios. For example, in a weather scenario, the rendering method of this disclosure can adapt the ambient effects to the actual weather conditions of the area where the vehicle is located, and the rendering method of this disclosure can dynamically adjust according to the vehicle's functional status or user interaction. As another example, in a holiday scenario, the rendering method of this disclosure can make the ambient effects correspond to a preset time or time frame, creating a corresponding holiday atmosphere.
[0081] The rendering method proposed in this disclosure performs all operations related to user privacy or security, such as obtaining user voice, obtaining image information, taking screenshots, and granting operation authorization, on the basis of user authorization and strictly complies with relevant laws and regulations on privacy and security, protecting consumer personal data privacy and other related issues.
[0082] The following section uses the vehicle infotainment system as an example to provide a detailed description of the rendering method and rendering device proposed in this disclosure, with reference to the accompanying drawings.
[0083] Figure 1 This is one of the flowcharts illustrating a rendering method in an embodiment of this disclosure. This method can be applied to the aforementioned vehicle infotainment system, for example, and can be executed by a mobile device. Figure 1 As shown, the method includes the following steps.
[0084] Step 101: Determine the vehicle's status information.
[0085] In some embodiments, the status information includes the weather conditions of the area where the vehicle is located and / or the vehicle's current time status.
[0086] In some embodiments, the status information may include information reflecting the real-time status of the vehicle, such as weather status, time status, driving status, display status, or load status.
[0087] In some embodiments, the weather status can be the real-time weather conditions of the area where the vehicle is located, including types such as sunny, rainy, snowy, foggy, hazy, and cloudy. Each type can also be further divided into different levels according to its severity. For example, the weather type of rain can be classified as light rain, moderate rain, or heavy rain; the weather type of fog can be classified as light fog, moderate fog, or dense fog. The weather types and levels are not limited to the above and can be added or modified according to future changes in weather types and levels. When different types of weather and levels are determined, the vehicle's display interface can display corresponding weather-related ambient effects.
[0088] In some embodiments, the time status can be the date corresponding to the moment when the vehicle's clock system collects the status information. This date may coincide with the date of a preset festival or solar term, which can trigger the vehicle's display interface to display the corresponding ambient effects.
[0089] In some embodiments, determining vehicle status information includes: acquiring a vehicle status signal, the status signal including at least one of a weather status signal, a time status signal, a driving status signal, and a display status signal of a display device; and determining status information based on the status signal, the status information further including at least one of a vehicle status, a display status, and a load status, the vehicle status including a first status and a second status, and the display status including the status of a first display device and / or a second display device.
[0090] For example, the vehicle infotainment system can acquire status signals in real time through the vehicle environment signal monitoring module, and the system can determine status information based on these signals. The vehicle environment signal monitoring module can collect various types of vehicle status signals, and it can send the acquired status information to the subsequent atmosphere rendering module to adjust the rendering intensity of environmental effects such as rain, fog, and snow.
[0091] In some embodiments, weather status signals can be collected in real time by the vehicle's weather component, and these signals may include weather type and its corresponding level information. Time status signals can be collected in real time by the system clock, and these signals may include the current date and time. The current date can be compared with preset holiday or seasonal dates, and the current time can be used to determine the current time period. Driving status signals may include gear position signals and seatbelt signals. Display status signals of the display devices may include the display status of the first display device and the display status of the second display device. For details regarding the first display device, the second display device, the first interface, the second interface, and the preset window, please refer to the foregoing embodiments; further details will not be repeated here.
[0092] In some embodiments, when the vehicle system acquires the aforementioned status signal, it can determine the status information based on the status signal.
[0093] In this embodiment, the vehicle state can include a first state and a second state. The first state can be a driving state, and the second state can be a parked state. For example, if the driving state signal indicates a non-parking gear (e.g., not P gear) and the seatbelt is not unfastened, the vehicle system can determine the vehicle state as the first state, i.e., the driving state. If the driving state signal indicates a P gear and the seatbelt is unfastened, the vehicle system can determine the vehicle state as the second state, i.e., the parked state.
[0094] In this embodiment, the display state may include the state of the first display device and the state of the second display device. For example, the display state may indicate the type of content currently displayed on the second display device. The second display device may be a head-up display (HUD), which may be used to display the vehicle's driving status, such as vehicle speed information, navigation guidance information, or driver assistance information. The HUD may also display ambient effects in a floating manner. The display state may indicate that the content currently displayed on the second display device is driving status information or ambient effect information, and may also indicate the display method of the ambient effect on the second display device, for example, displaying it in a floating manner. The load state may include the current central processing unit (CPU) load information and graphics processing unit (GPU) load information of the vehicle's infotainment system.
[0095] In the above embodiments, by acquiring weather status signals, time status signals, driving status signals, and display status signals of the display device, and determining status information including vehicle status, display status, and load status based on these status signals, it is possible to acquire real-time status information inside and outside the vehicle as well as the vehicle's own operating status. This provides a data foundation for the subsequent triggering and overlay rendering of ambient effects, avoids the problem of ambient effects deviating from the vehicle's real status, and thus improves the accuracy of ambient effect triggering and the realism of overlay rendering.
[0096] Step 102: In response to the state information meeting the triggering condition, based on the rendering resources corresponding to the state information, overlay rendering atmosphere effects on the display content of the vehicle's display interface.
[0097] In some embodiments, when the vehicle system determines that the state information meets the triggering conditions, it can determine the corresponding rendering resources based on the state information, and then overlay rendering atmosphere effects onto the displayed content of the display interface. Overlaying atmosphere effects can be used to simulate the visual rendering effect of real-world environmental states, which may include rain, fog, holiday atmosphere, or seasonal atmosphere. For example, overlaying atmosphere effects may include raindrop particle effects, fog masking effects, or blur filter effects. Different triggering conditions may correspond to different atmosphere effects. In the above embodiments, by overlaying corresponding atmosphere effects when the triggering conditions are met, the display interface presents a visual effect corresponding to the external environmental state or time state, improving the user experience.
[0098] In some embodiments, in response to the state information satisfying the triggering condition, rendering atmosphere effects are superimposed on the display content of the vehicle's display interface based on the rendering resources corresponding to the state information, including: in response to the state information satisfying the triggering condition, determining a target rendering resource and a target display device based on the state information; and superimposing a target rendering atmosphere effect on the display content of the target display interface corresponding to the target display device based on the target rendering resource and the state information.
[0099] In some embodiments, when the vehicle system determines that the status information meets the triggering conditions, it can determine the target rendering resource and the target display device based on the status information. The target rendering resource may include shader programs, texture maps, particle parameters, and animation scripts corresponding to the status information, and this disclosure does not limit this. The target display device may include a first display device and / or a second display device. For details regarding the first display device and the second display device, please refer to the foregoing embodiments, and they will not be repeated here.
[0100] In some embodiments, when a target rendering resource is identified, the vehicle infotainment system can check whether the rendering resource corresponding to the current state information exists in the local cache. If the rendering resource exists in the local cache, the vehicle infotainment system can load the rendering resource from the local cache. If the rendering resource does not exist in the local cache, the vehicle infotainment system can request and download the corresponding resource package from the cloud. After the download is complete, the system performs an integrity check on the resource package. If the check passes, the system caches the resource package locally and loads it for use.
[0101] In some embodiments, when the vehicle system determines the target rendering resources and the target display device, it can overlay the rendering target atmosphere effect on the display content of the target display interface corresponding to the target display device based on the target rendering resources and status information.
[0102] For example, in a foggy scene, the vehicle system can determine the target rendering resource as a fog effect resource based on the foggy state. The fog effect resource can include a fog shader, a noise map, and a blur mask. Furthermore, the vehicle system can determine the target display device as the central control screen based on the current vehicle state and overlay the fog atmosphere effect on the display interface of the central control screen.
[0103] For example, in a rainy scene, the vehicle system can determine the target rendering resource as a raindrop effect resource based on the rainy weather condition. The raindrop effect resource includes raindrop shaders, rain streak textures, and water flow animations. Furthermore, the vehicle system can determine the target display device as the central control screen based on the current vehicle status and overlay the raindrop atmosphere effect on the display interface of the central control screen.
[0104] For example, in a holiday or solar term scenario, the vehicle system can determine the target rendering resource as a holiday element effect resource or a solar term element effect resource based on the current date. Furthermore, the vehicle system can determine the target display device as a head-up display based on the current vehicle status, and then overlay and render holiday atmosphere effects or solar term atmosphere effects on the display interface of the head-up display.
[0105] In one optional implementation, the atmosphere rendering module of the vehicle infotainment system may include a system rendering layer and a rendering scheduling layer. The system rendering layer may include an effects service, which can be used to provide rendering services for atmosphere effects. The rendering scheduling layer may include a lightweight engine renderer, a hot-update module, a virtual machine, a resource lifecycle management module, an interaction interface, a bridging module, a lifecycle data management module, a rendering interface, and an engine rendering module. The engine rendering module may further include a particle system, an animation system, a video rendering system, a physics system, a rendering system, and a performance grading and control system. The vehicle infotainment system can manage the effects package through the resource lifecycle management module in the rendering scheduling layer. This effects package may include scripts, resource files, and configuration files. The scripts can be used to define the logic and lifecycle of the atmosphere effects, the resource files may include texture maps, shader programs, and particle parameters, and the configuration files can be used to store the trigger conditions and parameter configurations of the effects. The lightweight engine renderer can execute the scripts through the virtual machine and call the graphics rendering capabilities through the bridging module to achieve the rendering of the atmosphere effects. The particle system in the engine rendering module can be used to draw raindrop particle effects, the animation system can be used to control the dynamic changes of atmospheric effects, the multi-channel rendering system can be used to achieve the overlay rendering of fog mask effects and blur filter effects, and the performance grading and control system can adjust the rendering intensity according to the vehicle status.
[0106] In the above embodiments, by determining the target rendering resources and target display devices based on state information, and by overlaying the target atmosphere effects on the display interface of the target display devices based on the target rendering resources and state information, the atmosphere effects can be matched with the current environmental state of the vehicle and the display devices, thereby improving the adaptability of the atmosphere effect rendering.
[0107] In some embodiments, the triggering condition includes at least one of the following: the weather status in the status information is preset weather, the preset weather includes type and level; the time status in the status information meets preset time conditions, the preset time conditions include preset date and preset time period.
[0108] In some embodiments, the weather type may include rain, fog, or snow, and the weather level may include light rain, moderate rain, heavy rain, or torrential rain, as well as light fog, moderate fog, or dense fog. This disclosure does not limit these aspects. The weather state and corresponding level information are determined by a weather state signal, and the vehicle system can obtain the corresponding level information when it acquires the weather state. For example, if the vehicle system determines that the current weather state is rain and the level is moderate rain, the vehicle system can determine that the triggering conditions are met and trigger the corresponding rainy weather atmosphere effect. If the vehicle system determines that the current weather state is fog and the level is dense fog, the vehicle system can determine that the triggering conditions are met and trigger the corresponding foggy weather atmosphere effect.
[0109] In some embodiments, if the vehicle infotainment system determines that the current weather condition is not the preset weather, the system can maintain the default display interface and not trigger the overlay rendering of ambient effects. For example, if the current weather condition is sunny, the system can determine that the weather condition is not the preset weather and maintain the default vehicle model interface display without triggering any ambient effects overlay rendering, waiting for the weather condition to change again before making a determination.
[0110] In some embodiments, the preset time condition can be a festival or a time or period corresponding to a festival. The preset date can include a preset festival date or seasonal date, such as the Beginning of Autumn, Qixi Festival, or Spring Festival. The preset time period can be a preset specific time period, such as the time period corresponding to night mode, commuting time, etc. This disclosure does not limit this. When the vehicle system determines that the current time status meets the preset time condition, it can determine that the triggering condition is met, thereby triggering the ambient effect corresponding to the preset date or preset time period.
[0111] For example, if the vehicle's infotainment system determines that the current time is the date of the Autumnal Equinox, the system can determine that the triggering conditions are met and trigger the corresponding autumn ginkgo leaf falling atmosphere effect. If the system determines that the current time is the date of the Spring Festival, the system can determine that the triggering conditions are met and trigger the corresponding lantern atmosphere effect or snowflake atmosphere effect. If the system determines that the current time is the date of the Spring Festival, the system can trigger the corresponding lantern atmosphere effect or snowflake atmosphere effect; if the system determines that the current time is the date of the Qixi Festival (Chinese Valentine's Day), the system can trigger the corresponding rose atmosphere effect or heart falling atmosphere effect.
[0112] It should be noted that the atmospheric effects triggered by weather conditions and time conditions can be customized according to the actual scene or needs. Each atmospheric effect can also be updated in real time, and new atmospheric effects can be added. This disclosure does not limit this. The atmospheric effects listed in the examples above are merely illustrative and do not constitute a limitation on the atmospheric effects triggered by the various triggering conditions of this disclosure.
[0113] In some embodiments, when a seasonal or holiday effect is being displayed and the weather condition changes, the vehicle infotainment system can determine the corresponding target ambient effect based on the changed weather condition. For example, when the autumn ginkgo effect is being displayed and the weather condition changes from sunny to rainy, the vehicle infotainment system can determine that the ambient effects that currently meet the triggering conditions include the rain ambient effect and the autumn ginkgo effect, with the autumn ginkgo effect having higher priority than the rain ambient effect. The vehicle infotainment system can maintain the continuous display of the autumn ginkgo effect and, when the autumn ginkgo effect ends, switch to the corresponding weather ambient effect based on the weather condition change. If a change in weather condition causes an ambient effect to no longer meet the triggering conditions, the vehicle infotainment system can interrupt the overlay rendering of the ambient effect.
[0114] In the above embodiments, by using weather conditions or time conditions as triggering conditions, the triggering of atmospheric effects can be synchronized with external weather changes or specific dates, thereby improving the diversity of atmospheric effect triggering.
[0115] In some embodiments, in response to the state information satisfying the triggering condition, determining the target rendering resource and the target display device based on the state information includes: determining the target display device based on the vehicle state in the state information; and determining the target rendering resource based on the state information and the display state of the target display device.
[0116] In some embodiments, the vehicle infotainment system determines the target display device based on the vehicle status in the status information. For details regarding vehicle status, please refer to the foregoing embodiments; they will not be repeated here. When the vehicle infotainment system determines the target display device, it can determine the target rendering resource based on the status information and the display status of the target display device.
[0117] For example, when the vehicle is in its first state, since the head-up display needs to show driving-related information, the vehicle system can determine the central control screen as the target display device. Furthermore, the vehicle system can determine the target rendering resource from the corresponding rendering resources based on the type of content currently displayed on the central control screen. If the central control screen is currently displaying a 3D model of the vehicle, the vehicle system can determine the first type of rendering resource corresponding to the current state information as the target rendering resource; if the central control screen is not currently displaying a 3D model of the vehicle, the vehicle system can determine the second type of rendering resource corresponding to the current state information as the target rendering resource. The first type of rendering resource can be a 3D resource, which can achieve the fusion of display content in three-dimensional space; the second type of rendering resource can be a 2D resource, which can achieve the overlay of display content in a two-dimensional plane.
[0118] In the above embodiments, 3D resources can be input data used to construct a stereoscopic virtual scene, possessing three-dimensional spatial coordinate information. The 3D rendering effect achieved by overlaying 3D resources can simultaneously realize a sense of spatial depth and physical realism. Furthermore, 3D rendering supports multi-viewpoint transformations, allowing users to rotate the viewpoint to observe different sides of objects in the scene; it supports realistic occlusion relationships between objects, as well as real-time lighting changes and weather effects. For example, when overlaying raindrop effects on an interface displaying a 3D vehicle model, the raindrop particles and the vehicle model are in the same three-dimensional spatial coordinate system, enabling realistic physical feedback such as pixel-by-pixel mapping of raindrops on the vehicle body, flow along curved surfaces, and different refractions depending on the viewing angle.
[0119] In the above embodiments, 2D resources can be input data used to generate planar visual content, which has planar coordinate information. The 2D rendering effect presented by overlaying 2D resources can be a two-dimensional image on the screen. For example, when a fog effect is applied to the entire screen, the rendering engine only needs to directly overlay a semi-transparent, blurred mask image as an independent layer on the content of the display interface, without calculating spatial depth, lighting reflection, or viewpoint changes. Essentially, it is a superposition process of existing pixel data.
[0120] In the above embodiments, by determining the target display device based on the vehicle status and the target rendering resource based on the display status, the rendering device and rendering resource of the atmosphere effect can be adapted to the current operating status of the vehicle and the display content of the display device, thereby improving the adaptability of the atmosphere effect rendering.
[0121] In some embodiments, determining a target display device based on the vehicle state in the state information includes: in response to the vehicle state being a first state, determining a first display device as a target display device, wherein the first display device is used to display a first interface or a second interface, the first interface is used to display at least one preset window, and the second interface is used to display a three-dimensional model of the vehicle; in response to the vehicle state being a second state, determining the first display device and / or the second display device as a target display device, wherein the second display device is used to display the driving state of the vehicle.
[0122] In some embodiments, the first state is the driving state, and the target display device is the central control screen; the second state is the parking state, and the target display device is the central control screen and / or head-up display.
[0123] In some embodiments, the first display device can be a central control screen, and the second display device can be a head-up display. When the vehicle is in a first state, the first display device can display a first interface, which can be a driving desktop. Furthermore, the first interface can be used to display at least one preset window. Details regarding preset windows can be found in the foregoing embodiments and will not be repeated here. When the vehicle is in a second state, the first display device can display a second interface, which can be a parking desktop. Furthermore, the second interface can be used to display a three-dimensional model of the vehicle, i.e., a vehicle model desktop. When the vehicle is in a second state, the second display device can be used to display the vehicle's driving status, which may include vehicle speed information, navigation guidance information, or driving assistance information, etc. This disclosure does not limit this aspect.
[0124] In some embodiments, for the first display device, the driving desktop and the parking desktop are mutually exclusive, and only one type of desktop can be displayed at a time. When the vehicle is in the first state, i.e., the driving state, the vehicle system can control the central control screen to display the driving desktop, and under the driving desktop, the vehicle system can render ambient effects in the gaps or edge areas of the cards to avoid the ambient effects obscuring the normal display of navigation information or music playback information. When the vehicle is in the second state, i.e., the parking state, the vehicle system can control the central control screen to display the parking desktop, and under the parking desktop, the vehicle system can perform full rendering of ambient effects. When the vehicle is in the parking state, the user can switch between the driving desktop and the parking desktop, and the vehicle system can determine the corresponding rendering resources according to the user's currently displayed desktop type.
[0125] For example, when the vehicle is in its first state (driving state), the central control screen displays the driving desktop, which may include at least one preset window. The vehicle system can identify the central control screen as the target display device and then overlay ambient effects onto the driving desktop. When the vehicle is in its second state (parked state), the central control screen displays either the parking desktop or the driving desktop. The vehicle system can identify the central control screen and / or the head-up display as the target display device and can overlay ambient effects onto the central control screen and / or the head-up display while the vehicle is parked.
[0126] In the above embodiments, by flexibly selecting the first display device and / or the second display device as the target display device according to the vehicle status, the ambient effects can be adapted to different display devices under different vehicle statuses, thereby improving the diversity of the ambient effects display. In some embodiments, the target rendering resource is determined based on the status information and the display status of the target display device, including any one of the following: in response to the target display device displaying a 3D model of a vehicle, the first preset rendering resource corresponding to the status information is determined as the target rendering resource; in response to the target display device displaying a 3D model of no vehicle, the second preset rendering resource corresponding to the status information is determined as the target rendering resource.
[0127] In some embodiments, the first preset rendering resource may include shader programs, texture maps, and particle parameters for 3D stereoscopic blending display. The second preset rendering resource may include shader programs, texture maps, and particle parameters for 2D planar floating display.
[0128] In this embodiment, the target rendering resource corresponding to the status information can be determined from two types of preset rendering resources by the display status of the target display device, so as to realize the selection of rendering resources for overlay rendering for different display content.
[0129] For example, when the central control screen displays a 3D model of the vehicle, the vehicle system can determine a first preset rendering resource corresponding to the foggy weather condition as the target rendering resource. This first preset rendering resource enables the fog effect to be blended with the 3D model of the vehicle in 3D space. When the target display device does not display the 3D model of the vehicle, the vehicle system can determine a second preset rendering resource corresponding to the foggy weather condition as the target rendering resource.
[0130] For example, if the target display device does not display a 3D model of the vehicle and the weather condition is rainy, the vehicle system can determine the second preset rendering resource corresponding to the rainy weather condition as the target rendering resource. The second preset rendering resource can make the raindrop effect float on the upper layer of at least one preset window in a 2D plane for display.
[0131] In the above embodiments, by selecting the corresponding preset rendering resources based on whether the target display device displays a 3D model of the vehicle, the rendering resources of the atmosphere effects can be adapted to the display content of the display device, thereby improving the adaptability of the atmosphere effects.
[0132] In some embodiments, based on target rendering resources and state information, overlaying a target atmosphere effect onto the display content of the target display interface corresponding to the target display device includes: responding to the weather state in the state information being preset weather, determining the initial rendering parameters of the target atmosphere effect based on the target rendering resources and the level of the preset weather; overlaying the target atmosphere effect onto the display content of the target display interface based on the initial rendering parameters, and displaying the initial rendering state of the target atmosphere effect through the target display interface.
[0133] In some embodiments, the details regarding the target rendering resources can be found in the foregoing embodiments and will not be repeated here. The details regarding the preset weather levels can also be found in the foregoing embodiments and will not be repeated here. Different weather levels correspond to different initial rendering parameter values.
[0134] In some embodiments, when the vehicle system determines that the current weather condition is a preset weather condition, the vehicle system can determine the rendering parameters such as the light intensity and color saturation of the target atmosphere effect in the target rendering resource based on the preset weather level, and use the rendering parameters corresponding to the level as a component of the initial rendering parameters.
[0135] For example, in a rainy scenario, when the weather level is light rain, the vehicle system can determine the light intensity adjustment value as A1 and the color saturation adjustment value as B1; when the weather level is heavy rain, the vehicle system can determine the light intensity adjustment value as A2 and the color saturation adjustment value as B2, where A1 > A2 and B1 > B2, to simulate the changes in ambient light and color performance under different weather levels.
[0136] For example, in a foggy scene, under a light fog level, the vehicle system can determine a low fog concentration parameter and a weak blur intensity parameter as initial rendering parameters. For instance, the fog transparency parameter can be determined as A3, and the screen blur intensity parameter as B3. This embodiment of the present disclosure does not limit this, and the target display interface is overlaid with light fog while maintaining high visibility. Under a heavy fog level, the vehicle system can determine a high fog concentration parameter and a strong blur intensity parameter as initial rendering parameters. For instance, the fog transparency parameter can be determined as A4, and the screen blur intensity parameter as B4. This embodiment of the present disclosure does not limit this, and the target display interface exhibits high-concentration fog coverage and reduced clarity. Where A3 < A4, B3 < B4.
[0137] In the above embodiments, when the initial rendering parameters are determined, the vehicle system can overlay the target atmosphere effect onto the display content of the target display interface based on the initial rendering parameters, and display the initial rendering state of the target atmosphere effect through the target display interface.
[0138] For example, in a rainy scenario, when the weather level is light rain, the vehicle's infotainment system can determine a low raindrop density parameter as the initial rendering parameter, and then overlay the raindrop effect onto the content displayed on the target screen based on this initial rendering parameter, resulting in a visual appearance of a small number of raindrops. When the weather level is heavy rain, the vehicle's infotainment system can determine a high raindrop density parameter as the initial rendering parameter, and then overlay the raindrop effect onto the content displayed on the target screen based on this initial rendering parameter, resulting in a visual appearance of a large number of raindrops.
[0139] In the above embodiments, by determining the initial rendering parameters of the target atmosphere effect based on the preset weather level, the initial rendering intensity of the atmosphere effect can correspond to the weather level, thereby improving the consistency between the atmosphere effect and the real environment.
[0140] In some embodiments, based on initial rendering parameters, a target atmosphere effect is overlaid and rendered on the display content of the target display interface, and the initial rendering state of the target atmosphere effect is displayed through the target display interface, including: in response to the target display device including a first display device and the first display device displaying a first interface, the target atmosphere effect is overlaid and rendered in a preset area of the first display device based on the initial rendering parameters, the preset area being an area in the display interface of the first display device other than at least one preset window; the initial rendering state of the target atmosphere effect is displayed through the preset area.
[0141] In some embodiments, the relevant content regarding the preset window can be found in the foregoing embodiments, and will not be repeated here.
[0142] For example, when the vehicle is in motion, if the weather condition that triggers the overlay rendering is rain, at least one preset window can be displayed on the central control screen, such as a navigation application window and a music application window. The vehicle system can overlay and render raindrop effects in the gaps between these windows and at the edges of the screen. The areas covered by the navigation application window and the music application window are not overlaid and rendered, which can prevent the raindrop effects from obscuring the normal display of navigation information and music playback information.
[0143] For example, in a foggy scene, the vehicle system overlays and renders fog effects in a preset area, displays the initial rendering state of the fog in the preset area, and presents a visual effect of fog coverage in the preset area without affecting the display of driving-related information in the preset window.
[0144] In the above embodiments, by overlaying and rendering target atmosphere effects in a preset area of the first display device, and the preset area being an area other than the preset window, the atmosphere effects can be overlaid and rendered without obscuring the display of driving-related information, thereby enhancing the cabin atmosphere and ensuring driving safety.
[0145] Step 103: In response to the detection of a preset event, the rendering parameters of the atmosphere effect are adjusted frame by frame based on the preset event, and the change process of the atmosphere effect is displayed through the display interface.
[0146] In some embodiments, after the vehicle infotainment system completes the overlay rendering of ambient effects and displays the initial rendering state on the screen, it can detect various vehicle environmental signals within the vehicle cabin to determine whether a preset event exists. Vehicle environmental signals include, for example, wiper switch status, front and rear windshield defrosting status, air conditioning defrosting mode, and user interaction signals.
[0147] In some embodiments, preset events may include user operation events on vehicle functions, such as turning on or off the windshield wipers, turning on or off the defroster, etc., which are not limited in this embodiment. Preset events may also include user interaction operation events, such as a user's swipe gesture. When the vehicle system detects the occurrence of any of the above preset events, it can adjust the rendering parameters of the currently displayed ambient effects frame by frame based on the preset events. Furthermore, the vehicle system can display the continuous change of the ambient effects from the initial rendering state to the target rendering state in real time through the display interface, allowing the user to intuitively perceive the dynamic changes of the ambient effects as the preset events occur.
[0148] In this embodiment, the user's gesture swiping action can be a touch operation formed by swiping the hand on the display interface, or it can be the user moving their hand in the cockpit, which is detected in real time by the detection device in the cockpit and corresponding to the operation on the display interface, etc. This disclosure does not limit it.
[0149] For example, in a foggy scene, after completing the initial rendering of the fog atmosphere effect, the vehicle's infotainment system can detect preset events within the vehicle's cabin. If the defogging function is not detected, the system can maintain the current fog atmosphere effect display. If the system detects that the user has activated the defogging function, it can designate this activation as a preset event and trigger frame-by-frame adjustments to the fog atmosphere effect's rendering parameters. During these adjustments, the system can display the gradual dissipation of fog and the increasing clarity of the image in real-time. If the user deactivates the defogging function, the system detects the preset event again and can restore the atmosphere effect's rendering parameters frame-by-frame to the state corresponding to the current weather level, displaying the re-gathering of fog and the gradual blurring of the image.
[0150] For example, in a rainy scene, after completing the initial rendering of the rain atmosphere effect, the vehicle's infotainment system can detect preset events within the vehicle's cabin. If the windshield wipers are not detected as being activated, the system can maintain the current rain atmosphere effect display. If the system detects that the user has activated the windshield wipers, it can designate this activation as a preset event and trigger frame-by-frame adjustments to the rendering parameters of the rain atmosphere effect. During these adjustments, the system can display the gradual clearing of raindrops and the increasing image clarity in real-time. If the user turns off the windshield wipers, the system will again detect the preset event and can restore the rendering parameters of the atmosphere effect frame-by-frame to the state corresponding to the current weather level, displaying the reappearance and increasing number of raindrops and the gradual restoration of rain coverage.
[0151] For example, when a user interacts with the system, the vehicle's infotainment system can identify the user's swipe gesture on the central control screen as a preset event. Based on this preset event, the system can then trigger frame-by-frame adjustments to the rendering parameters of the ambient effects. During the adjustment process, the system can display in real-time the process of raindrops or fog clearing and the area gradually becoming clearer within the region traversed by the user's finger swipe. When the user stops touching the screen, the system can restore the rendering parameters of the ambient effects frame-by-frame to the original rendering state of that area, and the system can display the process of raindrops or fog re-covering the area.
[0152] In the above embodiments, by continuously listening to preset events and adjusting the rendering parameters of the ambient effects frame by frame when the preset events are detected, and displaying the change process of the ambient effects in real time through the display interface, the ambient effects can dynamically change with the changes in vehicle function status or user interaction operations, so that users can obtain operation feedback corresponding to the real physical world, thereby improving the interactive experience of the cabin ambient effects.
[0153] In summary, by determining the vehicle's state information and overlaying atmospheric effects based on corresponding rendering resources when the state information meets the triggering conditions, and by adjusting the rendering parameters of the atmospheric effects frame by frame and displaying the continuous change process when a preset event is detected, dynamic visual feedback that links the cabin atmospheric effects with the vehicle's real environment and user interaction is achieved, thereby improving the consistency between the atmospheric effects and the vehicle's real state.
[0154] Figure 2 This is a second schematic flowchart illustrating the rendering method in an embodiment of this disclosure, based on... Figure 1 The embodiment shown, Figure 2 right Figure 1 Step 103 in the text will be further explained, such as Figure 2 As shown, the steps include the following.
[0155] Step 201: Based on preset events, determine the target rendering parameters, the target transition area corresponding to the target rendering parameters, and the target transition duration.
[0156] In some embodiments, the target rendering parameter can be at least one rendering parameter from the target rendering resource, such as at least one of raindrop density, raindrop sliding speed, fog transparency, or screen blur intensity, etc., and this disclosure does not limit this. The target rendering parameter can be determined from at least one rendering parameter according to the type of preset event, so as to adjust the rendering parameter based on the real physical environment.
[0157] In some embodiments, the target transition area can be used to define the range of the rendering parameter adjustment, and may include a full-screen area, a specific area, or a dynamically generated area, which is not limited in this disclosure.
[0158] In some embodiments, the target transition duration can be used to control the duration of the ambient effect transitioning from the initial rendering state to the target rendering state.
[0159] In some embodiments, the preset event includes at least one of the following: the preset function corresponding to the preset weather is switched from a closed state to an open state; the preset function corresponding to the preset weather is switched from an open state to a closed state; user interaction.
[0160] In some embodiments, the preset function may be a vehicle infotainment function corresponding to preset weather, such as a windshield wiper function or a defogging function, etc., and the embodiments disclosed herein do not limit this.
[0161] In some embodiments, a preset event may include switching a preset function corresponding to a preset weather condition from an on state to a off state. For example, in a rainy weather scenario, the preset event may include switching the windshield wiper function from an on state to a off state. In a foggy weather scenario, the preset event may include switching the defogging function from an on state to a off state. When a preset function switches from an on state to a off state, the vehicle system may trigger an adjustment to the rendering parameters of the ambient effects to restore or enhance the ambient effects corresponding to the current weather condition.
[0162] In some embodiments, the preset event may further include user interaction. Interaction may include a swipe gesture by the user on the central control screen. Upon detecting a user interaction, the vehicle system may trigger an adjustment of the rendering parameters for ambient effects to bring them to a target value within the gesture trajectory area.
[0163] In the above embodiments, by determining the opening or closing of preset functions corresponding to preset weather and user interaction operations as preset events, the rendering parameters of the atmosphere effects can be correlated with changes in vehicle function status and user interaction operations, thereby realizing that the atmosphere effects change dynamically with the occurrence of preset events, thus improving the interactivity between atmosphere effects and user operations.
[0164] In some embodiments, determining the target rendering parameters, the target transition area corresponding to the target rendering parameters, and the target transition duration based on a preset event includes any one of the following: in response to a preset event that a preset function is switched from a closed state to an open state or a preset function is switched from an open state to a closed state, determining the target rendering parameters, the target transition area, and the target transition duration corresponding to the preset function; in response to a preset event that is a user interaction operation, determining the target transition area, the target rendering parameters, and the target transition duration based on the trajectory of the interaction operation.
[0165] In some embodiments, the target value of the target rendering parameter can be pre-configured according to the type of preset event.
[0166] In some embodiments, when a preset function is detected to switch from a closed state to an open state, the rendering parameters of the preset function in the open state are determined as the target rendering parameters; when a preset function is detected to switch from an open state to a closed state, the rendering parameters of the preset function in the closed state are determined as the target rendering parameters.
[0167] In one optional implementation, when the vehicle infotainment system detects a preset event, it can initiate a corresponding ambient effect change process, displaying the change from the initial rendering state to the target rendering state through the display interface. For example, when the vehicle infotainment system detects that the user has activated the windshield wipers, it can initiate a wiper animation for a rainy scene, displaying a continuous process of raindrops gradually clearing and image clarity gradually improving. When the user has deactivated the wipers, the vehicle infotainment system can stop the wiper animation and display the process of raindrops reappearing and gradually increasing in number, with the image gradually returning to a rain-covered state.
[0168] For example, when the preset event is activating the windshield wipers, the vehicle system can determine that the target value for raindrop density is 0, the target value for raindrop sliding speed is 0, and that the target transition area is either a full-screen area or a target transition area, as well as the target transition duration corresponding to the windshield wipers activation event. When the preset event is activating the defogging function, the vehicle system can determine that the target value for fog transparency is 0, the target value for screen blur intensity is 0, and that the target transition area is a full-screen area, as well as the target transition duration corresponding to the defogging activation event.
[0169] In some embodiments, when the vehicle system detects a user's interactive operation, it can collect the sliding trajectory of the user's interactive operation, identify the sliding speed, sliding direction and trajectory width of the sliding trajectory, and then generate a target transition area based on the sliding trajectory.
[0170] For example, the target transition area is a dynamically generated area based on the continuous touch points of the user's finger sliding on the central control screen. This area can include the range traversed by the gesture trajectory, and its shape and range can be adjusted according to the sliding direction. The width of the area can be set according to the trajectory width. The target value of the target rendering parameter can be determined to be 0, which indicates that the ambient effects within the target transition area are cleared. The target transition duration can be determined to be 0 or a minimum value to allow the rendering parameters within the target transition area to change rapidly.
[0171] For example, when a user slides their finger on the central control screen, the vehicle's infotainment system can collect the touch point coordinates and touch time. Based on the touch point coordinates, it determines the sliding direction and trajectory width, and generates a dynamic erasure mask for consecutive touch points. The area covered by this dynamic erasure mask is the target transition area. The system can set the target value of the rendering parameters for all ambient effects within this transition area to 0, and set the target transition duration to 0 or a minimum value, thus quickly clearing the ambient effects within the transition area. When the user slides quickly, the system can generate a wider transition area to match the speed; when the user slides slowly, it can generate a narrower transition area.
[0172] In the above embodiments, when the preset event is the preset function being enabled or disabled, the correspondence between the preset event type and the target rendering parameters, the target transition area, and the target transition duration can make the adjustment of the rendering parameters of the atmosphere effect deterministic and consistent. When the preset event is a user interaction operation, by dynamically generating the target transition area based on the interaction trajectory and setting the target value of the target rendering parameters to 0 and the target transition duration to 0 or the minimum value, the adjustment area of the atmosphere effect can accurately correspond to the user's gesture trajectory and achieve a fast response, thereby improving the accuracy of the atmosphere effect adjustment.
[0173] Step 202: Based on the preset transition curve and / or target transition duration, adjust the initial rendering parameters of the target transition area in the display interface frame by frame until the initial rendering parameters are adjusted to the target rendering parameters, and display the change process of the target atmosphere effect from the initial rendering state to the target rendering state in the target transition area.
[0174] In some embodiments, a preset transition curve can be used to describe the rate of change of the parameter values in each frame over time as the rendering parameters change from their initial values to their target values. Taking the adjustment process of fog transparency parameters as an example, the vehicle infotainment system can calculate the fog transparency value of each frame as follows: fogAlpha = lerp(fogAlphaCurrent, fogAlphaTarget, AC(t / ts)); Where t is the current animation time, ts is the total animation transition time, AC is the animation transition curve, fogAlphaCurrent is the current fog transparency, fogAlphaTarget is the target fog transparency calculated based on the defogging state, lerp is linear interpolation, and fogAlpha is the fog transparency.
[0175] The vehicle infotainment system calculates the rendering parameters for each frame using the aforementioned formula to overlay rendering onto the target transition area. Preset transition curves can include linear and non-linear curves. A linear transition curve represents the rendering parameters changing from their initial value to the target value at a constant rate within the target transition duration, using linear interpolation. A non-linear transition curve represents the rendering parameters changing at a rate that is not constant within the target transition duration, but rather varies over time. Preset transition curves can also include Bézier curves, which can define the shape of parameter values changing over time using control points. The vehicle infotainment system can select different preset transition curves based on different preset event types. For example, in scenarios where windshield wipers or defogging are activated, a non-linear transition curve can be selected to make the image transition smoother and more natural; in scenarios where the user gestures to erase, since the target transition duration is 0 or a minimum value, the specific type of transition curve has little impact on adjusting the rendering parameters.
[0176] In some embodiments, based on a preset transition curve and a target transition duration, the initial rendering parameters of the target transition area in the display interface are adjusted frame by frame until the initial rendering parameters are adjusted to the target rendering parameters, and the change process of the target atmosphere effect from the initial rendering state to the target rendering state is displayed in the target transition area. This includes: in response to the target transition duration being greater than a preset value, for each frame image within the target transition duration, determining the interpolation weight corresponding to each frame image based on the ratio of the duration corresponding to each frame image to the target transition duration and the preset transition curve; determining the rendering parameters of each frame image according to the interpolation weight, the initial rendering parameters, and the target rendering parameters, so as to overlay rendering on the target transition area until the target rendering state of the target atmosphere effect is reached.
[0177] In some embodiments, the preset value may be 0 or a smaller value, which is not limited in this disclosure.
[0178] In some embodiments, interpolation weights can be used to represent the relative position of the current frame during the transition.
[0179] For example, in a foggy scene, with the user activating the defogging function, the vehicle's infotainment system can determine the initial value of fog transparency as 'a', the target value as 'b', and the target transition duration as 's' seconds. In the first second of the transition, the system calculates the ratio of the current frame's duration to the target transition duration as 1 / s, and determines the interpolation weight corresponding to this ratio based on a preset transition curve (e.g., a non-linear transition curve). The system can then calculate the target rendering parameters based on this interpolation weight, the initial rendering parameters, and the target rendering parameters, and perform overlay rendering in the target transition area. The system can advance frame by frame, with the target rendering parameters gradually decreasing from 'a' to 'b0', causing the fog effect on the display to gradually dissipate. The user can observe the continuous change in the fog effect's dissipation.
[0180] In some embodiments, after adjusting the rendering parameters of the ambient effects frame by frame, the vehicle infotainment system can continue to monitor the weather conditions and the status of preset functions in real time. This allows it to re-trigger the corresponding rendering parameter adjustments when the weather level changes or the preset function status switches again. For example, in a rainy scene, after adjusting the rendering parameters after the wipers are turned on, the vehicle infotainment system can continue to monitor the weather level and wiper status in real time. If the weather level changes or the user turns off the wipers, the vehicle infotainment system can perform the corresponding frame-by-frame adjustments again to maintain continuous synchronization between the ambient effects and the vehicle's actual status.
[0181] For example, as raindrops and streaks within the target transition area are gradually cleared, the area outside the target transition area still retains the visual effect of raindrops adhering to it. This creates a contrast on the display interface where the target transition area is clear and the unswept area is still covered by raindrops, thus simulating the visual effect of a windshield wiper sweeping in real rain.
[0182] In the above embodiments, by determining the interpolation weight for each frame of image within the target transition duration based on the ratio of the duration of each frame of image to the target transition duration and the preset transition curve, and by determining the rendering parameters of each frame of image based on the interpolation weight, the initial rendering parameters and the target rendering parameters, the rate of change of the rendering parameters from the initial value to the target value can conform to the change law of the preset transition curve, thereby realizing the smooth and continuous change of the atmosphere effect from the initial rendering state to the target rendering state in the target transition area, and improving the continuity of the atmosphere effect change.
[0183] In some embodiments, based on a preset transition curve and a target transition duration, the initial rendering parameters of the target transition area in the display interface are adjusted frame by frame until the initial rendering parameters are adjusted to the target rendering parameters, and the change process of the target atmosphere effect from the initial rendering state to the target rendering state is displayed in the target transition area, including: in response to the target transition duration being less than or equal to a preset value, adjusting the initial rendering parameters of the target transition area to the target rendering parameters.
[0184] In this embodiment, when the target transition duration is set to 0, the initial rendering parameters are directly adjusted to the target rendering parameters.
[0185] In this embodiment, the vehicle system directly switches the rendering parameters of the target transition area from the initial rendering parameters to the target rendering parameters without any interpolation calculation or gradation process. This allows the target atmosphere effect to jump from the initial rendering state to the target rendering state within one frame, thus presenting an instantaneous change effect on the display interface.
[0186] In the above embodiments, when a scenario requiring zero-latency feedback, such as a user gesture swipe to erase, is detected, the rendering parameters are controlled to switch directly from the initial rendering parameters to the target rendering parameters, achieving a fast response and fast switching rendering effect.
[0187] In some embodiments, the method further includes at least one of the following: in response to the load state of the state information satisfying a preset load condition, stopping the frame-by-frame adjustment of the rendering parameters of the ambient effect, and maintaining the rendering state corresponding to the rendering parameters before stopping the frame-by-frame adjustment; in response to the end of a preset event, adjusting the rendering parameters of the target transition area in the target display interface from the target rendering parameters to the initial rendering parameters frame by frame, or maintaining the target rendering parameters.
[0188] In some embodiments, the relevant information regarding load status can be found in the foregoing embodiments, and will not be repeated here.
[0189] In some embodiments, the preset load condition may be a preset load state, or a load state parameter greater than a preset threshold, etc., which can be customized according to the actual scenario or needs, and this disclosure does not limit it.
[0190] For example, if the vehicle's infotainment system detects that the CPU or GPU exceeds a preset threshold, the system can pause dynamic calculations for rain and fog and maintain a static frame to prevent the rendering of ambient effects from consuming excessive system resources and affecting the normal operation of other important functions. If the system detects a load condition at a preset level, it can pause frame-by-frame adjustments to the rendering parameters of ambient effects to prevent the rendering of ambient effects from consuming system resources. The preset load condition may include a high load caused by switching content displayed on the central control screen.
[0191] In some embodiments, when the vehicle system detects a change in the content displayed on the central control screen, the system can determine that the current load state is a preset load state and pause the frame-by-frame adjustment of the ambient effect rendering parameters. For example, when the card layout on the central control screen changes, such as switching from displaying three cards to displaying two cards, the system can pause the frame-by-frame adjustment of the ambient effect rendering parameters to avoid resource conflicts between system resource consumption during the card layout change process and the rendering of the ambient effect.
[0192] In some embodiments, when the preset event ends, the target rendering parameters can be adjusted frame by frame to the initial rendering parameters to restore the rendering effect; or, the adjustment of the rendering parameters can be stopped and the target rendering parameters can be maintained at the time when the preset event ends.
[0193] For example, in a rainy scenario, when the user turns off the windshield wipers, the vehicle's infotainment system can detect the end of a preset event and adjust the raindrop density parameter frame-by-frame from a target value of 0 back to the initial value corresponding to the current weather level. The system then displays the process of raindrops reappearing and gradually increasing in number, with the image gradually regaining its rain cover state. Similarly, in a foggy scenario, when the user turns off the defogging function, the system can adjust the target rendering parameter frame-by-frame from a target value of 0 back to the initial value corresponding to the current weather level. The system then displays the process of fog re-gathering and the image gradually becoming hazy. In the above embodiments, by stopping the frame-by-frame adjustment of the rendering parameters of the ambient effect when the load state of the status information is a preset load state and maintaining the rendering state corresponding to the rendering parameters displayed on the display interface before stopping, it is possible to avoid the ambient effect rendering continuing to consume system resources under high load. Furthermore, by adjusting the rendering parameters of the target transition area in the target display interface from the target rendering parameters to the initial rendering parameters when the preset event ends, the ambient effect can automatically recover to the rendering state matching the current environment state after the user closes the preset function, without the need for manual user intervention, thereby improving the user experience of ambient effect rendering.
[0194] Figure 3 This is the third schematic flowchart illustrating the rendering method in this embodiment of the present disclosure, based on... Figures 1-2 The embodiment shown, Figure 3 right Figure 1 Step 102 in the text will be further explained, such as Figure 3 As shown, the steps include the following.
[0195] Step 301: In response to multiple ambient effects that meet the triggering conditions according to the state information, determine the priority of the multiple ambient effects.
[0196] Among them, there are multiple atmosphere effects, including a first atmosphere effect and a second atmosphere effect, with the first atmosphere effect having a higher priority than the second atmosphere effect.
[0197] In some embodiments, priority can be used to indicate the importance or display order of different ambient effects, and the priority can be pre-configured by the vehicle infotainment system. The vehicle infotainment system can determine the target ambient effect to be displayed from multiple ambient effects based on the priority.
[0198] For example, multiple atmospheric effects may include festive atmospheric effects and weather atmospheric effects, with festive atmospheric effects having a higher priority than weather atmospheric effects. Multiple atmospheric effects may also include a first weather atmospheric effect and a second weather atmospheric effect, with the first weather atmospheric effect having a higher priority than the second weather atmospheric effect. The specific rules for priority can be pre-configured by those skilled in the art based on the type of atmospheric effect, and this disclosure does not limit this. For example, if the vehicle system determines that the weather is rainy and the current date is the beginning of autumn, the status information can meet the triggering conditions for both the rainy atmospheric effect and the autumn ginkgo atmospheric effect, and the vehicle system can determine that the autumn ginkgo atmospheric effect has a higher priority than the rainy atmospheric effect.
[0199] For example, such as Figure 4 The flowchart illustrates the atmosphere priority arbitration and cache pool management process. Atmosphere priority arbitration management can include atmosphere arbitration at the head-up display (HUD) and at the driving / parking desktop. In HUD atmosphere arbitration, the latter's atmosphere has higher priority than the current atmosphere; in driving / parking desktop atmosphere arbitration, seasonal / festival atmospheres have higher priority than weather atmospheres. In driving / parking desktop atmosphere arbitration, low-priority atmosphere effects can be entered into the cache pool. The atmosphere cache pool can be used to cache low-priority atmospheres that are replaced by high-priority atmospheres, including cache pool list management, entering the cache pool, and exiting the cache pool. When the current driving / parking atmosphere is exited, the vehicle system can obtain and display the high-priority atmosphere.
[0200] In some embodiments, when a low-priority ambient effect is replaced by a high-priority ambient effect, if the triggering condition for the low-priority ambient effect exists, the vehicle system can store the low-priority ambient effect in a cache pool. When the high-priority ambient effect ends, the vehicle system can check if the triggering condition for the low-priority ambient effect exists. If it does, the vehicle system retrieves the low-priority ambient effect from the cache pool and restores its display.
[0201] Step 302: Determine the target atmosphere effect based on the priority of multiple atmosphere effects.
[0202] In some embodiments, determining a target ambient effect based on the priority of multiple ambient effects includes: in response to the target display device being a first display device, determining the ambient effect with higher priority as the target ambient effect based on the priority of multiple ambient effects; in response to the target display device being a second display device, where a first ambient effect is overlaid and rendered on the second display device, and a state information that meets the triggering condition is detected corresponding to a second ambient effect, determining the second ambient effect as the target ambient effect.
[0203] For example, when the target display device is the first display device, the vehicle system can determine the target ambient effect based on the priority of multiple ambient effects. The first display device can be the central control screen, and the ambient effects displayed on the central control screen can be prioritized according to their type, with different types of ambient effects corresponding to different priorities. The priority of seasonal festivals can be higher than that of weather (rain or snow) atmospheres. For example, if the weather is rainy and the current date is the beginning of autumn, the vehicle system can determine that the ambient effects that meet the triggering conditions include rain and autumn ginkgo atmosphere effects, with the autumn ginkgo atmosphere effect having a higher priority than the rain atmosphere effect. The vehicle system can then determine the autumn ginkgo atmosphere effect as the target ambient effect and display it on the central control screen.
[0204] For example, when the target display device is a second display device, a first ambient effect can be overlaid and rendered on the second display device. If the vehicle system detects that the state information meeting the triggering conditions corresponds to a second ambient effect, the vehicle system can determine the second ambient effect as the target ambient effect and overlay and render it on the second display device. The second display device can be a panoramic head-up display (HUD), and the ambient effects displayed on the HUD can be prioritized according to their arrival order. For example, if the first ambient effect is currently being displayed on the HUD, and the vehicle system detects that a second ambient effect has been triggered, the vehicle system can determine the second ambient effect as the target ambient effect and overlay and render it on the HUD, where the second ambient effect interrupts the display of the first ambient effect.
[0205] In some embodiments, the central control screen and the panoramic head-up display can coexist across different levels. The ambient effects displayed on the central control screen and the ambient effects displayed on the panoramic head-up display do not interfere with each other and can be displayed simultaneously. The two independent screens can display different ambient effects at the same time.
[0206] In the above embodiments, by determining the target ambient effect according to the type of the target display device using the corresponding priority rules, the ambient effect can be determined according to priority when multiple ambient effects are triggered, avoiding the conflict problem when multiple ambient effects are displayed at the same time. The ambient effect is determined according to the type priority on the central control screen, and interrupted according to the arrival order on the head-up display, realizing the reasonable determination of ambient effects on different display devices. Furthermore, the central control screen and the head-up display can be displayed simultaneously, improving the coordination of ambient effect display and user experience.
[0207] In summary, the rendering method proposed in this disclosure determines the vehicle's state information and, when the state information meets the triggering conditions, overlays rendering atmosphere effects based on corresponding rendering resources to simulate the visual effects corresponding to the external environment state. When a preset event is detected, the rendering parameters of the atmosphere effects are adjusted frame by frame and the continuous change process is displayed to dynamically respond to changes in vehicle function state or user interaction operations. This achieves dynamic visual feedback that links the atmosphere effects with the vehicle's real environment and user interaction, thereby improving the dynamic response performance and real-time interactivity of the intelligent cockpit atmosphere effects.
[0208] based on Figures 1-3 The embodiments shown below provide a specific implementation method, and the execution method shown in the following implementation method can be used as... Figures 1-3 One specific implementation method of the embodiment shown is described.
[0209] This specific implementation consists of a cloud-controlled resource management module, a vehicle environmental signal monitoring and atmosphere triggering module, an atmosphere rendering module, a gesture trajectory erasure module, a priority scheduling module, and a performance degradation module. The system dynamically controls the atmosphere rendering effects on the central control screen, driving / parking desktop, or head-up display based on information such as cloud control configuration, weather conditions, vehicle wiper / defogging signals, and user touch trajectories. The following sections describe each module in detail.
[0210] The cloud-controlled resource management module is primarily used for remote management of ambient effect resources. It distributes effect configurations, resource package addresses, version numbers, effective dates, trigger conditions, and resource information from the cloud. The vehicle then downloads the corresponding resource package based on the configuration. This resource package includes description files, scripts, textures, particle parameters, noise maps, mask maps, and high / low performance parameter files. This module enables the addition or updating of ambient effects without relying on over-the-air (OTA) download technology.
[0211] The vehicle environment signal monitoring and atmosphere triggering module is used to uniformly monitor vehicle environment signals and determine whether to trigger the corresponding atmosphere effect. This module acquires information such as weather status, wiper switch status, wiper gear position, front and rear defroster status, air conditioning defroster mode, and user touch events, and synchronizes key statuses to the dynamic rendering module to adjust the intensity of environmental effects such as rain, fog, and snow. In terms of triggering logic, seasonal or holiday atmospheres are triggered based on the cloud-controlled date range; rain, snow, and fog atmospheres are triggered based on the weather status pushed by the vehicle's weather component, and the performance is adjusted in conjunction with vehicle function statuses such as wipers and defroster; head-up display atmospheres further consider conditions such as gear position and seatbelt status. If multiple atmospheres are triggered simultaneously, the priority scheduling module arbitrates to determine the final display effect.
[0212] The priority scheduling module, as the core hub of the atmosphere system, manages the lifecycle of all atmosphere effects. It interfaces upwards with two sets of trigger sources (driving / parking desktop atmosphere trigger source / full-screen advanced atmosphere trigger source and head-up display trigger source), and downwards with two rendering containers (a persistent desktop container and a non-persistent full-screen container). Its core responsibilities include: cross-level coexistence management (the driving / parking desktop layer and the head-up display layer do not interfere with each other and can be displayed simultaneously), priority arbitration within the same level (the driving / parking desktop layer arbitrates by type priority, with solar terms and holidays taking precedence over weather; in the head-up display layer, the latter directly interrupts the former), a caching pool mechanism, and an exit mechanism.
[0213] Figure 4 This is a flowchart illustrating the atmosphere priority arbitration and cache pool management process according to an embodiment of this disclosure. Figure 4 As shown, the atmosphere priority arbitration management can include atmosphere arbitration at the head-up display (HUD) and at the driving / parking desktop. In HUD atmosphere arbitration, the latter's atmosphere has higher priority than the current atmosphere; in driving / parking desktop atmosphere arbitration, seasonal / festival atmospheres have higher priority than weather atmospheres. In driving / parking desktop atmosphere arbitration, low-priority atmosphere effects can be cached. The atmosphere cache pool can be used to cache low-priority atmospheres that are replaced by high-priority atmospheres, including cache pool list management, entering the cache pool, and exiting the cache pool. When the current driving / parking atmosphere is exited, the vehicle system can obtain and display the high-priority atmosphere.
[0214] The atmosphere rendering module uses a lightweight rendering engine to render raindrops, fog, blur, brightness, and particle effects. This module can adjust the following parameters in real time based on the vehicle's status: raindrop density; raindrop sliding speed; fog transparency; screen blur intensity; and gesture-based mask removal. The fog state is calculated using the current fog transparency, the target fog transparency, and the animation transition curve. fogAlpha = lerp(fogAlphaCurrent, fogAlphaTarget, AC(t / ts)); Where t is the current animation time, ts is the total animation transition time, AC is the animation transition curve, fogAlphaCurrent is the current fog transparency, fogAlphaTarget is the target fog transparency calculated based on the defogging state, lerp is linear interpolation, and fogAlpha is the fog transparency.
[0215] The gesture trajectory erasure module is primarily used to achieve the effect of raindrops or fog being wiped away by a finger when the user swipes on the screen. When the user swipes on the central control screen, the system collects the touch point coordinates, touch time, swipe speed, and trajectory width, generating a dynamic erasure mask from the continuous touch points. The rendering module reads this mask when drawing raindrops or fog. If the current pixel is within the gesture trajectory area, it reduces the transparency of the raindrops and fog, as well as the blur intensity, making the swipe trajectory area appear locally clear. Over time, the erasure mask can gradually recover, allowing raindrops or fog to cover the area again, thus simulating the effect of raindrops being wiped away and then re-gathering on real glass.
[0216] The performance degradation module primarily controls the CPU / GPU usage of rain and fog effects. The system can dynamically adjust particle count, texture sampling precision, rendering area, and frame rate based on driving / parking status, current load, desktop switching status, and user interaction. The driving desktop can use low-performance parameters, rendering only in the gaps between cards; the parking desktop can use full rendering; and when the system is under high load, the dynamic calculation of rain and fog can be paused and a static frame maintained.
[0217] In summary, this solution integrates cabin atmosphere effects such as rain, snow, and fog with the vehicle's real-world environment. This transforms the screen display from static animations into dynamic changes that follow vehicle status, including wipers, defroster, and weather conditions. When wipers or defroster are off, effects like fog, raindrops, and low resolution enhance the immersive experience. When wipers or defroster are on, the gradual brightening and clearing of the screen reflects vehicle control actions. User gestures create the visual effect of raindrops or fog being wiped away, strengthening the connection between screen interaction and real-world glass wiping. Furthermore, cloud-based configuration and hot-update mechanisms allow for the addition, updating, or removal of atmosphere effects without OTA updates, improving operational flexibility. The system-level full-screen animation framework overcomes the limitations of ordinary application windows, enabling different display levels such as the in-vehicle parking desktop, full-screen atmosphere effects, and head-up display.
[0218] Figure 5 This is a schematic diagram of the structure of a rendering apparatus 500 according to an embodiment of the present disclosure. Figure 5 As shown, the device includes: a determination module 510, a rendering module 520, and an adjustment module 530.
[0219] The determination module 510 is configured to: determine the vehicle's status information, including the weather conditions of the area where the vehicle is located and / or the vehicle's current time status; the rendering module 520 is configured to: in response to the status information meeting the trigger conditions, overlay rendering atmosphere effects on the display content of the vehicle's display interface based on the rendering resources corresponding to the status information; the adjustment module 530 is configured to: in response to the detection of a preset event, adjust the rendering parameters of the atmosphere effects frame by frame based on the preset event, and display the change process of the atmosphere effects through the display interface.
[0220] In some embodiments, the determining module 510 is configured to: acquire a vehicle status signal, the status signal including at least one of a weather status signal, a time status signal, a driving status signal, and a display status signal of a display device; and determine status information based on the status signal, the status information including at least one of a vehicle status, a display status, and a load status, the vehicle status including a first status and a second status, and the display status including the status of a first display device and / or a second display device.
[0221] In some embodiments, the determining module 510 is configured to: determine the target rendering resource and the target display device based on the state information in response to the state information satisfying the triggering condition; the rendering module 520 is configured to: overlay the rendering target atmosphere effect on the display content of the target display interface corresponding to the target display device based on the target rendering resource and the state information.
[0222] In some embodiments, the triggering condition includes at least one of the following: the weather status in the status information is preset weather, the preset weather includes type and level; the time status in the status information meets preset time conditions, the preset time conditions include preset date and preset time period.
[0223] In some embodiments, the determining module 510 is configured to: determine the target display device based on the vehicle status in the status information; and determine the target rendering resource based on the status information and the display status of the target display device.
[0224] In some embodiments, the determining module 510 is configured to: determine the first display device as the target display device in response to the vehicle state being a first state, wherein the first display device is used to display a first interface or a second interface, wherein the first interface is used to display at least one preset window, and the second interface is used to display a three-dimensional model of the vehicle; or determine the first display device and / or the second display device as the target display device in response to the vehicle state being a second state, wherein the second display device is used to display the driving state of the vehicle.
[0225] In this disclosure, the first state is the driving state, and the target display device is the central control screen; the second state is the parking state, and the target display device is the central control screen and / or head-up display.
[0226] In some embodiments, the determining module 510 is configured to: determine a first preset rendering resource corresponding to the state information as a target rendering resource in response to the target display device displaying a 3D model of a vehicle; and determine a second preset rendering resource corresponding to the state information as a target rendering resource in response to the target display device displaying a 3D model of a vehicle not being displayed.
[0227] In some embodiments, the determining module 510 is configured to: in response to the weather state in the status information being a preset weather, determine the initial rendering parameters of the target atmosphere effect based on the target rendering resource and the level of the preset weather; the rendering module is configured to: based on the initial rendering parameters, overlay the target atmosphere effect onto the display content of the target display interface, and display the initial rendering state of the target atmosphere effect through the target display interface.
[0228] In some embodiments, the rendering module 520 is configured to: in response to the target display device including a first display device and the first display device displaying a first interface, overlay a target atmosphere effect on a preset area of the first display device based on initial rendering parameters, wherein the preset area is an area in the display interface of the first display device other than at least one preset window; and display the initial rendering state of the target atmosphere effect through the preset area.
[0229] In some embodiments, the determining module 510 is configured to: determine the target rendering parameters, the target transition area corresponding to the target rendering parameters, and the target transition duration based on a preset event; the rendering module is configured to: adjust the initial rendering parameters of the target transition area in the display interface frame by frame based on a preset transition curve and / or the target transition duration, until the initial rendering parameters are adjusted to the target rendering parameters, and display the change process of the target atmosphere effect from the initial rendering state to the target rendering state in the target transition area.
[0230] In some embodiments, the preset event includes at least one of the following: the preset function corresponding to the preset weather is switched from a closed state to an open state; the preset function corresponding to the preset weather is switched from an open state to a closed state; user interaction.
[0231] In some embodiments, the determining module 510 is configured to: in response to a preset event that a preset function is switched from a closed state to an open state or a preset function is switched from an open state to a closed state, determine the target rendering parameters, target transition area and target transition duration corresponding to the preset function; in response to a preset event that is a user's interactive operation, determine the target transition area, target rendering parameters and target transition duration based on the trajectory of the interactive operation.
[0232] In some embodiments, the determining module 510 is configured to: in response to the target transition duration being greater than a preset value, for each frame of image within the target transition duration, determine the interpolation weight corresponding to each frame of image based on the ratio of the duration corresponding to each frame of image to the target transition duration and the preset transition curve; and determine the rendering parameters of each frame of image according to the interpolation weight, the initial rendering parameters and the target rendering parameters, so as to overlay rendering on the target transition area until the target rendering state of the target atmosphere effect is achieved.
[0233] In this disclosure, the adjustment module is configured to adjust the initial rendering parameters of the target transition region to the target rendering parameters in response to the target transition duration being less than or equal to a preset value.
[0234] In some embodiments, the adjustment module 530 is configured to: stop adjusting the rendering parameters of the ambient effect frame by frame in response to the load state of the status information being a preset load state, and maintain the rendering state corresponding to the rendering parameters before the frame-by-frame adjustment was stopped; and adjust the rendering parameters of the target transition area in the target display interface frame by frame from the target rendering parameters to the initial rendering parameters in response to the end of a preset event.
[0235] In some embodiments, the determining module 510 is configured to: determine the priority of multiple atmosphere effects in response to multiple atmosphere effects corresponding to the state information satisfying the triggering condition; and determine a target atmosphere effect based on the priority of the multiple atmosphere effects; wherein the multiple atmosphere effects include a first atmosphere effect and a second atmosphere effect, and the priority of the first atmosphere effect is higher than the priority of the second atmosphere effect.
[0236] In some embodiments, the determining module 510 is configured to: in response to the target display device being a first display device, determine the high-priority ambient effect as the target ambient effect according to the priority of multiple ambient effects; in response to the target display device being a second display device, overlay rendering the first ambient effect on the second display device, and detecting that the state information that meets the triggering condition corresponds to the second ambient effect, determine the second ambient effect as the target ambient effect.
[0237] In summary, by acquiring the weather or time status of the vehicle's location in real time, and by overlaying atmospheric effects with corresponding rendering resources when the status information meets the triggering conditions to simulate the visual effects corresponding to the external environment, and by adjusting the rendering parameters of the atmospheric effects frame by frame and displaying the continuous change process when a preset event is detected to dynamically respond to changes in vehicle function status or user interaction, a rendering device is realized that upgrades atmospheric effects from static display to dynamic visual feedback that is linked with the vehicle's real environment and user interaction. This improves the dynamic response performance and real-time interactivity of the intelligent cockpit atmospheric effects.
[0238] Figure 6This is a schematic diagram of the structure of the electronic device 600 shown in the embodiments of this disclosure.
[0239] Reference Figure 6 The electronic device 600 may include one or more of the following components: a processing component 602, a memory 604, a power supply component 606, a multimedia component 608, an audio component 610, an input / output (I / O) interface 612, a sensor component 614, and a communication component 616.
[0240] Processing component 602 typically controls the overall operation of electronic device 600, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 602 may include one or more processors 620 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 602 may include one or more modules to facilitate interaction between processing component 602 and other components. For example, processing component 602 may include a multimedia module to facilitate interaction between multimedia component 608 and processing component 602.
[0241] Memory 604 is configured to store various types of data to support the operation of electronic device 600. Examples of such data include instructions for any application or method operating on electronic device 600, contact data, phonebook data, messages, pictures, videos, etc. Memory 604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0242] Power supply component 606 provides power to various components of electronic device 600. Power supply component 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 600.
[0243] Multimedia component 608 includes a screen that provides an output interface between electronic device 600 and user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of touch or swipe actions but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 608 includes a front-facing camera and / or a rear-facing camera. When electronic device 600 is in an operating mode, such as a shooting mode or video mode, the front-facing camera and / or rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0244] Audio component 610 is configured to output and / or input audio signals. For example, audio component 610 includes a microphone (MIC) configured to receive external audio signals when electronic device 600 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 604 or transmitted via communication component 616. In some embodiments, audio component 610 also includes a speaker for outputting audio signals.
[0245] I / O interface 612 provides an interface between processing component 602 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0246] Sensor assembly 614 includes one or more sensors for providing state assessments of various aspects of electronic device 600. For example, sensor assembly 614 may detect the on / off state of electronic device 600, the relative positioning of components such as the display and keypad of electronic device 600, changes in position of electronic device 600 or a component of electronic device 600, the presence or absence of user contact with electronic device 600, orientation or acceleration / deceleration of electronic device 600, and temperature changes of electronic device 600. Sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 614 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.
[0247] Communication component 616 is configured to facilitate wired or wireless communication between electronic device 600 and other devices. Electronic device 600 can access wireless networks based on communication standards, such as WiFi, 2G or 3G, 4G LTE, 5G NR (NewRadio), or combinations thereof. In one exemplary embodiment, communication component 616 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 616 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0248] In an exemplary embodiment, the electronic device 600 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0249] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, which can be executed by a processor 620 of an electronic device 600 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0250] In some embodiments, the electronic device is a mobile device such as a vehicle or robot. In other embodiments, the electronic device is a terminal such as a mobile phone or computer.
[0251] Embodiments of this disclosure also provide a computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to perform the rendering methods described in the above embodiments of this disclosure.
[0252] Embodiments of this disclosure also provide a computer program product including computer instructions for causing a computer to execute the rendering methods described in the above embodiments of this disclosure.
[0253] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses, systems, and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0254] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with an embodiment or example is included in at least one embodiment or example of this disclosure. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0255] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing a particular logical function or process, and the scope of preferred embodiments of this disclosure includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the function involved, as will be understood by those skilled in the art to which embodiments of this disclosure pertain.
[0256] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processing module, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (control method), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Furthermore, computer-readable media can even be paper or other suitable media on which programs can be printed, because programs can be obtained electronically, for example, by optically scanning the paper or other media, followed by editing, interpreting, or otherwise processing as necessary, and then stored in computer memory.
[0257] It should be understood that various parts of the embodiments of this disclosure can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0258] Those skilled in the art will understand that all or part of the steps of the methods described in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
[0259] Furthermore, the functional units in the various embodiments of this disclosure can be integrated into a single processing module, or each unit can exist physically separately, or two or more units can be integrated into a single module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. The aforementioned storage medium can be a read-only memory, a hard disk, or an optical disk, etc.
[0260] Although embodiments of the present disclosure have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present disclosure. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present disclosure.
Claims
1. A rendering method, characterized in that, The method includes: Determine the vehicle's status information, which includes the weather conditions of the area where the vehicle is located and / or the vehicle's current time status; In response to the state information satisfying the triggering condition, based on the rendering resources corresponding to the state information, rendering atmosphere effects are superimposed on the display content of the vehicle's display interface; In response to the detection of a preset event, the rendering parameters of the atmosphere effect are adjusted frame by frame based on the preset event, and the change process of the atmosphere effect is displayed through the display interface.
2. The method according to claim 1, characterized in that, The determination of the vehicle's status information includes: Acquire the vehicle's status signal, which includes at least one of weather status signal, time status signal, driving status signal, and display status signal of the display device; Based on the status signal, the status information is determined. The status information also includes at least one of vehicle status, display status, and load status. The vehicle status includes a first status and a second status. The display status includes the status of a first display device and / or a second display device.
3. The method according to claim 1, characterized in that, In response to the state information satisfying the triggering condition, based on the rendering resources corresponding to the state information, rendering atmosphere effects are overlaid on the display content of the vehicle's display interface, including: In response to the state information satisfying the triggering condition, the target rendering resource and the target display device are determined based on the state information; Based on the target rendering resources and the state information, a target atmosphere effect is overlaid on the display content of the target display interface corresponding to the target display device.
4. The method according to claim 3, characterized in that, The triggering condition includes at least one of the following: The weather status in the status information is preset weather, which includes type and level. The time status in the status information meets preset time conditions, which include a preset date and a preset time period.
5. The method according to claim 3, characterized in that, The step of responding to the state information satisfying the triggering condition and determining the target rendering resource and target display device based on the state information includes: The target display device is determined based on the vehicle status in the status information; The target rendering resource is determined based on the status information and the display status of the target display device.
6. The method according to claim 5, characterized in that, Determining the target display device based on the vehicle status in the status information includes: In response to the vehicle state being a first state, a first display device is determined as the target display device. The first display device is used to display a first interface or a second interface. The first interface is used to display at least one preset window, and the second interface is used to display a three-dimensional model of the vehicle; or In response to the vehicle state being a second state, the first display device and / or the second display device are determined as the target display device, wherein the second display device is used to display the driving state of the vehicle.
7. The method according to claim 6, characterized in that, The first state is the driving state, and the target display device is the central control screen; The second state is the parking state, and the target display device is the central control screen and / or head-up display.
8. The method according to claim 5, characterized in that, Determining the target rendering resource based on the status information and the display status of the target display device includes any one of the following: In response to the display state of the target display device being a display of a three-dimensional model of the vehicle, the first preset rendering resource corresponding to the state information is determined as the target rendering resource; In response to the target display device's display state being that the three-dimensional model of the vehicle is not displayed, the second preset rendering resource corresponding to the state information is determined as the target rendering resource.
9. The method according to claim 3, characterized in that, The step of overlaying target atmosphere effects onto the display content of the target display interface corresponding to the target display device based on the target rendering resources and the state information includes: In response to the weather status being a preset weather in the status information, the initial rendering parameters of the target atmosphere effect are determined based on the target rendering resource and the level of the preset weather. Based on the initial rendering parameters, the target atmosphere effect is overlaid and rendered on the display content of the target display interface, and the initial rendering state of the target atmosphere effect is displayed through the target display interface.
10. The method according to claim 9, characterized in that, The step of overlaying and rendering the target atmosphere effect onto the display content of the target display interface based on the initial rendering parameters, and displaying the initial rendering state of the target atmosphere effect through the target display interface, includes: In response to the target display device including a first display device and the first display device displaying a first interface, based on the initial rendering parameters, the target atmosphere effect is superimposed and rendered in a preset area of the first display device, wherein the preset area is the area in the display interface of the first display device other than at least one preset window; The initial rendering state of the target atmosphere effect is displayed through the preset area.
11. The method according to any one of claims 1 to 10, characterized in that, The step of responding to the detection of a preset event, adjusting the rendering parameters of the atmospheric effect frame by frame based on the preset event, and displaying the change process of the atmospheric effect through the display interface includes: Based on the preset event, the target rendering parameters, the target transition area corresponding to the target rendering parameters, and the target transition duration are determined; Based on the preset transition curve and / or the target transition duration, the initial rendering parameters of the target transition area in the display interface are adjusted frame by frame until the initial rendering parameters are adjusted to the target rendering parameters, and the change process of the target atmosphere effect from the initial rendering state to the target rendering state is displayed in the target transition area.
12. The method according to claim 11, characterized in that, The preset event includes at least one of the following: The preset weather function is switched from off to on. The preset weather function is switched from on to off. User interaction.
13. The method according to claim 11, characterized in that, The step of determining the target rendering parameters, the target transition region corresponding to the target rendering parameters, and the target transition duration based on the preset event includes any one of the following: In response to the preset event that a preset function switches from a closed state to an open state or a preset function switches from an open state to a closed state, the target rendering parameters corresponding to the preset function, as well as the target transition area and the target transition duration are determined. In response to the preset event being a user interaction, the target transition area, target rendering parameters, and target transition duration are determined based on the trajectory of the interaction.
14. The method according to claim 11, characterized in that, The step of adjusting the initial rendering parameters of the target transition area in the display interface frame by frame based on a preset transition curve and / or the target transition duration until the initial rendering parameters are adjusted to the target rendering parameters, and displaying the change process of the target atmosphere effect from the initial rendering state to the target rendering state in the target transition area, includes: In response to the target transition duration being greater than a preset value, for each frame of image within the target transition duration, the interpolation weight corresponding to each frame of image is determined based on the ratio of the duration corresponding to each frame of image to the target transition duration and the preset transition curve; Based on the interpolation weights, the initial rendering parameters, and the target rendering parameters, the rendering parameters for each frame of the image are determined to overlay the target transition region until the target rendering state of the target atmosphere effect is achieved.
15. The method according to claim 11, characterized in that, The step of adjusting the initial rendering parameters of the target transition area in the display interface frame by frame based on a preset transition curve and / or the target transition duration until the initial rendering parameters are adjusted to the target rendering parameters, and displaying the change process of the target atmosphere effect from the initial rendering state to the target rendering state in the target transition area, includes: In response to the target transition duration being less than or equal to a preset value, the initial rendering parameters of the target transition region are adjusted to the target rendering parameters.
16. The method according to claim 11, characterized in that, The method further includes at least one of the following: In response to the load state of the state information satisfying the preset load condition, the frame-by-frame adjustment of the rendering parameters of the atmosphere effect is stopped, and the rendering state corresponding to the rendering parameters before the frame-by-frame adjustment was stopped is maintained. In response to the end of the preset event, the rendering parameters of the target transition area in the target display interface are adjusted frame by frame from the target rendering parameters to the initial rendering parameters, or the target rendering parameters are maintained.
17. The method according to claim 3, characterized in that, The method further includes: In response to the state information satisfying the triggering condition, the priority of the multiple atmosphere effects is determined; The target atmosphere effect is determined based on the priority of the multiple atmosphere effects; The plurality of atmospheric effects include a first atmospheric effect and a second atmospheric effect, wherein the first atmospheric effect has a higher priority than the second atmospheric effect.
18. The method according to claim 17, characterized in that, Determining the target atmospheric effect based on the priority of the plurality of atmospheric effects includes: In response to the target display device being the first display device, the higher priority ambient effect is determined as the target ambient effect according to the priority of the plurality of ambient effects; In response to the target display device being a second display device, the first ambient effect is superimposed and rendered on the second display device, and the state information that satisfies the triggering condition is detected to correspond to the second ambient effect, the second ambient effect is determined as the target ambient effect.
19. A rendering apparatus, characterized in that, The apparatus includes a module for implementing the rendering method according to any one of claims 1 to 18.
20. An electronic device, characterized in that, include: A processor and a memory for storing a computer program capable of running on the processor, wherein the processor, when running the computer program, performs the method of any one of claims 1 to 18.
21. A computer-readable storage medium storing computer instructions, characterized in that, The computer instructions are used to cause the computer to perform the method according to any one of claims 1 to 18.
22. A program product, characterized in that, Includes computer instructions for causing a computer to perform the method of any one of claims 1 to 18.
