Virtual model rendering method and device

A technology of virtual model and lighting direction, applied in the field of games, can solve the problems of difficult control, consume a lot of time, and difficult to control the integrity of the shadow, and achieve the effect of improving the overall self-shadowing and improving the effect.

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

AI Technical Summary

Problems solved by technology

[0004] However, vertex color shadows and map shadows require more experienced artists to draw, and vertex color shadows also have certain r

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 model rendering method and device
  • Virtual model rendering method and device
  • Virtual model rendering method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. Apparently, the described embodiments are some, but not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0047] In Non-Photorealistic Rendering (NRP), it is necessary to describe the self-projection of the virtual model and the shadow of the object more carefully. However, in the engine based on Physically-Based-Rendering (PBR), Since more lighting will lead to weakened shadows, it is difficult to realize the self-projection of the virtual model and the depiction of object shadows through lighting. Therefore, it is necessary to add an...

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 embodiment of the invention provides a virtual model rendering method and device, and the method comprises the steps: baking a virtual model in a plurality of illumination directions, and obtaining a plurality of shadow maps, wherein the shadow maps at least comprise the shadow information of the virtual model in the corresponding illumination direction; synthesizing the plurality of shadow maps to obtain static shadow information of the virtual model; obtaining dynamic shadow information of the virtual model in operation of the game engine in real time; super-positing on the static shadow information and the dynamic shadow information to obtain target shadow information; and rendering the virtual model based on the target shadow information. According to the embodiment of the invention, the invention achieves the quick synthesis of the static shadow, combines the static shadow with the dynamic shadow, and improves the overall self-shadow effect of the virtual model.

Description

technical field [0001] The invention relates to the technical field of games, in particular to a method and device for rendering a virtual model. Background technique [0002] With the continuous development of computer technology, 3D games on mobile terminals have become the mainstream of the market. Generally, in the game scene, the object in the scene is shadowed and optimized to improve the quality of the game picture. [0003] Vertex color shadows and map shadows are relatively common fixed shadow schemes. When making a model, the shaded area is written into the vertex color or texture by drawing. When rendering the model, the vertex color of the model is read or the texture is sampled. value to calculate whether the current area is a shaded area. [0004] However, vertex color shadows and map shadows require more experienced artists to draw, and vertex color shadows also have certain requirements on the wiring of the model. It is difficult to control the integrity of...

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
IPC IPC(8): G06T15/60G06T15/80
CPCG06T15/60G06T15/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