Unlock instant, AI-driven research and patent intelligence for your innovation.

Hair color rendering method and device, electronic equipment and storage medium

A hair color and hair silk technology, which is applied in the computer field, can solve problems such as unraveling of hair, large dynamic loss of hair, and unrealistic effects, etc., to achieve the effect of improving visual experience, improving display effect, and reducing dynamic loss

Active Publication Date: 2021-03-09
SHANGHAI MIHOYO TIANMING TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The currently widely used Mesh-based stylized rendering method does not require high simulation calculations, and can quickly determine the shape of hair, but the dynamic loss of hair will be relatively large, and it cannot be spread out like real hair. not true
However, if real hair is used, although some complex drifting effects can be produced, the rendering cannot meet the needs of stylized rendering

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Hair color rendering method and device, electronic equipment and storage medium
  • Hair color rendering method and device, electronic equipment and storage medium
  • Hair color rendering method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] figure 1 It is a schematic flow chart of a hair color rendering method provided by Embodiment 1 of the present invention. This embodiment is applicable to aligning the reference hair and each hair to be rendered, and based on the alignment of each to be rendered hair and the reference hair In relation to the situation of performing color rendering on the hair strands to be rendered, the method can be performed by a hair color rendering device, and the device can be realized by hardware and / or software. The method specifically includes the following steps:

[0033] S110. Determine the reference hair of the current object and the hair to be rendered, and determine the direction of the current hair based on the vertex coordinates of the reference hair.

[0034] Wherein, the current object refers to a target object that requires hair color rendering, such as a 3D animation character, a cartoon image, a 3D animal, a 3D character, or an image character. Hair color rendering ...

Embodiment 2

[0058] Figure 6 It is a schematic flow chart of a hair color rendering method provided by Embodiment 2 of the present invention. On the basis of the above-mentioned embodiments, this embodiment "based on the measurement coordinates in the direction of the current hair to measure the reference hair in the bounding box and Align each strand to be rendered" has been further optimized. The explanations of terms that are the same as or corresponding to the above-mentioned embodiments will not be repeated here.

[0059] see Figure 6 , the hair color rendering method provided in this embodiment includes the following steps:

[0060] S610. Determine the reference hair of the current object and the hair to be rendered, and determine the direction of the current hair based on the vertex coordinates of the reference hair.

[0061] S620. Create a bounding box containing each hair wire to be rendered according to the current hair wire direction and the coordinates of each hair wire to...

Embodiment 3

[0077] Figure 7 It is a schematic structural diagram of a hair color rendering device provided by Embodiment 3 of the present invention. This embodiment is applicable to aligning the reference hair and each hair to be rendered, and based on the alignment of each to be rendered hair and the reference hair In relation to the situation of performing color rendering on each hair strand to be rendered, the device specifically includes: a determination module 710 , a creation module 720 , an alignment module 730 and a rendering module 740 .

[0078] A determining module 710, configured to determine the reference hair of the current object and the hair to be rendered, and determine the direction of the current hair based on the vertex coordinates of the reference hair;

[0079] The creation module 720 is used to create a bounding box containing each hair wire to be rendered according to the current hair wire direction and the coordinates of each hair wire to be rendered;

[0080] A...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a hair color rendering method and device, electronic equipment and a storage medium. The method comprises the following steps: determining a reference hairline and hairlines tobe rendered of a current object, determining a current hairline direction based on vertex coordinates of the reference hairline, and creating a bounding box containing the hairlines to be rendered according to the current hairline direction and coordinates of the hairlines to be rendered, thereby determining the bounding box containing the hairlines to be rendered; and aligning the reference hairline in the bounding box with each to-be-rendered hairline based on the measurement coordinates in the current hairline direction, and performing color rendering on each to-be-rendered hairline according to the color of the reference hairline and the alignment relationship between each to-be-rendered hairline and the reference hairline, thereby realizing hair color rendering based on the hairline.Therefore, the dynamic loss of the hair is reduced while the artistic style of the hair is controlled, the display effect of the hair is improved, and the visual experience of the user is further improved.

Description

technical field [0001] The embodiments of the present invention relate to the field of computer technology, and in particular, to a hair color rendering method, device, electronic equipment, and storage medium. Background technique [0002] Currently, all stylized hair on the market is rendered based on Mesh. The so-called stylized rendering is basically the category of partial cartoon rendering. Compared with the fully realistic hair rendering, it needs to control the overall color of the hair, the position and shape of the highlight area, and the art needs more free control. The currently widely used Mesh-based stylized rendering method does not require high simulation calculations, and can quickly determine the shape of hair, but the dynamic loss of hair will be relatively large, and it cannot be spread out like real hair. unreal. However, if real hair is used, although some complex floating effects can be produced, the rendering cannot meet the needs of stylized render...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06T15/00
CPCG06T15/00
Inventor 杨帆史文浩
Owner SHANGHAI MIHOYO TIANMING TECH CO LTD