CN115082606A - Smoke rendering method and device, electronic equipment and storage medium - Google Patents

Smoke rendering method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115082606A
CN115082606A CN202210573711.2A CN202210573711A CN115082606A CN 115082606 A CN115082606 A CN 115082606A CN 202210573711 A CN202210573711 A CN 202210573711A CN 115082606 A CN115082606 A CN 115082606A
Authority
CN
China
Prior art keywords
smoke
target
rendered
rendering
model
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210573711.2A
Other languages
Chinese (zh)
Inventor
陈令琦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202210573711.2A priority Critical patent/CN115082606A/en
Publication of CN115082606A publication Critical patent/CN115082606A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/50Lighting effects
    • G06T15/80Shading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/005General purpose rendering architectures

Abstract

The embodiment of the application discloses a smoke rendering method, a smoke rendering device, electronic equipment and a computer readable storage medium; according to the method and the device, a to-be-rendered smoke model carrying a target rendering layer can be obtained, wherein the target rendering layer comprises a light and shadow control layer of the to-be-rendered smoke model; acquiring target light and shadow control parameters of the smoke model to be rendered based on the light and shadow control layer of the smoke model to be rendered, wherein the target light and shadow control parameters comprise light and shade degrees in all illumination directions; and rendering the smoke model to be rendered according to the target shadow control parameters to obtain target smoke matched with the target shadow control parameters. The embodiment of the application can improve the abundant diversity of smog in the illumination direction, and then promote the expressive force of the detail, the volume sense and the light shadow sense of smog.

Description

Smoke rendering method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a smoke rendering method, apparatus, electronic device, and computer-readable storage medium.
Background
In virtual scene development, a volume of fog is typically used to simulate a cloud or cloud in a real scene. However, the existing principle of making the volume fog is that the particle sheet always faces the camera direction, so that the illumination received by the volume fog is uniform, and the change of the light and shade relation is lacked, thereby causing the problem that the volume feeling and the light and shade feeling of the volume fog are not obvious.
Disclosure of Invention
The embodiment of the application provides a smoke rendering method, a smoke rendering device, electronic equipment and a computer-readable storage medium, which can improve the rich diversity of smoke in the illumination direction, and further improve the expressive force of the volume feeling and the light shadow feeling of the smoke.
In a first aspect, an embodiment of the present application provides a smoke rendering method, including:
obtaining a to-be-rendered smoke model carrying a target rendering layer, wherein the target rendering layer comprises a light shadow control layer of the to-be-rendered smoke model;
acquiring target light and shadow control parameters of the smoke model to be rendered based on the light and shadow control layer of the smoke model to be rendered, wherein the target light and shadow control parameters comprise light and shade degrees in all illumination directions;
rendering the smog model to be rendered according to the target light and shadow control parameters to obtain target smog matched with the target light and shadow control parameters.
In a second aspect, an embodiment of the present application further provides a smoke rendering apparatus, including:
the system comprises a first obtaining unit, a second obtaining unit and a control unit, wherein the first obtaining unit is used for obtaining a to-be-rendered smoke model carrying a target rendering layer, and the target rendering layer comprises a light and shadow control layer of the to-be-rendered smoke model;
a second obtaining unit, configured to obtain a target light and shadow control parameter of the to-be-rendered smoke model based on a light and shadow control layer of the to-be-rendered smoke model, where the target light and shadow control parameter includes a brightness in each illumination direction;
and the rendering unit is used for rendering the smoke model to be rendered according to the target shadow control parameters to obtain target smoke matched with the target shadow control parameters.
In a third aspect, an embodiment of the present application further provides an electronic device, including a memory storing a plurality of instructions; the processor loads instructions from the memory to perform the steps of any of the smoke rendering methods provided by the embodiments of the present application.
In a fourth aspect, embodiments of the present application further provide a computer-readable storage medium, where a plurality of instructions are stored, and the instructions are adapted to be loaded by a processor to perform the steps in any of the smoke rendering methods provided by the embodiments of the present application.
According to the method and the device, a to-be-rendered smoke model carrying a target rendering layer is obtained; acquiring target shadow control parameters of the smoke model to be rendered based on a shadow control layer of the smoke model to be rendered; rendering the smoke model to be rendered according to the target shadow control parameters to obtain target smoke matched with the target shadow control parameters; because the target shadow control parameter contains the light and shade degree in each illumination direction, can be used for controlling the illumination direction and the illumination size of the smog model to be rendered, the problems that the illumination received by the smog is uniform and the change of the light and shade relation is lacked are avoided, the rich diversity of the target smog obtained by rendering in the illumination direction is improved, and the expressive force of the details, the volume sense and the light and shadow sense of the smog is further improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of an embodiment of a smoke rendering method according to an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart diagram illustrating one embodiment of step 101 provided in an embodiment of the present application;
FIG. 3 is a schematic diagram comparing the smoke effect obtained by rendering with and without the target shadow control parameter provided in the embodiment of the present application;
FIG. 4 is a schematic flow chart of another embodiment of step 101 provided in embodiments of the present application;
FIG. 5 is a schematic diagram of a smoke model to be rendered containing multiple frames of smoke;
FIG. 6 is a schematic flow chart diagram illustrating one embodiment of step 103 provided in an embodiment of the present application;
fig. 7 is a schematic structural diagram of a smoke rendering apparatus provided in an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application. Meanwhile, in the description of the embodiments of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the described features. In the description of the embodiments of the present application, "a plurality" means two or more unless specifically defined otherwise.
The embodiment of the application provides a smoke rendering method, a smoke rendering device, electronic equipment and a computer readable storage medium.
Specifically, the embodiment will be described from the perspective of a smoke rendering device, where the smoke rendering device may be specifically integrated in an electronic device, that is, the smoke rendering method in the embodiment of the present application may be executed by an electronic device, and the electronic device may be a terminal, a server, or other devices. The terminal can be a mobile phone, a tablet Computer, an intelligent bluetooth device, a notebook Computer, a touch screen, a game machine, or a Personal Computer (PC), and the like; the server may be a single server or a server cluster composed of a plurality of servers.
For example, the electronic device may be a mobile terminal, and the mobile terminal may obtain, through a network, a to-be-rendered smoke model carrying a target rendering layer, where the target rendering layer includes a light and shadow control layer of the to-be-rendered smoke model; acquiring target light and shadow control parameters of the smoke model to be rendered based on the light and shadow control layer of the smoke model to be rendered, wherein the target light and shadow control parameters comprise light and shade degrees in all illumination directions; and rendering the smoke model to be rendered according to the target shadow control parameters to obtain target smoke matched with the target shadow control parameters.
In some embodiments, the smoke rendering apparatus may be further integrated in a plurality of electronic devices, for example, the smoke rendering apparatus may be integrated in a plurality of servers, and the smoke rendering method of the present application is implemented by the plurality of servers. For another example, the smoke rendering device may be integrated in a plurality of terminals, and the smoke rendering method of the present application is implemented by the plurality of terminals.
In some embodiments, the smoke rendering apparatus may also be integrated in a terminal and server cluster, thereby implementing a Cloud Gaming (Cloud Gaming); the server can render the picture by the smoke rendering method provided by the scheme, and sends the rendered picture to the terminal through the network so as to play the rendered picture at the terminal, thereby improving the rich diversity of the smoke played by the terminal in the illumination direction and further improving the expressive force of the details, the volume sense and the light and shadow sense of the smoke.
In some embodiments, the server may also be implemented in the form of a terminal, for example, a personal computer may be configured as the server to integrate the smoke rendering apparatus, and the server configured by the personal computer is configured to implement the smoke rendering method of the present application.
The following detailed description is made with reference to the accompanying drawings, respectively. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments. Although a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than shown in the figures.
As shown in fig. 1, a specific flow of the smoke rendering method may include steps 101 to 103, where:
101. and acquiring the smog model to be rendered carrying the target rendering layer.
Wherein the smoke model to be rendered is a model of the volume fog to be rendered.
Wherein, the target rendering layer is a rendering layer containing various types of information (such as basic color, illumination direction, illumination intensity and the like) for rendering the smoke model to be rendered. The target rendering layer may include a light and shadow control layer (such as a target color channel layer, a target velocity channel layer, mentioned later), a base color layer, etc. of the smoke model to be rendered.
The light and shadow control layer is used for adjusting the rendering layering of the light and shade degree of the smoke model to be rendered in each lighting direction.
There are various ways to obtain the smoke model to be rendered in step 101, which illustratively includes:
and (I) creating a smoke model to be rendered in real time through a graphic tool supporting smoke calculation.
In order to improve the naturalness of the smoke model to be rendered and make the smoke model to be rendered more conform to the physical attributes of smoke, the smoke model to be rendered is created by an image tool supporting smoke calculation in the embodiment.
The graphic tool supporting the smoke calculation is a graphic tool supporting the creation of a smoke model by adopting physical information such as speed, density, volume, form and the like. For example, Houdini, a three-dimensional computer graphics software, is an effective tool for creating advanced visual effects and programmatic generation.
Specifically, with different processing requirements of the smoke model to be rendered, there are various ways of creating the smoke model to be rendered in real time in step 101, which exemplarily include:
1) and the smoke model to be rendered is volume fog obtained after physical volume smoke calculation is carried out on the graphics tool supporting smoke calculation. In this case, step 101 may specifically include steps 1011A to 1012A:
1011A, constructing the preliminary smoke.
Wherein, the primary smoke is volume smoke directly obtained after physical volume smoke is calculated.
Illustratively, the physical volume smoke is calculated by a resolver in Houdini according to information such as smoke speed, smoke density, smoke volume, smoke form and the like input by a user to obtain primary smoke. And then, directly taking the preliminary smoke obtained by resolving the physical volume smoke as a smoke model to be rendered.
1012A, setting a rendering layer for the preliminary smog to obtain the preliminary smog with the rendering layer, and taking the preliminary smog with the rendering layer as a smog model to be rendered, which carries a target rendering layer.
The manner of setting the rendering layer for the preliminary smoke in step 1012A is similar to that in step 1013B, and reference may be specifically made to the description of step 1013B, and for simplification of description, details are not described here again.
2) And the smoke model to be rendered performs physical volume smoke calculation and volume smoke obtained after optimizing occupied memory for a graphics tool supporting smoke calculation. As shown in fig. 2, at this time, step 101 may specifically include steps 1011B to 1013B:
1011B, constructing primary smoke.
The implementation of step 1011B is similar to the implementation of step 1011A, and reference may be made to the related description of step 1011A, which is not repeated herein.
1012B, optimizing the memory occupied by the primary smoke to obtain the optimized smoke.
Wherein the optimizing the occupancy memory of the preliminary smoke includes at least one of resampling a speed of the preliminary smoke, compressing a volume of the preliminary smoke.
For example, in step 1012B, the occupied memory of the smoke may be optimized by starting from both the speed channel of the smoke and the volume of the smoke: on one hand, the speed channel of the primary smoke can be sampled down to reduce the speed information carried by the speed channel of the primary smoke, so that the memory occupied by the primary smoke is reduced, and the purpose of optimizing the memory occupied by the primary smoke is achieved; on the other hand, the volume of the primary smoke can be compressed to reduce the volume information of the primary smoke, so that the memory occupied by the primary smoke is reduced, and the purpose of optimizing the memory occupied by the primary smoke is achieved; therefore, the primary smoke occupied memory is optimized to obtain the optimized smoke.
Through the speed passageway to preliminary smog resampling, or compress preliminary smog's volume, realize optimizing preliminary smog's the memory that occupies, can greatly reduce and wait to render the required memory that occupies of smog model, for example, in this embodiment, through carrying out the resampling to preliminary smog's speed passageway simultaneously, and compress preliminary smog's volume, preliminary smog before optimizing is about 80Mb, after optimizing smog is about 4 Mb. Therefore, the problems that the smoke model to be rendered needs to consume large content and is not beneficial to the iteration and the flexible of the smoke effect are solved.
1013B, setting a rendering layer for the optimized smoke to obtain the optimized smoke with the rendering layer, and using the optimized smoke as a smoke model to be rendered with the target rendering layer.
For different concrete expression forms of the target rendering layer, there are multiple ways of setting the rendering layer, and the following description will explain a way of setting the rendering layer for the optimized smoke in step 1013B, by taking as an example that the target rendering layer is a target color channel layer, a target speed channel layer, and a basic color layer of the smoke model to be rendered, respectively.
And the target rendering layer is a target color channel layer of the smoke model to be rendered. In this case, step 1013B may specifically include the following steps a1 to a2, where:
the target color channel layer is a rendering layering layer which is realized based on a color channel and used for adjusting the brightness of the smoke model to be rendered in each illumination direction. Specifically, the control parameter of each color channel in the target color channel layer is used to adjust the brightness of the smoke model to be rendered in the illumination direction corresponding to each color channel, and specific implementation thereof will be described in detail later and will not be described herein again.
And A1, acquiring an initial color channel layer of the optimized smoke.
Wherein the initial color channel layer includes a color channel to control a first color, a color channel to control a second color, and a color channel to control a third color.
The initial color channel layer is a rendering hierarchy for rendering smoke colors, such as an optimized RGB layer of smoke. At this time, the color channel for controlling the first color, the color channel for controlling the second color, and the color channel for controlling the third color may be an R channel, a G channel, and a B channel in the RGB layer, respectively, and the first color, the second color, and the third color are red, green, and blue, respectively.
A2, converting the color channel for controlling the first color into a color channel for controlling the brightness of the smoke in the first direction, converting the color channel for controlling the second color into a color channel for controlling the brightness of the smoke in the second direction, and converting the color channel for controlling the third color into a color channel for controlling the brightness of the smoke in the third direction, so as to obtain the optimized smoke with the target color channel layer, and the optimized smoke is used as a smoke model to be rendered with the target color channel layer.
For example, if the initial color channel layer is an RGB layer of the optimized smoke, a color channel (e.g., R channel) of a first color may be converted into a color channel for controlling the lighting brightness of the smoke in a first direction (e.g., the positive direction of the X axis in the world space), a color channel (e.g., G channel) of a second color may be converted into a color channel for controlling the lighting brightness of the smoke in a second direction (e.g., the positive direction of the Y axis in the world space), and a color channel (e.g., B channel) of a third color may be converted into a color channel for controlling the lighting brightness of the smoke in a third direction (e.g., the positive direction of the Z axis in the world space), so as to set a target color channel layer for the optimized smoke and obtain the optimized smoke carrying the target color channel layer as a smoke model to be rendered.
By converting a color channel for controlling the first color in the optimized initial color channel layer of the smoke into a color channel for controlling the illumination brightness of the smoke in the first direction, converting a color channel for controlling the second color into a color channel for controlling the illumination brightness of the smoke in the second direction, and converting a color channel for controlling the third color into a color channel for controlling the illumination brightness of the smoke in the third direction, a smoke model to be rendered with a target color channel layer can be manufactured, so that the brightness of the illumination of the smoke in all directions can be adjusted subsequently (as shown in steps 102-103) based on the target color channel layer of the smoke model to be rendered, and further, the illumination richness of the target smoke obtained by rendering in all directions is improved, and the expressive force of the details, the volume and the light shadow of the smoke is improved to a certain extent.
And the target rendering layer is a target speed channel layer of the smoke model to be rendered. In this case, step 1013B may specifically include the following steps B1 to B2, where:
the target speed channel layer is a rendering layering layer which is realized based on a speed channel and is used for adjusting the brightness of the smoke model to be rendered in each illumination direction. Specifically, the control parameter of each speed channel in the target speed channel layer is used to adjust the brightness of the smoke model to be rendered in the illumination direction corresponding to each speed channel, and specific implementation thereof will be described in detail later and will not be described herein again.
And B1, acquiring the initial velocity channel layer of the optimized smoke.
Wherein the initial velocity channel layer comprises a velocity channel for controlling the moving velocity of the smoke in the fourth direction, a velocity channel for controlling the moving velocity of the smoke in the fifth direction and a velocity channel for controlling the moving velocity of the smoke in the sixth direction.
Wherein, the initial speed channel layer is a rendering layer for recording smoke speed information, for example, a Vel layer of optimized smoke. At this time, the speed channel for controlling the moving speed of the smoke in the fourth direction, the speed channel for controlling the moving speed of the smoke in the fifth direction, and the speed channel for controlling the moving speed of the smoke in the sixth direction may be an X-axis negative direction speed channel, a Y-axis negative direction speed channel, and a Z-axis negative direction speed channel in the Vel layer, respectively, and the fourth direction, the fifth direction, and the sixth direction are an X-axis negative direction, a Y-axis negative direction, and a Z-axis negative direction, respectively.
And B2, converting the speed channel for controlling the moving speed of the smoke in the fourth direction into a speed channel for controlling the brightness of illumination in the fourth direction, converting the speed channel for controlling the moving speed of the smoke in the fifth direction into a speed channel for controlling the brightness of illumination in the fifth direction, and converting the speed channel for controlling the moving speed of the smoke in the sixth direction into a speed channel for controlling the brightness of illumination in the sixth direction, so as to obtain the optimized smoke with the set target speed channel layer, and using the optimized smoke as the smoke model to be rendered with the target speed channel layer.
For example, if the initial velocity channel layer is the Vel layer of the optimized smoke, the velocity channel (e.g. X-axis negative direction velocity channel) for controlling the moving velocity of the smoke in the fourth direction can be converted into the velocity channel for controlling the brightness of the illumination of the smoke in the fourth direction (e.g. X-axis negative direction in the world space), the velocity channel (e.g. Y-axis negative direction velocity channel) for controlling the moving velocity of the smoke in the fifth direction (e.g. Y-axis negative direction in the world space) can be converted into the velocity channel for controlling the brightness of the illumination of the smoke in the fifth direction (e.g. Y-axis negative direction in the world space), the velocity channel for controlling the moving velocity of the smoke in the sixth direction (e.g. Z-axis negative direction velocity channel) can be converted into the velocity channel for controlling the brightness of the illumination of the smoke in the sixth direction (e.g. Z-axis negative direction in the world space), so as to set the target velocity channel layer for the optimized smoke, and obtaining the optimized smoke with the set target speed channel layer as a smoke model to be rendered with the target speed channel layer.
By converting the speed channel for controlling the moving speed of the smoke in the fourth direction in the optimized initial speed channel layer of the smoke into the speed channel for controlling the brightness degree of the illumination in the fourth direction, converting the speed channel for controlling the moving speed of the smoke in the fifth direction into the speed channel for controlling the brightness degree of the illumination in the fifth direction, and converting the speed channel for controlling the moving speed of the smoke in the sixth direction into the speed channel for controlling the brightness degree of the illumination in the sixth direction, a to-be-rendered smoke model carrying a target speed channel layer can be manufactured, so that the brightness degree of the illumination of the smoke in each direction can be adjusted subsequently (as shown in steps 102 to 103) based on the target speed channel layer of the to-be-rendered smoke model, the illumination richness of the manufactured target smoke in each direction is improved, and the details of the smoke are improved to a certain extent, Volume-sensitive and light-sensitive expressive force.
As shown in fig. 3, fig. 3 is a schematic diagram illustrating comparison of smoke effects obtained by rendering with and without using the target light and shadow control parameter provided in this embodiment, a left schematic diagram in fig. 3 is smoke obtained by rendering without using the target light and shadow control parameter, and a right schematic diagram in fig. 3 is smoke obtained by rendering with using the target light and shadow control parameter, which obviously shows that the smoke obtained by rendering with using the target light and shadow control parameter has richer illumination in each direction, and the expressive force of the smoke details, the volume feeling, and the light and shadow feeling is better.
And the target rendering layer is a basic color layer of the smoke model to be rendered. At this time, step 1013B may specifically include: and acquiring a basic color layer (such as a Diffuse layer) of the optimized smog, storing the basic color layer for the optimized smog, and acquiring the optimized smog with the set basic color layer to serve as a smog model to be rendered with the basic color layer. Wherein the basic color layer (Diffuse layer) is used for basic color information adjustment of the smoke.
3) And the smoke model to be rendered performs physical volume smoke calculation and volume smoke obtained after circulation transition setting for a graphic tool supporting smoke calculation. As shown in fig. 4, in this case, step 101 may specifically include steps 1011C to 1013C:
1011C, constructing preliminary smoke.
The implementation of step 1011C is similar to the implementation of step 1011A, and reference may be made to the related description of step 1011A, which is not repeated herein.
1012C, performing circulation transition setting on the preliminary smoke to obtain circularly set smoke.
Wherein the setting of the circulation of the preliminary smoke comprises at least one of setting of circulation transition of density of the preliminary smoke, setting of circulation transition of form of the preliminary smoke.
The initial smoke is dynamic smoke, namely the initial smoke comprises multi-frame smoke; for example, the initial smoke is 2 seconds long dynamic smoke, which contains 36 frames of smoke.
In this embodiment, the purpose that the circulation transition set up preliminary smog is: visually, the multi-frame smoke flowing circularly is subjected to fusion transition, so that the circulation of the multi-frame smoke is smoother, and the seamless circular flow can be visually realized.
Taking the setting of the cyclic transition of the density of the preliminary smoke as an example, the setting of the cyclic transition of the density of the preliminary smoke may be realized by an interpolation manner, for example, in Houdini, first, the density of the preliminary smoke is set by using a Fit function; the density of the initial smoke is then set using the Pow function. The Fit function is an adaptation function and is used for re-standardizing (namely adjusting) the density range of the primary smoke, so that the overall density difference of the primary smoke is relatively small, and the smoke circulation process is softer and smoother. The Pow function is used for adjusting the initial smoke edge to gradually appear in the circulation process, and the thinner part of the initial smoke edge is removed in a K frame mode of the Pow function and gradually appears in the circulation process, so that the circulation process of smoke is softer and smoother.
Because the smoke in the actual scene is generally relatively high in central point density and relatively low in edge point density, the density of the initial smoke is set by using the Fit function, and then the density of the initial smoke is set by using the Pow function, so that on one hand, the density difference between the central point density and the edge point density of the initial smoke can be reduced, and the variation of the overall initial smoke density is relatively small; on the other hand, the initial smoke edge is gradually changed from absent to present and from present to absent, so that the initial smoke circulation is smoother and softer; when each frame of smoke in the initial smoke circularly flows (for example, the smoke of the 1 st frame in the dynamic smoke with the length of 2 seconds circularly flows to the smoke of the 36 th frame), the smoke is softer and smoother, and the seamless circular flow of the smoke can be visually realized; therefore, the target smoke obtained by subsequent manufacturing can circulate more smoothly, and seamless circulation flow of smoke can be visually realized.
Taking the setting of cyclic transition of the form of the preliminary smoke as an example, the cyclic transition of the form of the preliminary smoke may be implemented in an interpolation manner, for example, in Houdini, first, the form of the preliminary smoke is set by using a Fit function; the morphology of the initial smoke is then set using the Pow function. The Fit function is an adaptation function and is used for re-standardizing (namely adjusting) the form range of the primary smoke, so that the overall form difference of the primary smoke is relatively small, and the smoke circulation process is softer and smoother. The Pow function is used for adjusting the initial smoke edge to gradually appear in the circulation process, and the thinner part of the initial smoke edge is removed in a K frame mode of the Pow function and gradually appears in the circulation process, so that the circulation process of smoke is softer and smoother.
By setting the form of the initial smoke by using the Fit function and then setting the form of the initial smoke by using the Pow function, on one hand, the form difference between the form of the central point and the form of the edge point of the initial smoke can be reduced, so that the change of the whole initial smoke form has smaller difference; on the other hand, the initial smoke edge is gradually changed from absent to present and from present to absent, so that the initial smoke circulation is smoother and softer; when each frame of smoke in the initial smoke circularly flows (for example, the smoke of the 1 st frame in the dynamic smoke with the length of 2 seconds circularly flows to the smoke of the 36 th frame), the smoke is softer and smoother, and the seamless circular flow of the smoke can be visually realized; therefore, the target smoke obtained by subsequent manufacturing can circulate more smoothly, and seamless circulation flow of smoke can be visually realized.
1013C, setting a rendering layer for the circularly set smoke to obtain circularly set smoke of the rendering layer, and using the circularly set smoke as a smoke model to be rendered, which carries the target rendering layer.
The manner of setting the rendering layer for the smoke after the circulation setting in step 1013C is similar to that in step 1013B, and reference may be specifically made to the description of step 1013B, and for simplification of the description, details are not described here again.
As shown in fig. 5, fig. 5 is a schematic diagram of a smoke model to be rendered including multiple frame smokes, and the smoke model to be rendered manufactured in step 1013C includes multiple frame smokes, corresponding to an initial smoke including multiple frame smokes. For example, the picture size and format of each frame of smoke (e.g., each frame of 2-second long smoke containing 36 frames) may be set at a graphics tool (e.g., Houdini) supporting smoke solution, and the plurality of frames of smoke may be merged into one picture to form a merged rendering sequence to be output as a smoke model to be rendered.
4) And the smoke model to be rendered is volume fog obtained by carrying out physical volume smoke calculation, occupied memory optimization and cyclic transition setting on a graphics tool supporting smoke calculation. In this case, step 101 may specifically include steps 1011D to 1014D:
1011D, building up the preliminary smoke.
The implementation of step 1011D is similar to the implementation of step 1011A, and reference may be made to the related description of step 1011A, which is not repeated herein.
1012D, optimizing the memory occupied by the primary smoke to obtain the optimized smoke.
Wherein the optimizing the occupied memory of the preliminary smoke includes at least one of resampling a velocity channel of the preliminary smoke, compressing a volume of the preliminary smoke.
The implementation of step 1012D is similar to the implementation of step 1012B, and reference may be specifically made to the related description of step 1012B, which is not described herein again.
1013D, performing circulation transition setting on the optimized smoke to obtain circulation set smoke.
Wherein the setting of the circulation of the preliminary smoke includes at least one of setting of circulation transition of density of the preliminary smoke, setting of circulation transition of form of the preliminary smoke.
The implementation of step 1013D is similar to the implementation of step 1012C, and reference may be specifically made to the relevant description of step 1012C, which is not described herein again.
1014D, setting a rendering layer for the circularly set smog, obtaining circularly set smog of the set rendering layer, and using the smog as a smog model to be rendered, wherein the smog is carried with a target rendering layer.
In step 1014D, the manner of setting the rendering layer for the smoke after the cycle setting is similar to that in step 1013B, and reference may be specifically made to the related description in step 1013B, and for simplification of the description, details are not described here again.
The steps 1011D to 1014D illustrate the process of creating a smoke model to be rendered in a graphics tool supporting smoke calculation, with the setting of sequentially performing the optimization of the memory occupied by smoke and performing the cyclic transition of smoke as an example. In fact, step 1012D may be performed to achieve the optimization of the occupied memory of the smoke, and then step 1013D may be performed to achieve the cyclic transition setting of the smoke; or, step 1013D may be executed first to implement the smoke circulation transition setting, and then step 1012D may be executed to implement the smoke occupation memory optimization; alternatively, step 1012D may be executed in parallel to implement the optimization of the occupied memory of the smoke and step 1013D to implement the cycle transition setting of the smoke.
And (II) creating the smog model to be rendered in real time through a graphic tool supporting the rendering function.
Among other graphics tools that support rendering functionality may be, for example, game engine UE 4.
Specifically, with reference to the method in (a), the volume fog is created by the graphics tool supporting the rendering function, and then the target rendering layer (such as the target color channel layer, the target speed channel layer, the basic color layer, and the like) is set for the volume fog, so as to obtain the to-be-rendered smoke model carrying the target rendering layer.
And (III) referring to the mode of creating the smoke model to be rendered in real time in the step (I) or the step (II), creating the smoke model to be rendered in advance through a graphics tool supporting smoke calculation, storing the smoke model to be rendered in a preset database, and directly reading the smoke model to be rendered from the preset database in the step 101.
102. And acquiring a target shadow control parameter of the smoke model to be rendered based on the shadow control layer of the smoke model to be rendered.
Wherein, the target light and shadow control parameter comprises the light and shade degree in each illumination direction.
And the target light and shadow control parameters are parameters for controlling the illumination direction and the illumination size of the smoke model to be rendered.
The target shadow control parameter of the smoke model to be rendered may be obtained in various ways, for example, by recording through a target color channel layer (e.g., RGB layer) of the smoke model to be rendered, and recording through a target speed channel layer (e.g., Vel layer) of the smoke model to be rendered.
The following describes, by way of example, the acquisition of target light and shadow control parameters when the target light and shadow control parameters are recorded through a target color channel layer (such as an RGB layer) and a target speed channel layer (such as a Vel layer) of a smoke model to be rendered, respectively.
Firstly, target light and shadow control parameters are recorded through a target color channel layer of the smoke model to be rendered, namely the target light and shadow control parameters are first light and shadow control parameters recorded based on the target color channel layer.
Wherein, the first light and shadow control parameter specifically means: the lighting intensity of the smoke in a first direction (such as the positive X-axis direction in the world space), the lighting intensity in a second direction (such as the positive Y-axis direction in the world space), and the lighting intensity in a third direction (such as the positive Z-axis direction in the world space).
In this case, step 102 may specifically include: receiving a control parameter of each color channel input based on the target color channel layer as the first shading control parameter. And the control parameter of each color channel in the target color channel layer is used for adjusting the brightness of the smoke model to be rendered in the corresponding illumination direction of each color channel.
For example, the target color channel layer is an RGB layer of the smoke model to be rendered, and at this time, the color channel for controlling the lighting intensity of the smoke in the first direction, the color channel for controlling the lighting intensity of the smoke in the second direction, and the color channel for controlling the lighting intensity of the smoke in the third direction are: r channel, G channel, B channel. In step 102, a default value or a user input value of the R channel may be directly obtained based on a material ball in the UE4, and the default value or the user input value is used as a brightness of the smoke in the first direction; acquiring a default value or a user input value of the G channel as the brightness of the illumination of the smoke in the second direction; and acquiring a default value or a user input value of the channel B as the brightness of the smoke in the third direction, thereby acquiring first shadow control information.
And recording the target shadow control parameter through a target speed channel layer of the smoke model to be rendered, namely recording the target shadow control parameter as a second shadow control parameter based on the target speed channel layer.
Wherein, the second light and shadow control parameter specifically means: the lighting brightness of the smoke in the fourth direction (such as the X-axis negative direction in the world space), the lighting brightness in the fifth direction (such as the Y-axis negative direction in the world space), and the lighting brightness in the sixth direction (such as the Z-axis negative direction in the world space).
In this case, step 102 may specifically include: receiving a control parameter of each speed channel input based on the target speed channel layer as the second light and shadow control parameter. And the control parameter of each speed channel in the target speed channel layer is used for adjusting the brightness of the smoke model to be rendered in the corresponding illumination direction of each speed channel.
For example, the target velocity channel layer is a Vel layer of the smoke model to be rendered, and at this time, the velocity channel for controlling the brightness of the illumination of the smoke in the fourth direction, the velocity channel for controlling the brightness of the illumination of the smoke in the fifth direction, and the velocity channel for controlling the brightness of the illumination of the smoke in the sixth direction are respectively: an X-axis negative direction speed channel, a Y-axis negative direction speed channel and a Z-axis negative direction speed channel. In step 102, a default value or a user input value of the speed channel in the negative direction of the X axis may be directly obtained as the brightness of the smoke in the fourth direction; acquiring a default value or a user input value of a Y-axis negative direction speed channel as the brightness of the smoke in the fifth direction; and acquiring a default value or a user input value of the Z-axis negative direction speed channel as the brightness of the illumination of the smoke in the sixth direction, thereby acquiring second light and shadow control information.
103. And generating target smoke matched with the target light and shadow control parameters according to the target light and shadow control parameters and the smoke model to be rendered.
Depending on the pattern required for the target smoke, the information for rendering the target smoke may be different, and in step 103, the target smoke may be generated in various ways, for example, including:
(1) the target smoke is rendered depending on the target shadow control parameters.
The following conditions are: the target shadow control parameter is a first shadow control parameter recorded based on the target color channel layer. In this case, step 103 may specifically include step 1031A: and rendering the smoke model to be rendered according to the first shadow control parameter to obtain the target smoke.
For example, the lighting information of the smoke model to be rendered in the first direction, the second direction and the third direction is respectively set according to the lighting brightness of the smoke obtained in step 102 in the first direction (such as the positive direction of the X axis in the world space), the lighting brightness of the smoke in the second direction (such as the positive direction of the Y axis in the world space) and the lighting brightness of the smoke in the third direction (such as the positive direction of the Z axis in the world space).
Case two: the target shadow control parameter is a second shadow control parameter recorded based on the target speed channel layer. In this case, step 103 may specifically include step 1031B: and rendering the smoke model to be rendered according to the second shadow control parameter to obtain the target smoke.
For example, the lighting information of the smoke model to be rendered in the fifth direction, the sixth direction and the seventh direction is respectively set according to the lighting brightness of the smoke obtained in step 102 in the fourth direction (such as the negative direction of the X axis in the world space), the lighting brightness of the smoke in the fifth direction (such as the negative direction of the Y axis in the world space) and the lighting brightness of the smoke in the sixth direction (such as the negative direction of the Z axis in the world space).
(2) The target smoke is rendered according to the target shadow control parameters and the target smoke type. As shown in fig. 6, at this time, step 103 may specifically include the following steps 1031C to 1032C, where:
1031C, obtaining the target smoke type of the smoke model to be rendered based on a preset particle system.
The preset particle system is a parameter control system for making dynamic smoke, for example, a particle system in the UE 4.
Wherein the target smoke type is a type of smoke to be generated, such as environmental smoke, explosion smoke, etc.
Illustratively, the target smoke type of the smoke model to be rendered may be set by the particle system in the UE4, e.g. as ambient smoke or explosion smoke, etc.
1032C, rendering the to-be-rendered smoke model according to the target shadow control parameters and the to-be-rendered smoke model to obtain target smoke matched with the target shadow control parameters and the target smoke type.
For example, firstly, a smoke model to be rendered may be rendered with target shadow control parameters to obtain intermediate smoke matched with the target shadow control parameters; and then, rendering the intermediate smoke based on the target smoke type to obtain smoke matched with the target smoke type, so as to obtain target smoke matched with the target light and shadow control parameters and the target smoke type.
(3) The target smog is rendered according to the target shadow control parameters and the target basic colors. In this case, step 103 may specifically include the following steps 1031D to 1032D, where:
1031D, obtaining a target basic color of the smoke model to be rendered based on the basic color layer of the smoke model to be rendered.
Illustratively, the default values or user input values of the basic color layer of the smoke model to be rendered may be directly obtained as the target basic color of the smoke model to be rendered based on the material balls in the UE 4.
1032D, rendering the to-be-rendered smoke model according to the target shadow control parameters and the to-be-rendered smoke model to obtain the target smoke matched with the target shadow control parameters and the target smoke type.
For example, firstly, a smoke model to be rendered may be rendered with target shadow control parameters to obtain intermediate smoke matched with the target shadow control parameters; and then, rendering the intermediate smog based on the target basic color to obtain smog matched with the target basic color, so as to obtain target smog matched with the target light and shadow control parameters and the target basic color.
The above describes the rendering mode of the target smoke by taking the example that the target smoke is rendered by depending on the target shadow control parameter, the target shadow control parameter and the target smoke type, and the target shadow control parameter and the target basic color respectively. In practice, the target smoke may be rendered by rendering the smoke model to be rendered depending on one or more of the target shadow control parameter, the target smoke type, and the target basic color.
Further, in step 103, when the smoke model to be rendered is rendered according to the target light and shadow control parameter, the first light and shadow control parameter recorded by the target color channel layer and the second light and shadow control parameter recorded by the target speed channel layer may be simultaneously combined to improve rich diversity of the smoke illumination direction obtained by rendering, thereby improving expressive force of smoke details, volume feeling and light and shadow feeling.
From the above content, in the embodiment of the application, the smoke model to be rendered, which carries the target rendering layer, is obtained; acquiring target shadow control parameters of the smoke model to be rendered based on a shadow control layer of the smoke model to be rendered; rendering the smoke model to be rendered according to the target shadow control parameters to obtain target smoke matched with the target shadow control parameters; because the target shadow control parameter contains the light and shade degree in each illumination direction, can be used for controlling the illumination direction and the illumination size of the smog model to be rendered, the problems that the illumination received by the smog is uniform and the change of the light and shade relation is lacked are avoided, the rich diversity of the target smog obtained by rendering in the illumination direction is improved, and the expressive force of the details, the volume sense and the light and shadow sense of the smog is further improved.
In order to better implement the above method, embodiments of the present application further provide a smoke rendering apparatus, which may be specifically integrated in an electronic device, for example, a computer device, where the computer device may be a terminal, a server, or the like.
The terminal can be a mobile phone, a tablet computer, an intelligent Bluetooth device, a notebook computer, a personal computer and other devices; the server may be a single server or a server cluster composed of a plurality of servers.
For example, in this embodiment, the method in this embodiment of the present application will be described in detail by taking an example in which the smoke rendering device is specifically integrated in a smart phone.
For example, as shown in fig. 7, the smoke rendering apparatus may include:
a first obtaining unit 701, configured to obtain a to-be-rendered smoke model carrying a target rendering layer, where the target rendering layer includes a light and shadow control layer of the to-be-rendered smoke model;
a second obtaining unit 702, configured to obtain a target light and shadow control parameter of the smoke model to be rendered based on a light and shadow control layer of the smoke model to be rendered, where the target light and shadow control parameter includes a brightness in each lighting direction;
a rendering unit 703, configured to render the smoke model to be rendered according to the target shadow control parameter, so as to obtain target smoke matched with the target shadow control parameter.
In some embodiments, the shadow control layer includes a target color channel layer of the smoke model to be rendered, the target shadow control parameter includes a first shadow control parameter recorded based on the target color channel layer; the second obtaining unit 702 is specifically configured to:
receiving a control parameter of each color channel input based on the target color channel layer as the first light and shadow control parameter, wherein the control parameter of each color channel in the target color channel layer is used for adjusting the brightness of the smoke model to be rendered in the illumination direction corresponding to each color channel;
in some embodiments, the rendering unit 703 is specifically configured to:
and rendering the smoke model to be rendered according to the first shadow control parameter to obtain the target smoke.
In some embodiments, the shadow control layer includes a target speed channel layer of the smoke model to be rendered, the target shadow control parameter includes a second shadow control parameter recorded based on the target speed channel layer; the second obtaining unit 702 is specifically configured to:
receiving a control parameter of each speed channel input based on the target speed channel layer as the second light and shadow control parameter, wherein the control parameter of each speed channel in the target speed channel layer is used for adjusting the brightness of the smoke model to be rendered in the illumination direction corresponding to each speed channel;
in some embodiments, the rendering unit 703 is specifically configured to:
and rendering the smoke model to be rendered according to the second shadow control parameter to obtain the target smoke.
In some embodiments, the first obtaining unit 701 is specifically configured to:
constructing primary smoke;
optimizing the occupied memory of the preliminary smoke to obtain optimized smoke, wherein the optimizing the occupied memory of the preliminary smoke comprises at least one of resampling the speed of the preliminary smoke and compressing the volume of the preliminary smoke;
and setting a rendering layer for the optimized smoke to obtain the optimized smoke with the rendering layer, wherein the optimized smoke is used as a smoke model to be rendered with the target rendering layer.
In some embodiments, the target rendering layer is a target color channel layer of the smoke model to be rendered, and the first obtaining unit 701 is specifically configured to:
obtaining an initial color channel layer of the optimized smoke, wherein the initial color channel layer comprises a color channel for controlling a first color, a color channel for controlling a second color and a color channel for controlling a third color;
and converting the color channel for controlling the first color into a color channel for controlling the brightness of the smoke in the illumination in the first direction, converting the color channel for controlling the second color into a color channel for controlling the brightness of the smoke in the illumination in the second direction, and converting the color channel for controlling the third color into a color channel for controlling the brightness of the smoke in the illumination in the third direction to obtain the optimized smoke with the set target color channel layer to serve as a smoke model to be rendered, which carries the target color channel layer.
In some embodiments, the target rendering layer is a target speed channel layer of the smoke model to be rendered, and the first obtaining unit 701 is specifically configured to:
obtaining an initial velocity channel layer of the optimized smoke, wherein the initial velocity channel layer comprises a velocity channel for controlling the moving velocity of the smoke in a fourth direction, a velocity channel for controlling the moving velocity of the smoke in a fifth direction and a velocity channel for controlling the moving velocity of the smoke in a sixth direction;
and converting the speed channel for controlling the moving speed of the smoke in the fourth direction into a speed channel for controlling the brightness of illumination in the fourth direction, converting the speed channel for controlling the moving speed of the smoke in the fifth direction into a speed channel for controlling the brightness of illumination in the fifth direction, and converting the speed channel for controlling the moving speed of the smoke in the sixth direction into a speed channel for controlling the brightness of illumination in the sixth direction, so as to obtain the optimized smoke with the set target speed channel layer, and using the optimized smoke as the smoke model to be rendered with the target speed channel layer.
In some embodiments, the first obtaining unit 701 is specifically configured to:
constructing a preliminary smoke, wherein the preliminary smoke is a dynamic smoke containing multiple frames of smoke;
performing cycle transition setting on the preliminary smoke to obtain cyclically-set smoke, wherein the cycle setting on the preliminary smoke comprises at least one of performing cycle transition setting on the density of the preliminary smoke and performing cycle transition setting on the form of the preliminary smoke;
and setting a rendering layer for the circularly set smoke to obtain circularly set smoke of the rendering layer, wherein the circularly set smoke is used as a smoke model to be rendered, which carries a target rendering layer.
In some embodiments, the rendering unit 703 is specifically configured to:
acquiring a target smoke type of the smoke model to be rendered based on a preset particle system;
rendering the to-be-rendered smoke model according to the target shadow control parameters and the to-be-rendered smoke model to obtain target smoke matched with the target shadow control parameters and the target smoke type.
In some embodiments, the target rendering layer further includes a basic color layer of the smoke model to be rendered, and the rendering unit 703 is specifically configured to:
acquiring a target basic color of the smog model to be rendered based on the basic color layer of the smog model to be rendered;
rendering the to-be-rendered smoke model according to the target shadow control parameters and the to-be-rendered smoke model to obtain the target smoke matched with the target shadow control parameters and the target smoke type.
As can be seen from the above, in the smoke rendering apparatus of this embodiment, the first obtaining unit 701 may obtain a to-be-rendered smoke model carrying a target rendering layer, where the target rendering layer includes a light and shadow control layer of the to-be-rendered smoke model; acquiring, by a second acquiring unit 702, a target light and shadow control parameter of the smoke model to be rendered based on a light and shadow control layer of the smoke model to be rendered, where the target light and shadow control parameter includes a light and shade degree in each lighting direction; rendering the to-be-rendered smoke model by the rendering unit 703 according to the target shadow control parameter, so as to obtain target smoke matched with the target shadow control parameter. From this, the smog of this embodiment renders up device can avoid the illumination that smog received unified, lack the problem that the light and shade relation changes to improve the abundant variety of target smog that the rendering obtained in the illumination direction, and then promote the expressive force of the detail of smog, volume sense and light shadow sense.
Correspondingly, the embodiment of the present application further provides an electronic device, where the electronic device may be a terminal, and the terminal may be a terminal device such as a smart phone, a tablet Computer, a notebook Computer, a touch screen, a game machine, a Personal Computer (PC), a Personal Digital Assistant (PDA), and the like. As shown in fig. 8, fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application. The electronic device 800 includes a processor 801 with one or more processing cores, a memory 802 with one or more computer-readable storage media, and a computer program stored on the memory 802 and executable on the processor. The processor 801 is electrically connected to the memory 802. Those skilled in the art will appreciate that the electronic device configurations shown in the figures do not constitute limitations of the electronic device, and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
The processor 801 is a control center of the electronic device 800, connects various parts of the entire electronic device 800 using various interfaces and lines, and performs various functions of the electronic device 800 and processes data by running or loading software programs and/or modules stored in the memory 802 and calling data stored in the memory 802, thereby performing overall monitoring of the electronic device 800.
In this embodiment, the processor 801 in the electronic device 800 loads instructions corresponding to processes of one or more application programs into the memory 802, and the processor 801 executes the application programs stored in the memory 802 according to the following steps, so as to implement various functions:
obtaining a to-be-rendered smoke model carrying a target rendering layer, wherein the target rendering layer comprises a light and shadow control layer of the to-be-rendered smoke model;
acquiring target light and shadow control parameters of the smoke model to be rendered based on the light and shadow control layer of the smoke model to be rendered, wherein the target light and shadow control parameters comprise light and shade degrees in all illumination directions;
and rendering the smoke model to be rendered according to the target shadow control parameters to obtain target smoke matched with the target shadow control parameters.
In some embodiments, the shadow control layer includes a target color channel layer of the smoke model to be rendered, the target shadow control parameter includes a first shadow control parameter recorded based on the target color channel layer;
the obtaining of the target shadow control parameter of the smoke model to be rendered based on the shadow control layer of the smoke model to be rendered includes:
receiving a control parameter of each color channel input based on the target color channel layer as the first light and shadow control parameter, wherein the control parameter of each color channel in the target color channel layer is used for adjusting the brightness of the smoke model to be rendered in the illumination direction corresponding to each color channel;
the rendering the smoke model to be rendered according to the target shadow control parameter to obtain the target smoke matched with the target shadow control parameter comprises the following steps:
rendering the smog model to be rendered according to the first shadow control parameter to obtain the target smog.
In some embodiments, the shadow control layer includes a target speed channel layer of the smoke model to be rendered, the target shadow control parameter includes a second shadow control parameter recorded based on the target speed channel layer;
the obtaining of the target shadow control parameter of the smoke model to be rendered based on the shadow control layer of the smoke model to be rendered includes:
receiving a control parameter of each speed channel input based on the target speed channel layer as the second light and shadow control parameter, wherein the control parameter of each speed channel in the target speed channel layer is used for adjusting the brightness of the smoke model to be rendered in the illumination direction corresponding to each speed channel;
the rendering the smoke model to be rendered according to the target shadow control parameter to obtain the target smoke matched with the target shadow control parameter comprises the following steps:
and rendering the smoke model to be rendered according to the second shadow control parameter to obtain the target smoke.
In some embodiments, the obtaining the to-be-rendered smoke model carrying the target rendering layer includes:
constructing primary smoke;
optimizing the occupied memory of the preliminary smoke to obtain optimized smoke, wherein the optimizing the occupied memory of the preliminary smoke comprises at least one of resampling the speed of the preliminary smoke and compressing the volume of the preliminary smoke;
and setting a rendering layer for the optimized smoke to obtain the optimized smoke with the rendering layer, wherein the optimized smoke is used as a smoke model to be rendered with the target rendering layer.
In some embodiments, the step of setting a rendering layer for the optimized smoke to obtain the optimized smoke with the rendering layer set as the smoke model to be rendered with the target rendering layer includes:
obtaining an initial color channel layer of the optimized smoke, wherein the initial color channel layer comprises a color channel for controlling a first color, a color channel for controlling a second color and a color channel for controlling a third color;
and converting the color channel for controlling the first color into a color channel for controlling the brightness of the smoke in the illumination in the first direction, converting the color channel for controlling the second color into a color channel for controlling the brightness of the smoke in the illumination in the second direction, and converting the color channel for controlling the third color into a color channel for controlling the brightness of the smoke in the illumination in the third direction to obtain the optimized smoke with the set target color channel layer to serve as a smoke model to be rendered, which carries the target color channel layer.
In some embodiments, the setting a rendering layer for the optimized smoke to obtain the optimized smoke with the rendering layer set as the smoke model to be rendered with the target rendering layer includes:
obtaining an initial velocity channel layer of the optimized smoke, wherein the initial velocity channel layer comprises a velocity channel for controlling the moving velocity of the smoke in a fourth direction, a velocity channel for controlling the moving velocity of the smoke in a fifth direction and a velocity channel for controlling the moving velocity of the smoke in a sixth direction;
and converting the speed channel for controlling the moving speed of the smoke in the fourth direction into a speed channel for controlling the brightness of illumination in the fourth direction, converting the speed channel for controlling the moving speed of the smoke in the fifth direction into a speed channel for controlling the brightness of illumination in the fifth direction, and converting the speed channel for controlling the moving speed of the smoke in the sixth direction into a speed channel for controlling the brightness of illumination in the sixth direction, so as to obtain the optimized smoke with the set target speed channel layer, and using the optimized smoke as the smoke model to be rendered with the target speed channel layer.
In some embodiments, the obtaining the to-be-rendered smoke model carrying the target rendering layer includes:
constructing a preliminary smoke, wherein the preliminary smoke is a dynamic smoke containing multiple frames of smoke;
performing cyclic transition setting on the preliminary smog to obtain smog after cyclic setting, wherein the cyclic setting on the preliminary smog comprises at least one of performing cyclic transition setting on the density of the preliminary smog and performing cyclic transition setting on the form of the preliminary smog;
and setting a rendering layer for the circularly set smoke to obtain circularly set smoke of the rendering layer, wherein the circularly set smoke is used as a smoke model to be rendered, which carries a target rendering layer.
In some embodiments, the rendering the smoke model to be rendered according to the target shadow control parameter to obtain the target smoke matched with the target shadow control parameter includes:
acquiring a target smoke type of the smoke model to be rendered based on a preset particle system;
rendering the to-be-rendered smoke model according to the target shadow control parameters and the to-be-rendered smoke model to obtain target smoke matched with the target shadow control parameters and the target smoke type.
In some embodiments, the rendering the target layer further includes a basic color layer of a smoke model to be rendered, and the rendering the smoke model to be rendered according to the target shadow control parameter to obtain the target smoke matched with the target shadow control parameter includes:
acquiring a target basic color of the smog model to be rendered based on the basic color layer of the smog model to be rendered;
rendering the to-be-rendered smoke model according to the target shadow control parameters and the to-be-rendered smoke model to obtain the target smoke matched with the target shadow control parameters and the target smoke type.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Optionally, as shown in fig. 8, the electronic device 800 further includes: a touch display 803, a radio frequency circuit 804, an audio circuit 805, an input unit 806, and a power supply 807. The processor 801 is electrically connected to the touch display screen 803, the radio frequency circuit 804, the audio circuit 805, the input unit 806, and the power supply 807, respectively. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 8 does not constitute a limitation of the electronic device and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
The touch display screen 803 can be used for displaying a graphical user interface and receiving operation instructions generated by a user acting on the graphical user interface. The touch display 803 may include a display panel and a touch panel. The display panel may be used, among other things, to display information entered by or provided to a user and various graphical user interfaces of the electronic device, which may be made up of graphics, text, icons, video, and any combination thereof. Alternatively, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. The touch panel may be used to collect touch operations of a user (for example, operations of the user on or near the touch panel by using a finger, a stylus pen, or any other suitable object or accessory) and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Alternatively, the touch panel may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 801, and can receive and execute commands sent by the processor 801. The touch panel may overlay the display panel, and when the touch panel detects a touch operation thereon or nearby, the touch panel transmits the touch operation to the processor 801 to determine the type of the touch event, and then the processor 801 provides a corresponding visual output on the display panel according to the type of the touch event. In the embodiment of the present application, the touch panel and the display panel may be integrated into the touch display screen 803 to realize input and output functions. However, in some embodiments, the touch panel and the touch panel can be implemented as two separate components to perform the input and output functions. That is, the touch display 803 may also be used as a part of the input unit 806 to implement an input function.
The radio frequency circuit 804 may be configured to transmit and receive radio frequency signals to establish wireless communication with a network device or other electronic devices through wireless communication, and transmit and receive signals with the network device or other electronic devices.
The audio circuit 805 may be used to provide an audio interface between a user and an electronic device through a speaker, microphone, or the like. The audio circuit 805 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into an audio signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 805 and converted into audio data, and the audio data is processed by the audio data output processor 801 and then sent to another electronic device via the rf circuit 804, or the audio data is output to the memory 802 for further processing. The audio circuit 805 may also include an earbud jack to provide communication of a peripheral headset with the electronic device.
The input unit 806 may be used to receive input numbers, character information, or user characteristic information (e.g., fingerprint, iris, facial information, etc.), and generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
The power supply 807 is used to power the various components of the electronic device 800. Optionally, the power supply 807 may be logically connected to the processor 801 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The power supply 807 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown in fig. 8, the electronic device 800 may further include a camera, a sensor, a wireless fidelity module, a bluetooth module, etc., which are not described in detail herein.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
As can be seen from the above, the electronic device provided in this embodiment may obtain the to-be-rendered smoke model carrying the target rendering layer; acquiring target shadow control parameters of the smoke model to be rendered based on a shadow control layer of the smoke model to be rendered; rendering the smoke model to be rendered according to the target shadow control parameters to obtain target smoke matched with the target shadow control parameters. Because target shadow control parameter contains the light and shade degree in each illumination direction, can be used for controlling the illumination direction and the illumination size of waiting to render smoke model, consequently, the electronic equipment that this embodiment provided can avoid the illumination that smog received is unified, lack the problem that the light and shade relation changes to improve the abundant variety of target smog that the rendering obtained in illumination direction, and then promote the expressive force of the detail of smog, sense of volume and light and shade.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, the present application provides a computer-readable storage medium, in which a plurality of computer programs are stored, and the computer programs can be loaded by a processor to execute the steps in any of the smoke rendering methods provided by the embodiments of the present application. For example, the computer program may perform the steps of:
obtaining a to-be-rendered smoke model carrying a target rendering layer, wherein the target rendering layer comprises a light and shadow control layer of the to-be-rendered smoke model;
acquiring target light and shadow control parameters of the smoke model to be rendered based on the light and shadow control layer of the smoke model to be rendered, wherein the target light and shadow control parameters comprise light and shade degrees in all illumination directions;
and rendering the smoke model to be rendered according to the target shadow control parameters to obtain target smoke matched with the target shadow control parameters.
In some embodiments, the shadow control layer includes a target color channel layer of the smoke model to be rendered, the target shadow control parameter includes a first shadow control parameter recorded based on the target color channel layer;
the obtaining of the target shadow control parameter of the smoke model to be rendered based on the shadow control layer of the smoke model to be rendered includes:
receiving a control parameter of each color channel input based on the target color channel layer as the first light and shadow control parameter, wherein the control parameter of each color channel in the target color channel layer is used for adjusting the brightness of the smoke model to be rendered in the illumination direction corresponding to each color channel;
the rendering the smoke model to be rendered according to the target shadow control parameter to obtain the target smoke matched with the target shadow control parameter comprises the following steps:
and rendering the smoke model to be rendered according to the first shadow control parameter to obtain the target smoke.
In some embodiments, the shadow control layer includes a target speed channel layer of the smoke model to be rendered, the target shadow control parameter includes a second shadow control parameter recorded based on the target speed channel layer;
the obtaining of the target shadow control parameter of the smoke model to be rendered based on the shadow control layer of the smoke model to be rendered includes:
receiving a control parameter of each speed channel input based on the target speed channel layer as the second light and shadow control parameter, wherein the control parameter of each speed channel in the target speed channel layer is used for adjusting the brightness of the smoke model to be rendered in the illumination direction corresponding to each speed channel;
the rendering the smoke model to be rendered according to the target shadow control parameter to obtain the target smoke matched with the target shadow control parameter comprises the following steps:
and rendering the smoke model to be rendered according to the second shadow control parameter to obtain the target smoke.
In some embodiments, the obtaining the to-be-rendered smoke model carrying the target rendering layer includes:
constructing primary smoke;
optimizing the occupied memory of the preliminary smoke to obtain optimized smoke, wherein the optimizing the occupied memory of the preliminary smoke comprises at least one of resampling the speed of the preliminary smoke and compressing the volume of the preliminary smoke;
and setting a rendering layer for the optimized smoke to obtain the optimized smoke with the rendering layer, wherein the optimized smoke with the rendering layer is used as a smoke model to be rendered with a target rendering layer.
In some embodiments, the step of setting a rendering layer for the optimized smoke to obtain the optimized smoke with the rendering layer set as the smoke model to be rendered with the target rendering layer includes:
obtaining an initial color channel layer of the optimized smoke, wherein the initial color channel layer comprises a color channel for controlling a first color, a color channel for controlling a second color and a color channel for controlling a third color;
and converting the color channel for controlling the first color into a color channel for controlling the brightness of the smoke in the illumination in the first direction, converting the color channel for controlling the second color into a color channel for controlling the brightness of the smoke in the illumination in the second direction, and converting the color channel for controlling the third color into a color channel for controlling the brightness of the smoke in the illumination in the third direction to obtain the optimized smoke with the set target color channel layer to serve as a smoke model to be rendered, which carries the target color channel layer.
In some embodiments, the setting a rendering layer for the optimized smoke to obtain the optimized smoke with the rendering layer set as the smoke model to be rendered with the target rendering layer includes:
obtaining an initial velocity channel layer of the optimized smoke, wherein the initial velocity channel layer comprises a velocity channel for controlling the moving velocity of the smoke in a fourth direction, a velocity channel for controlling the moving velocity of the smoke in a fifth direction and a velocity channel for controlling the moving velocity of the smoke in a sixth direction;
and converting the speed channel for controlling the moving speed of the smoke in the fourth direction into a speed channel for controlling the brightness of illumination in the fourth direction, converting the speed channel for controlling the moving speed of the smoke in the fifth direction into a speed channel for controlling the brightness of illumination in the fifth direction, and converting the speed channel for controlling the moving speed of the smoke in the sixth direction into a speed channel for controlling the brightness of illumination in the sixth direction, so as to obtain the optimized smoke with the set target speed channel layer, and using the optimized smoke as the smoke model to be rendered with the target speed channel layer.
In some embodiments, the obtaining the to-be-rendered smoke model carrying the target rendering layer includes:
constructing a preliminary smoke, wherein the preliminary smoke is a dynamic smoke containing multiple frames of smoke;
performing cycle transition setting on the preliminary smoke to obtain cyclically-set smoke, wherein the cycle setting on the preliminary smoke comprises at least one of performing cycle transition setting on the density of the preliminary smoke and performing cycle transition setting on the form of the preliminary smoke;
and setting a rendering layer for the circularly set smoke to obtain circularly set smoke of the rendering layer, wherein the circularly set smoke is used as a smoke model to be rendered, which carries a target rendering layer.
In some embodiments, the rendering the smoke model to be rendered according to the target shadow control parameter to obtain the target smoke matched with the target shadow control parameter includes:
acquiring a target smoke type of the smoke model to be rendered based on a preset particle system;
rendering the to-be-rendered smoke model according to the target shadow control parameters and the to-be-rendered smoke model to obtain target smoke matched with the target shadow control parameters and the target smoke type.
In some embodiments, the rendering the target layer further includes a basic color layer of a smoke model to be rendered, and the rendering the smoke model to be rendered according to the target shadow control parameter to obtain the target smoke matched with the target shadow control parameter includes:
acquiring a target basic color of the smog model to be rendered based on the basic color layer of the smog model to be rendered;
rendering the to-be-rendered smoke model according to the target shadow control parameters and the to-be-rendered smoke model to obtain the target smoke matched with the target shadow control parameters and the target smoke type.
As can be seen from the above, the computer-readable storage medium provided in this embodiment can implement obtaining a to-be-rendered smoke model carrying a target rendering layer; acquiring target shadow control parameters of the smoke model to be rendered based on a shadow control layer of the smoke model to be rendered; rendering the smoke model to be rendered according to the target shadow control parameters to obtain target smoke matched with the target shadow control parameters. Because the target light and shadow control parameter contains the light and shade degree in each light direction, and can be used for controlling the light direction and the light size of the smoke model to be rendered, the computer-readable storage medium provided by the embodiment can avoid the problems that the light received by the smoke is uniform and the light and shadow relation is changed, so that the rich diversity of the target smoke obtained by rendering in the light direction is improved, and the expressive force of the details, the volume sense and the light and shadow sense of the smoke is further improved.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the computer-readable storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the computer program stored in the computer-readable storage medium can execute the steps in any of the smoke rendering methods provided in the embodiments of the present application, beneficial effects that can be achieved by any of the smoke rendering methods provided in the embodiments of the present application can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
The foregoing detailed description is directed to a smoke rendering method, an apparatus, an electronic device, and a computer-readable storage medium, which are provided by embodiments of the present application, and specific examples are applied in the present application to explain principles and embodiments of the present application, where the descriptions of the foregoing embodiments are only used to help understand the methods and core ideas of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (12)

1. A method of smoke rendering, comprising:
obtaining a to-be-rendered smoke model carrying a target rendering layer, wherein the target rendering layer comprises a light and shadow control layer of the to-be-rendered smoke model;
acquiring target light and shadow control parameters of the smoke model to be rendered based on the light and shadow control layer of the smoke model to be rendered, wherein the target light and shadow control parameters comprise light and shade degrees in all illumination directions;
and rendering the smoke model to be rendered according to the target shadow control parameters to obtain target smoke matched with the target shadow control parameters.
2. The smoke rendering method of claim 1, wherein the light and shadow control layer comprises a target color channel layer of the smoke model to be rendered, the target light and shadow control parameters comprising first light and shadow control parameters recorded based on the target color channel layer;
the obtaining of the target shadow control parameter of the smoke model to be rendered based on the shadow control layer of the smoke model to be rendered includes:
receiving a control parameter of each color channel input based on the target color channel layer as the first light and shadow control parameter, wherein the control parameter of each color channel in the target color channel layer is used for adjusting the brightness of the smoke model to be rendered in the illumination direction corresponding to each color channel;
the rendering the smoke model to be rendered according to the target shadow control parameter to obtain the target smoke matched with the target shadow control parameter comprises the following steps:
and rendering the smoke model to be rendered according to the first shadow control parameter to obtain the target smoke.
3. The smoke rendering method of claim 1, wherein the light control layer comprises a target speed channel layer of the smoke model to be rendered, and the target light control parameters comprise second light control parameters recorded based on the target speed channel layer;
the obtaining of the target shadow control parameter of the smoke model to be rendered based on the shadow control layer of the smoke model to be rendered includes:
receiving a control parameter of each speed channel input based on the target speed channel layer as the second shadow control parameter, wherein the control parameter of each speed channel in the target speed channel layer is used for adjusting the brightness of the smog model to be rendered in the illumination direction corresponding to each speed channel;
the rendering the smoke model to be rendered according to the target shadow control parameter to obtain the target smoke matched with the target shadow control parameter comprises the following steps:
and rendering the smoke model to be rendered according to the second shadow control parameter to obtain the target smoke.
4. The smoke rendering method of claim 1, wherein the obtaining of the smoke model to be rendered carrying the target rendering layer comprises:
constructing primary smoke;
optimizing the occupied memory of the preliminary smoke to obtain optimized smoke, wherein the optimizing the occupied memory of the preliminary smoke comprises at least one of resampling the speed of the preliminary smoke and compressing the volume of the preliminary smoke;
and setting a rendering layer for the optimized smoke to obtain the optimized smoke with the rendering layer, wherein the optimized smoke is used as a smoke model to be rendered with the target rendering layer.
5. The smoke rendering method according to claim 4, wherein the target rendering layer is a target color channel layer of the smoke model to be rendered, and the setting of the rendering layer for the optimized smoke to obtain the optimized smoke with the rendering layer set as the smoke model to be rendered with the target rendering layer comprises:
obtaining an initial color channel layer of the optimized smoke, wherein the initial color channel layer comprises a color channel for controlling a first color, a color channel for controlling a second color and a color channel for controlling a third color;
and converting the color channel for controlling the first color into a color channel for controlling the brightness of the smoke in the first direction, converting the color channel for controlling the second color into a color channel for controlling the brightness of the smoke in the second direction, and converting the color channel for controlling the third color into a color channel for controlling the brightness of the smoke in the third direction to obtain the optimized smoke with the set target color channel layer, so as to serve as the smoke model to be rendered with the target color channel layer.
6. The smoke rendering method of claim 4, wherein the target rendering layer is a target speed channel layer of the smoke model to be rendered, and the setting of the rendering layer for the optimized smoke to obtain the optimized smoke with the rendering layer set as the smoke model to be rendered with the target rendering layer comprises:
obtaining an initial velocity channel layer of the optimized smoke, wherein the initial velocity channel layer comprises a velocity channel for controlling the moving velocity of the smoke in a fourth direction, a velocity channel for controlling the moving velocity of the smoke in a fifth direction and a velocity channel for controlling the moving velocity of the smoke in a sixth direction;
and converting the speed channel for controlling the moving speed of the smoke in the fourth direction into a speed channel for controlling the brightness of illumination in the fourth direction, converting the speed channel for controlling the moving speed of the smoke in the fifth direction into a speed channel for controlling the brightness of illumination in the fifth direction, and converting the speed channel for controlling the moving speed of the smoke in the sixth direction into a speed channel for controlling the brightness of illumination in the sixth direction, so as to obtain the optimized smoke with the set target speed channel layer, and using the optimized smoke as the smoke model to be rendered with the target speed channel layer.
7. The smoke rendering method of claim 1, wherein said obtaining a smoke model to be rendered carrying a target rendering layer comprises:
constructing a preliminary smoke, wherein the preliminary smoke is a dynamic smoke containing multiple frames of smoke;
performing cycle transition setting on the preliminary smoke to obtain cyclically-set smoke, wherein the cycle setting on the preliminary smoke comprises at least one of performing cycle transition setting on the density of the preliminary smoke and performing cycle transition setting on the form of the preliminary smoke;
and setting a rendering layer for the circularly set smoke to obtain circularly set smoke of the rendering layer, wherein the circularly set smoke is used as a smoke model to be rendered, which carries a target rendering layer.
8. The smoke rendering method of any one of claims 1 to 7, wherein said rendering the smoke model to be rendered according to the target shadow control parameter to obtain a target smoke matching the target shadow control parameter comprises:
acquiring a target smoke type of the smoke model to be rendered based on a preset particle system;
rendering the to-be-rendered smoke model according to the target shadow control parameters and the to-be-rendered smoke model to obtain target smoke matched with the target shadow control parameters and the target smoke type.
9. The smoke rendering method of any one of claims 1-7, wherein the target rendering layer further comprises a basic color layer of a smoke model to be rendered, and the rendering of the smoke model to be rendered according to the target shading control parameter to obtain the target smoke matched with the target shading control parameter comprises:
acquiring a target basic color of the smog model to be rendered based on the basic color layer of the smog model to be rendered;
rendering the to-be-rendered smoke model according to the target shadow control parameters and the to-be-rendered smoke model to obtain the target smoke matched with the target shadow control parameters and the target smoke type.
10. A smoke rendering apparatus, comprising:
the system comprises a first obtaining unit, a second obtaining unit and a control unit, wherein the first obtaining unit is used for obtaining a to-be-rendered smoke model carrying a target rendering layer, and the target rendering layer comprises a light and shadow control layer of the to-be-rendered smoke model;
a second obtaining unit, configured to obtain a target light and shadow control parameter of the to-be-rendered smoke model based on a light and shadow control layer of the to-be-rendered smoke model, where the target light and shadow control parameter includes a brightness in each illumination direction;
and the rendering unit is used for rendering the smoke model to be rendered according to the target shadow control parameters to obtain target smoke matched with the target shadow control parameters.
11. An electronic device comprising a processor and a memory, the memory storing a plurality of instructions; the processor loads instructions from the memory to perform the steps in the smoke rendering method of any of claims 1 to 9.
12. A computer readable storage medium storing instructions adapted to be loaded by a processor to perform the steps of the smoke rendering method of any of claims 1 to 9.
CN202210573711.2A 2022-05-24 2022-05-24 Smoke rendering method and device, electronic equipment and storage medium Pending CN115082606A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210573711.2A CN115082606A (en) 2022-05-24 2022-05-24 Smoke rendering method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210573711.2A CN115082606A (en) 2022-05-24 2022-05-24 Smoke rendering method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115082606A true CN115082606A (en) 2022-09-20

Family

ID=83248567

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210573711.2A Pending CN115082606A (en) 2022-05-24 2022-05-24 Smoke rendering method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115082606A (en)

Similar Documents

Publication Publication Date Title
CN112037311B (en) Animation generation method, animation playing method and related devices
CN110033503B (en) Animation display method and device, computer equipment and storage medium
CN109902282B (en) Text typesetting method, text typesetting device and storage medium
CN112465945B (en) Model generation method and device, storage medium and computer equipment
WO2023213037A1 (en) Hair virtual model rendering method and apparatus, computer device, and storage medium
CN113516742A (en) Model special effect manufacturing method and device, storage medium and electronic equipment
CN113052947A (en) Rendering method, rendering device, electronic equipment and storage medium
CN112233211A (en) Animation production method and device, storage medium and computer equipment
CN110517346B (en) Virtual environment interface display method and device, computer equipment and storage medium
CN113546411A (en) Rendering method and device of game model, terminal and storage medium
CN113487662A (en) Picture display method and device, electronic equipment and storage medium
CN111443858B (en) Display method, device, terminal and storage medium of application interface
CN112449098B (en) Shooting method, device, terminal and storage medium
CN115082606A (en) Smoke rendering method and device, electronic equipment and storage medium
CN113362435B (en) Virtual component change method, device, equipment and medium of virtual object model
CN115944923A (en) Instance object editing method and device, electronic equipment and storage medium
CN115222904A (en) Terrain processing method and device, electronic equipment and readable storage medium
CN113824982A (en) Live broadcast method and device, computer equipment and storage medium
CN114159798A (en) Scene model generation method and device, electronic equipment and storage medium
CN115645917A (en) Virtual model processing method and device, computer equipment and storage medium
CN115731339A (en) Virtual model rendering method and device, computer equipment and storage medium
CN115272432A (en) Model information processing method, device, storage medium and computer equipment
CN114904279A (en) Data preprocessing method, device, medium and equipment
CN116392809A (en) Method, device, electronic equipment and storage medium for updating virtual model
CN115908643A (en) Storm special effect animation generation method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination