Image processing method, system, apparatus, and computer program product

By acquiring dynamic change parameters of the virtual scene and using post-processing techniques to optimize the movement and presentation of dynamic water droplet particles, the problem of water droplet trajectories not changing with the virtual scene was solved, improving the realism and vividness of the dynamic water droplets and enhancing the user experience.

CN119832133BActive Publication Date: 2025-12-19NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411898648.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-20
Publication Date
2025-12-19
Estimated Expiration
2044-12-20

AI Technical Summary

Technical Problem

Existing screen water droplet simulation technology struggles to dynamically adjust the trajectory of the water droplets according to changes in the virtual scene, causing the dynamic water droplet effect to lose its randomness over long-term observation, thus affecting the user experience.

Method used

By acquiring the dynamic change parameters of the virtual scene display, dynamic water droplet particles are generated, and their movement trajectory is correlated with the changes in the content of the display. Then, through post-processing techniques such as blurring, masking, and refraction brightness adjustment, the presentation effect of the water droplets in the virtual scene is optimized.

Benefits of technology

It achieves a better integration of dynamic water droplet effects with virtual scenes, enhancing the user's visual realism and immersion, and improving the lifelike and vivid expression of dynamic water droplets.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119832133B_ABST
    Figure CN119832133B_ABST
Patent Text Reader

Abstract

The present disclosure provides an image processing method, system, device and computer program product, relating to the technical field of computer animation, the image processing method of the present disclosure comprises: acquiring a dynamic change parameter of a virtual scene display picture; generating a dynamic water droplet particle based on the dynamic change parameter, the motion trajectory of the dynamic water droplet particle is related to the content change of the display picture; acquiring a dynamic rendering target containing the dynamic water droplet particle; performing post-processing on the dynamic rendering target to generate a display picture superimposed with a dynamic water droplet effect.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present specification relates to the technical field of computer animation, and in particular, to an image processing method, system, device and computer program product. BACKGROUND

[0002] Screen water droplet is a visual effect used to simulate the appearance of water droplets falling on the screen. This effect is commonly used in movies, video games and graphical user interfaces to increase visual realism. Screen water droplets can simulate the shape, size and motion state of water droplets, making them look like real water droplets and having the same light and shadow effects as real water droplets, which can reflect or refract light to increase the stereoscopic effect and realism of the display picture, providing users with a better viewing experience.

[0003] Some embodiments of the present specification provide an image processing method, which can further optimize the simulation of the motion state of dynamic water droplets, so that the dynamic water droplet effect presented in the display picture can be more realistic and lively. SUMMARY

[0004] One or more embodiments of the present specification provide an image processing method, which can specifically include: obtaining a dynamic change parameter of a virtual scene display picture; generating a dynamic water droplet particle based on the dynamic change parameter, the motion trajectory of the dynamic water droplet particle being associated with the content change of the display picture; obtaining a dynamic rendering target containing the dynamic water droplet particle; performing post-processing on the dynamic rendering target to generate a display picture superimposed with a dynamic water droplet effect.

[0005] According to the method of one or more embodiments of the present specification, obtaining a dynamic change parameter of a virtual scene display picture includes: obtaining a motion parameter of a virtual object in the virtual scene display picture in the virtual scene; wherein the motion parameter includes the motion direction of the virtual object and / or the motion speed of the virtual object.

[0006] According to the method of one or more embodiments of the present specification, generating a dynamic water droplet particle based on the dynamic change parameter includes: determining the force information of the dynamic water droplet particle based on the motion parameter; the motion direction of the dynamic water droplet particle is offset based on the force information, so that the motion trajectory of the dynamic water droplet particle changes based on the motion of the virtual object in the display picture.

[0007] According to the method of one or more embodiments of the present specification, the force information of the dynamic water droplet particle includes the force direction and / or the force value of the dynamic water droplet particle; the force direction of the dynamic water droplet particle is determined based on the motion direction of the virtual object; the force value of the dynamic water droplet particle in the force direction is determined based on the motion speed of the virtual object in the motion direction.

[0008] According to the method of one or more embodiments of the present specification, determining the force information of the dynamic water droplet particle based on the motion parameter includes: when the virtual object is in a static state in the virtual scene, the force information of the dynamic water droplet particle includes the self-gravity of the dynamic water droplet particle; when the virtual object is in a motion state in the virtual scene, the force information of the dynamic water droplet particle includes the self-gravity of the dynamic water droplet particle, the turning force received by the dynamic water droplet particle, and / or the forward force received by the dynamic water droplet particle; wherein the direction of the turning force is opposite to the turning direction of the virtual object in the virtual scene; the size of the forward force is positively correlated with the forward speed of the virtual object in the virtual scene.

[0009] According to the method of one or more embodiments of the present specification, obtaining the dynamic rendering target containing the dynamic water droplet particle includes: based on the preset virtual camera, shooting the dynamic water droplet particle in the display picture to obtain the dynamic rendering target; wherein the number of dynamic water droplet particles contained in the dynamic rendering target is less than or equal to the number of generated dynamic water droplet particles.

[0010] According to the method of one or more embodiments of the present specification, the dynamic rendering target contains the normal information of the dynamic water droplet particle; the post-processing of the dynamic rendering target includes: based on the first preset parameter, adjusting the normal information of the dynamic water droplet particle in the dynamic rendering target; the first preset parameter is used to represent the ideal refraction range of the water droplet particle in the virtual scene corresponding to the display picture, wherein the value of the first preset parameter is positively correlated with the refraction range.

[0011] According to the method of one or more embodiments of the present specification, the post-processing of the dynamic rendering target includes: performing blur processing on the water droplet particle in the dynamic rendering target.

[0012] According to the method of one or more embodiments of the present specification, the blur processing on the water droplet particle in the dynamic rendering target includes at least one of: box-shaped blur processing on the water droplet particle; Gaussian blur processing on the water droplet particle; or sequentially performing box-shaped blur processing and Gaussian blur processing on the water droplet particle.

[0013] According to the method of one or more embodiments of the present specification, the post-processing of the dynamic rendering target includes: based on the second preset parameter, forming a mask area to perform mask processing on at least part of the water droplet particles in the dynamic rendering target; the second preset parameter includes at least one of: the position of the mask area relative to the display picture, the shape of the mask area, the coverage area of the mask area, the distribution of the soft mask sub-area in the mask area, and the softness of the soft mask sub-area.

[0014] According to the method, the post-processing on the dynamic rendering target comprises: adjusting the refraction brightness of the dynamic water droplet particle in the dynamic rendering target based on a third preset parameter, the third preset parameter being used to represent the ideal refraction brightness of the water droplet particle in the virtual scene corresponding to the display picture.

[0015] According to the method, the post-processing on the dynamic rendering target comprises: adjusting the refraction range of the dynamic water droplet particle in the dynamic rendering target based on a fourth preset parameter, the fourth preset parameter being used to represent the ideal fusion degree of the water droplet particle in the virtual scene corresponding to the display picture, the value of the ideal fusion degree being positively correlated with the refraction range.

[0016] According to the method, the post-processing on the dynamic rendering target comprises: judging whether there is a highlight display area with display brightness greater than a preset threshold in the display picture; and if yes, expanding the refraction range of the dynamic water droplet particle in the dynamic rendering target located in the highlight display area.

[0017] Some embodiments of the present specification also provide an image processing system, which can specifically comprise: an acquisition unit configured to acquire a dynamic change parameter of a virtual scene display picture; a water droplet particle generation unit configured to generate a dynamic water droplet particle based on the dynamic change parameter, the motion track of the dynamic water droplet particle being associated with the content change of the display picture; a rendering target acquisition unit configured to acquire a dynamic rendering target containing the dynamic water droplet particle; and a post-processing unit configured to perform post-processing on the dynamic rendering target to generate a display picture with superimposed dynamic water droplet effect.

[0018] Some embodiments of the present specification also provide an image processing device comprising a processor and a storage medium, the storage medium being configured to store computer instructions, and the processor being configured to execute at least part of the computer instructions to implement the image processing method provided by the foregoing embodiments.

[0019] Some embodiments of the present specification also provide a computer program product comprising computer instructions or a computer program, at least part of which can be executed by a processor to implement the image processing method provided by the foregoing embodiments. BRIEF DESCRIPTION OF DRAWINGS

[0020] The present specification will be further described in the manner of exemplary embodiments, which will be described in detail with reference to the accompanying drawings. The same reference numbers in the drawings represent the same structures or steps.

[0021] Figure 1 is a schematic view of a water droplet normal map according to some embodiments of the present specification.

[0022] Figure 2 is a flowchart of an image processing method according to some embodiments of the present specification.

[0023] Figure 3 is a schematic diagram of a display screen showing a simulated vehicle driving in a virtual scene according to some embodiments of the present specification.

[0024] Figure 4 is a flowchart of generating dynamic water droplet particles based on dynamic changing parameters according to some embodiments of the present specification.

[0025] Figure 5 is a schematic diagram of force on a dynamic water droplet particle according to some embodiments of the present specification.

[0026] Figure 6 is a schematic diagram of taking a picture of a dynamic water droplet particle based on a preset virtual camera according to some embodiments of the present specification.

[0027] Figure 7 is a schematic diagram of normal information recording of a dynamic water droplet particle according to some embodiments of the present specification.

[0028] Figure 8a and Figure 8b According to some embodiments of the present specification, schematic diagrams of display screens showing a simulated vehicle driving in a virtual scene under different mask processing are shown respectively.

[0029] Figure 9a and Figure 9b According to some embodiments of the present specification, schematic diagrams of display screens showing a simulated vehicle driving in a virtual scene under different refraction range adjustment are shown respectively.

[0030] Figure 10a and Figure 10b According to some embodiments of the present specification, schematic diagrams of display screens showing a simulated vehicle driving in a virtual scene under different scaling factor adjustment are shown respectively.

[0031] Figure 11 is a structural schematic diagram of an image processing system according to some embodiments of the present specification. DETAILED DESCRIPTION

[0032] In order to more clearly illustrate the technical solutions of the embodiments of the present specification, the embodiments will be described in detail below with reference to the drawings. Obviously, the following description is some examples or embodiments of the present specification, and for those skilled in the art, without paying creative labor, the technical solutions or means disclosed in the present specification can also be applied to other scenarios according to these technical contents.

[0033] It should be understood that the terms “system,” “device,” “unit,” and / or “module” used in the specification are a method for distinguishing different components, elements, parts, sections, or assemblies from one another. However, if other expressions can achieve the same purpose, the above expressions can be replaced by other expressions.

[0034] Unless specifically stated otherwise, technical terms described in the specification are intended to refer to the common understanding of the terms as of the filing date of the present disclosure. It will be apparent to those skilled in the art that various modifications and variations can be made to the present disclosure without departing from the spirit or scope of the disclosure. Thus, it is intended that the present disclosure cover the modifications and variations of this disclosure provided they come within the scope of the appended claims and their equivalents.

[0035] Flowcharts in the specification are used to illustrate the operation steps performed by the device or system of the related embodiments. Unless specifically stated, the order of the steps described should not be understood as a limitation on the order of execution of the steps. Those skilled in the art can adjust the order of execution of the steps based on the knowledge conveyed by the embodiments of the present disclosure, and the adjustment includes but is not limited to reversing the order, merging multiple steps, and splitting a step.

[0036] Image processing technology is a technology that uses a computing device to analyze and process a display image that a terminal device needs to present, so as to obtain a visual image with a desired effect. The technology is widely used in the development and production of film special effects, virtual reality, animation, and video games (or simply games).

[0037] In some embodiments, the visual scene of the application of film special effects, virtual reality, games, etc. can be referred to as a virtual scene. For games, the virtual scene can also be referred to as a game scene. The virtual scene can be presented through a graphical user interface (Graphical User Interface, referred to as GUI), which can include virtual elements such as environment, characters, buildings, machines, and props, thereby restoring at least part of the virtual world. In order to make the presentation effect of the virtual world in the visual image close, some image processing techniques can be used.

[0038] For ease of description, in the embodiments provided in the specification, the virtual scene of the game is mainly taken as an example for description, but it should be understood that the methods or technical means disclosed in the embodiments of the present disclosure are also applicable to the production process of film special effects, virtual reality, animation, etc. without limitation.

[0039] For example, in some embodiments of the present disclosure, to simulate a common weather environment of "raining" in a virtual scene, a dynamic water droplet effect can be simulated and rendered using a post-processing shader. As shown in the example, Figure 1 is a schematic diagram of a water droplet normal map according to some embodiments of the present disclosure. As shown in the water droplet normal map, Figure 1 contains a plurality of different water droplet path channels 110, each of which contains a preset water droplet sliding path 111. By giving different addition values over time, the water droplets in each water droplet path channel 110 are randomly circulated down the water droplet sliding path 111 to achieve a dynamic water droplet effect of water droplet sliding. Since the normal map of each water droplet path channel 110 is relatively fixed, the dynamic process of each water droplet sliding is also fixedly circulated and does not support dynamic adjustment of the sliding trajectory according to changes in the display screen. If a user observes the display screen for a long time, the dynamic change rule of the water droplets can be easily observed, which leads to a loss of randomness and affects the user's experience.

[0040] To further optimize the motion simulation and presentation effect of the dynamic water droplets, make the presentation of the dynamic water droplets in the display screen more realistic, and achieve the ideal visual effect of the user, one or more embodiments of the present disclosure provide an image processing method that can optimize the simulation of the motion state of the dynamic water droplets, so that the dynamic water droplet effect presented in the display screen is more realistic and lively.

[0041] Figure 2 is a flowchart of an image processing method according to some embodiments of the present disclosure. In some embodiments, Figure 2 the flowchart 200 can be executed by a computing device, for example, can be implemented by an image processing system 1100 disposed on the computing device. Specifically, in some embodiments, the computing device can be a desktop computer, a notebook computer, a mobile phone, a VR device, a tablet computer, etc.; in some embodiments, the computing device can be a user-side device, or a server-side device or a cloud-side device; part of the flowchart 200 can be executed by the computing device as the user-side device, and another part can be executed by the computing device as the server-side device, which is not limited herein. As shown in Figure 2 the image processing method corresponds to the flowchart 200, which can include the following steps.

[0042] Step 210: Obtain a dynamic change parameter of a virtual scene display screen.

[0043] In some embodiments, the virtual scene can be a digital scene sketched by a computing device such as a computer, a mobile phone, a tablet, etc. by digital technology. Taking a racing game as an example, the virtual scene can be a racing track scene for a racing vehicle to run on. In some embodiments, the virtual scene display picture can contain content of at least a part of the virtual scene, and be presented to a user through a graphical user interface provided by the computing device. In some embodiments, compared with a technical solution of using a fixed water droplet normal map to simulate dynamic water droplets, in order to further optimize the motion simulation and presentation effect of the dynamic water droplets, the motion state of the dynamic water droplets can be associated with the change of the display content in the virtual scene display picture, so that the movement of the dynamic water droplets is changed in real time with the change of the display content in the virtual scene display picture. Therefore, it is necessary to acquire a dynamic change parameter representing the change of the display content in the virtual scene display picture.

[0044] In some embodiments of the present specification, the acquisition of the dynamic change parameter of the display picture in step 210 can include acquiring a motion parameter of a virtual object in the display picture in the virtual scene corresponding to the display picture, where the motion parameter can include a motion direction of the virtual object and / or a motion speed of the virtual object. In some embodiments, the virtual scene can include one or more virtual objects, which can be controlled by a user or controlled by a computer, such as a robot of an artificial intelligence (AI) algorithm, to replace a real player to control the virtual object to perform an interactive behavior such as an action in the virtual scene. In some embodiments, the virtual object corresponding to the motion parameter to be acquired can be a virtual object in a main position in the virtual scene display picture. Exemplarily, Figure 3 is a schematic diagram of a display picture simulating a vehicle running in a virtual scene according to some embodiments of the present specification. As Figure 3 indicated, the display picture presents a running state of the vehicle in the virtual scene, and in the entire display picture, a plurality of virtual objects are included, such as moving clouds in the sky, flags fluttering in the wind beside the track, etc. However, the motion of these virtual objects will not affect the change of the display content of the entire display picture, and only the vehicle in the center of the picture is constantly running forward or turning, so the display content of the entire display picture will change accordingly. Therefore, in the scene as Figure 3 indicated, the acquisition of the motion parameter of the virtual object in the display picture in the virtual scene corresponding to the display picture can be the acquisition of the motion parameter of the vehicle in the picture.

[0045] In some embodiments of the present specification, the display picture can be obtained by shooting a virtual scene through a virtual lens, where the virtual lens is used to track the motion state change of the virtual object in the display picture in the virtual scene. Since the dynamic water droplet effect simulates the dynamic movement and presentation effect of the water droplet on the screen, according to the physical law in the real world, the dynamic water droplet will produce corresponding motion with the movement of the virtual lens; when the motion state of the virtual object changes, the position of the virtual lens in the virtual scene will also change, thereby causing the motion of the dynamic water droplet on the screen. Therefore, there is a correlation between the motion of the dynamic water droplet and the motion state change of the virtual object in the display picture, and the motion state of the dynamic water droplet can be obtained through real-time acquisition of the dynamic change parameter of the display picture.

[0046] Step 220: generating a dynamic water droplet particle based on the dynamic change parameter, wherein the motion trajectory of the dynamic water droplet particle is associated with the content change of the display picture.

[0047] In the field of computer image processing technology, a particle is a basic unit of a particle effect, which is usually composed of some small and simple two-dimensional objects or three-dimensional objects. The two-dimensional object may be, for example, a circular, rectangular or other custom-shaped patch, and the three-dimensional object may be, for example, a cube, a sphere or other custom-shaped three-dimensional geometric body. Each particle can be configured to have independent attributes or parameters, such as size, color, position, speed, life, etc., which can affect the appearance, motion state and life cycle of the particle, thereby controlling the particle to change according to the set parameters during the life cycle. In addition, the appearance of the particle can also be changed by texture mapping. Rendering is an indispensable important technology for generating particle effects. Simply speaking, rendering refers to the process of generating a visual image from three-dimensional data on a computer. Through rendering technology, three-dimensional data on a computer can become a lively animation scene and be presented to the user through a display screen or aerial imaging technology. In some embodiments, the dynamic water droplet particle can be generated by a particle emitter (or particle system) of a game engine, for example, the Niagara particle system in Unreal Engine can be used to generate the dynamic water droplet particle, which is not limited herein.

[0048] Figure 4 is a flowchart of generating a dynamic water droplet particle based on a dynamic change parameter according to some embodiments of the present specification. As shown in Figure 4 , the flow 400 can include the following steps.

[0049] Step 410: determining the force information of the dynamic water droplet particle based on the motion parameter.

[0050] In some embodiments, the force information of the dynamic water droplet particle includes a force direction and / or a force value of the dynamic water droplet particle. The force direction of the dynamic water droplet particle can be determined by a movement direction of the virtual object, and the force value of the dynamic water droplet particle in the force direction can be determined by a movement speed of the virtual object. Specifically, Figure 5 is a schematic diagram of force of a dynamic water droplet particle according to some embodiments of the present specification. As shown in Figure 5 , when the virtual object is in a static state in the virtual scene, the force information of the dynamic water droplet particle includes the gravity G of the dynamic water droplet particle itself; and when the virtual object is in a dynamic state in the virtual scene, the force information of the dynamic water droplet particle includes the gravity G of the dynamic water droplet particle itself, a turning force F2 received by the dynamic water droplet particle, and / or a forward force F1 received by the dynamic water droplet particle. Taking a display screen related to vehicle driving simulation as shown in Figure 3 , for example, when the vehicle turns left in the virtual scene, the dynamic water droplet particle receives a turning force F2 to the right due to inertia, that is, the direction of the turning force applied to the dynamic water droplet particle is opposite to the turning direction of the virtual object in the virtual scene; and when the vehicle advances in the virtual scene, the dynamic water droplet particle receives a forward force F1 due to inertia, and the faster the vehicle advances in the virtual scene, the greater the forward force F1 applied to the dynamic water droplet particle, that is, the forward force applied to the dynamic water droplet particle is positively correlated with the advancing speed of the virtual object in the virtual scene.

[0051] Step 420: The movement direction of the dynamic water droplet particle is offset based on the force information, so that the movement trajectory of the dynamic water droplet particle changes based on the movement of the virtual object in the display screen. It can be understood that based on the related description of the foregoing embodiments, when the virtual object is in a static state, the dynamic water droplet particle only receives the action of its own gravity and moves; and when the virtual object is in a dynamic state, the dynamic water droplet particle is not only affected by its own gravity, but also by the turning force and the forward force, at this time, the movement direction of the dynamic water droplet particle will be offset according to the force information, so that the movement trajectory of the dynamic water droplet particle changes with the movement of the virtual object in the display screen.

[0052] In some embodiments, the display screen is a display screen related to vehicle driving simulation, as shown in Figure 3As shown in the display screen related to the vehicle driving simulation, the virtual object in the display screen, i.e., the motion parameters of the vehicle, can be directly obtained by the program, that is, the motion parameters obtained by the program are directly input into the particle generator provided in the foregoing embodiment, so that the dynamic water droplet particles related to the content change of the display screen can be automatically generated, without manually presetting the water droplet normal map, and the generated dynamic water droplet particles can actively adjust the motion trajectory according to the content change of the display screen, can be closer to the actual water droplet sliding effect, and the dynamic water droplet effect obtained in the subsequent display screen is more realistic and lifelike.

[0053] Step 230: obtaining a dynamic rendering target containing dynamic water droplet particles.

[0054] The dynamic rendering target is a variable frame buffer that allows updating its content when rendering each frame of the display screen; the dynamic rendering target is usually used to store the result after rendering the display screen, so as to be used in subsequent rendering process or post-processing effect. In some embodiments, the dynamic rendering target containing dynamic water droplet particles can store the result after adding the dynamic water droplet effect to the display screen.

[0055] In some embodiments of the present specification, the process of obtaining the dynamic rendering target containing dynamic water droplet particles can include: photographing the dynamic water droplet particles in the display screen based on a preset virtual camera, to obtain the dynamic rendering target. An exemplary process is shown in Figure 6 is a schematic diagram of photographing the dynamic water droplet particles based on a preset virtual camera according to some embodiments of the present specification. As shown in Figure 6 As shown, by photographing the dynamic water droplet particles 601 generated in the particle generation space with the preset virtual camera 600, the dynamic water droplet particles 601 generated in the three-dimensional particle generation space can be captured, and the captured dynamic water droplet particles 601 can be recorded in a two-dimensional dynamic rendering target. The photographing direction of the virtual camera 600 can be preset and fixed. The number of dynamic water droplet particles contained in the dynamic rendering target captured by the virtual camera is less than or equal to the number of dynamic water droplet particles generated in the particle generation space.

[0056] Step 240: performing post-processing on the dynamic rendering target to generate a display screen superimposed with dynamic water droplet effect.

[0057] In some embodiments of the present specification, after obtaining the dynamic rendering target containing dynamic water droplet particles based on the foregoing step 230, the dynamic rendering target can be used to render the display screen related to the dynamic water droplet effect and generate a display screen superimposed with dynamic water droplet effect.

[0058] It can be understood that, through the related processing and operation of the foregoing steps 210 to step 230, although the unity and verisimilitude with the content change of the display picture on the water droplet motion trajectory are achieved, since the dynamic water droplet particles are automatically generated according to the preset parameters in the general engine, the presentation style of each dynamic water droplet particle itself in the appearance is uniform, and is not adjusted according to the different virtual scenes in the display picture, and cannot be well fused with the virtual scenes in the display picture, which is easy to bring the user a visual watching split feeling between the dynamic water droplets and the virtual scenes, and cannot bring the user an ideal presentation effect and immersion. Therefore, in some embodiments of the present specification, post-processing can be further performed on the dynamic rendering target, so that the display picture with the superimposed dynamic water droplet effect obtained after the post-processing can be closer to the actual scene performance, and the presentation effect is more realistic and real.

[0059] In some embodiments of the present specification, post-processing refers to a process of further processing an image after completing the basic rendering of a scene to achieve a specific visual effect. Common post-processing effects include: high dynamic range imaging (High Dynamic Range Imaging, HDR, including improving the brightness range of an image, maintaining the details of bright and dark parts, etc.), color correction (including adjusting the color balance, contrast and saturation of an image, etc.), blur processing (including implementing depth of field, motion blur, etc. through Gaussian blur or other blur algorithms), adding a bloom effect (including simulating the halo effect of a strong light source, etc.) and the like. In the following, specific processing content and post-processing implementation methods included in the above post-processing will be specifically explained and described in combination with some embodiments of the present specification.

[0060] In some embodiments, performing post-processing on the dynamic rendering target can include adjusting the normal information of the dynamic water droplet particles in the dynamic rendering target based on the first preset parameter. The first preset parameter is used to represent the ideal refraction range of the water droplet particles in the virtual scene corresponding to the display picture, and the value of the first preset parameter is positively correlated with the refraction range.

[0061] In some embodiments of the present specification, it can be understood that, in the dynamic rendering target containing dynamic water droplet particles obtained based on the foregoing step 230, the normal information of the dynamic water droplet particles is contained. Exemplarily, Figure 7 is a normal information record diagram of a dynamic water droplet particle according to some embodiments of the present specification. As Figure 7As shown, the normal information of dynamic water droplet particles includes the normal direction data of each pixel. This normal direction data is usually encoded as a color value, and the corresponding normal vector can be obtained by decoding. In order to control the influence of the normal information of dynamic water droplets on the final display effect of the display screen, a first preset parameter can be set as a scalar value for adjustment. In some embodiments of this specification, the first preset parameter can be the water droplet normal intensity, which is used to characterize the ideal refraction range of the water droplet particles in the virtual scene corresponding to the display screen. Increasing the water droplet normal intensity will make the unevenness of the water droplet surface more obvious, enhance the changes affected by light, and increase the refraction range of the dynamic water droplet; while decreasing the water droplet normal intensity will make the dynamic water droplet presentation effect smoother and softer. The first preset parameter can be designed and configured by the developers according to the virtual scene corresponding to the display screen, and can be adjusted differently according to the different display effect requirements of different virtual scenes to present the ideal refraction range of dynamic water droplets, which is not limited here.

[0062] In some embodiments of this specification, the post-processing of the dynamic rendering target may further include blurring the dynamic water droplet particles in the dynamic rendering target. It is understood that, as shown in... Figure 3 Taking the simulated vehicle driving display as an example, the displayed image is a video shot from a third-person perspective, tracking the vehicle's movement in a virtual scene. Overlaying a dynamic water droplet effect on the display is equivalent to adding moving water droplets to the virtual lens. Understandably, based on the laws of physics, when water droplets move across the lens, the presence of the droplets causes additional light refraction and reflection, which is captured by the lens, resulting in a degree of blur in the captured image. Blurring the dynamic water droplet particles simulates this visual effect in the video shot obtained from the virtual lens, making the displayed image more realistic.

[0063] In some embodiments of the present specification, the blurring processing on the dynamic water droplet particles in the dynamic rendering target can include at least one of: box blurring processing on the water droplet particles; Gaussian blurring processing on the water droplet particles; or sequentially performing box blurring processing and Gaussian blurring processing on the water droplet particles. It can be understood that Gaussian blurring is a commonly used blurring processing method in the field of image post-processing, which is usually used to reduce image noise and reduce detail levels of the display picture, and to blur the image presented by the display picture, the visual effect of which is like observing the image through a translucent screen, which can better simulate the effect of adding moving water droplets on the virtual lens. Box blurring, also known as square box blurring, is also a commonly used blurring processing method in the field of image post-processing, which achieves the blurring effect by averaging each pixel in a fixed size rectangular region. Compared with Gaussian blurring, box blurring is simple in calculation, fast in speed, and uniform in blurring effect, but the edge is not natural enough; while Gaussian blurring uses Gaussian function to weight average the pixels, the farther the pixel is from the center, the smaller the weight is, so the blurring effect is relatively smoother and more natural, but the calculation complexity is relatively higher, and the blurring processing time is relatively longer. The person skilled in the art can select a suitable blurring processing method according to actual needs, which is not limited here.

[0064] In some embodiments of the present specification, the post-processing on the dynamic rendering target can further include performing masking processing on part of the dynamic water droplets appearing in the display picture.

[0065] Masking, as a post-processing method, can define and control which areas in the display picture need to be affected by a specific rendering effect and the specific degree of influence. For example, as shown in the display picture related to vehicle driving simulation, Figure 3 Since the display picture presents the shooting picture obtained by tracking and shooting the movement of the vehicle in the virtual scene through the virtual lens of the third person perspective, the vehicle in the display picture as shown in Figure 3In the display screen shown, most of the time is in the center of the display screen, and occupies a certain area range in the display screen. When the dynamic rendering target provided by the embodiment is not masked, the presentation and movement of the dynamic water droplets in the display screen are not affected by the shielding. Since the dynamic water droplets are randomly generated in the preset virtual space, the distribution of the corresponding dynamic water droplets in the display screen is also random. Some dynamic water droplets will appear in the area where the vehicle is located in the display screen, or move to the area where the vehicle is located in the display screen over time, thereby shielding the vehicle display in the display screen, and affecting the visual viewing effect of the user and / or the interactive control of the user on the vehicle driving. Therefore, the area where the vehicle is located in the display screen can be masked to avoid the dynamic water droplets appearing in or moving from other positions to the area where the vehicle is located in the display screen, thereby improving the user's viewing experience and interactive experience of the display screen.

[0066] In some embodiments of the present specification, performing post-processing on the dynamic rendering target can include forming a mask area based on a second preset parameter to mask at least part of the dynamic water droplet particles in the dynamic rendering target, wherein the second preset parameter can be designed and configured by the developer according to the virtual scene corresponding to the display screen, and different adjustments can be made according to different display effect requirements of different virtual scenes. The second preset parameter can include one or a combination of the position of the mask area relative to the display screen, the shape of the mask area, and the coverage area of the mask area, without limitation.

[0067] In some embodiments of the present specification, in actual application, the mask area can be represented by a mask picture with the same shape as the display screen in gray scale form. The white area in the mask picture represents the completely masked area, and the dynamic water droplet particles in the completely masked area will be completely shielded, so as not to appear in the display screen finally presented to the user for viewing. The black area in the mask picture represents the non-masked area, and the dynamic water droplet particles in the non-masked area will not be affected by the mask processing. For example, as shown in FIG. 6, the mask picture 601 is a gray scale picture with the same shape as the display screen 600, and the white area in the mask picture 601 represents the completely masked area, and the black area in the mask picture 601 represents the non-masked area. Figure 3As an example of the display screen related to the vehicle driving simulation shown, in order to avoid the dynamic water droplets appearing in or entering the area where the vehicle is located in the display screen, the mask image used to represent the mask area can be configured in a "black outside and white inside" style, that is, the part of the mask image corresponding to the area where the vehicle is located in the display screen is configured as a white area, and the other part corresponding to the virtual environment scene in the display screen is configured as a black area, so that the part of the dynamic water droplet particles appearing in or moving to the area where the vehicle is located in the display screen over time is blocked by the white area. When the user watches the display screen after the mask processing, the user can not only feel that the vehicle is driving in a rainy scene through the dynamic water droplets appearing in the part around the display screen, thereby improving the user's watching and interactive immersion; but also will not perceive the blocking of the dynamic water droplets to the vehicle, which is the main target object in the display screen, so that the user can more clearly perceive the driving situation of the vehicle in the virtual scene and give corresponding control and interactive instructions.

[0068] In some embodiments of the present specification, one or more soft mask sub-areas can also be further provided in the mask area to improve the masking effect of the dynamic water droplets in the display screen. It can be understood that in the continuously changing display screen of multiple frames, when the dynamic water droplets move from the non-mask area to the mask area, the dynamic water droplets will present a display effect of "suddenly" disappearing completely in the display screen; and when the dynamic water droplets move from the mask area to the non-mask area, the dynamic water droplets will present a display effect of "suddenly" appearing in the display screen, which makes the appearance and disappearance of the dynamic water droplets in the display screen very abrupt and unnatural. In order to improve the presentation effect of the dynamic water droplets in the display screen, in the embodiments of the present specification, one or more soft mask sub-areas can be provided in the mask area, the soft mask sub-area represents a partial mask area, the dynamic water droplet particles in the soft mask sub-area will be partially blocked, and the degree of partial blocking depends on the softness of the soft mask sub-area. In some embodiments, the soft mask sub-area in the mask image corresponds to a gray area, the darker the color of the gray area, the greater the softness of the soft mask sub-area, and the weaker the masking effect on the dynamic water droplet particles; the lighter the color of the gray area, the smaller the softness of the soft mask sub-area, and the stronger the masking effect on the dynamic water droplet particles. By providing the soft mask sub-area near the boundary position between the mask area and the non-mask area, the dynamic water droplets can be naturally transitioned from the original presentation state to the mask disappearance state in the display screen.

[0069] In some embodiments of the present disclosure, the second preset parameter can further include a combination of one or more of the distribution of the soft mask sub-region in the mask region and the softness of the soft mask sub-region. Specifically, in the embodiments of the present disclosure, the soft mask sub-region includes a plurality of soft mask sub-regions with different softness, through which the dynamic water droplet can pass, and the dynamic water droplet can more naturally present a dynamic change process from the original presentation state to the mask disappearance state in the display picture. In some embodiments, the soft mask sub-region can also cover the entire mask region, i.e., using a partial blocking mask effect instead of a complete blocking mask effect, which can avoid blocking the display picture by the dynamic water droplet while improving the display naturalness of the dynamic water droplet, and is closer to the real scene.

[0070] For example, Figure 8a and Figure 8b According to some embodiments of the present disclosure, the display pictures of the simulated vehicle driving in the virtual scene under different mask processing are respectively shown in the schematic diagrams. Among them, in the schematic diagram as shown in Figure 8a , the value of the soft radius in the mask processing is 0.65; while in the schematic diagram as shown in Figure 8b , the value of the soft radius in the mask processing is 0.2, wherein the soft radius is the negative value of the distance between the UV coordinates of the current pixel and the center position of the spherical mask after the distance normalization processing by the inverse radius of the spherical mask, which is used to generate the mask effect. Comparing Figure 8a and Figure 8b It can be seen that the greater the value of the soft radius, the larger the range of the dynamic rain droplet covered in the display picture, and the more unobvious the presentation effect of the dynamic rain droplet. The user can adjust the above parameters according to the actual needs of the virtual scene to adaptively adjust the mask processing of the dynamic rain droplet, which is not limited herein.

[0071] In some embodiments of the present disclosure, performing post-processing on the dynamic rendering target can further include adjusting the refracted brightness of the dynamic water droplet particles, where the refracted brightness refers to the brightness refracted by the dynamic water droplets in the display picture with respect to the virtual scene. It can be understood that for the dynamic water droplet particles generated in the foregoing step 220, although the refractive effect of the water droplets on the ambient light in the real scene can be simulated, adaptive adjustment of the refractive effect according to changes in the virtual scene is not supported. At this time, regardless of how the virtual scene corresponding to the display picture changes, the refracted brightness of the dynamic water droplets in the display picture presented to the user for viewing is the same. For example, the refracted brightness of the dynamic water droplets when the environment corresponding to the virtual scene is night rain is the same as the refracted brightness of the dynamic water droplets when the environment corresponding to the virtual scene is day rain, which is inconsistent with the actual water droplet performance observed by the human eye in the real scene.

[0072] In embodiments of the present disclosure, in order to further improve the simulation degree of the presentation effect of the dynamic water droplets in the display picture and improve the viewing immersion of the user, performing post-processing on the dynamic rendering target can include adjusting the refracted brightness of the dynamic water droplet particles in the dynamic rendering target based on a third preset parameter, where the third preset parameter is used to represent the ideal refracted brightness of the water droplet particles in the virtual scene corresponding to the display picture. For example, when the environment corresponding to the virtual scene is night rain, the refracted brightness of the dynamic water droplets presented in the display picture can be appropriately lowered to match the ambient brightness of the virtual scene; for another example, when the environment corresponding to the virtual scene is day rain, the refracted brightness of the dynamic water droplets presented in the display picture can be appropriately increased according to the ambient brightness. In some embodiments, the third preset parameter can be designed and configured by the developer according to the virtual scene corresponding to the display picture, and different adjustments can be made according to different display effect requirements of different virtual scenes, which are not limited herein. In some embodiments, the third preset parameters corresponding to different virtual scenes can be the same or different, so that the refracted brightness of the dynamic water droplets can be adjusted according to the virtual scene corresponding to the display picture, further improving the presentation effect of the dynamic water droplets.

[0073] In some embodiments of the present disclosure, performing post-processing on the dynamic rendering target can further include adjusting the refraction range of the dynamic water droplet particle. It can be understood that for the dynamic water droplet particle generated in the aforementioned step 220, although it can simulate the refraction effect of the water droplet on the ambient light in the real scene, it does not support adaptive adjustment of the refraction range of the single dynamic water droplet particle according to the depth of field change of the virtual scene. At this time, no matter how the depth of field of the virtual scene corresponding to the display picture changes, the refraction range of the dynamic water droplet displayed in the display picture presented to the user for viewing is the same. For example, in the scenario where the display picture presents the shooting picture obtained by tracking and shooting the movement of the vehicle in the virtual scene through the virtual lens of the third-person perspective, the refraction range of the dynamic water droplet at a position close to the virtual lens is the same as that of the dynamic water droplet at a position far from the virtual lens, which is inconsistent with the actual performance effect of the water droplet observed by the human eye in the real scene.

[0074] In embodiments of the present disclosure, in order to further improve the simulation degree of the presentation effect of the dynamic water droplet in the display picture and improve the viewing immersion of the user, the refraction range of the dynamic water droplet can be adjusted based on the fusion degree of the dynamic water droplet and the virtual scene corresponding to the display picture, so as to realize different presentation effects of the focal length distance. In some embodiments, performing post-processing on the dynamic rendering target can include adjusting the refraction range of the dynamic water droplet particle in the dynamic rendering target based on a fourth preset parameter, wherein the fourth preset parameter is used to represent the ideal fusion degree of the water droplet particle in the virtual scene corresponding to the display picture, and the value of the ideal fusion degree is positively correlated with the refraction range.

[0075] In some embodiments, in the process of fusion presentation of the dynamic water droplet particle and the virtual scene corresponding to the display picture, the water droplet color and the scene color can be obtained from the water droplet texture resource and the scene color texture resource respectively using the corresponding texture coordinates, wherein the water droplet texture resource is a water droplet texture resource in the dynamic rendering target, used to store the image data of the dynamic water droplet particle effect, which can specifically include one or more combinations of shape information, color information and transparency information of the dynamic water droplet particle; and can provide the visual effect data of the dynamic water droplet during sampling, so as to be mixed with the scene color; and the scene color texture resource is used to provide the basic color data of the virtual scene in the display picture.

[0076] In some embodiments, the luminance of the water droplet color can be further adjusted by a preset luminance parameter, and the rgb value of the water droplet color can be ensured to be within the range of [0, 1] by using the saturate function. The preset luminance parameter can refer to the aforementioned description of the third preset parameter, and will not be repeated here. After adjusting the luminance of the water droplet color, the lerp function can be used to perform linear interpolation between the scene color and the water droplet color according to the value of the fourth preset parameter. The fourth preset parameter is used to represent the fusion ratio of the refraction range of the dynamic water droplet particle and the original state of the virtual scene in the display picture, which can be designed and configured by the developer according to the corresponding virtual scene of the display picture, and can be adjusted according to the different display effect requirements of different virtual scenes, which will not be limited here. In some embodiments, the value of the fourth preset parameter can be within the range of [0, 1]: when the value of the fourth preset parameter is 0, it means that the dynamic water droplet particle in the display picture does not refract, and the virtual scene state before the dynamic water droplet particle refracts is completely displayed in the display picture; when the value of the fourth preset parameter is 1, it means that the dynamic water droplet particle in the display picture is completely refracted, and the virtual scene state after the dynamic water droplet particle refracts is completely displayed in the display picture.

[0077] In some embodiments, in the process of performing linear interpolation between the scene color and the water droplet color according to the value of the fourth preset parameter using the lerp function, the transparency information of the dynamic water droplet can be used as a weight to affect the contribution of the scene color. It can be understood that the transparency information of the dynamic water droplet can be used to control the transparency of the dynamic water droplet and the mixing degree of the dynamic water droplet and the background scene, which helps to achieve a more realistic visual effect.

[0078] In some embodiments, after obtaining the water droplet color by linear interpolation, the water droplet color can be mixed with the scene color to obtain the final rendering color of the display picture, wherein the transparency information of the dynamic water droplet is also used to weight and adjust the scene color.

[0079] Exemplary, Figure 9a and Figure 9b According to some embodiments of the present specification, the display pictures of the simulated vehicle driving in the virtual scene under different refraction range adjustments are respectively shown. Among them, in the schematic diagram shown in Figure 9a , the value of the fourth preset parameter is 0.2; while in the schematic diagram shown in Figure 9b , the value of the fourth preset parameter is 0.87, compared with Figure 9a and Figure 9bAs can be seen, the larger the fourth preset parameter, the larger the refraction range of the dynamic raindrops in the displayed image, and the more obvious the refraction effect of the dynamic raindrops. Users can adjust the above parameters according to the needs of the actual virtual scene to adaptively adjust the refraction range of the dynamic raindrops; no limitations are imposed here.

[0080] In some embodiments of this specification, post-processing of the dynamic rendering target may further include: determining whether there is a bright display area in the display screen with a brightness greater than a preset threshold; if so, expanding the refraction range of the dynamic water droplet particles located in the bright display area of ​​the dynamic rendering target. It is understood that when a bright display area exists in the display screen, a floodlight effect can be added in image post-processing to optimize the refraction range of the dynamic water droplet particles. By expanding the refraction range, the refraction effect of the dynamic raindrops in the bright display area is enhanced, more closely resembling the refraction of water droplets in a real-world scene.

[0081] In some embodiments of this specification, a scaling factor can be used to scale the texture coordinates corresponding to the displayed image to expand the refraction range of dynamic water droplet particles in the highlighted display area. The scaling factor determines the magnitude of the texture coordinate scaling. In some embodiments, the value of the scaling factor can be within the range [0, 1]: the closer the scaling factor value is to 1, the more pronounced the scaling effect. In some embodiments, the texture coordinates can be scaled down or up by multiplying the scaling factor by the texture coordinates, and the scaled texture coordinates can be offset using the scaling factor to place the scaling center at the center of the texture coordinates.

[0082] For example, Figure 10a and Figure 10b According to some embodiments of this specification, schematic diagrams are shown of the display screen of a simulated vehicle driving in a virtual scene under different scaling factors. Among them, in Figure 10a In the schematic diagram shown, the scaling factor is 0.25; while in... Figure 10b In the diagram shown, the scaling factor is 0, compared to... Figure 10a and Figure 10b As can be seen, after adjusting the dynamic raindrops by increasing the scaling factor, the refraction range of the dynamic raindrops near the bright display area of ​​the car headlights in the displayed image is larger, the refraction effect is more obvious, and the display effect is more realistic. Users can adjust the above parameters to adaptively adjust the scaling factor of the dynamic raindrops in the bright display area according to the needs of the actual virtual scene; no limitations are imposed here.

[0083] Figure 11 This is a schematic diagram of the structure of an image processing system according to some embodiments of this specification. For example... Figure 11As shown, in some embodiments, the image processing system 1100 can include.

[0084] An acquisition unit 1110 configured to acquire a dynamic change parameter of a virtual scene display picture.

[0085] A water droplet particle generation unit 1120 configured to generate dynamic water droplet particles based on the dynamic change parameter, wherein a motion trajectory of the dynamic water droplet particles is associated with a content change of the display picture.

[0086] A rendering target acquisition unit 1130 configured to acquire a dynamic rendering target containing the dynamic water droplet particles.

[0087] A post-processing unit 1140 configured to perform post-processing on the dynamic rendering target to generate a display picture with superimposed dynamic water droplet effects.

[0088] The specific implementation of each functional module of the acquisition unit 1110 to the post-processing unit 1140 can be referred to the related description of Figure 2 , Figure 4 and will not be repeated here. It should be understood that Figure 2 and Figure 4 The system and its modules shown can be implemented in various ways. For example, in some embodiments, the system and its modules can be implemented by hardware, software or a combination of software and hardware. The hardware part can be implemented by special logic; the software part can be stored in a memory and executed by a suitable instruction execution system, such as a microprocessor or a specially designed hardware. Those skilled in the art can understand that the above method and system can be implemented by computer executable instructions and / or control code contained in the processor, such as the code provided in the carrier medium, the memory of programmable device. The system and its modules of the present specification can not only have hardware circuit implementation such as super large scale integrated circuit or gate array, semiconductor such as logic chip, transistor or programmable hardware device such as field programmable gate array, programmable logic device, but also can be implemented by software executed by various types of processors, and can also be implemented by the combination of the above hardware circuit and software (such as firmware).

[0089] It should be noted that the above description of the system and its modules is for convenience of description only, and cannot limit the scope of the embodiments. It can be understood that for those skilled in the art, after understanding the principle of the system, the modules can be combined arbitrarily to form a subsystem connected with other modules, or some modules can be split to obtain more modules or multiple units under the module. Such as this, the variations are within the scope disclosed in the present specification.

[0090] Some embodiments of the present specification further provide an image processing apparatus, comprising a processor and a storage medium, wherein the storage medium stores computer program instructions, and the processor is configured to execute at least part of the computer program instructions to implement the image processing method provided in the foregoing embodiments of the present specification.

[0091] Some embodiments of the present specification further provide a computer program product, comprising computer instructions or a computer program, wherein at least part of the computer instructions or the computer program is executed by a processor to implement the image processing method provided in the foregoing embodiments of the present specification.

[0092] In some embodiments, the processor described above can be a combination of one or more of the following processors: a central processing unit (CPU), an application-specific integrated circuit (ASIC), an application-specific instruction-set processor (ASIP), a graphics processing unit (GPU), a physics processing unit (PPU), a digital signal processor (DSP), a field-programmable gate array (FPGA), a programmable logic device (PLD), a programmable logic controller (PLC), a reduced instruction set computer (RISC), a microprocessor.

[0093] The beneficial effects that may be brought by the embodiments of the present specification include but are not limited to: (1) by generating dynamic water droplets according to the content changes of the display picture in the display picture, the motion trajectory of the dynamic water droplets can be dynamically adjusted to follow the motion of the virtual object in the display picture, and a more realistic and more variable dynamic water droplet effect can be provided; (2) supporting multiple different post-processing configurations for dynamic water droplets, the presentation effect of dynamic raindrops can be adjusted according to the virtual scene in the display picture, thereby providing users with better visual experience and better immersion. It should be noted that different embodiments may have different beneficial effects, and in different embodiments, the beneficial effects that may be produced can be any one or a combination of several of the above, or any other beneficial effects that can be obtained.

[0094] The foregoing detailed description has been described above, and it is obvious to those skilled in the art that the foregoing detailed description is only an example and does not constitute a limitation of the present specification. Although it is not explicitly stated herein, those skilled in the art can make various modifications, improvements and corrections to the present specification. Such modifications, improvements and corrections are taught in the present specification, so such modifications, improvements and corrections still belong to the spirit and scope of the exemplary embodiments of the present specification.

Claims

1. An image processing method, characterized by, The method comprises: obtaining a dynamic change parameter of a virtual scene display picture; generating a dynamic water droplet particle based on the dynamic change parameter, a motion trajectory of the dynamic water droplet particle being associated with a content change of the display picture; capturing the dynamic water droplet particle in the display picture based on a preset virtual camera, to obtain a dynamic rendering target containing the dynamic water droplet particle; performing post-processing on the dynamic rendering target to generate a display picture with a superimposed dynamic water droplet effect.

2. The method of claim 1, wherein, The obtaining of the dynamic change parameter of the virtual scene display picture comprises: obtaining a motion parameter of a virtual object in the virtual scene in the display picture; wherein the motion parameter comprises a motion direction of the virtual object and / or a motion speed of the virtual object.

3. The method of claim 2, wherein, The generating of the dynamic water droplet particle based on the dynamic change parameter comprises: determining force information of the dynamic water droplet particle based on the motion parameter; a motion direction of the dynamic water droplet particle is offset based on the force information, so that a motion trajectory of the dynamic water droplet particle changes based on the motion of the virtual object in the display picture.

4. The method of claim 3, wherein, The force information of the dynamic water droplet particle comprises a force direction and / or a force value of the dynamic water droplet particle; determining the force direction of the dynamic water droplet particle based on the motion direction of the virtual object; determining the force value of the dynamic water droplet particle in the force direction based on the motion speed of the virtual object in the motion direction.

5. The method of claim 4, wherein, The determining of the force information of the dynamic water droplet particle based on the motion parameter comprises: when the virtual object is in a static state in the virtual scene, the force information of the dynamic water droplet particle comprises a gravity of the dynamic water droplet particle itself; when the virtual object is in a motion state in the virtual scene, the force information of the dynamic water droplet particle comprises the gravity of the dynamic water droplet particle itself, a turning force received by the dynamic water droplet particle and / or an advancing force received by the dynamic water droplet particle; wherein the direction of the turning force is opposite to a turning direction of the virtual object in the virtual scene; the size of the advancing force is positively correlated with an advancing speed of the virtual object in the virtual scene.

6. The method of claim 1, wherein, The number of the dynamic water droplet particles contained in the dynamic rendering target is less than or equal to the number of the generated dynamic water droplet particles.

7. The method of claim 1, wherein, The dynamic rendering target contains normal information of the dynamic water droplet particle; The post-processing on the dynamic rendering target comprises: adjusting the normal information of the dynamic water droplet particle in the dynamic rendering target based on a first preset parameter; the first preset parameter is used to represent an ideal refraction range of a water droplet particle in a virtual scene corresponding to the display picture, wherein the value of the first preset parameter is positively correlated with the refraction range.

8. The method of claim 1, wherein, The post-processing on the dynamic rendering target comprises: performing blur processing on the dynamic water droplet particle in the dynamic rendering target.

9. The method of claim 8, wherein, The blur processing on the dynamic water droplet particle in the dynamic rendering target comprises at least one of: box-shaped blur processing on the dynamic water droplet particle; Gaussian blur processing on the dynamic water droplet particle; or The box-shaped blur processing and the Gaussian blur processing are sequentially performed on the dynamic water droplet particles.

10. The method of claim 1, wherein, The post-processing performed on the dynamic rendering target comprises: forming a mask area based on a second preset parameter to perform mask processing on at least part of the dynamic water droplet particles in the dynamic rendering target; The second preset parameter comprises at least one of the following: a position of the mask area relative to the display picture, a shape of the mask area, a coverage area of the mask area, a distribution of a soft mask sub-area in the mask area, and a softness of the soft mask sub-area.

11. The method of claim 1, wherein, The post-processing performed on the dynamic rendering target comprises: adjusting a refraction brightness of the dynamic water droplet particles in the dynamic rendering target based on a third preset parameter; The third preset parameter is used to represent an ideal refraction brightness of water droplet particles in a virtual scene corresponding to the display picture.

12. The method of claim 1, wherein, The post-processing performed on the dynamic rendering target comprises: adjusting a refraction range of the dynamic water droplet particles in the dynamic rendering target based on a fourth preset parameter; The fourth preset parameter is used to represent an ideal fusion degree of water droplet particles in a virtual scene corresponding to the display picture, and a value of the ideal fusion degree is positively correlated with the refraction range.

13. The method of claim 1 or 12, wherein, The post-processing performed on the dynamic rendering target comprises: determining whether there is a highlight display area with a display brightness greater than a preset threshold in the display picture, and if so, expanding a refraction range of the dynamic water droplet particles in the dynamic rendering target located in the highlight display area.

14. An image processing system, characterized by The system comprises: an acquisition unit configured to acquire a dynamic change parameter of a virtual scene display picture; a water droplet particle generation unit configured to generate dynamic water droplet particles based on the dynamic change parameter, a motion trajectory of the dynamic water droplet particles being associated with a content change of the display picture; a rendering target acquisition unit configured to capture the dynamic water droplet particles in the display picture based on a preset virtual camera, and acquire a dynamic rendering target containing the dynamic water droplet particles; a post-processing unit configured to perform post-processing on the dynamic rendering target to generate a display picture with a superimposed dynamic water droplet effect.

15. An image processing apparatus comprising a processor and a storage medium, the storage medium being configured to store computer instructions, and the processor being configured to execute at least part of the computer instructions to implement the image processing method according to any one of claims 1 to 13.

Citation Information

Patent Citations

  • Method, device and system for displaying information pushing process in rendering mode

    CN103942227A

  • Object surface running water rendering method, device and equipment and storage medium

    CN115738247A