CN114693860A - Highlight rendering method, highlight rendering device, highlight rendering medium and electronic equipment - Google Patents

Highlight rendering method, highlight rendering device, highlight rendering medium and electronic equipment Download PDF

Info

Publication number
CN114693860A
CN114693860A CN202210386625.0A CN202210386625A CN114693860A CN 114693860 A CN114693860 A CN 114693860A CN 202210386625 A CN202210386625 A CN 202210386625A CN 114693860 A CN114693860 A CN 114693860A
Authority
CN
China
Prior art keywords
pixel point
highlight
texture
determining
coordinate value
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
CN202210386625.0A
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 Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network 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 Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to CN202210386625.0A priority Critical patent/CN114693860A/en
Publication of CN114693860A publication Critical patent/CN114693860A/en
Priority to PCT/CN2023/084540 priority patent/WO2023197860A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/50Lighting effects
    • G06T15/506Illumination models
    • 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

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 present disclosure relates to a highlight rendering method, apparatus, medium, and electronic device, the method comprising: obtaining a highlight image to be rendered, wherein a highlight shape to be rendered is drawn in the highlight image; determining a light source vector in a target coordinate space corresponding to the hair model according to the light source direction in the world space; aiming at each pixel point to be rendered in the hair model, determining a sight vector corresponding to the pixel point in a target coordinate space according to the sight direction in the world space; for each pixel point, determining texture offset of the pixel point in a highlight image in a vertical direction corresponding to a horizontal direction according to a light source vector and a sight line vector corresponding to the pixel point; sampling is carried out on the highlight image according to the texture offset corresponding to each pixel point so as to render the pixel points and obtain a rendered highlight rendering image. Therefore, the rendering effect of anisotropic highlight can be realized while the highlight shape of the rendering is ensured.

Description

Highlight rendering method, highlight rendering device, highlight rendering medium and electronic equipment
Technical Field
The present disclosure relates to the field of image processing, and in particular, to a highlight rendering method, apparatus, medium, and electronic device.
Background
In the hair rendering of the cartoon character, unlike the highlight rendering of the solid hair, it is generally a highlight shape having a block shape, as shown at a in fig. 1 as a highlight image of the solid hair, and as shown at B in fig. 1 as a highlight image of the hair under the cartoon rendering.
In a realistic hair scene, different highlights appear in the line of sight when light of different angles impinges on the hair. In the related art, an anisotropic algorithm is generally used to render the hair highlight, so that the hair highlight in the rendered cartoon animation can change along with the change of the light source and the line of sight. However, by the above rendering mode, the highlight is calculated in real time by superimposing the disturbance texture on the illumination model, and the highlight shape in highlight rendering is difficult to ensure.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
In a first aspect, the present disclosure provides a highlight rendering method, the method comprising:
acquiring a highlight image to be rendered, wherein a highlight shape to be rendered is drawn in the highlight image;
determining a light source vector in a target coordinate space corresponding to the hair model according to the light source direction in the world space;
aiming at each pixel point to be rendered in the hair model, determining a sight vector corresponding to the pixel point in the target coordinate space according to the sight direction in the world space;
for each pixel point, determining texture offset of the pixel point in the highlight image in the vertical direction corresponding to the horizontal direction according to the light source vector and the sight line vector corresponding to the pixel point;
sampling is carried out on the highlight image according to the texture offset corresponding to each pixel point so as to render the pixel points and obtain a rendered highlight rendering image.
In a second aspect, the present disclosure provides a highlight rendering apparatus, the apparatus comprising:
the device comprises an acquisition module, a rendering module and a rendering module, wherein the acquisition module is used for acquiring a highlight image to be rendered, and a highlight shape to be rendered is drawn in the highlight image;
the first processing module is used for determining a light source vector in a target coordinate space corresponding to the hair model according to the light source direction in the world space;
the second processing module is used for determining a sight vector corresponding to each pixel point to be rendered in the hair model according to the sight direction in the world space;
the determining module is used for determining texture offset of each pixel point in the highlight image in the vertical direction corresponding to the horizontal direction according to the light source vector and the sight line vector corresponding to the pixel point;
and the rendering module is used for sampling from the highlight image according to the texture offset corresponding to each pixel point so as to render the pixel points and obtain a rendered highlight rendering image.
In a third aspect, the present disclosure provides a computer readable medium having stored thereon a computer program which, when executed by a processing apparatus, performs the steps of the method of the first aspect.
In a fourth aspect, the present disclosure provides an electronic device comprising:
a storage device having a computer program stored thereon;
processing means for executing the computer program in the storage means to carry out the steps of the method of the first aspect.
Therefore, in the technical scheme, the light source direction and the sight line direction in the world space can be converted into the target coordinate space corresponding to the hair model, so that the influence of the sight line direction and the light source direction on the highlight position can be determined in the same model space. And, in this embodiment of the disclosure, only consider the skew of highlight position on the vertical direction that corresponds with the horizontal direction, can be to same pixel in the hair model, based on sight direction and light source direction in order to change its texture sampling position from the highlight image, so that the rendering color value that same pixel sampling obtained changes, thereby can be on the basis of guaranteeing the highlight shape, carry out the skew to the highlight position, realize anisotropic highlight rendering effect, simplify the process that the highlight was rendered, when improving highlight rendering efficiency, can improve the degree of accuracy that the animation highlight was rendered, promote the user and experience the watching of the gained animation after rendering.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale. In the drawings:
FIG. 1 is a schematic diagram of a comparison of highlight images of solid hair and cartoon hair;
fig. 2 is a flowchart of a highlight rendering method provided in accordance with an embodiment of the present disclosure;
FIG. 3 is a schematic illustration of a highlight image provided based on an embodiment of the present disclosure;
fig. 4 and 5 are schematic diagrams of highlight rendered images provided based on embodiments of the present disclosure;
FIG. 6 is a block diagram of a highlight rendering apparatus provided in accordance with an embodiment of the present disclosure;
FIG. 7 illustrates a schematic diagram of an electronic device suitable for use in implementing embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
All actions of acquiring signals, information or data in the present disclosure are performed under the premise of complying with the corresponding data protection regulation policy of the country of the location and obtaining the authorization given by the owner of the corresponding device.
Fig. 2 is a flowchart of a highlight rendering method according to an embodiment of the present disclosure, where the method may include:
in step 11, a highlight image to be rendered is obtained, wherein a highlight shape to be rendered is drawn in the highlight image.
For example, when performing highlight rendering on a hair model based on a highlight image, the correspondence between pixel points in the hair model and sampling positions in the highlight image is usually implemented based on UV coordinates, where the UV coordinates may be percentage coordinates of the highlight image, the horizontal direction may be denoted as U, and the vertical direction may be denoted as V, such as the highlight image shown in fig. 3. The white graphic part is a highlight shape to be rendered. When the highlight image is rendered on the hair model, the highlight image is pasted on the surface of the hair model to achieve highlight rendering.
In step 12, a light source vector in a target coordinate space corresponding to the hair model is determined according to the light source direction in the world space.
In step 13, for each pixel point to be rendered in the hair model, a sight vector corresponding to the pixel point in the target coordinate space is determined according to the sight direction in the world space.
Rendering can be performed based on a rendering model commonly used in the art, for example, highlight rendering is performed by Unity Shader, and parameters such as a light source direction and a sight line direction in a world space can be obtained in the rendering model. In this embodiment, the above parameters may be down-converted from world space to a model space corresponding to the hair model, i.e. the target coordinate space, so as to represent the influence of the changes of the light source direction and the sight line direction on the highlight position. It should be noted that the execution sequence shown in fig. 2 is an exemplary sequence, and step 12 and step 13 may be executed sequentially or in parallel, which is not limited in this disclosure.
In step 14, for each pixel point, the texture offset of the pixel point in the highlight image in the vertical direction corresponding to the horizontal direction is determined according to the light source vector and the sight line vector corresponding to the pixel point.
However, in the anisotropic highlight change, when the light source direction or the line of sight direction moves up, down, left, and right with respect to the hair model, the position of the highlight usually moves up, down, left, and right, and it is difficult to ensure the shape of the highlight in the highlight change process. Based on this, in this embodiment, in order to ensure the fixation of the highlight shape on the hair, when the light source direction and the visual line direction are changed, only the texture corresponding to the highlight shape may be shifted in position in the vertical direction, so as to achieve the anisotropic changing effect while ensuring the highlight shape.
In step 15, sampling is performed from the highlight image according to the texture offset corresponding to each pixel point, so as to render the pixel point, and obtain a rendered highlight rendered image.
As shown above, the offset influence of the highlight shape on the position in the vertical direction can be determined based on the changes of the sight line direction and the light source direction, so that sampling can be performed from the highlight image based on the position after offset based on the texture offset amount, that is, color values of corresponding positions are sampled from the highlight image based on the position after offset for rendering, so that the color rendered at this time matches with the current light source direction and sight line direction.
Therefore, in the technical scheme, the light source direction and the sight line direction in the world space can be converted into the target coordinate space corresponding to the hair model, so that the influence of the sight line direction and the light source direction on the highlight position can be determined in the same model space. And, in this embodiment of the disclosure, only consider the skew of highlight position on the vertical direction that corresponds with the horizontal direction, can be to same pixel in the hair model, based on sight direction and light source direction in order to change its texture sampling position from the highlight image, so that the rendering color value that same pixel sampling obtained changes, thereby can be on the basis of guaranteeing the highlight shape, carry out the skew to the highlight position, realize anisotropic highlight rendering effect, simplify the process that the highlight was rendered, when improving highlight rendering efficiency, can improve the degree of accuracy that the animation highlight was rendered, promote the user and experience the watching of the gained animation after rendering.
In a possible embodiment, an exemplary implementation manner of determining the light source vector in the target coordinate space corresponding to the hair model according to the light source direction in the world space is as follows, including:
and obtaining the direction of the light source in the world space, and converting based on the conversion matrix to obtain the light source vector in the target coordinate space. By way of example, the determination may be made by the following equation:
lightDir_O=mul((float3×3)unity_WorldToObject,LightDirection.xyz)
where mul (M, v) is used to represent a matrix multiplication of a calculation matrix M and a vector v for matrix conversion, unity _ world object is used to represent a matrix converted from world space to object space (i.e., target coordinate space), lightdirection. The above mul () function and the unit _ worldtobject are calculated in a conventional manner in the art, and will not be described herein again.
In a possible embodiment, an exemplary implementation manner of determining, for each pixel point to be rendered in the hair model, a sight vector corresponding to the pixel point in the target coordinate space according to the sight direction in the world space is as follows, where the step may include:
camera position coordinates of the camera position in the world space in the target coordinate space are determined.
The camera position in the world space can be obtained through _ WorldSpaceCameraPos (), and likewise, the camera position can be converted into the target coordinate space based on the conversion matrix, and the formula is as follows:
mul(unity_WorldToObject,float4(_WorldSpaceCameraPos.xyz,1))
the unit _ world object represents the conversion matrix corresponding to the conversion from the world space to the target coordinate space, and _ world space objects.
And for each pixel point, standardizing a vector obtained by subtracting the position coordinates of the pixel point from the position coordinates of the camera to obtain a vector, and taking the vector as a sight line vector corresponding to the pixel point.
By way of example, the direction of the camera position to the pixel point, i.e. the direction of the line of sight, can be determined by vector subtraction. The normalization process may be a normalization process, and accordingly, the sight line vector corresponding to the pixel point may be determined by the following formula:
viewDir_O=
normalize(mul(unity_WorldToObject,
float4(_WorldSpaceCameraPos.xyz,1)).xyz-v.vertex.xyz)
wherein v.vertex.xyz represents the position coordinates of a pixel vertex in the hair model v, and normaize is used to represent the vector normalization processing. The viewDir _ O is used for representing a sight line vector corresponding to the pixel point.
Therefore, by the technical scheme, the sight direction of each pixel point in the space corresponding to the hair model can be determined for each pixel point in the hair model, so that the representation of the hair model and the representation of the sight direction are converted into the same space, the influence of the sight direction on high light reflection is conveniently obtained based on the same space standard, and reliable data support is provided for subsequent high light texture sampling.
In a possible embodiment, the exemplary implementation manner of determining, for each of the pixel points, a texture offset of the pixel point in the highlight image in the vertical direction corresponding to the horizontal direction according to the light source vector and the sight line vector corresponding to the pixel point is as follows, and this step may include:
determining a light source component of the light source vector in the vertical direction.
And aiming at each pixel point, determining the sight line component of the sight line vector corresponding to the pixel point in the vertical direction.
As described above, in the present disclosure, when the light source direction or the visual line direction is changed, only the shift of the highlight shape in the vertical direction is affected, and therefore, only the components of the light source vector and the visual line vector in the vertical direction need to be determined in this embodiment. According to the target coordinate space corresponding to the hair model, the component in the vertical direction is the y component corresponding to the vector in the target coordinate space. Thus, in this embodiment, the y-component of the light source vector that can be determined is determined as the light source component, and the y-component of each line of sight vector is determined as the corresponding line of sight component.
And determining texture offset corresponding to the pixel points according to the light source components and the sight line components corresponding to the pixel points.
The light source component and the sight line component may be corresponding to a texture offset according to a preset corresponding relationship. As an example, for each pixel point, an average value of the light source component and the sight line component corresponding to the pixel point may be determined as a texture offset corresponding to the pixel point, that is:
speTexUVOffset=0.5*(lightDir_O.y+viewDir_O.y)
here, spetexvuvoffset represents a texture offset amount, lightDir _ O.y represents a light source component, and viewDir _ O.y represents a view component.
As another example, offset influence parameters of the light source direction and the line-of-sight direction on highlight position offset may be set according to an actual application scene, so that the light source component and the line-of-sight component may be weighted based on their corresponding offset influence parameters, respectively, to obtain corresponding texture offset.
Therefore, by means of the technical scheme, the deviation influence of the light source direction on the highlight position and the deviation influence of the sight line direction on the highlight position can be respectively determined, the direction and the deviation amount of the highlight which should be subjected to deviation under the current light source direction and the sight line direction are determined, the highlight shape is subjected to deviation and is matched with the sight line direction and the light source direction, the anisotropic effect is achieved based on the mode of controlling the highlight position, the accuracy of highlight rendering in the animation is improved, the highlight rendering process is simplified, and the highlight rendering efficiency is improved.
In a possible embodiment, the sampling from the highlight image according to the texture offset corresponding to each pixel point to render the pixel point, and an exemplary implementation manner of obtaining a rendered highlight rendered image may include:
and acquiring a basic texture coordinate value corresponding to each pixel point in the highlight image, wherein the basic texture coordinate value is a coordinate value corresponding to the light source vector and the sight line vector when the light source vector and the sight line vector are not offset.
The basic texture coordinate value corresponding to each pixel point in the highlight image may be obtained in advance, and may be, for example, a UV value obtained by sampling based on a texture sampler when y components of the light source vector and the sight line vector are determined to be 0.
And then, determining texture sampling coordinate values corresponding to the pixel points according to the texture offset and the basic texture coordinate values corresponding to each pixel point.
After the texture offset corresponding to the pixel point is determined, the offset can be performed on the basis of the basic texture coordinate value according to the texture offset, so as to control the offset of the highlight shape.
And then sampling texture color values corresponding to the texture sampling coordinate values from the highlight image to be used as color values corresponding to the pixel points.
After the texture sampling coordinate value corresponding to the pixel point is determined, sampling can be performed from the corresponding position in the highlight image based on the texture sampling coordinate value by the sampler, and the color value corresponding to the texture sampling coordinate value is obtained. The sampling mode of the sampler from the highlight image may be set based on an actual application scene, for example, a constant interpolation method, a linear interpolation method, or the like, which is not limited in this disclosure, deals with the situation of picture zooming in and zooming out.
And rendering the pixel points based on the color values corresponding to each pixel point to obtain the highlight rendering image.
Illustratively, as shown in fig. 4 and 5, the highlight rendering image obtained by rendering under different sight line directions and light source directions is obtained, wherein the positions of the highlight shapes G are different, and an anisotropic rendering effect is achieved.
From this, through above-mentioned technical scheme, can confirm the texture sampling coordinate value that the pixel carries out the sampling from the highlight image in the hair model based on the texture offset to obtain corresponding colour value from the highlight image and carry out the rendering to this pixel, to same pixel in the hair model, confirm the texture sampling coordinate value in the highlight image simultaneously in real time, make the rendering colour value that same pixel sampling obtained change, in order to reach hair model surface texture promptly the mobility of highlight shape, the rendering scene of laminating animation highlight.
In a possible embodiment, an exemplary implementation manner of determining the texture sampling coordinate value corresponding to the pixel point according to the texture offset corresponding to each pixel point and the base texture coordinate value is as follows, and the step may include:
and determining the sub-coordinate value of the basic texture coordinate value of each pixel point in the vertical direction. For example, the sub-coordinate value of the vertical direction may be a value of the V direction in the base texture coordinate value (UV coordinate).
And for each pixel point, taking a coordinate value obtained by subtracting the texture offset corresponding to the pixel point from the sub-coordinate value corresponding to the pixel point as an updated coordinate value in the vertical direction, and updating the sub-coordinate value corresponding to the pixel point into the updated coordinate value so as to obtain a texture sampling coordinate value corresponding to the pixel point.
As described above, in the embodiment of the present disclosure, since the shape of the highlight needs to be fixed, only the highlight is shifted in the vertical direction during the shift change of the highlight. Accordingly, when determining the texture sample coordinate value corresponding to the pixel point based on the texture offset, the texture offset also adjusts only the component in the vertical direction in the base texture coordinate value.
As an example, the sub-coordinate value in the vertical direction in the base texture coordinate value may be directly superimposed with the texture offset to realize the movement of the coordinate of the highlight in the vertical direction, and the updated coordinate value may replace the coordinate value in the vertical direction in the base texture coordinate value to generate the current corresponding texture sample coordinate value. Therefore, the color obtained by sampling based on the texture sampling coordinate value can be determined according to the real-time sight line direction and the light source direction, the colorable change of the same pixel point in the hair model is realized by adjusting the sampling texture coordinate value, and the highlight movement is controlled.
In a possible embodiment, another exemplary implementation manner of determining a texture sampling coordinate value corresponding to the pixel point according to the texture offset and the base texture coordinate value corresponding to each pixel point is as follows, and the step may include:
and determining a sub-coordinate value of the basic texture coordinate value of each pixel point in the vertical direction, wherein the sub-coordinate value in the vertical direction can be a value in the V direction in the basic texture coordinate value (UV coordinate).
And determining a target offset corresponding to the pixel point according to the texture offset corresponding to the pixel point and a preset offset adjustment parameter for each pixel point.
The preset offset adjustment parameter can be set according to an actual application scene. For example, the offset adjustment parameter may include an offset degree parameter and an offset position parameter, wherein the offset degree parameter controls the magnitude of the offset, and the offset position parameter is used to control the readjustment of the offset position, for example, the target offset amount is expressed as follows:
speTexUVOffset’=_DisScale*speTexUVOffset+_SpecularShift
wherein spetexvuvoffset' is used to indicate a target offset amount, _ dispale is used to indicate the offset parameter, spetexvufoffset is used to indicate a texture offset amount, and _ secularshift is used to indicate an offset position parameter.
And for each pixel point, taking a coordinate value obtained by subtracting a target offset corresponding to the pixel point from the sub-coordinate value corresponding to the pixel point as an updated coordinate value in the vertical direction, and updating the sub-coordinate value corresponding to the pixel point into the updated coordinate value so as to obtain a texture sampling coordinate value corresponding to the pixel point.
The manner of generating texture sampling coordinate values based on the basic texture coordinate values after the target offset is determined is similar to the above, and is not described herein again.
After the texture sample coordinate values are determined, sampling from the highlight image may be performed based on the texture sample coordinate values, and may be performed by, for example, the following algorithm:
specularTex=
SAMPLE_TEXTURE2D(_ShadingTex,sampler_ShadingTex,
i.uv.xy-float2(0,_DisScale*speTexUVOffset+_SpecularShift))
wherein, the TEXTURE sampling syntax SAMPLE _ text 2D (Tex, sampler _ Tex, UV), the parameters are TEXTURE (i.e. highlight image), TEXTURE sampler, UV (i.e. TEXTURE sampling coordinate value) corresponding to the sampling TEXTURE respectively,
xy represents a base texture coordinate value;
float2(0, _ display × spetexuvaffset + _ SpecularShift) represents the target shift amount, and only the shift in the vertical direction, that is, the V-direction shift, of the highlight is considered as described above, that is, the shift in the U-direction is 0.
Therefore, by the technical scheme, when the deviation of the highlight position is determined, the deviation position can be further controlled based on the deviation adjusting parameter, so that the deviation movement of the highlight is more suitable for the application rendering scene, the diversity of highlight rendering can be improved, and the application scene of the highlight rendering method can be further widened.
The present disclosure also provides a highlight rendering apparatus, as shown in fig. 6, the apparatus 10 includes:
an obtaining module 100, configured to obtain a highlight image to be rendered, where a highlight shape to be rendered is drawn in the highlight image;
the first processing module 200 is configured to determine a light source vector in a target coordinate space corresponding to the hair model according to a light source direction in a world space;
the second processing module 300 is configured to determine, for each pixel point to be rendered in the hair model, a sight vector corresponding to the pixel point in the target coordinate space according to a sight direction in a world space;
a determining module 400, configured to determine, for each pixel point, a texture offset of the pixel point in the highlight image in a vertical direction corresponding to the horizontal direction according to the light source vector and the sight line vector corresponding to the pixel point;
and a rendering module 500, configured to sample the highlight image according to the texture offset corresponding to each pixel point, so as to render the pixel point, and obtain a rendered highlight rendered image.
Optionally, the determining module includes:
a first determining submodule for determining a light source component of the light source vector in the vertical direction;
the second determining submodule is used for determining the sight line component of the sight line vector corresponding to each pixel point in the vertical direction aiming at each pixel point;
and the third determining submodule is used for determining the texture offset corresponding to the pixel points according to the light source components and the sight line components corresponding to the pixel points.
Optionally, the second processing module includes:
a fourth determining submodule, configured to determine a camera position coordinate of the camera position in the world space in the target coordinate space;
and the processing submodule is used for standardizing a vector obtained by subtracting the position coordinates of the pixel points from the position coordinates of the camera for each pixel point, and then taking the vector as a sight line vector corresponding to the pixel point.
Optionally, the rendering module comprises:
the obtaining submodule is used for obtaining a basic texture coordinate value corresponding to each pixel point in the highlight image, wherein the basic texture coordinate value is a coordinate value corresponding to the light source vector and the sight line vector when the light source vector and the sight line vector do not deviate;
a fifth determining submodule, configured to determine a texture sampling coordinate value corresponding to each pixel point according to the texture offset corresponding to each pixel point and the basic texture coordinate value;
the sampling submodule is used for sampling texture color values corresponding to the texture sampling coordinate values from the highlight image to be used as color values corresponding to the pixel points;
and the rendering submodule is used for rendering the pixel points based on the color values corresponding to each pixel point to obtain the highlight rendering image.
Optionally, the fifth determining sub-module includes:
a sixth determining submodule, configured to determine a sub-coordinate value of the basic texture coordinate value of each pixel point in the vertical direction;
and a seventh determining submodule, configured to, for each pixel point, use a coordinate value obtained by subtracting, from the sub-coordinate value corresponding to the pixel point, a texture offset corresponding to the pixel point as an updated coordinate value in the vertical direction, and update the sub-coordinate value corresponding to the pixel point to the updated coordinate value, so as to obtain a texture sampling coordinate value corresponding to the pixel point.
Optionally, the fifth determining sub-module includes:
an eighth determining submodule, configured to determine a sub-coordinate value of the basic texture coordinate value of each pixel point in the vertical direction;
a ninth determining submodule, configured to determine, for each pixel point, a target offset corresponding to the pixel point according to a texture offset corresponding to the pixel point and a preset offset adjustment parameter;
and a tenth determining submodule, configured to, for each pixel point, use a coordinate value obtained by subtracting a target offset corresponding to the pixel point from the sub-coordinate value corresponding to the pixel point as an updated coordinate value in the vertical direction, and update the sub-coordinate value corresponding to the pixel point to the updated coordinate value, so as to obtain a texture sampling coordinate value corresponding to the pixel point.
Referring now to FIG. 7, a block diagram of an electronic device 600 suitable for use in implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 7, electronic device 600 may include a processing means (e.g., central processing unit, graphics processor, etc.) 601 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 7 illustrates an electronic device 600 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 609, or may be installed from the storage means 608, or may be installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring a highlight image to be rendered, wherein a highlight shape to be rendered is drawn in the highlight image; determining a light source vector in a target coordinate space corresponding to the hair model according to the light source direction in the world space; aiming at each pixel point to be rendered in the hair model, determining a sight vector corresponding to the pixel point in the target coordinate space according to the sight direction in the world space; for each pixel point, determining texture offset of the pixel point in the highlight image in the vertical direction corresponding to the horizontal direction according to the light source vector and the sight line vector corresponding to the pixel point; sampling is carried out on the highlight image according to the texture offset corresponding to each pixel point so as to render the pixel points and obtain a rendered highlight rendering image.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present disclosure may be implemented by software or hardware. The name of the module does not in some cases constitute a limitation of the module itself, and for example, the acquiring module may also be described as a "module that acquires highlight images to be rendered".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
In accordance with one or more embodiments of the present disclosure, example 1 provides a highlight rendering method, wherein the method includes:
acquiring a highlight image to be rendered, wherein a highlight shape to be rendered is drawn in the highlight image;
determining a light source vector in a target coordinate space corresponding to the hair model according to the light source direction in the world space;
aiming at each pixel point to be rendered in the hair model, determining a sight vector corresponding to the pixel point in the target coordinate space according to the sight direction in the world space;
for each pixel point, determining texture offset of the pixel point in the highlight image in the vertical direction corresponding to the horizontal direction according to the light source vector and the sight line vector corresponding to the pixel point;
sampling is carried out on the highlight image according to the texture offset corresponding to each pixel point so as to render the pixel points and obtain a rendered highlight rendering image.
Example 2 provides the method of example 1, wherein the determining, for each of the pixel points, a texture offset of the pixel point in a vertical direction corresponding to a horizontal direction in the highlight image according to the light source vector and a line-of-sight vector corresponding to the pixel point includes:
determining a light source component of the light source vector in the vertical direction;
aiming at each pixel point, determining the sight line component of the sight line vector corresponding to the pixel point in the vertical direction;
and determining texture offset corresponding to the pixel points according to the light source components and the sight line components corresponding to the pixel points.
Example 3 provides the method of example 1, wherein, for each pixel point to be rendered in the hair model, determining, according to a gaze direction in a world space, a gaze vector corresponding to the pixel point in the target coordinate space, includes:
determining camera position coordinates of the camera position in the world space in the target coordinate space;
and for each pixel point, normalizing a vector obtained by subtracting the position coordinate of the pixel point from the camera position coordinate to obtain a vector, and taking the vector as a sight line vector corresponding to the pixel point.
Example 4 provides the method of example 1, wherein the sampling from the highlight image according to the texture offset corresponding to each pixel point to render the pixel point, and obtaining a rendered highlight rendered image includes:
acquiring a basic texture coordinate value corresponding to each pixel point in the highlight image, wherein the basic texture coordinate value is a coordinate value corresponding to the light source vector and the sight line vector when the light source vector and the sight line vector are not offset;
determining texture sampling coordinate values corresponding to the pixel points according to the texture offset and the basic texture coordinate values corresponding to each pixel point;
sampling texture color values corresponding to the texture sampling coordinate values from the highlight image to serve as color values corresponding to the pixel points;
and rendering the pixel points based on the color values corresponding to each pixel point to obtain the highlight rendering image.
Example 5 provides the method of example 4, wherein the determining, according to the texture offset and the base texture coordinate value corresponding to each pixel point, a texture sampling coordinate value corresponding to the pixel point includes:
determining a sub-coordinate value of the basic texture coordinate value of each pixel point in the vertical direction;
and for each pixel point, taking a coordinate value obtained by subtracting the texture offset corresponding to the pixel point from the sub-coordinate value corresponding to the pixel point as an updated coordinate value in the vertical direction, and updating the sub-coordinate value corresponding to the pixel point into the updated coordinate value so as to obtain a texture sampling coordinate value corresponding to the pixel point.
Example 6 provides the method of example 4, wherein the determining, according to the texture offset and the base texture coordinate value corresponding to each pixel point, a texture sampling coordinate value corresponding to the pixel point includes:
determining a sub-coordinate value of the basic texture coordinate value of each pixel point in the vertical direction;
for each pixel point, determining a target offset corresponding to the pixel point according to a texture offset corresponding to the pixel point and a preset offset adjustment parameter;
and for each pixel point, taking a coordinate value obtained by subtracting a target offset corresponding to the pixel point from the sub-coordinate value corresponding to the pixel point as an updated coordinate value in the vertical direction, and updating the sub-coordinate value corresponding to the pixel point into the updated coordinate value so as to obtain a texture sampling coordinate value corresponding to the pixel point.
Example 7 provides a highlight rendering apparatus, according to one or more embodiments of the present disclosure, wherein the apparatus comprises:
the system comprises an acquisition module, a rendering module and a rendering module, wherein the acquisition module is used for acquiring a highlight image to be rendered, and a highlight shape to be rendered is drawn in the highlight image;
the first processing module is used for determining a light source vector in a target coordinate space corresponding to the hair model according to the light source direction in the world space;
the second processing module is used for determining a sight vector corresponding to each pixel point to be rendered in the hair model according to the sight direction in the world space;
the determining module is used for determining texture offset of each pixel point in the highlight image in the vertical direction corresponding to the horizontal direction according to the light source vector and the sight line vector corresponding to the pixel point;
and the rendering module is used for sampling from the highlight image according to the texture offset corresponding to each pixel point so as to render the pixel points and obtain a rendered highlight rendering image.
Example 8 provides the apparatus of example 7, wherein the determining module comprises:
a first determining submodule for determining a light source component of the light source vector in the vertical direction;
the second determining submodule is used for determining the sight line component of the sight line vector corresponding to each pixel point in the vertical direction aiming at each pixel point;
and the third determining submodule is used for determining the texture offset corresponding to the pixel points according to the light source components and the sight line components corresponding to the pixel points.
Example 9 provides a computer readable medium having stored thereon a computer program that, when executed by a processing apparatus, performs the steps of the method of any of examples 1-6, in accordance with one or more embodiments of the present disclosure.
Example 10 provides, in accordance with one or more embodiments of the present disclosure, an electronic device, comprising:
a storage device having a computer program stored thereon;
processing means for executing the computer program in the storage means to carry out the steps of the method of any of examples 1-6.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims. With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.

Claims (10)

1. A highlight rendering method, the method comprising:
acquiring a highlight image to be rendered, wherein a highlight shape to be rendered is drawn in the highlight image;
determining a light source vector in a target coordinate space corresponding to the hair model according to the light source direction in the world space;
aiming at each pixel point to be rendered in the hair model, determining a sight vector corresponding to the pixel point in the target coordinate space according to the sight direction in the world space;
for each pixel point, determining texture offset of the pixel point in the highlight image in the vertical direction corresponding to the horizontal direction according to the light source vector and the sight line vector corresponding to the pixel point;
sampling is carried out on the highlight image according to the texture offset corresponding to each pixel point so as to render the pixel points and obtain a rendered highlight rendering image.
2. The method of claim 1, wherein the determining, for each of the pixel points, a texture offset of the pixel point in a vertical direction corresponding to a horizontal direction in the highlight image according to the light source vector and a line-of-sight vector corresponding to the pixel point comprises:
determining a light source component of the light source vector in the vertical direction;
aiming at each pixel point, determining the sight line component of the sight line vector corresponding to the pixel point in the vertical direction;
and determining texture offset corresponding to the pixel points according to the light source components and the sight line components corresponding to the pixel points.
3. The method according to claim 1, wherein the determining, for each pixel point to be rendered in the hair model, a sight vector corresponding to the pixel point in the target coordinate space according to a sight direction in a world space includes:
determining camera position coordinates of the camera position in the world space in the target coordinate space;
and for each pixel point, normalizing a vector obtained by subtracting the position coordinate of the pixel point from the camera position coordinate to obtain a vector, and taking the vector as a sight line vector corresponding to the pixel point.
4. The method of claim 1, wherein the sampling from the highlight image according to the texture offset corresponding to each pixel point to render the pixel points to obtain a rendered highlight rendered image comprises:
acquiring a basic texture coordinate value corresponding to each pixel point in the highlight image, wherein the basic texture coordinate value is a coordinate value corresponding to the light source vector and the sight line vector when the light source vector and the sight line vector are not offset;
determining texture sampling coordinate values corresponding to the pixel points according to the texture offset and the basic texture coordinate values corresponding to each pixel point;
sampling texture color values corresponding to the texture sampling coordinate values from the highlight image to serve as color values corresponding to the pixel points;
and rendering the pixel points based on the color values corresponding to each pixel point to obtain the highlight rendering image.
5. The method according to claim 4, wherein determining texture sampling coordinate values corresponding to the pixel points according to the texture offset and the base texture coordinate values corresponding to each pixel point comprises:
determining a sub-coordinate value of the basic texture coordinate value of each pixel point in the vertical direction;
and for each pixel point, taking a coordinate value obtained by subtracting the texture offset corresponding to the pixel point from the sub-coordinate value corresponding to the pixel point as an updated coordinate value in the vertical direction, and updating the sub-coordinate value corresponding to the pixel point into the updated coordinate value so as to obtain a texture sampling coordinate value corresponding to the pixel point.
6. The method according to claim 4, wherein determining texture sampling coordinate values corresponding to the pixel points according to the texture offset and the base texture coordinate values corresponding to each pixel point comprises:
determining a sub-coordinate value of the basic texture coordinate value of each pixel point in the vertical direction;
for each pixel point, determining a target offset corresponding to the pixel point according to a texture offset corresponding to the pixel point and a preset offset adjustment parameter;
and for each pixel point, taking a coordinate value obtained by subtracting a target offset corresponding to the pixel point from the sub-coordinate value corresponding to the pixel point as an updated coordinate value in the vertical direction, and updating the sub-coordinate value corresponding to the pixel point into the updated coordinate value so as to obtain a texture sampling coordinate value corresponding to the pixel point.
7. A highlight rendering apparatus, characterized in that the apparatus comprises:
the system comprises an acquisition module, a rendering module and a rendering module, wherein the acquisition module is used for acquiring a highlight image to be rendered, and a highlight shape to be rendered is drawn in the highlight image;
the first processing module is used for determining a light source vector in a target coordinate space corresponding to the hair model according to the light source direction in the world space;
the second processing module is used for determining a sight vector corresponding to each pixel point to be rendered in the hair model according to the sight direction in the world space;
the determining module is used for determining the texture offset of each pixel point in the highlight image in the vertical direction corresponding to the horizontal direction according to the light source vector and the sight line vector corresponding to the pixel point;
and the rendering module is used for sampling from the highlight image according to the texture offset corresponding to each pixel point so as to render the pixel points and obtain a rendered highlight rendering image.
8. The apparatus of claim 7, wherein the determining module comprises:
a first determining submodule for determining a light source component of the light source vector in the vertical direction;
the second determining submodule is used for determining the sight line component of the sight line vector corresponding to each pixel point in the vertical direction aiming at each pixel point;
and the third determining submodule is used for determining the texture offset corresponding to the pixel points according to the light source components and the sight line components corresponding to the pixel points.
9. A computer-readable medium, on which a computer program is stored, characterized in that the program, when being executed by processing means, carries out the steps of the method of any one of claims 1 to 6.
10. An electronic device, comprising:
a storage device having a computer program stored thereon;
processing means for executing the computer program in the storage means to carry out the steps of the method according to any one of claims 1 to 6.
CN202210386625.0A 2022-04-13 2022-04-13 Highlight rendering method, highlight rendering device, highlight rendering medium and electronic equipment Pending CN114693860A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210386625.0A CN114693860A (en) 2022-04-13 2022-04-13 Highlight rendering method, highlight rendering device, highlight rendering medium and electronic equipment
PCT/CN2023/084540 WO2023197860A1 (en) 2022-04-13 2023-03-28 Highlight rendering method and apparatus, medium, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210386625.0A CN114693860A (en) 2022-04-13 2022-04-13 Highlight rendering method, highlight rendering device, highlight rendering medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN114693860A true CN114693860A (en) 2022-07-01

Family

ID=82142686

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210386625.0A Pending CN114693860A (en) 2022-04-13 2022-04-13 Highlight rendering method, highlight rendering device, highlight rendering medium and electronic equipment

Country Status (2)

Country Link
CN (1) CN114693860A (en)
WO (1) WO2023197860A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023197860A1 (en) * 2022-04-13 2023-10-19 北京字跳网络技术有限公司 Highlight rendering method and apparatus, medium, and electronic device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019050808A1 (en) * 2017-09-08 2019-03-14 Pinscreen, Inc. Avatar digitization from a single image for real-time rendering
CN108470369B (en) * 2018-03-26 2022-03-15 城市生活(北京)资讯有限公司 Water surface rendering method and device
CN113763526B (en) * 2020-06-01 2023-10-03 上海米哈游天命科技有限公司 Hair highlight rendering method, device, equipment and storage medium
CN113379885B (en) * 2021-06-22 2023-08-22 网易(杭州)网络有限公司 Virtual hair processing method and device, readable storage medium and electronic equipment
CN114693860A (en) * 2022-04-13 2022-07-01 北京字跳网络技术有限公司 Highlight rendering method, highlight rendering device, highlight rendering medium and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023197860A1 (en) * 2022-04-13 2023-10-19 北京字跳网络技术有限公司 Highlight rendering method and apparatus, medium, and electronic device

Also Published As

Publication number Publication date
WO2023197860A1 (en) 2023-10-19

Similar Documents

Publication Publication Date Title
CN111242881B (en) Method, device, storage medium and electronic equipment for displaying special effects
CN111243049B (en) Face image processing method and device, readable medium and electronic equipment
CN110825286B (en) Image processing method and device and electronic equipment
CN110728622B (en) Fisheye image processing method, device, electronic equipment and computer readable medium
CN114782613A (en) Image rendering method, device and equipment and storage medium
CN115063335A (en) Generation method, device and equipment of special effect graph and storage medium
CN115979164A (en) Scanning processing method, device, equipment and medium
CN114900625A (en) Subtitle rendering method, device, equipment and medium for virtual reality space
WO2023197860A1 (en) Highlight rendering method and apparatus, medium, and electronic device
WO2024131503A1 (en) Special-effect image generation method and apparatus, and device and storage medium
CN114742856A (en) Video processing method, device, equipment and medium
CN111915532B (en) Image tracking method and device, electronic equipment and computer readable medium
CN113766293B (en) Information display method, device, terminal and storage medium
CN110399802B (en) Method, apparatus, medium, and electronic device for processing eye brightness of face image
CN112258622A (en) Image processing method, image processing device, readable medium and electronic equipment
CN112700385A (en) Image processing method, image processing device, electronic equipment and storage medium
CN115170714A (en) Scanned image rendering method and device, electronic equipment and storage medium
CN116342785A (en) Image processing method, device, equipment and medium
CN114723600A (en) Method, device, equipment, storage medium and program product for generating cosmetic special effect
CN111651230B (en) Thermodynamic diagram generation method and device, electronic equipment and storage medium
CN115272060A (en) Transition special effect diagram generation method, device, equipment and storage medium
CN112070888B (en) Image generation method, device, equipment and computer readable medium
CN113066166A (en) Image processing method and device and electronic equipment
CN116527993A (en) Video processing method, apparatus, electronic device, storage medium and program product
CN110807114B (en) Method, device, terminal and storage medium for picture display

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