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

Image rendering method and related device

An image rendering and mapping technology, applied in the field of image rendering, can solve the problems of affecting shadow rendering efficiency, affecting shadow rendering effect, edge aliasing, etc., to achieve the effect of improving image rendering effect, ensuring clarity, and avoiding edge aliasing

Active Publication Date: 2022-04-08
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the complexity of the scene is high, that is, when there are a large number of objects and light sources, if the shadow calculation of the entire scene is performed for the light sources one by one, it will cause a huge amount of calculation and affect the rendering efficiency of the shadow; if partial sampling is used for shadow calculation, then It is easy to produce edge aliasing, which affects the rendering effect of shadows

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
  • Image rendering method and related device
  • Image rendering method and related device
  • Image rendering method and related device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0093] The embodiment of the present application provides an image rendering method and a related device, which can be applied to a system or program including an image rendering function in a terminal device, by obtaining the first shadow map and the second shadow map of the target virtual object, wherein, The resolution of the first shadow map is smaller than the resolution of the second shadow map; then determine the range of the first texel and the center point of each texel in the first shadow map; and based on the center point, apply the scaling factor to the first texel The range is scaled to obtain a second texel range, and then the second texel range is rendered as a second shadow map, so as to perform shadow rendering on the target virtual object. In this way, the image rendering process based on the shadow map is realized. Since the calculation of the position of the map through the low-resolution map is small, the efficiency of image rendering is improved; then the ...

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 present application discloses an image rendering method and a related device, by obtaining the low-resolution first shadow map and the high-resolution second shadow map of the target virtual object; and then determining the value of each texel in the first shadow map The first texel range and the center point; and based on the center point, the first texel range is scaled using a scaling factor to obtain the second texel range, and then the second texel range is rendered as a second shadow map to Target virtual objects for shadow rendering. In this way, the image rendering process based on the shadow map is realized. Since the calculation of the position of the map through the low-resolution map is small, the image rendering efficiency is improved; then the rendering of the high-resolution shadow map avoids the generation of edge aliasing and improves the image rendering efficiency. image rendering effect.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to an image rendering method and related devices. Background technique [0002] In many applications for constructing 3D virtual environments, the shadow display of virtual objects is an important means to improve the display effect of 3D virtual environments. [0003] Generally, in game rendering, the shadow map technology is usually used to calculate the shadow of the object in real time. First, the shadow map rendering is performed on the scene from the perspective of the light source, and the distance information from the object to the light source is stored. For each pixel, calculate the position of the light source, and compare it with the distance stored in the shadow map to determine whether the object is in the shadow, and then calculate the shadow of the object according to the shadow situation. [0004] However, since the shadow map needs to be rendered based...

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 Patents(China)
IPC IPC(8): G06T15/00G06T15/60
CPCG06T15/005G06T15/60G06T2210/36G06T15/04G06T2215/12A63F13/52G06T15/06G06T15/506
Inventor 徐华兵曹舜魏楠崔晓春李从兵周荣鑫李文焱
Owner TENCENT TECH (SHENZHEN) CO LTD