CN114529656A - Shadow map generation method and device, computer equipment and storage medium - Google Patents

Shadow map generation method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN114529656A
CN114529656A CN202210158352.4A CN202210158352A CN114529656A CN 114529656 A CN114529656 A CN 114529656A CN 202210158352 A CN202210158352 A CN 202210158352A CN 114529656 A CN114529656 A CN 114529656A
Authority
CN
China
Prior art keywords
shadow
dimensional model
target
illumination
map
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
CN202210158352.4A
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.)
Beijing Datianmian White Sugar Technology Co ltd
Original Assignee
Beijing Datianmian White Sugar Technology 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 Beijing Datianmian White Sugar Technology Co ltd filed Critical Beijing Datianmian White Sugar Technology Co ltd
Priority to CN202210158352.4A priority Critical patent/CN114529656A/en
Publication of CN114529656A publication Critical patent/CN114529656A/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/02Non-photorealistic rendering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/04Texture mapping
    • 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/60Shadow generation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Graphics (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Generation (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The present disclosure provides a method, an apparatus, a computer device and a storage medium for generating a shadow map, wherein the method comprises: acquiring a three-dimensional model of a target object and an original shadow map corresponding to the three-dimensional model; determining an illumination model corresponding to the three-dimensional model based on the three-dimensional model and an illumination direction corresponding to the three-dimensional model; the illumination model is used for representing shadow degree information corresponding to a plurality of vertexes of the three-dimensional model respectively; and correcting the original shadow map in the illumination direction by using the illumination model to obtain a first target shadow map of the three-dimensional model.

Description

Shadow map generation method and device, computer equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for generating a shadow map, a computer device, and a storage medium.
Background
When rendering a secondary object such as a cartoon image, in order to improve the reality of the secondary object after rendering and displaying, a shadow effect under illumination is added when rendering the secondary object. Because the quadratic element object does not really exist, a shadow area is determined in a manual drawing mode, a shadow map is correspondingly made, and a shadow effect is added to the quadratic element object by using the determined shadow map.
Disclosure of Invention
The embodiment of the disclosure at least provides a method and a device for generating a shadow map, computer equipment and a storage medium.
In a first aspect, an embodiment of the present disclosure provides a method for generating a shadow map, including: acquiring a three-dimensional model of a target object and an original shadow map corresponding to the three-dimensional model; determining an illumination model corresponding to the three-dimensional model based on the three-dimensional model and an illumination direction corresponding to the three-dimensional model; the illumination model is used for representing shadow degree information corresponding to a plurality of vertexes of the three-dimensional model respectively; and correcting the original shadow map in the illumination direction by using the illumination model to obtain a first target shadow map of the three-dimensional model.
In this way, the obtained illumination model can reflect the shadow degree information respectively corresponding to a plurality of vertexes of the three-dimensional model in the current illumination direction, so that the illumination model is used for carrying out correction processing on the original shadow map determined for the three-dimensional model in the illumination direction, and compared with the original shadow map, the obtained first target shadow map can be flexibly adjusted according to the illumination direction.
In an optional embodiment, the determining, based on the three-dimensional model and an illumination direction corresponding to the three-dimensional model, an illumination model corresponding to the three-dimensional model includes: determining normal directions respectively corresponding to a plurality of vertexes in the three-dimensional model; performing dot product operation on the normal direction and the illumination direction corresponding to each vertex in a plurality of vertexes to obtain shadow degree information corresponding to each vertex; and obtaining the illumination model based on the shadow degree information respectively corresponding to the plurality of vertexes.
Therefore, the illumination model determined by the illumination direction and the normal direction corresponding to each vertex in the three-dimensional model can more accurately reflect the shadow tendency which each vertex in the three-dimensional model should show under the target light source, namely the obtained illumination model can reflect the illumination influence of the target light source on the three-dimensional model, and is more suitable for correcting the original shadow map corresponding to the three-dimensional model in the illumination direction corresponding to the target light source.
In an optional embodiment, the method further comprises: determining light source position information of a target light source in a model coordinate system corresponding to the three-dimensional model; and determining an illumination direction corresponding to the three-dimensional model based on the light source position information.
Therefore, the three-dimensional model can be used for easily establishing a model coordinate system, and the model coordinate system can also be used for determining the light source position information of the target light source in the same coordinate system, so that the relative position relation between the target light source and the three-dimensional model is determined, and the illumination direction corresponding to the three-dimensional model is further determined and determined more accurately.
In an alternative embodiment, the original shadow map comprises: original shadow degree information corresponding to each vertex in the three-dimensional model respectively; the correcting process of the illumination direction is carried out on the original shadow map by utilizing the illumination model to obtain a first target shadow map of the three-dimensional model, and the method comprises the following steps: and remapping the original shadow degree information corresponding to each vertex in the three-dimensional model by utilizing the shadow degree information corresponding to each vertex in the illumination model to obtain a first target shadow map of the three-dimensional model.
In this way, the shadow degree information corresponding to the plurality of vertexes under the illumination model capable of reflecting the illumination direction can be utilized, and the original shadow degree information under the original shadow map has the influence under the illumination direction through the calculation of remapping, so that the first target shadow map capable of reflecting the target object model influenced by the illumination direction is obtained.
In an optional embodiment, the method further comprises: and responding to the received shadow range adjusting instruction, and performing shadow range adjusting processing on the first target shadow map.
In an optional implementation manner, the shadow range adjustment instruction carries a target shadow partition gray level threshold; the performing, in response to receiving the shadow range adjustment instruction, the shadow range adjustment processing on the first target shadow map includes: in response to receiving a shadow range adjustment instruction, based on a target shadow partition gray threshold carried in the shadow range adjustment instruction, performing partition processing on the first target shadow map to obtain a first partition and a second partition; and respectively carrying out first correction processing on the shadow depth of the first partition and the second partition to obtain a second target shadow map.
In this way, the shadow area of the shadow map can be adjusted more flexibly by adjusting the gray threshold of the target shadow partition.
In an optional embodiment, the method further comprises: receiving a first value range adjusting instruction corresponding to the target shadow partition gray level threshold; determining a first target value range of the target shadow partition gray level threshold value based on the first value range adjusting instruction; and the target shadow partition gray level threshold value carried in the shadow range adjusting instruction is positioned in the first target value range.
In an optional embodiment, the method further comprises: acquiring a shadow color adjusting instruction; the shadow color adjusting instruction carries a color gray threshold; and performing second correction processing of shadow colors on the first target shadow map by using the color gray threshold to obtain a third target shadow map.
In an optional embodiment, the method further comprises: receiving a second value range adjusting instruction corresponding to the color gray level threshold; determining a second target value range of the color gray level threshold value based on the second value range adjustment instruction; and the color gray level threshold carried in the shadow color adjusting instruction is positioned in the second target value range.
In this way, the shadow color that can be displayed by the shadow area can be adjusted in a targeted manner.
In a second aspect, an embodiment of the present disclosure further provides an apparatus for generating a shadow map, including: the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring a three-dimensional model of a target object and an original shadow map corresponding to the three-dimensional model; the first determination module is used for determining an illumination model corresponding to the three-dimensional model based on the three-dimensional model and an illumination direction corresponding to the three-dimensional model; the illumination model is used for representing shadow degree information corresponding to a plurality of vertexes of the three-dimensional model respectively; and the first processing module is used for correcting the illumination direction of the original shadow map by using the illumination model to obtain a first target shadow map of the three-dimensional model.
In an optional embodiment, the first determining module, when determining the illumination model corresponding to the three-dimensional model based on the three-dimensional model and the illumination direction corresponding to the three-dimensional model, is configured to: determining normal directions respectively corresponding to a plurality of vertexes in the three-dimensional model; performing dot product operation on the normal direction and the illumination direction corresponding to each vertex in a plurality of vertexes to obtain shadow degree information corresponding to each vertex; and obtaining the illumination model based on the shadow degree information respectively corresponding to the plurality of vertexes.
In an optional implementation manner, the generating apparatus further includes a second determining module, configured to: determining light source position information of a target light source in a model coordinate system corresponding to the three-dimensional model; and determining an illumination direction corresponding to the three-dimensional model based on the light source position information.
In an alternative embodiment, the original shadow map comprises: original shadow degree information corresponding to each vertex in the three-dimensional model respectively; the first processing module is configured to, when the illumination model is used to perform illumination direction correction processing on the original shadow map to obtain a first target shadow map of the three-dimensional model,: and remapping the original shadow degree information corresponding to each vertex in the three-dimensional model by utilizing the shadow degree information corresponding to each vertex in the illumination model to obtain a first target shadow map of the three-dimensional model.
In an optional implementation manner, the generating apparatus further includes a second processing module, configured to: and responding to the received shadow range adjusting instruction, and performing shadow range adjusting processing on the first target shadow map.
In an optional embodiment, the shadow range adjustment instruction carries a target shadow partition gray level threshold; the second processing module, when performing a shadow range adjustment process on the first target shadow map in response to receiving a shadow range adjustment instruction, is configured to: in response to receiving a shadow range adjustment instruction, based on a target shadow partition gray threshold carried in the shadow range adjustment instruction, performing partition processing on the first target shadow map to obtain a first partition and a second partition; and respectively carrying out first correction processing on the shadow depth of the first partition and the second partition to obtain a second target shadow map.
In an optional implementation, the second processing module is further configured to: receiving a first value range adjusting instruction corresponding to the target shadow partition gray level threshold; determining a first target value range of the target shadow partition gray level threshold value based on the first value range adjustment instruction; and the target shadow partition gray level threshold value carried in the shadow range adjusting instruction is positioned in the first target value range.
In an optional implementation manner, the generating apparatus further includes a third processing module, configured to: acquiring a shadow color adjusting instruction; the shadow color adjusting instruction carries a color gray threshold; and performing second correction processing of shadow colors on the first target shadow map by using the color gray threshold to obtain a third target shadow map.
In an optional implementation, the third processing module is further configured to: receiving a second value range adjusting instruction corresponding to the color gray level threshold; determining a second target value range of the color gray level threshold value based on the second value range adjustment instruction; and the color gray level threshold carried in the shadow color adjusting instruction is positioned in the second target value range.
In a third aspect, this disclosure also provides a computer device, a processor, and a memory, where the memory stores machine-readable instructions executable by the processor, and the processor is configured to execute the machine-readable instructions stored in the memory, and when the machine-readable instructions are executed by the processor, the machine-readable instructions are executed by the processor to perform the steps in the first aspect or any one of the possible implementations of the first aspect.
In a fourth aspect, this disclosure also provides a computer-readable storage medium having a computer program stored thereon, where the computer program is executed to perform the steps in the first aspect or any one of the possible implementation manners of the first aspect.
For the description of the effects of the apparatus, the computer device, and the computer-readable storage medium for generating the shadow map, reference is made to the description of the method for generating the shadow map, which is not repeated herein.
In order to make the aforementioned objects, features and advantages of the present disclosure more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for use in the embodiments will be briefly described below, and the drawings herein incorporated in and forming a part of the specification illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the technical solutions of the present disclosure. It is appreciated that the following drawings depict only certain embodiments of the disclosure and are therefore not to be considered limiting of its scope, for those skilled in the art will be able to derive additional related drawings therefrom without the benefit of the inventive faculty.
FIG. 1 is a flow chart illustrating a method for generating a shadow map according to an embodiment of the present disclosure;
FIG. 2 illustrates a schematic diagram of a three-dimensional model of a target object provided by an embodiment of the present disclosure;
FIG. 3 is a schematic diagram illustrating an original shadow map provided by an embodiment of the present disclosure;
FIG. 4 is a schematic diagram illustrating a method for determining an illumination direction provided by an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of a sphere reflecting shading degree information provided by an embodiment of the present disclosure;
FIG. 6 is a schematic diagram illustrating a presentation interface when adjusting a shadow effect according to an embodiment of the disclosure;
FIG. 7 is a diagram illustrating a rendered image obtained by shadow rendering a target object according to an embodiment of the present disclosure;
FIG. 8 is a schematic diagram of a shadow map generation apparatus provided by an embodiment of the present disclosure;
fig. 9 shows a schematic diagram of a computer device provided by an embodiment of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, the technical solutions in the embodiments of the present disclosure will be described clearly and completely with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, not all of the embodiments. The components of embodiments of the present disclosure, as generally described and illustrated herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the disclosure is not intended to limit the scope of the disclosure as claimed, but is merely representative of selected embodiments of the disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the disclosure without making any creative effort, shall fall within the protection scope of the disclosure.
Research has found that in order to improve the reality of rendering displayed secondary objects, shadow effects under illumination are generally added when rendering the secondary objects. When the shadow effect is added to the secondary object, the shadow map is generally determined for the secondary object, and then the shadow map is used for shadow rendering of the secondary object. Here, the shadow map is usually a gray scale map drawn by hand, and after the area to which the shadow is added is determined manually, the area in which the shadow is expected to be reflected by the two-dimensional object can be reflected in the shadow map by using different gray scale values. In such a shadow map, it is determined that the shadow area rendered on the quadratic object is relatively fixed, and when a continuously changing picture is generated by using the quadratic object, the range size and the shadow intensity of the shadow area may need to be adjusted along with the change of the illumination direction of the illumination of the quadratic object or the change of the action of the quadratic object, so that the rationality of the shadow area can be ensured. The method is used for solving the problem that the shadow needs to be adjusted when the illumination direction of a quadratic element object or the change of the action of the quadratic element object is adjusted by respectively drawing shadow maps on each frame of image. This method has a problem of low efficiency.
Based on the above research, the present disclosure provides a method for generating a shadow map, in which when determining a shadow map for a two-dimensional object, a three-dimensional model of the two-dimensional object is first obtained, and then an illumination direction for illuminating the three-dimensional model is utilized to determine an illumination model corresponding to the three-dimensional model, since the obtained illumination model can reflect shadow degree information respectively corresponding to a plurality of vertexes of the three-dimensional model in a current illumination direction, the illumination model is utilized to perform a correction process in the illumination direction on an original shadow map determined for the three-dimensional model, so that an obtained first target shadow map can be flexibly adjusted according to the illumination direction compared with the original shadow map, and thus the obtained first target shadow map can express a shadow effect in the current illumination direction after rendering the three-dimensional model, therefore, when a picture with continuous action is generated by using the quadratic element object, the shadow effect can be flexibly adjusted, and the efficiency is higher.
The above-mentioned drawbacks are the results of the inventor after practical and careful study, and therefore, the discovery process of the above-mentioned problems and the solutions proposed by the present disclosure to the above-mentioned problems should be the contribution of the inventor in the process of the present disclosure.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
To facilitate understanding of the present embodiment, first, a detailed description is given to a method for generating a shadow map disclosed in the embodiments of the present disclosure, where an execution subject of the method for generating a shadow map provided in the embodiments of the present disclosure is generally a computer device with certain computing power, and the computer device includes, for example: a terminal device, which may be a User Equipment (UE), a mobile device, a User terminal, a cellular phone, a cordless phone, a Personal Digital Assistant (PDA), a handheld device, a computing device, a vehicle mounted device, a wearable device, or a server or other processing device. In some possible implementations, the shadow map generation method can be implemented by a processor calling computer readable instructions stored in a memory.
The following describes a method for generating a shadow map provided in an embodiment of the present disclosure. The method for generating the shadow map, provided by the embodiment of the disclosure, can be used for determining the shadow map of the secondary object, and can be specifically applied to shadow rendering of the secondary object. The two-dimensional object described herein may specifically include a cartoon image, a game character, a virtual pet, and the like, and thus the generation method provided by the embodiment of the disclosure may be specifically applied to different application fields such as game picture production or generation, animation movie production, and the like. After the shadow map is determined by the generation method provided by the embodiment of the disclosure, the determined shadow map can be further utilized to render the secondary object, so that the secondary object has more authenticity and rationality by rendering the displayed shadow effect.
Referring to fig. 1, a flowchart of a method for generating a shadow map provided in an embodiment of the present disclosure is shown, where the method includes steps S101 to S103, where:
s101: acquiring a three-dimensional model of a target object and an original shadow map corresponding to the three-dimensional model;
s102: determining an illumination model corresponding to the three-dimensional model based on the three-dimensional model and an illumination direction corresponding to the three-dimensional model; the illumination model is used for representing shadow degree information corresponding to a plurality of vertexes of the three-dimensional model respectively;
s103: and correcting the original shadow map in the illumination direction by using the illumination model to obtain a first target shadow map of the three-dimensional model.
The embodiment of the disclosure determines a corresponding illumination model for the three-dimensional model by using the three-dimensional model and an illumination direction corresponding to the three-dimensional model, so as to correct an original shadow map corresponding to the three-dimensional model to obtain a first target shadow map. Compared with the original shadow map, the obtained first target shadow map can be flexibly adjusted according to the illumination direction, so that the obtained first target shadow map can enable the quadratic element object to express the shadow effect in the current illumination direction after rendering the three-dimensional model, and the shadow effect can be flexibly adjusted when the quadratic element object is used for generating a picture with continuous action, thereby having higher efficiency.
The following describes details of S101 to S103.
In the above S101, a three-dimensional model of the target object will be described first. The target object can specifically comprise a secondary object, and because the secondary object is a virtual object and does not actually exist, the body state characteristics of the secondary object, such as height, fat and thin, can be determined in a mode of constructing a three-dimensional model corresponding to the secondary object, and the determined three-dimensional model is used for simulating an image which the secondary object is expected to present in the real world. Illustratively, referring to fig. 2, a schematic diagram of a three-dimensional model of a target object according to an embodiment of the present disclosure is shown, where the three-dimensional model is a manually constructed virtual model; for the three-dimensional model, the facial features and dressing features can be further refined, and are not shown in fig. 2. In addition, different three-dimensional models may be determined for different two-dimensional objects.
The three-dimensional model typically includes: a plurality of vertices located on the surface of the three-dimensional model, and a patch (mesh) constituted by the interconnection relationship between the vertices.
After the target object model is determined, an original shadow map corresponding to the three-dimensional model may also be obtained. The original shadow map specifically comprises a gray map which is composed of pixel points with different gray values and can reflect original shadow degree information corresponding to each vertex in the three-dimensional model. Illustratively, referring to fig. 3, a schematic diagram of an original shadow map provided in an embodiment of the present disclosure is shown. In one possible case, when the shadow map is actually determined for the target object model, an illumination map is determined for the three-dimensional model, wherein the illumination map is composed of gray maps under different channels, and the gray map under the shadow channel in the illumination map can be used as the gray map of the original shadow map.
In S102, the three-dimensional model determined in S101 and the illumination direction corresponding to the three-dimensional model are used to determine the illumination model corresponding to the three-dimensional model under illumination. Here, the obtained illumination model is used to represent shadow degree information corresponding to a plurality of vertices of the three-dimensional model.
First, a specific mode of determining the illumination model will be described. In a specific implementation, the illumination model may specifically be determined in the following manner: determining normal directions respectively corresponding to a plurality of vertexes in the three-dimensional model; performing dot product operation on the normal direction and the illumination direction corresponding to each vertex in a plurality of vertexes to obtain shadow degree information corresponding to each vertex; and obtaining the illumination model based on the shadow degree information respectively corresponding to the plurality of vertexes.
Wherein, for a plurality of vertexes in the three-dimensional model and normal directions corresponding to the plurality of vertexes, referring to fig. 2, a part of vertexes and corresponding normal directions at the vertexes are labeled in the illustrated three-dimensional model. Because the three-dimensional model can be determined, a plurality of vertexes can be determined on the outer contour of the three-dimensional model, and the normal direction corresponding to each vertex is determined according to the positions of the vertexes on the three-dimensional model. The specific manner of determining the normal direction is not described herein again.
With respect to the illumination direction, in another embodiment of the present disclosure, a specific way of determining the illumination direction is also provided. Specifically, it may be determined that a target light source is light source position information in a model coordinate system corresponding to the three-dimensional model, and then, based on the light source position information, an illumination direction corresponding to the three-dimensional model is determined.
Wherein the target light source may comprise a virtual light source. When determining the illumination direction of the target light source, the relative positional relationship between the target light source and the three-dimensional model is involved because the illumination direction specifically affects the three-dimensional model. In this way, in order to determine the illumination direction more accurately, a corresponding model coordinate system may be established with reference to the three-dimensional model, and the light source position information of the target light source may be determined in the model coordinate system. In this way, the relative position relationship between the target light source and the three-dimensional model can be accurately determined for the target light source and the three-dimensional model in the same model coordinate system, so that the illumination direction corresponding to the three-dimensional model can be determined.
Exemplarily, referring to fig. 4, a schematic diagram for determining an illumination direction according to an embodiment of the present disclosure is provided. When the model coordinate system is established by using the three-dimensional model, the model coordinate system as shown in fig. 4 may be established with the central axis of the three-dimensional model as the z-axis. The light source position information of the target light source 41 may also be expressed in coordinate values in the model coordinate system, for example, (x1, y1, z 1). According to the determined light source position information, it can be known that the target light source has illumination on the left upper side of the three-dimensional model, and the determined illumination direction is correspondingly labeled in fig. 4.
Under the condition of determining the illumination direction, for each vertex in the multiple vertices, a dot product operation can be performed by using the normal direction and the illumination direction corresponding to each vertex to obtain shadow degree information corresponding to each vertex, so that the illumination model can be obtained by determining the shadow degree information corresponding to each vertex. Here, the shadow degree information corresponding to each vertex reflected by the illumination model may specifically reflect whether each vertex appears in the shadow area after rendering display, and if the vertex exists in the shadow area after rendering display, the corresponding shadow color is darker or lighter.
Next, the principle of determining the illumination model will be explained. Referring to fig. 5, a schematic diagram of a sphere reflecting shading degree information is provided for an embodiment of the present disclosure. In which a simple sphere 51 is used instead of the three-dimensional model for illustration, and a target light source 52 is also shown in fig. 5. For the sphere 51, a plurality of vertices on the sphere may be determined, and a normal vector corresponding to each vertex is determined. In the figure, three special vertices a1, a2, and a3 are labeled, and the corresponding normal vectors are represented as N1, N2, and N3, respectively. For the target light source 52, the corresponding illumination direction is denoted as L.
Thus, as can be seen from the shadow effect expressed by the sphere shown in fig. 5, the normal vectors N1 and L corresponding to the vertex a1 are opposite in direction, and the shadow-free effect appears at the vertex a 1; the direction of normal vectors N2 and L corresponding to the vertex a2 is vertical, and the effect of gray shading appears at the vertex a 1. And for the vertex of which the included angle between the corresponding normal vector and the L is more than 90 degrees and less than 180 degrees, the effect of shadows under different gray scales is presented, and as the angle of the included angle is increased, a darker gray shadow is presented. And the normal vectors N3 and L corresponding to the vertex a3 are in the same direction, the vertex a3 is black, and the vertexes corresponding to the normal vectors and the L with the included angle smaller than 90 degrees are all black. As can be seen from the above inference, when the illumination direction L and the normal vector Na corresponding to each vertex a are determined, it can be determined whether each vertex a is in a shadow region or not, and a shadow color that should appear in the shadow region.
Therefore, for the above S103, the original shadow map may be subjected to a correction process in the illumination direction by using the illumination model to obtain a first target shadow map of the three-dimensional model. In specific implementation, the following method can be specifically adopted: and remapping the original shadow degree information corresponding to each vertex in the three-dimensional model by utilizing the shadow degree information corresponding to each vertex in the illumination model to obtain a first target shadow map of the three-dimensional model.
The remapping process specifically includes remapping the original shadow degree information on a gray value range, and a calculation mode of linear interpolation may be specifically adopted. In this way, the shadow degree information corresponding to the plurality of vertexes under the illumination model capable of reflecting the illumination direction can be utilized, and the original shadow degree information under the original shadow map also has the influence under the illumination direction through the calculation of remapping, so as to obtain the first target shadow map capable of reflecting the target object model influenced by the illumination direction.
In another embodiment of the present disclosure, for the shadow range of the first target shadow map, a partition process of the shadow may be further performed to implement a two-sided shadow adjustment, so as to present a hierarchical shadow that can reflect the occlusion relationship after the three-dimensional model is subjected to a memorable rendering display.
In a specific implementation, for example, the shadow range adjustment process may be performed on the first target shadow map in response to receiving the shadow range adjustment instruction. The shadow range adjusting instruction carries a target shadow partition gray level threshold value. Here, the target shadow partition gray threshold is a gray value, and the gray value may be used to control a shadow tendency presented by each pixel point in the first target shadow map in a corresponding region on the three-dimensional model. In a possible case, if it is determined that the gray threshold of the target shadow partition is 128, it may be determined that a region corresponding to a pixel point with a gray value smaller than 128 in the first target shadow map on the three-dimensional model is less likely to present a shadow, and a region corresponding to a pixel point with a gray value larger than 128 in the first target shadow map on the three-dimensional model is more likely to present a shadow.
Here, the shadow range adjustment instruction carries, for example, a target shadow partition gray level threshold, that is, the target shadow partition gray level threshold can be adjusted. Specifically, the shadow range adjustment instruction may be determined in response to receiving an input instruction to an input box corresponding to the target shadow division gray level threshold value or an operation instruction to the adjustment knob. Referring to fig. 6, a schematic diagram of a display interface for adjusting a shadow effect according to an embodiment of the present disclosure is provided, in which a table labeled as "target shadow partition gray level threshold" has an adjusting button, and the numerical value of the target shadow partition gray level threshold can be changed by sliding left and right. By the sliding operation of the knob, a shadow range adjustment instruction can be generated. In addition, after the sliding operation is performed, the currently set target shadow partition gray level threshold is also displayed in the form of a specific numerical value, such as "128" shown in the next table.
When the target shadow partition gray threshold is used for partitioning the first target shadow map, the pixel points in the first target shadow map, which correspond to gray values greater than or equal to the target shadow partition gray threshold, can be classified as a first partition, and the pixel points in the first target shadow map, which correspond to gray values less than the target shadow partition gray threshold, can be classified as a second partition. By using the shadow tendency that the different regions should present as described above, the first correction processing of the shadow depth can be performed on the first partition and the second partition, respectively, so as to obtain the second target shadow map under the target shadow partition gray level threshold.
In addition, since the target shadow partition gray level threshold can be adjusted, when the second target shadow map is determined, the second target shadow map can be flexibly adjusted by adjusting the target shadow partition gray level threshold within a certain value range.
Specifically, the value range of the target shadow partition gray level threshold is limited, which may be performed in the following manner: receiving a first value range adjusting instruction corresponding to the target shadow partition gray level threshold; determining a first target value range of the target shadow partition gray level threshold value based on the first value range adjustment instruction; and the target shadow partition gray level threshold value carried in the shadow range adjusting instruction is positioned in the first target value range.
For example, referring to fig. 6, a table labeled "value range" also has a knob, and in response to a sliding operation of the knob, a first value range adjustment instruction corresponding to the target shadow partition gray level threshold may be determined. Here, the determined first value range is also the selectable range of the target shadow partition gray level threshold value during adjustment. For example, for the "area range" shown in fig. 6, it may be determined that the current first target value range is 150, which indicates that the target shadow partition gray level threshold may be selected to be 150 at maximum, that is, for the adjusting button in the "target shadow partition gray level threshold" table, when the adjusting button is slid to be maximum, the selectable gray level threshold is 150.
In another embodiment of the present disclosure, the shadow color displayed by the three-dimensional model may also be adjusted. In a specific implementation, for example, the following may be used: acquiring a shadow color adjusting instruction; the shadow color adjusting instruction carries a color gray threshold; and performing second correction processing of shadow colors on the first target shadow map by using the color gray threshold to obtain a third target shadow map.
Referring to fig. 6, the table labeled "shadow color" corresponds to the color-taking button with the shadow color and the color chart with the currently selected shadow color. In response to the color fetching operation, a shadow color adjustment instruction may be obtained, where the shadow color adjustment instruction carries a color grayscale threshold confirmed under the current color fetching operation, for example, a shadow color displayed by a color chart in a table of "shadow color" in fig. 6. By using the determined color gray threshold, performing second correction processing on the determined shadow color, for example, if the selected color gray threshold is higher, adjusting the first target shadow map to be lighter in shadow display in a corresponding reaction; if the selected color gray threshold is lower, the corresponding reaction adjusts the first target shadow map to a darker shadow display.
In addition, similar to the target shadow partition gray level threshold described above, for the shadow color, the selection range of the available shadow colors may be defined by determining the adjustment range of the shadow color. In specific implementation, a second value range adjustment instruction corresponding to the color grayscale threshold may be received; determining a second target value range of the color gray level threshold value based on the second value range adjustment instruction; and the color gray level threshold carried in the shadow color adjusting instruction is positioned in the second target value range.
Referring to fig. 6, a table labeled "shadow color adjustment range" corresponds to a color selection button for adjusting the shadow color adjustment range. In response to the selection of the shadow color adjustment range by using the color-taking button, a second value range adjustment instruction corresponding to the color gray level threshold value can be determined, so that a second target value range which can be selected by the shadow color can be determined. For example, the color chart corresponding to the shadow color adjustment range shown in fig. 6 is that the deepest shadow color can be selected for the shadow color.
The manner of setting the two adjustment ranges for the gray level threshold and the shadow color of the target shadow partition can limit the adjustable degree within a certain range in the process of adjusting the shadow depth and/or the shadow color of the target shadow map by multiple persons in the manner of limiting the first target value range and the second target value range in the scene of cooperative work of multiple persons, and can reduce the situation that the shadow is too deep or too dark due to the difference of personal styles or preferences.
Compared with the shadow map determined by directly adopting a manual drawing mode, the shadow map obtained by the method for generating the shadow map provided by the embodiment of the disclosure can be flexibly adjusted in shadow depth and shadow color, and can be corrected according to the illumination direction, so that the shadow effect is more controllable when the obtained shadow map is used for rendering a target object. For example, referring to fig. 7, a schematic diagram of a rendered image obtained after a target object is subjected to shadow rendering provided by the embodiment of the present disclosure is shown, where (a) in fig. 7 shows a rendered image obtained after a target object is rendered by directly using a shadow map determined in an artificial drawing manner, and compared with a rendered image obtained after the shadow map is rendered by using a method for generating a shadow map provided by the embodiment of the present disclosure shown in (b) in fig. 7, the rendered image is not natural in shadow expression, and the rendered image shown in (b) in fig. 7 better conforms to lighting logic in reality in shadow expression, so that the rendered image is more natural and the reality of the target object can be improved.
It will be understood by those skilled in the art that in the method of the present invention, the order of writing the steps does not imply a strict order of execution and any limitations on the implementation, and the specific order of execution of the steps should be determined by their function and possible inherent logic.
Based on the same inventive concept, the embodiment of the present disclosure further provides a device for generating a shadow map corresponding to the method for generating a shadow map, and because the principle of solving the problem of the device in the embodiment of the present disclosure is similar to the method for generating the shadow map in the embodiment of the present disclosure, the implementation of the device may refer to the implementation of the method, and repeated details are omitted.
Referring to fig. 8, a schematic diagram of an apparatus for generating a shadow map according to an embodiment of the present disclosure is shown, where the apparatus includes: an acquisition module 81, a first determination module 82, and a first processing module 83; wherein the content of the first and second substances,
an obtaining module 81, configured to obtain a three-dimensional model of a target object and an original shadow map corresponding to the three-dimensional model;
a first determining module 82, configured to determine an illumination model corresponding to the three-dimensional model based on the three-dimensional model and an illumination direction corresponding to the three-dimensional model; the illumination model is used for representing shadow degree information corresponding to a plurality of vertexes of the three-dimensional model respectively;
and the first processing module 83 is configured to perform correction processing in the illumination direction on the original shadow map by using the illumination model, so as to obtain a first target shadow map of the three-dimensional model.
In an alternative embodiment, the first determining module 82, when determining the illumination model corresponding to the three-dimensional model based on the three-dimensional model and the illumination direction corresponding to the three-dimensional model, is configured to: determining normal directions respectively corresponding to a plurality of vertexes in the three-dimensional model; performing dot product operation on the normal direction and the illumination direction corresponding to each vertex in a plurality of vertexes to obtain shadow degree information corresponding to each vertex; and obtaining the illumination model based on the shadow degree information respectively corresponding to the plurality of vertexes.
In an optional embodiment, the generating apparatus further includes a second determining module 84, configured to: determining light source position information of a target light source in a model coordinate system corresponding to the three-dimensional model; and determining an illumination direction corresponding to the three-dimensional model based on the light source position information.
In an alternative embodiment, the original shadow map comprises: original shadow degree information corresponding to each vertex in the three-dimensional model respectively; the first processing module 83, when performing correction processing of the illumination direction on the original shadow map by using the illumination model to obtain a first target shadow map of the three-dimensional model, is configured to: and remapping the original shadow degree information corresponding to each vertex in the three-dimensional model by utilizing the shadow degree information corresponding to each vertex in the illumination model to obtain a first target shadow map of the three-dimensional model.
In an optional embodiment, the generating apparatus further includes a second processing module 85, configured to: and responding to the received shadow range adjusting instruction, and performing shadow range adjusting processing on the first target shadow map.
In an optional implementation manner, the shadow range adjustment instruction carries a target shadow partition gray level threshold; the second processing module 85, when performing the shadow range adjustment processing on the first target shadow map in response to receiving the shadow range adjustment instruction, is configured to: in response to receiving a shadow range adjustment instruction, based on a target shadow partition gray threshold carried in the shadow range adjustment instruction, performing partition processing on the first target shadow map to obtain a first partition and a second partition; and respectively carrying out first correction processing on the shadow depth of the first partition and the second partition to obtain a second target shadow map.
In an optional implementation, the second processing module 85 is further configured to: receiving a first value range adjusting instruction corresponding to the target shadow partition gray level threshold; determining a first target value range of the target shadow partition gray level threshold value based on the first value range adjusting instruction; and the target shadow partition gray level threshold value carried in the shadow range adjusting instruction is positioned in the first target value range.
In an optional embodiment, the generating apparatus further includes a third processing module 86, configured to: acquiring a shadow color adjusting instruction; the shadow color adjusting instruction carries a color gray threshold; and performing second correction processing of shadow colors on the first target shadow map by using the color gray threshold to obtain a third target shadow map.
In an optional implementation, the third processing module 86 is further configured to: receiving a second value range adjusting instruction corresponding to the color gray level threshold; determining a second target value range of the color gray level threshold value based on the second value range adjustment instruction; and the color gray level threshold carried in the shadow color adjusting instruction is positioned in the second target value range.
The description of the processing flow of each module in the device and the interaction flow between the modules may refer to the related description in the above method embodiments, and will not be described in detail here.
An embodiment of the present disclosure further provides a computer device, as shown in fig. 9, which is a schematic structural diagram of the computer device provided in the embodiment of the present disclosure, and the computer device includes:
a processor 10 and a memory 20; the memory 20 stores machine-readable instructions executable by the processor 10, the processor 10 being configured to execute the machine-readable instructions stored in the memory 20, the processor 10 performing the following steps when the machine-readable instructions are executed by the processor 10:
acquiring a three-dimensional model of a target object and an original shadow map corresponding to the three-dimensional model; determining an illumination model corresponding to the three-dimensional model based on the three-dimensional model and an illumination direction corresponding to the three-dimensional model; the illumination model is used for representing shadow degree information corresponding to a plurality of vertexes of the three-dimensional model respectively; and correcting the original shadow map in the illumination direction by using the illumination model to obtain a first target shadow map of the three-dimensional model.
The storage 20 includes a memory 210 and an external storage 220; the memory 210 is also referred to as an internal memory, and temporarily stores operation data in the processor 10 and data exchanged with the external memory 220 such as a hard disk, and the processor 10 exchanges data with the external memory 220 through the memory 210.
The specific execution process of the instruction may refer to the steps of the method for generating a shadow map in the embodiment of the present disclosure, and details are not repeated here.
The disclosed embodiments also provide a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, performs the steps of the method for generating a shadow map described in the above method embodiments. The storage medium may be a volatile or non-volatile computer-readable storage medium.
The embodiments of the present disclosure also provide a computer program product, where the computer program product carries a program code, and instructions included in the program code may be used to execute the steps of the method for generating a shadow map in the foregoing method embodiments, which may be referred to specifically in the foregoing method embodiments, and are not described herein again.
The computer program product may be implemented by hardware, software or a combination thereof. In an alternative embodiment, the computer program product is embodied in a computer storage medium, and in another alternative embodiment, the computer program product is embodied in a Software product, such as a Software Development Kit (SDK), or the like.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. In the several embodiments provided in the present disclosure, it should be understood that the disclosed system, apparatus, and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present disclosure may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present disclosure. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are merely specific embodiments of the present disclosure, which are used for illustrating the technical solutions of the present disclosure and not for limiting the same, and the scope of the present disclosure is not limited thereto, and although the present disclosure is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive of the technical solutions described in the foregoing embodiments or equivalent technical features thereof within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present disclosure, and should be construed as being included therein. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (12)

1. A method for generating a shadow map, comprising:
acquiring a three-dimensional model of a target object and an original shadow map corresponding to the three-dimensional model;
determining an illumination model corresponding to the three-dimensional model based on the three-dimensional model and an illumination direction corresponding to the three-dimensional model; the illumination model is used for representing shadow degree information corresponding to a plurality of vertexes of the three-dimensional model respectively;
and correcting the original shadow map in the illumination direction by using the illumination model to obtain a first target shadow map of the three-dimensional model.
2. The generation method according to claim 1, wherein the determining an illumination model corresponding to the three-dimensional model based on the three-dimensional model and an illumination direction corresponding to the three-dimensional model comprises:
determining normal directions respectively corresponding to a plurality of vertexes in the three-dimensional model;
performing dot product operation on the normal direction and the illumination direction corresponding to each vertex in a plurality of vertexes to obtain shadow degree information corresponding to each vertex;
and obtaining the illumination model based on the shadow degree information respectively corresponding to the plurality of vertexes.
3. The generation method according to claim 1 or 2, characterized in that the method further comprises: determining light source position information of a target light source in a model coordinate system corresponding to the three-dimensional model;
and determining an illumination direction corresponding to the three-dimensional model based on the light source position information.
4. The generation method according to any one of claims 1 to 3, wherein the original shadow map comprises: original shadow degree information corresponding to each vertex in the three-dimensional model respectively;
the correcting process of the illumination direction is carried out on the original shadow map by utilizing the illumination model to obtain a first target shadow map of the three-dimensional model, and the method comprises the following steps:
and remapping the original shadow degree information corresponding to each vertex in the three-dimensional model by utilizing the shadow degree information corresponding to each vertex in the illumination model to obtain a first target shadow map of the three-dimensional model.
5. The generation method according to any one of claims 1 to 4, characterized in that the method further comprises:
and responding to the received shadow range adjusting instruction, and performing shadow range adjusting processing on the first target shadow map.
6. The generation method according to claim 5, wherein the shadow range adjustment instruction carries a target shadow partition gray threshold;
the performing, in response to receiving the shadow range adjustment instruction, the shadow range adjustment processing on the first target shadow map includes:
in response to receiving a shadow range adjustment instruction, based on a target shadow partition gray threshold carried in the shadow range adjustment instruction, performing partition processing on the first target shadow map to obtain a first partition and a second partition;
and respectively carrying out first correction processing on the shadow depth of the first partition and the second partition to obtain a second target shadow map.
7. The method of generating as claimed in claim 6, further comprising:
receiving a first value range adjusting instruction corresponding to the target shadow partition gray level threshold;
determining a first target value range of the target shadow partition gray level threshold value based on the first value range adjustment instruction;
and the target shadow partition gray level threshold value carried in the shadow range adjusting instruction is positioned in the first target value range.
8. The generation method according to any one of claims 1 to 7, characterized by further comprising:
acquiring a shadow color adjusting instruction; the shadow color adjusting instruction carries a color gray threshold;
and performing second correction processing of shadow colors on the first target shadow map by using the color gray threshold to obtain a third target shadow map.
9. The method of generating as claimed in claim 8, further comprising:
receiving a second value range adjusting instruction corresponding to the color gray level threshold;
determining a second target value range of the color gray level threshold value based on the second value range adjustment instruction;
and the color gray level threshold carried in the shadow color adjusting instruction is positioned in the second target value range.
10. An apparatus for generating a shadow map, comprising:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring a three-dimensional model of a target object and an original shadow map corresponding to the three-dimensional model;
the first determination module is used for determining an illumination model corresponding to the three-dimensional model based on the three-dimensional model and an illumination direction corresponding to the three-dimensional model; the illumination model is used for representing shadow degree information corresponding to a plurality of vertexes of the three-dimensional model respectively;
and the first processing module is used for correcting the illumination direction of the original shadow map by using the illumination model to obtain a first target shadow map of the three-dimensional model.
11. A computer device, comprising: a processor, a memory storing machine readable instructions executable by the processor, the processor for executing the machine readable instructions stored in the memory, the machine readable instructions when executed by the processor, the processor performing the steps of the method of generating a shadow map of any of claims 1 to 9.
12. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a computer device, performs the steps of the method of generating a shadow map according to any one of claims 1 to 9.
CN202210158352.4A 2022-02-21 2022-02-21 Shadow map generation method and device, computer equipment and storage medium Pending CN114529656A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210158352.4A CN114529656A (en) 2022-02-21 2022-02-21 Shadow map generation method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210158352.4A CN114529656A (en) 2022-02-21 2022-02-21 Shadow map generation method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114529656A true CN114529656A (en) 2022-05-24

Family

ID=81624796

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210158352.4A Pending CN114529656A (en) 2022-02-21 2022-02-21 Shadow map generation method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114529656A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114998504A (en) * 2022-07-29 2022-09-02 杭州摩西科技发展有限公司 Two-dimensional image illumination rendering method, device and system and electronic device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114998504A (en) * 2022-07-29 2022-09-02 杭州摩西科技发展有限公司 Two-dimensional image illumination rendering method, device and system and electronic device

Similar Documents

Publication Publication Date Title
US11257286B2 (en) Method for rendering of simulating illumination and terminal
CN112316420B (en) Model rendering method, device, equipment and storage medium
CN112215934B (en) Game model rendering method and device, storage medium and electronic device
US7583264B2 (en) Apparatus and program for image generation
CN113838176B (en) Model training method, three-dimensional face image generation method and three-dimensional face image generation equipment
CN112669447A (en) Model head portrait creating method and device, electronic equipment and storage medium
US20230120253A1 (en) Method and apparatus for generating virtual character, electronic device and readable storage medium
CN111369655A (en) Rendering method and device and terminal equipment
CN108765520B (en) Text information rendering method and device, storage medium and electronic device
CN113658316B (en) Rendering method and device of three-dimensional model, storage medium and computer equipment
CN111862285A (en) Method and device for rendering figure skin, storage medium and electronic device
CN114549719A (en) Rendering method, rendering device, computer equipment and storage medium
WO2023098358A1 (en) Model rendering method and apparatus, computer device, and storage medium
CN116363288A (en) Rendering method and device of target object, storage medium and computer equipment
CN114529657A (en) Rendering image generation method and device, computer equipment and storage medium
CN114529656A (en) Shadow map generation method and device, computer equipment and storage medium
CN115082614A (en) Highlight generation method and device, computer equipment and storage medium
CN114385289A (en) Rendering display method and device, computer equipment and storage medium
CN114581592A (en) Highlight rendering method and device, computer equipment and storage medium
CN115272628A (en) Rendering method and device of three-dimensional model, computer equipment and storage medium
CN115845369A (en) Cartoon style rendering method and device, electronic equipment and storage medium
CN113450444B (en) Method and device for generating illumination map, storage medium and electronic equipment
CN115063330A (en) Hair rendering method and device, electronic equipment and storage medium
CN115761105A (en) Illumination rendering method and device, electronic equipment and storage medium
CN115049772A (en) Shadow rendering method and device of three-dimensional model, 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