Hair processing method and system for game role

A technology of game characters and processing methods, applied in indoor games, video games, image data processing and other directions, can solve the problems of unrealistic hair rendering and hair cannot show light and shadow effects, saving performance consumption, and achieving realistic and delicate highlight performance. Effect

Active Publication Date: 2017-06-09
ZHUHAI KINGSOFT ONLINE GAME TECH CO LTD +1
View PDF13 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] (2) Due to performance considerations in mobile games, real-time light is often not added but lightmaps are baked. This method makes hair unable to show the light and shadow effects under real lighting, making hair rendering unsatisfactory. how real
Even if the real-time pixel light is added, in most cases the light source is used to illuminate the scene objects, and the light source is set as a fixed light source. In this way, the light source with a fixed direction reflects the hair and the highlight effect rendered may not be what we want. to see
[0008] (3) The hair tends to be mostly opaque and a little transparent. The end of the hair should be processed in a translucent and mixed way to achieve a more realistic and realistic effect. However, the old solution did not do any processing on this layer

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 processing method and system for game role
  • Hair processing method and system for game role
  • Hair processing method and system for game role

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments. The hair treatment method and system of the game characters of the present invention are suitable for the development of game animation images.

[0028] figure 2 Shown is an overall structural diagram according to an embodiment of the present invention.

[0029] Part 1: Character hair rendering preparation. The details are shown in (1)-(2) below, including:

[0030] (1) The color of the character's hair itself and information related to light and shade are drawn into the diffuse reflection map for each pixel. Considering the high consumption of real-time light performance, a false light is added to the shader (shader) to act as a real light source, and the color of light (_LightColor), the direction vector of light (_LightDir) and the intensity ...

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 provides a hair processing method and system for a game role. The method comprises: a simulated light source is established, an own color of a hair model and light and dark information are drawn at a diffuse map, and a high-light map of the hair model is superposed with the simulated light source; a transparent part and a non-transparent part of the obtained hair model are rendered by using dual channels; and interspersed processing including mesh segmentation execution is carried out on the rendered hair model and dynamic rendering of the hair model is carried out. The hair processing method and system have the following beneficial effects: the hair expression effect becomes vivid with good layering effect; performance consumption caused by a real light source can be reduced and a specific light source effect can be processed, so that the high light expression becomes vivid in detail; because of semi-transparent mixing, high-efficiency processing of rendering and interspersed processing is realized; and the interspersed problem caused by semi-transparent mixing can be solved and real-time triangular sorting can be avoided, and a hair rendering interspersing problem can be solved efficiently.

Description

technical field [0001] The invention relates to a hair treatment method and system for game characters, belonging to the field of computers. Background technique [0002] With the improvement of game quality requirements, the realistic rendering effect of character hair will be able to highlight the real hair effect of the character model, making the character rendering more vivid and lifelike. Generally, games use the simplest diffuse reflection map plus specular map processing technology to process the hair of characters. [0003] The basic flow chart of the technology of using diffuse reflection plus highlight channel is as follows, please refer to figure 1 : [0004] The diffuse channel uses the dot product of the incident ray and the normal to calculate the diffuse color, and the specular channel uses the dot product of the half-angle vector (the median of the incident ray and line of sight) and the normal to calculate the specular highlight of the object. [0005] I...

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/50G06T13/40A63F13/60
CPCA63F13/60G06T13/40G06T15/50
Inventor 陈镇秋陈汉辉李茂
Owner ZHUHAI KINGSOFT ONLINE GAME TECH 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