Data processing method and device

By determining the volume cloud area in the interface and sampling noise maps in the mobile game application, generating and rendering volume cloud data, the problems of large consumption and low efficiency of rendering volume cloud resources in the prior art are solved, and a more efficient and real volume cloud rendering effect is achieved.

CN114663454BActive Publication Date: 2025-04-25ZHUHAI KINGSOFT ONLINE GAME TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210260208.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-16
Publication Date
2025-04-25
Estimated Expiration
2042-03-16

AI Technical Summary

Technical Problem

In the prior art, mobile terminals consume a large amount of resources when rendering volume clouds, and the rendering efficiency is low, making it difficult to achieve realistic and efficient rendering.

Method used

By obtaining the interface to be displayed and determining the target volume cloud area and the associated volume cloud area in the interface; performing edge sampling of the noise map of the associated volume cloud area to generate the associated volume cloud data; performing ontology sampling and lighting sampling of the noise map of the target volume cloud area to generate the target volume cloud ontology data and lighting data; based on these data rendering interfaces, efficient rendering of the volume cloud is achieved.

Benefits of technology

Improve the realism and rendering efficiency of the volumetric cloud in the target interface, and reduce resource consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114663454B_ABST
    Figure CN114663454B_ABST
Patent Text Reader

Abstract

The present application provides a data processing method and device, wherein the data processing method includes: obtaining an interface to be displayed, and determining a target volume cloud area and an associated volume cloud area in the interface to be displayed; performing edge sampling on an associated noise map corresponding to the associated volume cloud area to generate associated volume cloud data; performing body sampling and illumination sampling on a target noise map corresponding to the target volume cloud area to generate target volume cloud body data and target volume cloud illumination data; based on the associated volume cloud data, the target volume cloud body data and the target volume cloud illumination data, rendering the interface to be displayed as a target interface containing a volume cloud, thereby improving the realism of the volume cloud in the target interface and improving the rendering efficiency of the target interface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a data processing method. The present application also relates to a data processing device, a computing device, and a computer-readable storage medium. Background Art

[0002] With the development of game technology, the objects displayed on the game screen are getting closer and closer to the effects of real objects. In most game applications, the rendering effect of clouds has always been a more eye-catching part. In the existing technology, most volumetric clouds are rendered on mobile terminals using particle clouds or skybox clouds, which consumes a lot of resources and has low rendering efficiency. Therefore, an effective solution is urgently needed to solve the above problems. Summary of the invention

[0003] In view of this, the embodiment of the present application provides a data processing method to solve the technical defects existing in the prior art. The embodiment of the present application also provides a data processing device, a computing device, and a computer-readable storage medium.

[0004] According to a first aspect of an embodiment of the present application, a data processing method is provided, including:

[0005] Acquire an interface to be displayed, and determine a target volume cloud area and an associated volume cloud area in the interface to be displayed;

[0006] Performing edge sampling on the associated noise map corresponding to the associated volume cloud area to generate associated volume cloud data;

[0007] Performing body sampling and illumination sampling on the target noise map corresponding to the target volume cloud area to generate target volume cloud body data and target volume cloud illumination data;

[0008] Based on the associated volume cloud data, the target volume cloud body data and the target volume cloud lighting data, the to-be-displayed interface is rendered into a target interface including a volume cloud.

[0009] Optionally, determining the target volume cloud area and the associated volume cloud area in the interface to be displayed includes:

[0010] Determining a target object in the interface to be displayed;

[0011] Determining a target area corresponding to the target object according to the target object;

[0012] A target volume cloud area and an associated volume cloud area are determined based on the interface to be displayed and the target area.

[0013] Optionally, performing edge sampling on the associated noise map corresponding to the associated volume cloud area to generate associated volume cloud data includes:

[0014] Obtaining an associated noise map corresponding to the associated volume cloud area;

[0015] Perform edge sampling on the associated noise map according to a preset associated unit step size to obtain initial associated sampling points corresponding to the associated volume cloud area;

[0016] Selecting associated sampling points having a spatial position relationship with the associated noise map from the initial associated sampling points;

[0017] The associated volume cloud data corresponding to the associated volume cloud area is calculated according to the associated sampling point data corresponding to the associated sampling point.

[0018] Optionally, performing body sampling and illumination sampling on the target noise map corresponding to the target volume cloud area to generate target volume cloud body data and target volume cloud illumination data includes:

[0019] Obtaining a target noise map corresponding to the target volume cloud area;

[0020] According to a preset target unit step size and time interval, the target noise map is subjected to body sampling to obtain initial body sampling points corresponding to the target volume cloud area;

[0021] Selecting, from the initial body sampling points, body sampling points that have a spatial position relationship with the target noise map;

[0022] Calculate the target volume cloud ontology data corresponding to the target volume cloud area according to the ontology sampling point data corresponding to the ontology sampling point;

[0023] The target noise map is sampled based on a preset illumination unit step size to generate target volume cloud illumination data.

[0024] Optionally, performing illumination sampling on the target noise map based on a preset illumination unit step to generate target volume cloud illumination data includes:

[0025] Determining a lighting point in the interface to be displayed;

[0026] Generate an illumination sampling point in the target noise map based on a preset illumination unit step, a body sampling point and the illumination point;

[0027] The target volume cloud illumination data is generated according to the illumination sampling data of the illumination sampling point.

[0028] Optionally, the determining the target volume cloud area and the associated volume cloud area based on the to-be-displayed interface and the target area includes:

[0029] Dividing the interface to be displayed based on a preset distance threshold to obtain a first volume cloud area and a second volume cloud area;

[0030] Eliminate the target area in the first volume cloud area and / or the second volume cloud area;

[0031] The target volume cloud region and the associated volume cloud region are determined according to the region elimination result.

[0032] Optionally, the determining the target volume cloud area and the associated volume cloud area based on the to-be-displayed interface and the target area includes:

[0033] Eliminating the target area in the interface to be displayed to obtain an intermediate display interface;

[0034] The intermediate display interface is divided based on a preset distance threshold to obtain a target volume cloud area and an associated volume cloud area.

[0035] Optionally, the rendering the to-be-displayed interface into a target interface including a volumetric cloud based on the associated volumetric cloud data, the target volumetric cloud body data and the target volumetric cloud illumination data comprises:

[0036] Reading a target frame rate and frame granularity corresponding to the mobile terminal;

[0037] The associated volume cloud data, the target volume cloud body data, and the target volume cloud illumination data are rendered according to the target frame rate and the frame granularity to obtain a target interface including the volume cloud.

[0038] Optionally, the data processing method further includes:

[0039] When the target interface is updated, determining a first image frame and update parameters corresponding to the target interface, and pixel point data of the first image frame;

[0040] Determine image frame data according to the pixel point data and the update parameter;

[0041] A second target interface is rendered according to the image frame data and the frame granularity.

[0042] According to a second aspect of an embodiment of the present application, there is provided a data processing device, including:

[0043] An acquisition module is configured to acquire an interface to be displayed, and determine a target volume cloud area and an associated volume cloud area in the interface to be displayed;

[0044] A generating module is configured to perform edge sampling on the associated noise map corresponding to the associated volume cloud area to generate associated volume cloud data;

[0045] A processing module is configured to perform body sampling and illumination sampling on the target noise map corresponding to the target volume cloud area, and generate target volume cloud body data and target volume cloud illumination data;

[0046] The rendering module is configured to render the interface to be displayed into a target interface including a volume cloud based on the associated volume cloud data, the target volume cloud body data and the target volume cloud lighting data.

[0047] According to a third aspect of an embodiment of the present application, a computing device is provided, including:

[0048] Memory and processor;

[0049] The memory is used to store computer-executable instructions, and the processor implements the steps of the data processing method when executing the computer-executable instructions.

[0050] According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, which stores computer-executable instructions, and when the instructions are executed by a processor, the steps of the data processing method are implemented.

[0051] According to a fifth aspect of an embodiment of the present application, a chip is provided, which stores a computer program, and the computer program implements the steps of the data processing method when executed by the chip.

[0052] The data processing method provided by the present application obtains an interface to be displayed, and determines a target volume cloud area and an associated volume cloud area in the interface to be displayed; performs edge sampling on an associated noise map corresponding to the associated volume cloud area to generate associated volume cloud data; performs body sampling and illumination sampling on a target noise map corresponding to the target volume cloud area to generate target volume cloud body data and target volume cloud illumination data; based on the associated volume cloud data, the target volume cloud body data and the target volume cloud illumination data, renders the interface to be displayed as a target interface containing a volume cloud, thereby improving the realism of the volume cloud in the target interface and improving the rendering efficiency of the target interface. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 is a flow chart of a data processing method provided by an embodiment of the present application;

[0054] Figure 2 It is a schematic diagram of an interface to be displayed of a data processing method provided in an embodiment of the present application;

[0055] Figure 3 is a schematic diagram of associated sampling points of a data processing method provided in an embodiment of the present application;

[0056] Figure 4 is a schematic diagram of target sampling points of a data processing method provided by an embodiment of the present application;

[0057] Figure 5 It is a target interface schematic diagram of a data processing method provided by an embodiment of the present application;

[0058] Figure 6 is a processing flow chart of a data processing method applied to a game application provided by an embodiment of the present application;

[0059] Figure 7 is a structural schematic diagram of a data processing device provided by an embodiment of the present application;

[0060] Figure 8 It is a structural block diagram of a computing device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0061] Many specific details are described in the following description to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of the present application, so the present application is not limited by the specific implementation disclosed below.

[0062] The terms used in one or more embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of the present application. The singular forms of "a", "said" and "the" used in one or more embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in one or more embodiments of the present application refers to and includes any or all possible combinations of one or more associated listed items.

[0063] It should be understood that, although the terms first, second, etc. may be used to describe various information in one or more embodiments of the present application, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of the present application, the first may also be referred to as the second, and similarly, the second may also be referred to as the first.

[0064] First, the terms involved in one or more embodiments of the present invention are explained.

[0065] Ray Marching, also known as ray stepping, emits a ray of light from the camera position to each pixel on the screen. The light advances at a certain step length and detects whether the current light is on the surface of the object. The advancement of the light is adjusted accordingly until it reaches the surface of the object, and then the color value is calculated according to the general ray tracing method.

[0066] Frame rate is the frequency (rate) at which bitmap images in frames appear continuously on the display. In computer graphics, frame rate can also be called frame frequency.

[0067] In the present application, a data processing method is provided. The present application also relates to a data processing device, a computing device, and a computer-readable storage medium, which are described in detail one by one in the following embodiments.

[0068] Figure 1 A flowchart of a data processing method provided according to an embodiment of the present application is shown, which specifically includes the following steps:

[0069] Step S102 : acquiring an interface to be displayed, and determining a target volume cloud region and an associated volume cloud region in the interface to be displayed.

[0070] Specifically, the interface to be displayed refers to the original interface that needs to be rendered in order to achieve the purpose of enriching the interface display content. In the game scene, if clouds need to be displayed in the game screen visible to the user, it is necessary to render based on the original interface. The original interface may include characters, mountains, trees and other objects. By rendering it, a game interface containing clouds can be obtained, wherein the original interface is the interface to be displayed; the associated volume cloud area refers to the area near the horizon of the interface to be displayed, where the clouds are located at a farther distance for the game user. This area is used to display clouds close to the background color of the interface; the target volume cloud area refers to the area of ​​the interface to be displayed except the associated volume cloud area. This area is closer to the game user and is used to display more realistic clouds. When rendering the clouds in this area, in addition to paying attention to the color of the clouds, the shape, density and lighting effects of the clouds also need to be considered.

[0071] Based on this, the interface to be displayed that needs to be rendered is obtained, and the interface to be displayed is divided into regions. The interface to be displayed is divided into a target volume cloud region and an associated volume cloud region, wherein the region range corresponding to the associated volume cloud region is smaller than the region range corresponding to the target volume cloud region, so as to facilitate the subsequent determination of the volume cloud data corresponding to the target volume cloud region and the associated volume cloud region.

[0072] Furthermore, when determining the target volume cloud area and the associated volume cloud area, considering that there may be characters, mountains, trees and other objects in the interface to be displayed, in order to reduce the amount of calculation and improve the rendering efficiency when rendering the interface to be displayed later, the target area that does not need to be rendered can be determined in the interface to be displayed and the target area can be eliminated. The specific implementation is as follows:

[0073] A target object is determined in the interface to be displayed; a target area corresponding to the target object is determined according to the target object; and a target volume cloud area and an associated volume cloud area are determined based on the interface to be displayed and the target area.

[0074] Specifically, the target object refers to objects such as characters, mountains, and trees in the interface to be displayed. In the process of adding clouds to the display area, the occlusion relationship between the target object and the clouds is determined based on the target object. In the interface to be displayed, the pixel points corresponding to the clouds occluded by the target object do not need to be drawn; the target area refers to the area where the target object is located in the interface to be displayed, that is, the pixel points in the interface to be displayed corresponding to the target object.

[0075] Based on this, when determining the target volume cloud area and the associated volume cloud area, the target object contained in the interface to be displayed is first determined, and the area corresponding to the target object in the interface to be displayed is used as the target area. When determining the target volume cloud area and the associated volume cloud area, the target area is neither divided into the target volume cloud area nor into the associated volume cloud area, that is, the interface to be displayed is divided into three areas: the target area, the target volume cloud area, and the associated volume cloud area.

[0076] In summary, the target area that does not need to be rendered in the interface to be displayed is determined, and the target area is not processed during subsequent calculation and rendering, thereby reducing the amount of calculation for the interface to be displayed and improving the rendering efficiency of the interface to be displayed.

[0077] Furthermore, when determining the target volume cloud area and the associated volume cloud area, considering that there is more than one method to remove the target area, the interface to be displayed can be divided into a first volume cloud area and a second volume cloud area according to a preset distance threshold, and then the target area is removed from the first volume cloud area and / or the second volume cloud area to obtain the target volume cloud area and the associated volume cloud area, which is specifically implemented as follows:

[0078] The interface to be displayed is divided based on a preset distance threshold to obtain a first volume cloud area and a second volume cloud area; the target area is eliminated in the first volume cloud area and / or the second volume cloud area; and the target volume cloud area and the associated volume cloud area are determined according to the area elimination result.

[0079] Specifically, the preset distance threshold refers to a pre-set value used to divide the target volume cloud area and the associated volume cloud area, and the preset distance threshold represents the distance from the horizon in the interface to be displayed; the first volume cloud area refers to the volume cloud area containing the target area after dividing the area to be displayed according to the preset distance threshold, corresponding to the target volume cloud area; the second volume cloud area refers to the volume cloud area containing the target area after dividing the area to be displayed according to the preset distance threshold, corresponding to the associated volume cloud area; the area elimination result refers to the area obtained after eliminating the target area from the first volume cloud area and the second volume cloud area respectively, that is, the target volume cloud area and the associated volume cloud area.

[0080] Based on this, the interface to be displayed is divided according to the preset distance threshold, and the area to be displayed is divided into a first volume cloud area and a second volume cloud area. The target area is eliminated from the first volume cloud area to obtain a target volume cloud area, and the target area is eliminated from the second volume cloud area to obtain an associated volume cloud area, wherein there is at least one target area, and one object contained in the interface to be displayed corresponds to one target area.

[0081] It should be noted that the first volume cloud area includes or does not include the target area. If the first volume cloud area includes the target area, the target area is eliminated. If the first volume cloud area does not include the target area, no processing is performed. The first volume cloud area is the target volume cloud area. Correspondingly, the second volume cloud area includes or does not include the target area. If the second volume cloud area includes the target area, the target area is eliminated. If the second volume cloud area does not include the target area, no processing is performed. The second volume cloud area is the associated volume cloud area.

[0082] For example, Figure 2 As shown, Figure 2 The game screen shown is the interface to be displayed. When displaying the game screen to the game user, clouds need to be drawn for the current game screen. The dotted line in the figure is used as the dividing line to divide the area corresponding to the game screen into area A close to the horizon and area B far from the horizon; the area close to the horizon is the area far from the visual distance, so the position of the game user when watching the game screen can be used as the starting point of the game user's line of sight, and the area with a far visual distance of the game user is taken as area A, and similarly, the area with a close visual distance of the game user is taken as area B. On this basis, the areas corresponding to the trees, characters, and mountains in the game screen are taken as target areas, and the areas corresponding to the mountains, trees, and characters in area A are removed from area A to obtain the associated volume cloud area; the areas corresponding to the trees and characters in area B are removed from area B to obtain the target volume cloud area.

[0083] To summarize, the interface to be displayed is first divided into two volume cloud areas, and then the target area is eliminated from the two volume cloud areas. When the interface to be displayed is subsequently calculated and rendered, the target area is not processed, thereby reducing the amount of calculation of the interface to be displayed and improving the rendering efficiency of the interface to be displayed.

[0084] Furthermore, when determining the target volume cloud area and the associated volume cloud area, the target area may be firstly eliminated from the to-be-displayed interface, and then the to-be-displayed area from which the target area is eliminated may be divided based on a preset distance threshold to obtain the target volume cloud area and the associated volume cloud area, which may be specifically implemented as follows:

[0085] The target area is eliminated from the interface to be displayed to obtain an intermediate display interface; and the intermediate display interface is divided based on a preset distance threshold to obtain a target volume cloud area and an associated volume cloud area.

[0086] Specifically, the intermediate display interface refers to the interface obtained after eliminating the target area in the interface to be displayed. In the game interface, the interface obtained after eliminating the areas corresponding to characters, mountains, trees and other objects from the interface to be displayed is the intermediate display interface.

[0087] Based on this, after obtaining the interface to be displayed, the target object contained in the interface to be displayed is determined, and the target area corresponding to the target object is eliminated in the interface to be displayed to obtain the interface to be displayed without the target area, that is, the intermediate display interface. The intermediate display interface is divided based on a preset distance threshold, and the intermediate display interface is divided into a target volume cloud area and an associated volume cloud area.

[0088] Using the above example, Figure 2 When determining the target volume cloud area and the associated volume cloud area in the game screen shown, the areas corresponding to the characters, mountains, trees and other objects contained in the game screen are first removed from the game screen to obtain the middle screen after removing the areas corresponding to the characters, mountains, trees and other objects. Then, the dotted line in the figure is used as the dividing line to divide the area corresponding to the middle screen into area A close to the horizon and area B far from the horizon. Area A is the associated volume cloud area, and area B is the target volume cloud area.

[0089] To sum up, the target area is first eliminated from the interface to be displayed, and then the standard volume cloud area and the associated volume cloud area are obtained. When the interface to be displayed is subsequently calculated and rendered, the target area is not processed, thereby reducing the amount of calculation of the interface to be displayed and improving the rendering efficiency of the interface to be displayed.

[0090] Step S104: performing edge sampling on the associated noise map corresponding to the associated volume cloud area to generate associated volume cloud data.

[0091] Specifically, after the target volume cloud area and the associated volume cloud area are determined as above, the edge sampling of the associated volume cloud area can be performed based on the associated noise map to generate associated volume cloud data, wherein the noise map refers to a computer graphics tool, the associated noise map is a predetermined 3D noise map, and each noise point contained in the noise map has its corresponding RGBA parameters, which are used to draw the pixel points corresponding to the associated volume cloud area in the interface to be processed; edge sampling refers to the process of determining noise points in the associated noise map; the associated volume cloud data refers to the data used to draw the pixel points of the volume cloud in the associated volume cloud area.

[0092] Based on this, after determining the associated volume cloud area, multiple edge samplings are performed on the associated noise map corresponding to the associated volume cloud area, and the associated volume cloud data used to render the associated volume cloud is determined according to the determined multiple edge sampling points, so as to facilitate the subsequent rendering of the associated volume cloud area in the display interface and obtain the target interface containing the associated volume cloud.

[0093] Furthermore, in the process of generating the associated volume cloud data, considering that the associated noise map contains multiple points, each point can be used as a sampling point, it is necessary to determine the associated sampling points according to certain rules, so as to determine the associated volume cloud data, which is specifically implemented as follows:

[0094] Acquire an associated noise map corresponding to the associated volume cloud area; perform edge sampling on the associated noise map according to a preset associated unit step size to obtain initial associated sampling points corresponding to the associated volume cloud area; select associated sampling points having a spatial position relationship with the associated noise map from the initial associated sampling points; and calculate associated volume cloud data corresponding to the associated volume cloud area based on the associated sampling point data corresponding to the associated sampling points.

[0095] Specifically, the preset associated unit step size refers to the adjustable step size parameter corresponding to the associated noise map; the initial associated sampling point refers to a plurality of sampling points obtained after edge sampling of the associated noise map; the spatial position relationship refers to the positional relationship between the initial associated sampling point and the associated noise map, including the initial associated sampling point being on the associated noise map, and the initial associated sampling point not being on the associated noise map; the associated sampling point refers to the sampling point on the associated noise map among the initial associated sampling points; the associated sampling point data refers to the data corresponding to the associated sampling point, which is used to render the pixel point of the volume cloud in the associated volume cloud area.

[0096] Based on this, after the associated volume cloud area is determined, the associated noise map corresponding to the associated volume cloud area is obtained. The associated noise map is edge sampled according to the preset associated unit step size, so as to obtain multiple initial associated sampling points corresponding to the associated volume cloud area. The associated sampling points on the associated noise map are screened out from the initial associated sampling points, and the associated sampling point data corresponding to the associated sampling points are calculated to obtain the associated volume cloud data corresponding to the associated volume cloud area. It should be noted that the associated noise map is a 3D noise map. A starting point is determined in the normal direction of the interface to be displayed, and multiple rays are emitted to the associated noise map at a preset angle. The edge of the associated noise map is sampled at a preset associated unit step size on each ray, so as to obtain multiple initial associated sampling points corresponding to the associated volume cloud area.

[0097] Continuing with the above example, the Ray Marching algorithm is used for edge sampling, such as Figure 3 As shown, Figure 3 The cube in the middle is the associated noise map corresponding to the associated volume cloud area. A ray is drawn from the triangle mark point to the cube. Each ray is sampled with a fixed length as the step length. Each sampling point is represented by a black dot. Figure 3 All sampling points in are the initial associated sampling points, and the initial associated sampling points on the associated noise map are the associated sampling points. The associated sampling point data corresponding to each associated sampling point are calculated respectively, including the pixel points, color, volume cloud density and other data corresponding to the associated sampling point, so as to render the volume cloud in the associated volume cloud area according to the above data.

[0098] In summary, by edge sampling the associated noise map, the associated volume cloud data is obtained, so that the target interface can be subsequently generated based on the associated volume cloud data, the rendering of the interface to be displayed is realized, the rendering efficiency is improved, and the realism of the volume cloud is enhanced.

[0099] Step S106, performing body sampling and illumination sampling on the target noise map corresponding to the target volume cloud area, to generate target volume cloud body data and target volume cloud illumination data.

[0100] Specifically, after the target volume cloud area and the associated volume cloud area are determined as above, the target volume cloud area can be sampled based on the target noise map to generate target volume cloud body data and target volume cloud illumination data, wherein the target noise map is a predetermined 3D noise map, and each noise point contained in the noise map has its corresponding RGBA parameters, which are used to draw the pixel points corresponding to the target volume cloud area in the interface to be processed; body sampling refers to the process of determining noise points in the associated noise map; illumination sampling refers to the process of determining noise points in the associated noise map based on illumination points and the target noise map; target volume cloud body data refers to data used to render the target volume cloud shape, thickness and transparency in the target volume cloud area; target volume cloud illumination data refers to data used to render the target volume cloud illumination color in the target volume cloud area.

[0101] Based on this, after determining the target volume cloud area, multiple body sampling and illumination sampling are performed on the target noise map corresponding to the target volume cloud area, and the target volume cloud body data and target volume cloud illumination data for rendering the target volume cloud are determined according to the determined multiple body sampling points and multiple illumination sampling points, so as to facilitate the subsequent rendering of the target volume cloud area in the display interface and obtain the target interface containing the target volume cloud.

[0102] Furthermore, in order to obtain more accurate target volume cloud body data and target volume cloud illumination data in the process of generating the target volume cloud body data and the target volume cloud illumination data, it is necessary to perform multiple body sampling and illumination sampling on the target noise map according to certain rules, so as to determine the target volume cloud body data and the target volume cloud illumination data, which is specifically implemented as follows:

[0103] Acquire a target noise map corresponding to the target volume cloud area; perform body sampling on the target noise map according to a preset target unit step and time interval to obtain initial body sampling points corresponding to the target volume cloud area; select body sampling points having a spatial position relationship with the target noise map from the initial body sampling points; calculate the target volume cloud body data corresponding to the target volume cloud area according to the body sampling point data corresponding to the body sampling points; perform illumination sampling on the target noise map based on a preset illumination unit step to generate target volume cloud illumination data.

[0104] Specifically, the preset target unit step size refers to the adjustable step size parameter corresponding to the target noise map; the initial body sampling point refers to a plurality of sampling points obtained after body sampling of the target noise map; the body sampling point refers to the sampling point on the target noise map among the initial body sampling points; the body sampling point data refers to the data corresponding to the body sampling point, which is used to render the pixel point of the volume cloud in the target volume cloud area.

[0105] Based on this, after determining the target volume cloud, the target noise map corresponding to the target volume cloud area is obtained. According to the preset target unit step and time interval, the target noise map is subject to body sampling, so as to obtain multiple initial body sampling points corresponding to the target volume cloud area. The initial body sampling points are screened according to the spatial position relationship between each initial body sampling point and the target noise map, and the initial body sampling points with a spatial position relationship with the target noise map are screened as body sampling points. The body sampling point data corresponding to the body sampling point is calculated to obtain the target volume cloud body data corresponding to the target volume cloud area. The target noise map is illuminated according to the preset illumination unit step, so as to generate the target volume cloud illumination data, so as to facilitate the subsequent rendering of the target interface containing the volume cloud based on the target volume cloud body data and the target volume cloud illumination data.

[0106] In summary, by performing body sampling and illumination sampling on the target noise map, the target interface is generated, the rendering of the volumetric cloud in the display interface is realized, the rendering efficiency is improved, and the realism of the volumetric cloud is enhanced.

[0107] Furthermore, in the process of generating the target volume cloud illumination data, in order to determine the illumination sampling points, it is necessary to first determine the illumination points, and then generate the illumination sampling points in the target noise map based on the illumination unit step, the main body sampling points and the illumination points. The specific implementation is as follows:

[0108] Determine the illumination point in the interface to be displayed; generate the illumination sampling point in the target noise map based on the preset illumination unit step, the main body sampling point and the illumination point; and generate the target volume cloud illumination data according to the illumination sampling data of the illumination sampling point.

[0109] Specifically, the illumination point refers to the light source position point preset in the interface to be displayed, and the target volume cloud illumination sampling data is determined according to the position of the light source; the illumination unit step refers to the adjustable step parameter preset corresponding to the illumination sampling; the illumination sampling point refers to the multiple sampling points obtained by performing illumination sampling according to the preset illumination unit step between the illumination point and each main body sampling point; the illumination sampling data refers to the data corresponding to the illumination sampling point, which is used to render the pixel points of the volume cloud in the target volume cloud area.

[0110] Based on this, after determining the main body sampling point, determine the illumination point in the interface to be displayed. Based on the preset illumination unit step, determine the illumination sampling point between each main body sampling point and the illumination point in the target noise map, and generate the target volume cloud illumination data according to the illumination sampling data corresponding to the illumination sampling point, so as to complete the subsequent rendering of the volume cloud and generate the target interface containing the volume cloud.

[0111] Continuing with the above example, the Ray Marching algorithm is used for body sampling and illumination sampling, such as Figure 4 As shown, Figure 4 The cube in the middle is the target noise map corresponding to the target volume cloud area. A ray is drawn from the circular mark point to the target noise map. Each ray is sampled with a fixed length as the step length. Each sampling point is represented by a black dot. Figure 4 The sampling points on all rays between the circular mark point and the target noise map are the initial body sampling points, and the initial body sampling points on the target noise map are the body sampling points. The body sampling point data corresponding to each body sampling point is calculated separately, including the pixel points, color, volume cloud density and other data corresponding to the body sampling point. Figure 4 The sun position is the light source point, and rays are drawn to each body sampling point. Each ray is sampled with a fixed length as the step length. Each sampling point is represented by a small black dot, and multiple illumination sampling points are obtained. The illumination sampling point data corresponding to each illumination sampling point is calculated respectively, so that the volume cloud can be rendered in the target volume cloud area according to the above data. It should be noted that considering that the target noise map is a 3D map, Figure 4 Not all rays from the light source point to each body sampling point are drawn, and not all illumination sampling points are marked. Only four rays are used as an example for explanation.

[0112] In summary, by performing illumination sampling on the target noise map, a target interface containing a volumetric cloud with relatively realistic illumination effects is generated, which improves rendering efficiency, enhances the realism of the volumetric cloud, and improves user experience.

[0113] Step S108: Rendering the interface to be displayed into a target interface including a volume cloud based on the associated volume cloud data, the target volume cloud body data and the target volume cloud illumination data.

[0114] Specifically, after the associated volume cloud data, target volume cloud body data and target volume cloud lighting data are determined as above, the interface to be displayed can be rendered as the target interface, wherein rendering refers to the process of projecting the associated volume cloud data, target volume cloud body data and target volume cloud lighting data into a digital image; volume cloud refers to the clouds rendered into the interface to be displayed; target interface refers to the interface obtained after rendering the interface to be displayed based on the associated volume cloud data, target volume cloud body data and target volume cloud lighting data, and the target interface contains the volume cloud drawn by rendering.

[0115] Based on this, after obtaining the associated volume cloud data, the target volume cloud body data and the target volume cloud lighting data, the interface to be displayed is rendered according to the associated volume cloud data, the target volume cloud body data and the target volume cloud lighting data, and the interface to be displayed is rendered as a target interface containing the volume cloud.

[0116] Furthermore, when rendering the target interface, in order to improve rendering efficiency and shorten the time required to render the target interface while ensuring the interface clarity and user perception of the target interface, it is necessary to render the interface to be displayed based on a predetermined target frame rate and frame granularity to obtain the target interface, which is specifically implemented as follows:

[0117] Read the target frame rate and frame granularity corresponding to the mobile terminal; render the associated volume cloud data, the target volume cloud body data, and the target volume cloud illumination data according to the target frame rate and the frame granularity to obtain a target interface including the volume cloud.

[0118] Specifically, the target frame rate refers to the frame frequency preset for the mobile terminal, which is used to indicate the frequency at which a bitmap image in frames appears continuously on the display screen; the frame granularity refers to the pixel drawing of the image corresponding to each frame. For example, if the frame granularity is set to 4, only 1 of the 4 pixels is drawn when drawing the image.

[0119] Based on this, the target frame rate and frame granularity preset for the mobile terminal are read. The interface to be displayed is drawn according to the preset target frame rate and frame granularity. In the drawing process, the pixels in the interface to be displayed are rendered according to the associated volume cloud data, the target volume cloud body data, and the target volume cloud lighting data, and a volume cloud with lighting effects is rendered in the interface to be displayed, thereby obtaining a target interface containing a volume cloud, and the rendering effect of the volume cloud is more realistic.

[0120] In summary, the interface to be displayed is rendered according to the pre-set target frame rate and frame granularity. While rendering the volume cloud, the resource consumption caused by rendering is reduced. The realism and clarity of the target interface are improved by reasonably setting the target frame rate and frame granularity.

[0121] Furthermore, after obtaining the target interface, the target interface also needs to be appropriately adjusted in consideration of the movement of the viewing angle, that is, a second target interface is rendered. When rendering the second target interface, in order to save resources, the second target interface can be rendered based on the data corresponding to the target interface. The specific implementation is as follows:

[0122] When the target interface is updated, determine the first image frame and update parameters corresponding to the target interface, as well as pixel data of the first image frame; determine the image frame data based on the pixel data and the update parameters; and render the second target interface based on the image frame data and the frame granularity.

[0123] Specifically, the first image frame refers to the image frame corresponding to the target interface; the update parameter refers to the parameter data corresponding to the newly added objects in the interface displayed due to the movement of the perspective or the scene change; the pixel data refers to the color, position and other data corresponding to the pixel points in the target interface; the second target interface refers to the new interface obtained after the scene conversion, that is, the interface obtained after the target interface is updated; the image frame data refers to the data of each pixel point corresponding to the second target interface.

[0124] Based on this, when the target interface is updated, the target interface is used as the first image frame for the subsequent generation of the updated target interface. The pixel data corresponding to the first image frame and the update parameters of the corresponding target interface are determined. The image frame data relative to the target interface is determined based on the pixel data corresponding to the first image frame and the update parameters of the corresponding target interface, and the interface is rendered based on the image frame data and the preset frame granularity to obtain a second target interface relative to the target interface.

[0125] For example, after obtaining the associated volume cloud data, the target volume cloud body data and the target volume cloud illumination data, the target frame rate and frame granularity corresponding to the mobile terminal can be read, and the display interface is rendered based on the associated volume cloud data, the target volume cloud body data and the target volume cloud illumination data to obtain the following: Figure 5 The target interface shown in (a) is used to display to the game user. When the game user controls the movement of the character currently used, the game interface may appear with characters controlled by other game users, so the target interface needs to be updated. The updated target interface is as follows: Figure 5 As shown in (b), during the update, since the mountains, trees, and clouds in the scene have not changed, the interface is rendered according to the pixel data corresponding to the target interface and the newly added character data to obtain the updated target data containing two characters.

[0126] To summarize, the data processing method provided by the present application obtains the interface to be displayed, and determines the target volume cloud area and the associated volume cloud area in the interface to be displayed; performs edge sampling on the associated noise map corresponding to the associated volume cloud area to generate associated volume cloud data; performs body sampling and illumination sampling on the target noise map corresponding to the target volume cloud area, respectively, to generate target volume cloud body data and target volume cloud illumination data; based on the associated volume cloud data, the target volume cloud body data and the target volume cloud illumination data, renders the interface to be displayed as a target interface containing a volume cloud, thereby improving the realism of the volume cloud in the target interface and improving the rendering efficiency of the target interface.

[0127] The following combination Figure 6 Taking the application of the data processing method provided in this application to a game application as an example, the data processing method is further described. Figure 6 A processing flow chart of a data processing method applied to a game application provided by an embodiment of the present application is shown, which specifically includes the following steps:

[0128] Step S602, obtaining the interface to be displayed.

[0129] Get the game interface to be displayed in the game application.

[0130] Step S604: dividing the interface to be displayed into a target volume cloud area and an associated volume cloud area.

[0131] The game interface is divided into a target volume cloud area and an associated volume cloud area. The target volume cloud area is used to display volume clouds that are closer to the horizon in the game interface, and the associated volume cloud area is used to display volume clouds that are farther from the horizon in the game interface.

[0132] Step S606, determining a target noise map corresponding to the target volume cloud area.

[0133] Step S608, determining an associated noise map corresponding to the associated volume cloud region.

[0134] Step S610, performing body sampling and illumination sampling on the target noise map.

[0135] Step S612, performing correlation sampling on the correlation noise map corresponding to the correlation volume cloud area.

[0136] Step S614, determining the initial body sampling point corresponding to the body sampling, the initial illumination sampling point corresponding to the illumination sampling, and the initial association sampling point corresponding to the association sampling.

[0137] Step S616, filtering the body sampling points from the initial body sampling points, and filtering the illumination sampling points from the initial illumination sampling points.

[0138] Step S618: screening associated sampling points from the initial associated sampling points.

[0139] Step S620, determining the target volume cloud body data according to the body sampling points, and determining the target volume cloud illumination data according to the illumination sampling points.

[0140] Step S622: Determine associated volume cloud data according to the associated sampling points.

[0141] Step S624 , based on the target volume cloud body data, the target volume cloud lighting data and the associated volume cloud data, the interface to be displayed is rendered into a target interface including the volume cloud.

[0142] The data processing method provided by the present application obtains an interface to be displayed, and determines a target volume cloud area and an associated volume cloud area in the interface to be displayed; performs edge sampling on an associated noise map corresponding to the associated volume cloud area to generate associated volume cloud data; performs body sampling and illumination sampling on a target noise map corresponding to the target volume cloud area to generate target volume cloud body data and target volume cloud illumination data; based on the associated volume cloud data, the target volume cloud body data and the target volume cloud illumination data, renders the interface to be displayed as a target interface containing a volume cloud, thereby improving the realism of the volume cloud in the target interface and improving the rendering efficiency of the target interface.

[0143] Corresponding to the above method embodiment, the present application also provides a data processing device embodiment, Figure 7 FIG. 1 is a schematic diagram showing the structure of a data processing device provided by an embodiment of the present application. Figure 7 As shown, the device comprises:

[0144] The acquisition module 702 is configured to acquire the interface to be displayed, and determine the target volume cloud area and the associated volume cloud area in the interface to be displayed;

[0145] A generating module 704 is configured to perform edge sampling on the associated noise map corresponding to the associated volume cloud area to generate associated volume cloud data;

[0146] The processing module 706 is configured to perform body sampling and illumination sampling on the target noise map corresponding to the target volume cloud area, and generate target volume cloud body data and target volume cloud illumination data;

[0147] The rendering module 708 is configured to render the interface to be displayed into a target interface including a volume cloud based on the associated volume cloud data, the target volume cloud body data and the target volume cloud lighting data.

[0148] In an optional embodiment, the acquisition module 702 is further configured to: determine the target object in the interface to be displayed; determine the target area corresponding to the target object based on the target object; and determine the target volume cloud area and the associated volume cloud area based on the interface to be displayed and the target area.

[0149] In an optional embodiment, the generation module 704 is further configured to: obtain an associated noise map corresponding to the associated volume cloud area; perform edge sampling on the associated noise map according to a preset associated unit step size to obtain initial associated sampling points corresponding to the associated volume cloud area; screen associated sampling points that have a spatial position relationship with the associated noise map from the initial associated sampling points; and calculate the associated volume cloud data corresponding to the associated volume cloud area based on the associated sampling point data corresponding to the associated sampling points.

[0150] In an optional embodiment, the processing module 706 is further configured to: obtain a target noise map corresponding to the target volume cloud area; perform body sampling on the target noise map according to a preset target unit step and time interval to obtain initial body sampling points corresponding to the target volume cloud area; screen body sampling points that have a spatial position relationship with the target noise map from the initial body sampling points; calculate the target volume cloud body data corresponding to the target volume cloud area based on the body sampling point data corresponding to the body sampling points; perform illumination sampling on the target noise map based on a preset illumination unit step to generate target volume cloud illumination data.

[0151] In an optional embodiment, the processing module 706 is further configured to: determine the illumination point in the interface to be displayed; generate the illumination sampling point in the target noise map based on the preset illumination unit step, the main body sampling point and the illumination point; and generate the target volume cloud illumination data according to the illumination sampling data of the illumination sampling point.

[0152] In an optional embodiment, the acquisition module 702 is further configured to: divide the interface to be displayed based on a preset distance threshold to obtain a first volume cloud area and a second volume cloud area; eliminate the target area in the first volume cloud area and / or the second volume cloud area; and determine the target volume cloud area and the associated volume cloud area based on the area elimination result.

[0153] In an optional embodiment, the acquisition module 702 is further configured to: eliminate the target area in the interface to be displayed to obtain an intermediate display interface; divide the intermediate display interface based on a preset distance threshold to obtain a target volume cloud area and an associated volume cloud area.

[0154] In an optional embodiment, the rendering module 708 is further configured to: read the target frame rate and frame granularity corresponding to the mobile terminal; render the associated volume cloud data, the target volume cloud body data, and the target volume cloud lighting data according to the target frame rate and the frame granularity to obtain a target interface containing a volume cloud.

[0155] In an optional embodiment, the rendering module 708 is further configured to: when the target interface is updated, determine the first image frame and update parameters corresponding to the target interface, as well as the pixel data of the first image frame; determine the image frame data based on the pixel data and the update parameters; and render the second target interface based on the image frame data and the frame granularity.

[0156] The above is a schematic scheme of a data processing device of the present embodiment. It should be noted that the technical scheme of the data processing device and the technical scheme of the above-mentioned data processing method belong to the same concept. For the details not described in detail in the technical scheme of the data processing device, please refer to the description of the technical scheme of the above-mentioned data processing method. In addition, each component in the device embodiment should be understood as a functional module that must be established to implement each step of the program flow or each step of the method, and each functional module is not an actual functional division or separation definition. The device claim defined by such a group of functional modules should be understood as a functional module architecture that mainly implements the solution through the computer program recorded in the specification, and should not be understood as a physical device that mainly implements the solution through hardware.

[0157] Figure 8 The structure block diagram of a computing device 800 provided according to an embodiment of the present application is shown. The components of the computing device 800 include but are not limited to a memory 810 and a processor 820. The processor 820 is connected to the memory 810 via a bus 830, and the database 850 is used to store data.

[0158] The computing device 800 also includes an access device 840 that enables the computing device 800 to communicate via one or more networks 860. Examples of these networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 840 may include one or more of any type of network interface (e.g., a network interface card (NIC)) that is wired or wireless, such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a World Wide Interoperability for Microwave Access (Wi-MAX) interface, an Ethernet interface, a universal serial bus (USB) interface, a cellular network interface, a Bluetooth interface, a near field communication (NFC) interface, and the like.

[0159] In one embodiment of the present application, the above components of the computing device 800 and Figure 8 Other components not shown in the figure may also be connected to each other, for example, via a bus. It should be understood that Figure 8 The computing device structure block diagram shown is only for the purpose of illustration, and is not intended to limit the scope of the present application. Those skilled in the art may add or replace other components as needed.

[0160] The computing device 800 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smart phone), a wearable computing device (e.g., a smart watch, smart glasses, etc.), or other types of mobile devices, or a stationary computing device such as a desktop computer or PC. The computing device 800 may also be a mobile or stationary server.

[0161] The processor 820 is used to execute computer executable instructions of the data processing method.

[0162] The above is a schematic scheme of a computing device of this embodiment. It should be noted that the technical scheme of the computing device and the technical scheme of the above data processing method belong to the same concept, and the details not described in detail in the technical scheme of the computing device can be referred to the description of the technical scheme of the above data processing method.

[0163] An embodiment of the present application further provides a computer-readable storage medium storing computer instructions, which are used in a data processing method when executed by a processor.

[0164] The above is a schematic scheme of a computer-readable storage medium of this embodiment. It should be noted that the technical scheme of the storage medium and the technical scheme of the above data processing method belong to the same concept, and the details not described in detail in the technical scheme of the storage medium can be referred to the description of the technical scheme of the above data processing method.

[0165] An embodiment of the present application further provides a chip storing a computer program, which implements the steps of the data processing method when executed by the chip.

[0166] The above describes specific embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0167] The computer instructions include computer program codes, which may be in source code form, object code form, executable files or some intermediate forms, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0168] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described action sequence, because according to the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0169] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0170] The preferred embodiments of the present application disclosed above are only used to help explain the present application. The optional embodiments do not describe all the details in detail, nor do they limit the invention to the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of the present application. The present application selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present application, so that those skilled in the art can understand and use the present application well. The present application is only limited by the claims and their full scope and equivalents.

Claims

1. A data processing method, characterized in that: Applied to mobile terminals, including: Acquire an interface to be displayed, and determine a target volume cloud area and an associated volume cloud area in the interface to be displayed; Performing edge sampling on the associated noise map corresponding to the associated volume cloud area to generate associated volume cloud data; According to a preset target unit step size and time interval, a target noise map corresponding to the target volume cloud area is subjected to body sampling to obtain initial body sampling points corresponding to the target volume cloud area, and body sampling points having a spatial position relationship with the target noise map are selected from the initial body sampling points; Calculating the target volume cloud body data corresponding to the target volume cloud area according to the body sampling point data corresponding to the body sampling point, and performing illumination sampling on the target noise map based on a preset illumination unit step to generate target volume cloud illumination data; Based on the associated volume cloud data, the target volume cloud body data and the target volume cloud lighting data, the to-be-displayed interface is rendered into a target interface including a volume cloud.

2. The method according to claim 1, characterized in that: The step of determining the target volume cloud area and the associated volume cloud area in the interface to be displayed includes: Determining a target object in the interface to be displayed; Determining a target area corresponding to the target object according to the target object; A target volume cloud area and an associated volume cloud area are determined based on the interface to be displayed and the target area.

3. The method according to claim 1, characterized in that: The performing edge sampling on the associated noise map corresponding to the associated volume cloud area to generate associated volume cloud data includes: Obtaining an associated noise map corresponding to the associated volume cloud area; Perform edge sampling on the associated noise map according to a preset associated unit step size to obtain initial associated sampling points corresponding to the associated volume cloud area; Selecting associated sampling points having a spatial position relationship with the associated noise map from the initial associated sampling points; The associated volume cloud data corresponding to the associated volume cloud area is calculated according to the associated sampling point data corresponding to the associated sampling point.

4. The method according to claim 1, characterized in that The step of performing illumination sampling on the target noise map based on a preset illumination unit step to generate target volume cloud illumination data includes: Determining a lighting point in the interface to be displayed; Generate an illumination sampling point in the target noise map based on a preset illumination unit step, a body sampling point and the illumination point; The target volume cloud illumination data is generated according to the illumination sampling data of the illumination sampling point.

5. The method according to claim 2, characterized in that: The determining the target volume cloud area and the associated volume cloud area based on the to-be-displayed interface and the target area includes: Dividing the interface to be displayed based on a preset distance threshold to obtain a first volume cloud area and a second volume cloud area; Eliminate the target area in the first volume cloud area and / or the second volume cloud area; The target volume cloud region and the associated volume cloud region are determined according to the region elimination result.

6. The method according to claim 2, characterized in that The determining the target volume cloud area and the associated volume cloud area based on the to-be-displayed interface and the target area includes: Eliminating the target area in the interface to be displayed to obtain an intermediate display interface; The intermediate display interface is divided based on a preset distance threshold to obtain a target volume cloud area and an associated volume cloud area.

7. The method according to claim 1, characterized in that The rendering of the to-be-displayed interface into a target interface including a volumetric cloud based on the associated volumetric cloud data, the target volumetric cloud body data and the target volumetric cloud illumination data comprises: Reading a target frame rate and frame granularity corresponding to the mobile terminal; The associated volume cloud data, the target volume cloud body data, and the target volume cloud illumination data are rendered according to the target frame rate and the frame granularity to obtain a target interface including the volume cloud.

8. The method according to claim 7, characterized in that Also includes: When the target interface is updated, determining a first image frame and update parameters corresponding to the target interface, and pixel data of the first image frame; Determine image frame data according to the pixel point data and the update parameter; A second target interface is rendered according to the image frame data and the frame granularity.

9. A data processing device, characterized in that: Applied to mobile terminals, including: An acquisition module is configured to acquire an interface to be displayed, and determine a target volume cloud area and an associated volume cloud area in the interface to be displayed; A generating module is configured to perform edge sampling on the associated noise map corresponding to the associated volume cloud area to generate associated volume cloud data; The processing module is configured to perform body sampling on the target noise map corresponding to the target volume cloud area according to a preset target unit step and time interval, obtain initial body sampling points corresponding to the target volume cloud area, and select body sampling points having a spatial position relationship with the target noise map from the initial body sampling points; calculate the target volume cloud body data corresponding to the target volume cloud area according to the body sampling point data corresponding to the body sampling points, and perform illumination sampling on the target noise map based on a preset illumination unit step to generate target volume cloud illumination data; The rendering module is configured to render the interface to be displayed into a target interface including a volume cloud based on the associated volume cloud data, the target volume cloud body data and the target volume cloud lighting data.

10. A computing device, characterized in that include: Memory and processor; The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions to implement the steps of the data processing method according to any one of claims 1 to 8.

11. A computer-readable storage medium storing computer instructions, characterized in that: When the instruction is executed by the processor, the steps of the data processing method described in any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • Volume cloud rendering method and device, electronic equipment and storage medium

    CN112200900A

  • Model-based volume cloud generation method

    CN113144613A