Virtual hair treatment method and device, terminal equipment and readable storage medium

A hair processing and hair technology, applied in the field of image rendering, can solve the problems of poor highlight effect, low brightness, and too small highlight area of ​​geometric hair, and achieve the effect of simple and fast highlight brightness, wide application range, and good highlight effect

Pending Publication Date: 2022-04-15
NETEASE (HANGZHOU) NETWORK CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a virtual hair processing method, device, terminal equipment and readable storage medium to solve the problem of poor highlight effect of geometric hair produced by the existing offline renderer, for example, the highlight area is too small, the brightness is low, and the edge is too blurred , blunt, the effect is not realistic enough, etc.

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
  • Virtual hair treatment method and device, terminal equipment and readable storage medium
  • Virtual hair treatment method and device, terminal equipment and readable storage medium
  • Virtual hair treatment method and device, terminal equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0084] In order to make the purpose, advantages and features of the present invention more clear, the virtual hair processing method, device, terminal equipment and computer-readable storage medium proposed by the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. However, the present invention can be implemented in many other ways different from those described here, and those skilled in the art can make similar extensions without violating the connotation of the present invention, so the present invention is not limited by the specific embodiments disclosed below.

[0085] It should be noted that in the description of the present application, terms such as "first" and "second" are used for description purposes only, and should not be understood as indicating...

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 relates to the field of image rendering, and provides a virtual hair processing method and device, terminal equipment and a readable storage medium. The method comprises the following steps: acquiring world position coordinates of a coloring point on virtual hair, a light source position and a sight line position; determining an illumination direction vector and a line-of-sight direction vector of the coloring point; calculating a half-angle direction vector of an included angle between the illumination direction and the sight line direction; calculating the differential of the world position coordinate of the coloring point in the V direction in the UV coordinate system to obtain a similar tangent direction vector of the coloring point; according to a dot product operation result of the tangent-like direction vector and the half-angle direction vector, the highlight brightness of the coloring point is determined; and rendering the virtual hair according to the highlight brightness. According to the method, the differential of the world position coordinate of the coloring point in the V direction in the UV coordinate system is used for replacing the tangential direction vector of the coloring point, so that the highlight brightness is simply and quickly obtained, and a better highlight effect can be obtained by processing virtual hair.

Description

technical field [0001] The invention relates to the field of image rendering, in particular to a virtual hair processing method. The present invention also relates to a virtual hair processing device, a terminal device and a computer-readable storage medium. Background technique [0002] When making the hair of game characters, usually such as figure 1 geometry hair as shown instead of figure 2 Realistic hair strands shown, this improves the rendering speed of the game. [0003] At present, some common offline renderers, such as Arnold renderer, its default shader can only produce effects for real hair, which is very unfriendly to geometric hair, and it is almost impossible to match the highlight effect of hair in the game, while using other materials The hair highlight effect produced by the ball is also not ideal. Contents of the invention [0004] The present invention provides a virtual hair processing method, device, terminal equipment and readable storage medium...

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): G06T13/40G06T15/80
CPCG06T13/40G06T15/80
Inventor 程顺
Owner NETEASE (HANGZHOU) NETWORK CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products