CN114241115A - Illumination rendering method and device of multipoint light source, computer equipment and storage medium - Google Patents

Illumination rendering method and device of multipoint light source, computer equipment and storage medium Download PDF

Info

Publication number
CN114241115A
CN114241115A CN202111583893.3A CN202111583893A CN114241115A CN 114241115 A CN114241115 A CN 114241115A CN 202111583893 A CN202111583893 A CN 202111583893A CN 114241115 A CN114241115 A CN 114241115A
Authority
CN
China
Prior art keywords
light source
point light
rendered
pixel
light sources
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
CN202111583893.3A
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.)
Shanghai Perfect Time And Space Software Co ltd
Original Assignee
Shanghai Perfect Time And Space Software 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 Shanghai Perfect Time And Space Software Co ltd filed Critical Shanghai Perfect Time And Space Software Co ltd
Priority to CN202111583893.3A priority Critical patent/CN114241115A/en
Publication of CN114241115A publication Critical patent/CN114241115A/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/10Geometric effects
    • G06T15/20Perspective computation
    • G06T15/205Image-based rendering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/50Lighting effects
    • G06T15/506Illumination models
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/50Lighting effects
    • G06T15/80Shading
    • G06T15/87Gouraud shading

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Graphics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Geometry (AREA)
  • Image Generation (AREA)

Abstract

The application discloses a lighting rendering method and device of a multi-point light source, computer equipment and a storage medium, relates to the technical field of image processing, and aims to avoid overexposure and color confusion and to show rich light receiving effects by adjusting an accumulation relation when a reflection type point light source is lighted to be a covering relation and determining the color tendency of a dyeing type point light source according to a linear attenuation relation. The method comprises the following steps: determining a pixel to be rendered and a plurality of target point light sources with an illumination range covering the pixel to be rendered in a scene to be rendered; interpolating a pixel to be rendered according to the attenuation coefficient of at least one first point light source to obtain a first interpolated pixel; interpolating the pixels to be rendered according to the attenuation coefficient of at least one second point light source to obtain second interpolated pixels; and performing color accumulation on the first interpolation pixel and the second interpolation pixel to obtain a color to be covered, and covering the pixel to be rendered by adopting the color to be covered to obtain an illumination rendering result of the pixel to be rendered.

Description

Illumination rendering method and device of multipoint light source, computer equipment and storage medium
Technical Field
The present application relates to the field of image processing technologies, and in particular, to a method and an apparatus for illumination rendering with a multi-point light source, a computer device, and a storage medium.
Background
In recent years, image processing techniques have been developed, and the demand for image quality is increasing for users and developers. In many large models, there are thousands or even tens of thousands of point light sources, and the influence degree of each point light source on each small model in the large model is different, so in order to improve the quality of computer animation and enhance the sense of reality, the illumination rendering of the multi-point light source has become a key point in the image processing.
In the related art, when the illumination rendering of the multi-point light source is processed, a Blinn-Phong (reflective light model) illumination model and an exponential attenuation coefficient are generally adopted to process the multi-point light source, the multi-point light source is accumulated, a final rendering color is determined to a current pixel in a scene, and the illumination rendering of the multi-point light source is realized.
In carrying out the present application, the applicant has found that the related art has at least the following problems:
the illumination conditions of the model dark part by different point light sources are different, and overexposure of the model and color disorder of the model are easily caused when the Blinn-Phong illumination model is adopted for illumination rendering, so that the light receiving effect of the model expressed in a scene is single, and the picture is not real enough.
Disclosure of Invention
In view of this, the present application provides a lighting rendering method and apparatus for a multi-point light source, a computer device and a storage medium, and mainly aims to solve the problems that overexposure of a model and color confusion of the model are easily caused at present, so that a light receiving effect of the model expressed in a scene is single, and a picture is not real enough.
According to a first aspect of the present application, there is provided a lighting rendering method for a multi-point light source, the method comprising:
determining a pixel to be rendered in a scene to be rendered, wherein the illumination range covers a plurality of target point light sources of the pixel to be rendered, and the pixel to be rendered is any pixel point in the scene to be rendered under a current frame;
interpolating the pixel to be rendered according to the attenuation coefficient of at least one first point light source to obtain a first interpolated pixel, wherein the at least one first point light source is a target point light source which belongs to a reflection point light source and is indicated by a light source label in the plurality of target point light sources;
interpolating the pixel to be rendered according to the attenuation coefficient of at least one second point light source to obtain a second interpolated pixel, wherein the at least one second point light source is a target point light source which belongs to a dyeing point light source and is indicated by a light source label in the plurality of target point light sources; and
and performing color accumulation on the first interpolation pixel and the second interpolation pixel to obtain a color to be covered, and covering the pixel to be rendered by adopting the color to be covered to obtain an illumination rendering result of the pixel to be rendered.
Optionally, the determining, in the scene to be rendered, a pixel to be rendered and a plurality of target point light sources whose illumination ranges cover the pixel to be rendered includes:
determining the scene to be rendered, acquiring a scene map of the scene to be rendered under the current frame, and extracting any pixel point in the scene map as the pixel to be rendered;
determining a plurality of candidate point light sources in the scene to be rendered; and
and respectively calculating the illumination range of each candidate point light source in the candidate point light sources, and extracting the candidate point light sources of which the illumination ranges cover the pixels to be rendered to obtain the target point light sources.
Optionally, the interpolating the pixel to be rendered according to the attenuation coefficient of at least one first point light source to obtain a first interpolated pixel includes:
inquiring a light source label of each target point light source in the plurality of target point light sources, and extracting a light source label from the plurality of target point light sources to indicate a target point light source belonging to the reflection type point light source to obtain at least one first point light source;
extracting a preset number of first point light sources from the at least one first point light source, wherein the illumination intensity of the preset number of first point light sources and the position distance between the preset number of first point light sources and the pixel to be rendered meet preset conditions;
performing the following processing on each first point light source in the preset number of first point light sources: inquiring the attenuation coefficient, the first light source position and the first light source color of the first point light source, and performing interpolation processing on the first light source color and the pixel to be rendered according to the attenuation coefficient of the first point light source and the first light source position of the first point light source to obtain an interpolation pixel corresponding to the first point light source; and
and taking the obtained interpolation pixels with the preset number as the first interpolation pixels.
Optionally, the extracting a preset number of first point light sources from the at least one first point light source includes:
respectively counting the position distance between each first point light source in the at least one first point light source and the pixel to be rendered, and sequencing the at least one first point light source according to the sequence of the position distances from large to small based on the indication of the preset condition to obtain a sequencing result; and
and acquiring an intensity threshold indicated by the preset condition, and extracting the first point light sources with the illumination intensity larger than the intensity threshold by the preset number from the head of the queue of the sorting result.
Optionally, the interpolating the pixel to be rendered according to the attenuation coefficient of at least one second point light source to obtain a second interpolated pixel includes:
inquiring a light source label of each target point light source in the plurality of target point light sources, and extracting a light source label from the plurality of target point light sources to indicate a target point light source belonging to the dyeing type point light source to obtain at least one second point light source;
performing the following processing on each second point light source in the at least one second point light source: inquiring the attenuation coefficient, the second light source position and the second light source color of the second point light source, and performing interpolation processing on the second light source color and the pixel to be rendered according to the attenuation coefficient of the second point light source and the second light source position of the second point light source to obtain an interpolation pixel corresponding to the second point light source; and
and taking the obtained at least one interpolation pixel as the second interpolation pixel.
Optionally, before determining a pixel to be rendered in a scene to be rendered and a plurality of target point light sources with illumination ranges covering the pixel to be rendered, the method further includes:
in response to a light source adding operation, determining a target position indicated by the light source adding operation in the scene to be rendered and a selected light source to be added;
and responding to an adding ending instruction, counting all point light sources in the scene to be rendered, respectively identifying the light source position of each point light source in all the point light sources, and marking the point light sources by adopting the light source positions.
Optionally, the method further comprises:
respectively inquiring the light source label of each point light source, dividing all marked point light sources into a reflection type point light source group and a dyeing type point light source group according to the light source labels, and adding the reflection type point light source group and the dyeing type point light source group into a rendering pipeline so that the rendering pipeline can conveniently perform illumination calculation on the reflection type point light source group and the dyeing type point light source group; and
and filtering the reflection type point light source group and the dyeing type point light source group, and writing the filtered reflection type point light source group and the filtered dyeing type point light source group into a shader of the scene to be rendered so as to perform interpolation processing of the point light source based on the written shader.
According to a second aspect of the present application, there is provided an illumination rendering apparatus for a multi-point light source, the apparatus comprising:
the system comprises a determining module, a judging module and a display module, wherein the determining module is used for determining a pixel to be rendered in a scene to be rendered and a plurality of target point light sources of which the illumination ranges cover the pixel to be rendered, and the pixel to be rendered is any pixel point in the scene to be rendered under a current frame;
the interpolation module is used for interpolating the pixel to be rendered according to the attenuation coefficient of at least one first point light source to obtain a first interpolation pixel, wherein the at least one first point light source is a target point light source which belongs to a reflection type point light source and is indicated by a light source label in the plurality of target point light sources;
the interpolation module is further configured to interpolate the pixel to be rendered according to an attenuation coefficient of at least one second point light source to obtain a second interpolated pixel, where the at least one second point light source is a target point light source in the plurality of target point light sources, and the light source label indicates the target point light source belonging to the dyeing type point light source; and
and the accumulation module is used for carrying out color accumulation on the first interpolation pixel and the second interpolation pixel to obtain a color to be covered, and covering the pixel to be rendered by adopting the color to be covered to obtain an illumination rendering result of the pixel to be rendered.
Optionally, the determining module is configured to determine the scene to be rendered, obtain a scene map of the scene to be rendered under the current frame, and extract any pixel point in the scene map as the pixel to be rendered; determining a plurality of candidate point light sources in the scene to be rendered; and respectively calculating the illumination range of each candidate point light source in the candidate point light sources, and extracting the candidate point light sources of which the illumination ranges cover the pixels to be rendered to obtain the target point light sources.
Optionally, the interpolation module is configured to query a light source label of each target point light source in the plurality of target point light sources, extract a light source label from the plurality of target point light sources to indicate a target point light source belonging to the reflection-type point light source, and obtain the at least one first point light source; extracting a preset number of first point light sources from the at least one first point light source, wherein the illumination intensity of the preset number of first point light sources and the position distance between the preset number of first point light sources and the pixel to be rendered meet preset conditions; performing the following processing on each first point light source in the preset number of first point light sources: inquiring the attenuation coefficient, the first light source position and the first light source color of the first point light source, and performing interpolation processing on the first light source color and the pixel to be rendered according to the attenuation coefficient of the first point light source and the first light source position of the first point light source to obtain an interpolation pixel corresponding to the first point light source; and taking the obtained interpolation pixels with the preset number as the first interpolation pixels.
Optionally, the interpolation module is configured to count a position distance between each first point light source of the at least one first point light source and the pixel to be rendered, and sort the at least one first point light source according to a sequence of the position distances from large to small based on the indication of the preset condition, so as to obtain a sorting result; and acquiring an intensity threshold indicated by the preset condition, and extracting the first point light sources with the illumination intensity larger than the intensity threshold by the preset number from the head of the queue of the sorting result.
Optionally, the interpolation module is configured to query a light source label of each target point light source in the plurality of target point light sources, extract a target point light source that the light source label indicates belongs to the dyeing point light source from the plurality of target point light sources, and obtain the at least one second point light source; performing the following processing on each second point light source in the at least one second point light source: inquiring the attenuation coefficient, the second light source position and the second light source color of the second point light source, and performing interpolation processing on the second light source color and the pixel to be rendered according to the attenuation coefficient of the second point light source and the second light source position of the second point light source to obtain an interpolation pixel corresponding to the second point light source; and using the obtained at least one interpolated pixel as the second interpolated pixel.
Optionally, the apparatus further comprises:
the adding module is used for responding to a light source adding operation, and determining a target position indicated by the light source adding operation in the scene to be rendered and a selected light source to be added;
and the marking module is used for responding to an adding ending instruction, counting all point light sources in the scene to be rendered, respectively identifying the light source position of each point light source in all the point light sources, and marking the point light sources by adopting the light source positions.
Optionally, the adding module is further configured to query a light source label of each point light source, divide all marked point light sources into the reflection-type point light source group and the dyeing-type point light source group according to the light source label, and add the reflection-type point light source group and the dyeing-type point light source group to a rendering pipeline, so that the rendering pipeline performs illumination calculation on the reflection-type point light source group and the dyeing-type point light source group; and
the adding module is further configured to filter the reflection-type point light source group and the dyeing-type point light source group, and write the filtered reflection-type point light source group and dyeing-type point light source group into a color device of the scene to be rendered, so that interpolation processing of the point light source is performed based on the written color device.
According to a third aspect of the present application, there is provided a computer device comprising a memory storing a computer program and a processor implementing the steps of the method of any of the first aspects when the computer program is executed.
According to a fourth aspect of the present application, there is provided a storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the method of any one of the above-mentioned first aspects.
By the technical scheme, the method, the device, the computer equipment and the storage medium for lighting rendering of the multi-point light source are characterized in that a pixel to be rendered and a plurality of target point light sources with lighting ranges covering the pixel to be rendered are determined in a scene to be rendered, the pixel to be rendered is interpolated according to an attenuation coefficient of a first point light source belonging to a reflection point light source to obtain a first interpolation pixel, the pixel to be rendered is interpolated according to an attenuation coefficient of a second point light source belonging to a dyeing point light source to obtain a second interpolation pixel, the first interpolation pixel and the second interpolation pixel are subjected to color accumulation to obtain a color to be covered, the pixel to be rendered is covered by adopting the color to be covered to obtain a lighting rendering result of the pixel to be rendered, a Blin-Phong lighting model is utilized to adjust the accumulation relation of the point light source belonging to the reflection point light source to the role when the role is lighted, and for point light sources belonging to dyeing point light sources, the color tendency of the point light sources influencing roles is determined according to the attenuation relation, illumination calculation is not performed, the accumulation relation of the multi-point light sources to the current pixel color is met, the situations of overexposure of the model and color disorder of the model are avoided, the light receiving effect of the model expressed in the scene is rich, and the picture is more real.
The foregoing description is only an overview of the technical solutions of the present application, and the present application can be implemented according to the content of the description in order to make the technical means of the present application more clearly understood, and the following detailed description of the present application is given in order to make the above and other objects, features, and advantages of the present application more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating a lighting rendering method for a multi-point light source according to an embodiment of the present disclosure;
fig. 2A is a flowchart illustrating a lighting rendering method of a multi-point light source according to an embodiment of the present disclosure;
fig. 2B is a schematic diagram illustrating an illumination rendering method for a multi-point light source according to an embodiment of the present application;
fig. 2C is a schematic diagram illustrating an illumination rendering method of a multi-point light source according to an embodiment of the present application;
fig. 2D is a schematic diagram illustrating an illumination rendering method of a multi-point light source according to an embodiment of the present application;
fig. 3 is a schematic structural diagram illustrating an illumination rendering apparatus of a multi-point light source according to an embodiment of the present application;
fig. 4 shows a schematic device structure diagram of a computer apparatus according to an embodiment of the present application.
Detailed Description
Exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The embodiment of the application provides an illumination rendering method of a multipoint light source, as shown in fig. 1, the method includes:
101. determining a pixel to be rendered in a scene to be rendered, and determining a plurality of target point light sources with illumination ranges covering the pixel to be rendered, wherein the pixel to be rendered is any pixel point in the scene to be rendered under the current frame.
102. And interpolating the pixels to be rendered according to the attenuation coefficient of at least one first point light source to obtain first interpolated pixels, wherein the at least one first point light source is a target point light source which belongs to a reflection type point light source and is indicated by a light source label in the plurality of target point light sources.
103. And interpolating the pixels to be rendered according to the attenuation coefficient of at least one second point light source to obtain second interpolated pixels, wherein the at least one second point light source is a target point light source of which the light source label indicates that the target point light source belongs to the dyeing point light source.
104. And performing color accumulation on the first interpolation pixel and the second interpolation pixel to obtain a color to be covered, and covering the pixel to be rendered by adopting the color to be covered to obtain an illumination rendering result of the pixel to be rendered.
The method provided by the embodiment of the application comprises the steps of determining a pixel to be rendered and a plurality of target point light sources with illumination ranges covering the pixel to be rendered in a scene to be rendered, interpolating the pixel to be rendered according to an attenuation coefficient of a first point light source belonging to a reflection point light source to obtain a first interpolation pixel, interpolating the pixel to be rendered according to an attenuation coefficient of a second point light source belonging to a dyeing point light source to obtain a second interpolation pixel, performing color accumulation on the first interpolation pixel and the second interpolation pixel to obtain a color to be covered, covering the pixel to be rendered by adopting the color to be covered to obtain an illumination rendering result of the pixel to be rendered, adjusting an accumulation relation of a point light source belonging to the reflection point light source to illuminate a role to be a covering relation by using a Blin-Phong illumination model, and determining a color tendency of the point light source to influence the role according to the attenuation relation for the point light source belonging to the dyeing point light source, the illumination calculation is not carried out, the accumulation relation of a multi-point light source to the current pixel color is met, the over-exposure of the model and the color confusion of the model are avoided, the light receiving effect of the model expressed in the scene is rich, and the picture is more real.
An embodiment of the present application provides an illumination rendering method for a multi-point light source, as shown in fig. 2A, the method includes:
201. adding a light source in a scene to be rendered, and dividing the light source added in the scene to be rendered into a reflection point light source and a dyeing point light source.
At present, in some games or video works rendered by cartoons, when an artist handles the influence of a plurality of point light sources on a role, the point light sources are accumulated by using a Blinn-Phong illumination model and an exponential attenuation coefficient, and the final color obtained by accumulation is rendered to a current pixel. However, the applicant recognizes that the illumination rendering only by using the Blin-Phong illumination model results in that the role represented by the point light source in the cartoon rendering has a single light receiving effect, and the illumination condition of a plurality of point light sources on the dark part of the role cannot be reasonably processed, so that the requirement of stylized cartoon rendering on the point light source cannot be met, and particularly, the role overexposure is caused under the condition of the multipoint light source, and the relationship of the light source cannot be judged. Referring to fig. 2B specifically, the reflection-type point light source actually illuminates the dark part and highlight position of the character, and the character shadow is colored by using a Blin-Phong illumination model, so that the character shadow is 'jumped' when placed under a scene street lamp; referring to fig. 2C, the dyeing-type point light source dyes the character without affecting the position of the bright-dark boundary line, and the attenuation coefficient is linear and does not calculate the highlight, so that the interpolation based on the linear attenuation coefficient aims to improve the influence of the environment atmosphere on the character and avoid the 'jump' of the character shadow.
Therefore, the application provides an illumination rendering method of a multi-point light source, a pixel to be rendered and a plurality of target point light sources with illumination ranges covering the pixel to be rendered are determined in a scene to be rendered, the pixel to be rendered is interpolated according to an attenuation coefficient of a first point light source belonging to a reflection point light source to obtain a first interpolation pixel, the pixel to be rendered is interpolated according to an attenuation coefficient of a second point light source belonging to a dyeing point light source to obtain a second interpolation pixel, the first interpolation pixel and the second interpolation pixel are subjected to color accumulation to obtain a color to be covered, the pixel to be rendered is covered by the color to be covered to obtain an illumination rendering result of the pixel to be rendered, the accumulation relationship when the point light source belonging to the reflection point light source illuminates a role is adjusted to be a covering relationship by using a Blin-Phong illumination model, and for the point light sources belonging to the dyeing point light source, the color tendency of the point light source influencing the role is determined according to the attenuation relation, illumination calculation is not carried out, the accumulation relation of the multi-point light source to the current pixel color is met, the situations of overexposure of the model and color disorder of the model are avoided, the light receiving effect of the model represented in the scene is rich, and the picture is more real.
The embodiment of the application can be applied to an image processing engine, and in order to realize illumination rendering of a scene, a light source needs to be added to the scene to be rendered, and the light source added to the scene to be rendered is divided into a reflection type point light source and a dyeing type point light source. In an optional embodiment, in response to the light source adding operation, the image processing engine determines a target position indicated in the scene to be rendered by the light source adding operation and a selected light source to be added, so as to add the light source to be added to the scene to be rendered. In an optional embodiment, the light source to be added can be directly displayed at the target position of the scene to be rendered, and the addition of the light source is completed; or the scene parameters of the scene to be rendered can be modified, and the parameters related to the light source to be added are added into the light source parameters, so that the addition of the light source is realized. In addition, in another alternative embodiment, the light source adding operation can be initiated manually by an art worker, and when the light source is placed, the light source can be placed according to the scene atmosphere by the art worker. Point light sources such as "street lamps", "bonfire", and the like are dyeing-type point light sources, which can dye roles, and therefore, the roles need to be affected by a scene based on such point light sources. Referring to fig. 2D, the points in fig. 2D are the point light sources added by the art personnel, and the arc lines where the points are located are the illumination ranges of the point light sources.
And after the light sources are placed, responding to an adding ending instruction, counting all the point light sources in the scene to be rendered by the image processing engine, respectively identifying the light source position of each point light source in all the point light sources, and marking the point light sources by adopting the light source positions. Moreover, each point light source has a corresponding light source label, and the light source label indicates a light source type of the point light source, and describes whether the point light source belongs to a reflection-type light source or a dyeing-type light source, so in an optional embodiment, the image processing engine may respectively query the light source label of each point light source, and divide all marked point light sources into a reflection-type point light source group and a dyeing-type point light source group according to the light source labels, so that subsequent light sources in different groups perform interpolation in different manners.
In another optional embodiment, after completing grouping of the point light sources, the image processing engine may add the reflection-type point light source group and the dyeing-type point light source group to the rendering pipeline, so that the two types of light sources are declared as two sets of arrays in the rendering pipeline, so that the rendering pipeline traverses all visible light sources when rendering a current frame, places the visible light sources into the two sets of point light source arrays respectively according to the light source tags, and then sends the visible light sources to a role Shader (Shader) of the scene to perform computation and coloring on the two sets of point light source arrays, thereby implementing illumination computation on the reflection-type point light source group and the dyeing-type point light source group. When two groups of point light source arrays are transmitted to the Shader, the image processing engine filters the reflection type point light source group and the dyeing type point light source group, and writes the filtered reflection type point light source group and the filtered dyeing type point light source group into the Shader of the scene to be rendered, so that interpolation processing of the point light sources is performed based on the written Shader. The image Processing engine may use two eliminated point light source arrays at a CPU (Central Processing Unit) end as a filtered reflection point light source group and a dyeing point light source group, so that the filtered reflection point light source group and dyeing point light source group are transmitted to a GPU (Graphics Processing Unit) end for Shader computing.
202. Determining a pixel to be rendered and a plurality of target point light sources with illumination ranges covering the pixel to be rendered in a scene to be rendered.
In the embodiment of the application, the pixel to be rendered is any pixel point in the scene to be rendered under the current frame. In an optional embodiment, the image processing engine determines a scene to be rendered, obtains a scene map of the scene to be rendered under a current frame, and extracts any pixel point in the scene map as a pixel to be rendered. Then, the image processing engine determines a plurality of candidate point light sources in a scene to be rendered, respectively calculates the illumination range of each candidate point light source in the candidate point light sources, extracts the candidate point light sources covered by pixels to be rendered in the illumination range, and obtains a plurality of target point light sources.
203. And interpolating the pixels to be rendered according to the attenuation coefficient of at least one first point light source to obtain first interpolated pixels.
In the embodiment of the application, at least one first point light source is a target point light source of which the light source label indicates that the target point light source belongs to a reflection point light source in a plurality of target point light sources, and since different interpolation operations are performed on different types of point light sources, the image processing engine interpolates the pixels to be rendered according to the attenuation coefficient of the first point light source to obtain first interpolated pixels. In an alternative embodiment, the process of determining and interpolating at least one first point illuminant is as follows:
firstly, the image processing engine inquires a light source label of each target point light source in the target point light sources, extracts the light source labels from the target point light sources to indicate the target point light sources belonging to the reflection point light sources, and obtains at least one first point light source.
Then, the image processing engine extracts a preset number of first point light sources from the at least one first point light source, wherein the illumination intensity of the preset number of first point light sources and the position distance between the preset number of first point light sources and the pixel to be rendered meet a preset condition. The reason for extracting the preset number of first point light sources is that the distance between the first point light sources and the pixel to be rendered is far and the influence of the light sources with poor intensity on the pixel to be rendered is not large or even has no influence, so that in order to ensure the rendering accuracy, the first point light sources with the preset number, which are closest to the pixel to be rendered and have the maximum color intensity, are selected to perform illumination rendering, and the rendering authenticity is ensured. When a preset number of first point light sources are extracted, the image processing engine respectively counts the position distance between each first point light source in at least one first point light source and a pixel to be rendered, based on the indication of a preset condition, the at least one first point light source is sequenced according to the sequence of the position distances from large to small to obtain a sequencing result, an intensity threshold value indicated by the preset condition is obtained, and the preset number of first point light sources with the illumination intensity larger than the intensity threshold value are extracted at the head of the sequencing result. In the practical application process, the preset number may be any number of 4 to 8, that is, 4 to 8 point light sources with the closest distance to the pixel to be rendered and the largest color intensity are extracted for use in the subsequent interpolation operation.
Then, for each first point light source in a preset number of first point light sources, the image processing engine queries an attenuation coefficient, a first light source position and a first light source color of the first point light source, and performs interpolation processing on the first light source color and a pixel to be rendered according to the first light source position of the first point light source and the attenuation coefficient of the first point light source to obtain an interpolated pixel corresponding to the first point light source. Specifically, the attenuation coefficient may be an exponential attenuation coefficient of the first point light source, or may be a linear attenuation coefficient, and the present application is not particularly limited.
By repeatedly executing the above process, the image processing engine performs interpolation processing on each first point light source respectively to obtain a preset number of interpolated pixels, the preset number of interpolated pixels are used as the first interpolated pixels, so that when the pixel to be rendered is covered based on the first interpolated pixels in the following process, the pixel to be rendered is interpolated by all the light sources illuminating the pixel according to the attenuation intensity degree, and the original Diffuse (dispersed) color of the pixel to be rendered is covered by the finally calculated color.
204. And interpolating the pixels to be rendered according to the attenuation coefficient of the at least one second point light source to obtain second interpolated pixels.
In the embodiment of the application, the at least one second point light source is a target point light source of which the light source label indicates that the target point light source belongs to the dyeing point light source, and different interpolation operations are performed on different types of point light sources. In an alternative embodiment, the process of determining at least one second point light source and interpolating is as follows:
firstly, the image processing engine inquires a light source label of each target point light source in the target point light sources, extracts the light source labels from the target point light sources to indicate the target point light sources belonging to the dyeing point light sources, and obtains at least one second point light source.
Then, for each second point light source in the at least one second point light source, the image processing engine queries the attenuation coefficient, the second light source position and the second light source color of the second point light source, and performs interpolation processing on the second light source color and the pixel to be rendered according to the second light source position of the second point light source and the attenuation coefficient of the second point light source to obtain an interpolation pixel. Specifically, the attenuation coefficient may be a linear attenuation coefficient of the second point light source, or may be an exponential attenuation coefficient, which is not particularly limited in this application.
And repeatedly executing the process, respectively carrying out interpolation processing on each second point light source by the image processing engine to obtain at least one interpolation pixel, and taking the at least one interpolation pixel as the second interpolation pixel so as to uniformly filter the color of the pixel to be rendered and the color of the light source according to the linear attenuation degree of the point light sources.
205. And performing color accumulation on the first interpolation pixel and the second interpolation pixel to obtain a color to be covered, and covering the pixel to be rendered by adopting the color to be covered to obtain an illumination rendering result of the pixel to be rendered.
In the embodiment of the application, after the first interpolation pixel and the second difference pixel are obtained through the above process, the image processing engine performs color accumulation on the first interpolation pixel and the second interpolation pixel to obtain a color to be covered, and covers the pixel to be rendered by using the color to be covered to obtain an illumination rendering result of the pixel to be rendered, so that illumination calculation is performed on two point light source arrays in a role Shader according to different types, and the pixel to be rendered is finally rendered.
Therefore, in a game which needs illumination rendering according to the cartoon rendering expression rule and has point light sources needing various expression forms, one point light source similar to the dyeing effect shows that a character is under a street lamp, and the color of the character tends to gradually approach the color of the point light source according to the distance before the bonfire; while another spot light type illuminates a character using a Blin-Phong illumination model and generates the bright and dark portions of the character, and when a plurality of spot light sources of this type illuminate the character at the same time, the dark portion area may be illuminated by other spot light sources. Through the method in the embodiment of the application, the interaction effect of the role with the light source in different environments such as street lamps, bonfire, special effect explosion and the like can be extended according to the cartoon rendering stylization rule, the picture is enriched, the diversified and uniform 3D (3 Dimensions) picture style is formed, the requirement of a player for the variety of the aesthetic picture is met, the picture overexposure caused by multipoint light sources is avoided, the color disorder condition is avoided, and the creation means of art makers is enriched.
In summary, the logic process of the illumination rendering method of the multi-point light source provided by the present application is as follows:
the image processing engine adds different types of light sources in a scene to be rendered, and groups the added light sources to obtain a reflection point light source group and a dyeing point light source group. Then, the image processing engine declares two groups of point light source groups in a rendering pipeline, transmits the cut point light source groups to a GPU (graphics processing unit) end, and declares two groups of point light source groups in a Shader. Then, the image processing engine respectively calculates the two groups of point light source groups, calculates the maximum illumination range of the reflection point light source, determines which light source color the pixel to be rendered is covered by according to the intensity of the point light source, and interpolates the pixel to be rendered according to the attenuation coefficient; and for the dyeing type point light source, interpolating the pixel to be rendered according to the attenuation coefficient, uniformly filtering the color of the pixel to be rendered and the color of the light source, accumulating the calculation results of multiple light sources, and finally obtaining the illumination rendering result of the pixel to be rendered.
The method provided by the embodiment of the application comprises the steps of determining a pixel to be rendered and a plurality of target point light sources with illumination ranges covering the pixel to be rendered in a scene to be rendered, interpolating the pixel to be rendered according to an attenuation coefficient of a first point light source belonging to a reflection point light source to obtain a first interpolation pixel, interpolating the pixel to be rendered according to an attenuation coefficient of a second point light source belonging to a dyeing point light source to obtain a second interpolation pixel, performing color accumulation on the first interpolation pixel and the second interpolation pixel to obtain a color to be covered, covering the pixel to be rendered by adopting the color to be covered to obtain an illumination rendering result of the pixel to be rendered, adjusting an accumulation relation of a point light source belonging to the reflection point light source to illuminate a role to be a covering relation by using a Blin-Phong illumination model, and determining a color tendency of the point light source to influence the role according to the attenuation relation for the point light source belonging to the dyeing point light source, the illumination calculation is not carried out, the accumulation relation of a multi-point light source to the current pixel color is met, the over-exposure of the model and the color confusion of the model are avoided, the light receiving effect of the model expressed in the scene is rich, and the picture is more real.
Further, as a specific implementation of the method shown in fig. 1, an embodiment of the present application provides an illumination rendering apparatus with a multi-point light source, as shown in fig. 3, the apparatus includes: a determination module 301, an interpolation module 302 and an accumulation module 303.
The determining module 301 is configured to determine a pixel to be rendered in a scene to be rendered, where the pixel to be rendered is any pixel point in the scene to be rendered under a current frame, and the illumination range covers multiple target point light sources of the pixel to be rendered;
the interpolation module 302 is configured to interpolate the pixel to be rendered according to an attenuation coefficient of at least one first point light source to obtain a first interpolated pixel, where the at least one first point light source is a point light source that is indicated by a light source label in the plurality of point light sources and belongs to a reflection-type point light source;
the interpolation module 302 is further configured to interpolate the pixel to be rendered according to an attenuation coefficient of at least one second point light source to obtain a second interpolated pixel, where the at least one second point light source is a point light source in the plurality of point light sources, where a light source label indicates a point light source belonging to a dyeing class point light source; and
the accumulation module 303 is configured to perform color accumulation on the first interpolation pixel and the second interpolation pixel to obtain a color to be covered, and cover the pixel to be rendered with the color to be covered to obtain an illumination rendering result of the pixel to be rendered.
In a specific application scene, the determining module 301 is configured to determine the scene to be rendered, obtain a scene map of the scene to be rendered under the current frame, and extract any pixel point in the scene map as the pixel to be rendered; determining a plurality of candidate point light sources in the scene to be rendered; and respectively calculating the illumination range of each candidate point light source in the candidate point light sources, and extracting the candidate point light sources of which the illumination ranges cover the pixels to be rendered to obtain the target point light sources.
In a specific application scenario, the interpolation module 302 is configured to query a light source label of each target point light source in the plurality of target point light sources, extract a light source label from the plurality of target point light sources to indicate a target point light source belonging to the reflection-type point light source, and obtain the at least one first point light source; extracting a preset number of first point light sources from the at least one first point light source, wherein the illumination intensity of the preset number of first point light sources and the position distance between the preset number of first point light sources and the pixel to be rendered meet preset conditions; performing the following processing on each first point light source in the preset number of first point light sources: inquiring the attenuation coefficient, the first light source position and the first light source color of the first point light source, and performing interpolation processing on the first light source color and the pixel to be rendered according to the attenuation coefficient of the first point light source and the first light source position of the first point light source to obtain an interpolation pixel corresponding to the first point light source; and taking the obtained interpolation pixels with the preset number as the first interpolation pixels.
In a specific application scenario, the interpolation module 302 is configured to count the position distance between each first point light source of the at least one first point light source and the pixel to be rendered, and rank the at least one first point light source according to the order of the position distances from large to small based on the indication of the preset condition, so as to obtain a ranking result; and acquiring an intensity threshold indicated by the preset condition, and extracting the first point light sources with the illumination intensity larger than the intensity threshold by the preset number from the head of the queue of the sorting result.
In a specific application scenario, the interpolation module 302 is configured to query a light source label of each target point light source in the plurality of target point light sources, extract a light source label from the plurality of target point light sources to indicate a target point light source belonging to the dyeing-type point light source, and obtain the at least one second point light source; performing the following processing on each second point light source in the at least one second point light source: inquiring the attenuation coefficient, the second light source position and the second light source color of the second point light source, and performing interpolation processing on the second light source color and the pixel to be rendered according to the attenuation coefficient of the second point light source and the second light source position of the second point light source to obtain an interpolation pixel corresponding to the second point light source; and using the obtained at least one interpolated pixel as the second interpolated pixel.
In a specific application scenario, the apparatus further includes:
the adding module is used for responding to a light source adding operation, and determining a target position indicated by the light source adding operation in the scene to be rendered and a selected light source to be added;
and the marking module is used for responding to an adding ending instruction, counting all point light sources in the scene to be rendered, respectively identifying the light source position of each point light source in all the point light sources, and marking the point light sources by adopting the light source positions.
In a specific application scene, the adding module is further configured to query the light source labels of each point light source, divide all marked point light sources into the reflection-type point light source group and the dyeing-type point light source group according to the light source labels, and add the reflection-type point light source group and the dyeing-type point light source group to a rendering pipeline, so that the rendering pipeline performs illumination calculation on the reflection-type point light source group and the dyeing-type point light source group; and
the adding module is further configured to filter the reflection-type point light source group and the dyeing-type point light source group, and write the filtered reflection-type point light source group and dyeing-type point light source group into a color device of the scene to be rendered, so that interpolation processing of the point light source is performed based on the written color device.
The device provided by the embodiment of the application determines a pixel to be rendered and a plurality of target point light sources with illumination ranges covering the pixel to be rendered in a scene to be rendered, interpolates the pixel to be rendered according to the attenuation coefficient of a first point light source belonging to a reflection point light source to obtain a first interpolation pixel, interpolates the pixel to be rendered according to the attenuation coefficient of a second point light source belonging to a dyeing point light source to obtain a second interpolation pixel, performs color accumulation on the first interpolation pixel and the second interpolation pixel to obtain a color to be covered, covers the pixel to be rendered by adopting the color to be covered to obtain an illumination rendering result of the pixel to be rendered, adjusts the accumulation relation of the point light source belonging to the reflection point light source to the role to be a covering relation by utilizing a Blin-Phong illumination model, and determines the color tendency of the point light source to influence the role according to the attenuation relation for the point light source belonging to the dyeing point light source, the illumination calculation is not carried out, the accumulation relation of a multi-point light source to the current pixel color is met, the over-exposure of the model and the color confusion of the model are avoided, the light receiving effect of the model expressed in the scene is rich, and the picture is more real.
It should be noted that other corresponding descriptions of the functional units related to the illumination rendering apparatus with a multi-point light source provided in the embodiment of the present application may refer to the corresponding descriptions in fig. 1 and fig. 2A, and are not repeated herein.
In an exemplary embodiment, referring to fig. 4, a computer device is further provided, the computer device includes a bus, a processor, a memory, a communication interface, an input/output interface, and a display device, wherein the functional units can communicate with each other through the bus. The memory stores a computer program, and the processor is used for executing the program stored in the memory and executing the illumination rendering method of the multi-point light source in the embodiment.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method for illumination rendering of a multi-point light source.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present application can be implemented by hardware, and also by software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.), and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the implementation scenarios of the present application.
Those skilled in the art will appreciate that the figures are merely schematic representations of one preferred implementation scenario and that the blocks or flow diagrams in the figures are not necessarily required to practice the present application.
Those skilled in the art will appreciate that the modules in the devices in the implementation scenario may be distributed in the devices in the implementation scenario according to the description of the implementation scenario, or may be located in one or more devices different from the present implementation scenario with corresponding changes. The modules of the implementation scenario may be combined into one module, or may be further split into a plurality of sub-modules.
The above application serial numbers are for description purposes only and do not represent the superiority or inferiority of the implementation scenarios.
The above disclosure is only a few specific implementation scenarios of the present application, but the present application is not limited thereto, and any variations that can be made by those skilled in the art are intended to fall within the scope of the present application.

Claims (10)

1. An illumination rendering method for a multi-point light source, comprising:
determining a pixel to be rendered in a scene to be rendered, wherein the illumination range covers a plurality of target point light sources of the pixel to be rendered, and the pixel to be rendered is any pixel point in the scene to be rendered under a current frame;
interpolating the pixel to be rendered according to the attenuation coefficient of at least one first point light source to obtain a first interpolated pixel, wherein the at least one first point light source is a target point light source which belongs to a reflection point light source and is indicated by a light source label in the plurality of target point light sources;
interpolating the pixel to be rendered according to the attenuation coefficient of at least one second point light source to obtain a second interpolated pixel, wherein the at least one second point light source is a target point light source which belongs to a dyeing point light source and is indicated by a light source label in the plurality of target point light sources; and
and performing color accumulation on the first interpolation pixel and the second interpolation pixel to obtain a color to be covered, and covering the pixel to be rendered by adopting the color to be covered to obtain an illumination rendering result of the pixel to be rendered.
2. The method of claim 1, wherein the determining a plurality of target point light sources in a scene to be rendered, wherein the pixels to be rendered and the illumination range cover the pixels to be rendered, comprises:
determining the scene to be rendered, acquiring a scene map of the scene to be rendered under the current frame, and extracting any pixel point in the scene map as the pixel to be rendered;
determining a plurality of candidate point light sources in the scene to be rendered; and
and respectively calculating the illumination range of each candidate point light source in the candidate point light sources, and extracting the candidate point light sources of which the illumination ranges cover the pixels to be rendered to obtain the target point light sources.
3. The method according to claim 1, wherein the interpolating the pixel to be rendered according to the attenuation coefficient of the at least one first point light source to obtain a first interpolated pixel comprises:
inquiring a light source label of each target point light source in the plurality of target point light sources, and extracting a light source label from the plurality of target point light sources to indicate a target point light source belonging to the reflection type point light source to obtain at least one first point light source;
extracting a preset number of first point light sources from the at least one first point light source, wherein the illumination intensity of the preset number of first point light sources and the position distance between the preset number of first point light sources and the pixel to be rendered meet preset conditions;
performing the following processing on each first point light source in the preset number of first point light sources: inquiring the attenuation coefficient, the first light source position and the first light source color of the first point light source, and performing interpolation processing on the first light source color and the pixel to be rendered according to the attenuation coefficient of the first point light source and the first light source position of the first point light source to obtain an interpolation pixel corresponding to the first point light source; and
and taking the obtained interpolation pixels with the preset number as the first interpolation pixels.
4. The method according to claim 3, wherein said extracting a preset number of first point light sources from the at least one first point light source comprises:
respectively counting the position distance between each first point light source in the at least one first point light source and the pixel to be rendered, and sequencing the at least one first point light source according to the sequence of the position distances from large to small based on the indication of the preset condition to obtain a sequencing result; and
and acquiring an intensity threshold indicated by the preset condition, and extracting the first point light sources with the illumination intensity larger than the intensity threshold by the preset number from the head of the queue of the sorting result.
5. The method of claim 1, wherein interpolating the pixel to be rendered according to the attenuation coefficient of the at least one second point light source to obtain a second interpolated pixel comprises:
inquiring a light source label of each target point light source in the plurality of target point light sources, and extracting a light source label from the plurality of target point light sources to indicate a target point light source belonging to the dyeing type point light source to obtain at least one second point light source;
performing the following processing on each second point light source in the at least one second point light source: inquiring the attenuation coefficient, the second light source position and the second light source color of the second point light source, and performing interpolation processing on the second light source color and the pixel to be rendered according to the attenuation coefficient of the second point light source and the second light source position of the second point light source to obtain an interpolation pixel corresponding to the second point light source; and
and taking the obtained at least one interpolation pixel as the second interpolation pixel.
6. The method of claim 1, wherein before determining a plurality of target point light sources in a scene to be rendered, wherein the pixels to be rendered and the illumination range covers the pixels to be rendered, the method further comprises:
in response to a light source adding operation, determining a target position indicated by the light source adding operation in the scene to be rendered and a selected light source to be added;
and responding to an adding ending instruction, counting all point light sources in the scene to be rendered, respectively identifying the light source position of each point light source in all the point light sources, and marking the point light sources by adopting the light source positions.
7. The method of claim 6, further comprising:
respectively inquiring the light source label of each point light source, dividing all marked point light sources into a reflection type point light source group and a dyeing type point light source group according to the light source labels, and adding the reflection type point light source group and the dyeing type point light source group into a rendering pipeline so that the rendering pipeline can conveniently perform illumination calculation on the reflection type point light source group and the dyeing type point light source group; and
and filtering the reflection type point light source group and the dyeing type point light source group, and writing the filtered reflection type point light source group and the filtered dyeing type point light source group into a shader of the scene to be rendered so as to perform interpolation processing of the point light source based on the written shader.
8. An illumination rendering apparatus for a multi-point light source, comprising:
the system comprises a determining module, a judging module and a display module, wherein the determining module is used for determining a pixel to be rendered in a scene to be rendered and a plurality of target point light sources of which the illumination ranges cover the pixel to be rendered, and the pixel to be rendered is any pixel point in the scene to be rendered under a current frame;
the interpolation module is used for interpolating the pixel to be rendered according to the attenuation coefficient of at least one first point light source to obtain a first interpolation pixel, wherein the at least one first point light source is a target point light source which belongs to a reflection type point light source and is indicated by a light source label in the plurality of target point light sources;
the interpolation module is further configured to interpolate the pixel to be rendered according to an attenuation coefficient of at least one second point light source to obtain a second interpolated pixel, where the at least one second point light source is a target point light source in the plurality of target point light sources, and the light source label indicates the target point light source belonging to the dyeing type point light source; and
and the accumulation module is used for carrying out color accumulation on the first interpolation pixel and the second interpolation pixel to obtain a color to be covered, and covering the pixel to be rendered by adopting the color to be covered to obtain an illumination rendering result of the pixel to be rendered.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 7 when executing the computer program.
10. A storage medium having a computer program stored thereon, the computer program, when being executed by a processor, realizing the steps of the method of any one of claims 1 to 7.
CN202111583893.3A 2021-12-22 2021-12-22 Illumination rendering method and device of multipoint light source, computer equipment and storage medium Pending CN114241115A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111583893.3A CN114241115A (en) 2021-12-22 2021-12-22 Illumination rendering method and device of multipoint light source, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111583893.3A CN114241115A (en) 2021-12-22 2021-12-22 Illumination rendering method and device of multipoint light source, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114241115A true CN114241115A (en) 2022-03-25

Family

ID=80761494

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111583893.3A Pending CN114241115A (en) 2021-12-22 2021-12-22 Illumination rendering method and device of multipoint light source, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114241115A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116206006A (en) * 2023-03-02 2023-06-02 达瓦未来(北京)影像科技有限公司 Card style direct illumination effect rendering method based on UE rendering engine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116206006A (en) * 2023-03-02 2023-06-02 达瓦未来(北京)影像科技有限公司 Card style direct illumination effect rendering method based on UE rendering engine

Similar Documents

Publication Publication Date Title
CN109603155B (en) Method and device for acquiring merged map, storage medium, processor and terminal
WO2021129044A1 (en) Object rendering method and apparatus, and storage medium and electronic device
KR100612890B1 (en) Multi-effect expression method and apparatus in 3-dimension graphic image
US7463261B1 (en) Three-dimensional image compositing on a GPU utilizing multiple transformations
CN111127623B (en) Model rendering method and device, storage medium and terminal
CN109087369B (en) Virtual object display method, device, electronic device and storage medium
CN106898040B (en) Virtual resource object rendering method and device
CN112652044A (en) Particle special effect rendering method, device and equipment and storage medium
US11995759B2 (en) Adaptive ray tracing suitable for shadow rendering
CN112433657A (en) Electronic book simulation page turning method, electronic equipment and computer storage medium
CN114241115A (en) Illumination rendering method and device of multipoint light source, computer equipment and storage medium
CN111462287A (en) Data processing method and device for skeleton animation in game and electronic equipment
EP3050605B1 (en) A method for event detection in real-time graphic applications
CN109712226A (en) The see-through model rendering method and device of virtual reality
CN109388725A (en) The method and device scanned for by video content
WO2023098344A1 (en) Graphic processing method and apparatus, computer device, and storage medium
WO2023098358A1 (en) Model rendering method and apparatus, computer device, and storage medium
US7542038B2 (en) Method and system for pivot-point based adaptive soft shadow estimation
CN113827958B (en) Magma rendering method, device, equipment and storage medium
CN112215938B (en) Method and device for generating reflected illumination data in game and computer equipment
Chalmers et al. There-reality: selective rendering in high fidelity virtual environments
CN111767046B (en) Shader code multiplexing method and terminal
CN115880127A (en) Rendering format selection method and related equipment thereof
CN112669437B (en) Role model coloring method, coloring device, equipment and storage medium
CN103390080A (en) Plant disease speckle color simulation method and device

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