Role skin drawing method and system and electronic equipment

A character and skin technology, applied in the field of game rendering, can solve problems such as game scene display lag, achieve the effects of optimizing performance and game effect performance, optimizing rendering scenes, and reducing occupancy

Pending Publication Date: 2022-02-15
广州三七极耀网络科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] To this end, the embodiments of the present application provide a character skin drawing method, system, and electronic device, which can solve the technical problem that the game scene display tends to lag when the character skin is rendered. The specific technical solutions are as follows:

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
  • Role skin drawing method and system and electronic equipment
  • Role skin drawing method and system and electronic equipment
  • Role skin drawing method and system and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] refer to figure 1 , in one embodiment of the present application, a character skin drawing method is provided, the main steps of the method are described as follows:

[0050] S0: After the character is drawn, use the Command Buffer to draw the character's skin area again. The redrawing includes: superimposing the subsurface scattering effect on the drawn character's skin area.

[0051] Subsurface Scattering (Subsurface Scattering) referred to as 3S is a phenomenon in which light enters a non-metallic material and then undergoes subsurface scattering, and finally exits the object and enters the field of view. The process of ray transfer from other vertices on the surface of the object. Specifically, Command Buffer is a command buffer. Command Buffer carries a series of rendering commands and depends on the camera to expand the rendering effect of the rendering pipeline. Command Buffer can be used in a certain stage of camera rendering, and then execute its own additiona...

Embodiment 2

[0102] The difference between this implementation and the first embodiment lies in the specific implementation of using the Command Buffer to draw the character skin area again.

[0103] refer to Figure 7 , in this embodiment, use the Command Buffer to draw the character skin area again, specifically:

[0104] S1: Set multiple Command Buffers, and use multiple Command Buffers to calculate the subsurface scattering calculation of multiple characters in parallel.

[0105] In the process of rendering the actual game scene, after the characters are drawn, parallel Command Buffer is used to render the skins of multiple game characters at the same time. For the overall scene rendering effect, the rendering effect is better, and the skin effects of each character in the scene are simultaneously rendered. Rendering, reducing the situation where the rendering of the scene image is not synchronized, which causes the partial delay of the rendering of the image.

[0106] Specifically, ...

Embodiment 3

[0116] The difference between this implementation and the first embodiment lies in the specific implementation of using the Command Buffer to draw the character skin area again.

[0117] refer to Figure 8 , in this embodiment, the specific implementation of using the Command Buffer to draw the character skin area again is as follows:

[0118] S11: Obtain the current GPU available memory;

[0119] S12: If the current available memory of the GPU is lower than the memory required for subsurface scattering of all current character skin areas, sequentially use Command Buffer to calculate the subsurface scattering calculation of the character skin;

[0120] S13: If the available memory of the current GPU is sufficient, set multiple Command Buffers, and use multiple Command Buffers to calculate the subsurface scattering of multiple characters in parallel.

[0121] When the available memory of the current GPU is lower than the memory required for subsurface scattering in the skin 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 role skin drawing method and system and electronic equipment, and relates to the technical field of game rendering. The method comprises the following steps: after role drawing is completed, a Command Buffer is used for redrawing a role skin area , and redrawing comprises the step that the subsurface scattering effect is overlaid on the drawn role skin area. According to the method and the device, the technical problem that game scene display is easy to delay during role skin rendering is solved.

Description

technical field [0001] The present application relates to the technical field of game rendering, in particular to a character skin rendering method, system, and electronic equipment. Background technique [0002] At present, in the skin rendering of game characters, the core content is skin subsurface scattering, and in order to achieve this, the currently more popular methods are roughly divided into two categories: 1. Screen space-based subsurface scattering; 2. Based on Calculus' PreIntegrate rendering technique. [0003] The screen space method is similar to the image space method, except that the output position when calculating irradiance is not the UV coordinates but the projected coordinates of the model. In addition, it is necessary to mark the pixels of the material belonging to the skin in the screen space with stencilbuffer, and then mark out Several convolution operations are performed on the skin material, the weight of the convolution kernel is determined by ...

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): A63F13/52G06T1/20
CPCA63F13/52G06T1/20A63F2300/308A63F2300/66
Inventor 刘舟张阳黄云龙
Owner 广州三七极耀网络科技有限公司
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