Picture rendering method and device, storage medium, and electronic device

A picture and background picture technology, applied in the computer field, can solve the problem of low accuracy of two-dimensional picture information

Active Publication Date: 2019-03-12
TENCENT TECH (SHENZHEN) CO LTD
View PDF10 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a picture rendering method and device, a storage medium and an electronic device to at least solve the problem of rendering two-dimensional picture information accurately in the related art less technical issues

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
  • Picture rendering method and device, storage medium, and electronic device
  • Picture rendering method and device, storage medium, and electronic device
  • Picture rendering method and device, storage medium, and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0024] It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate ...

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 picture rendering method and a device, a storage medium and an electronic device. The method comprises the following steps of: determining a target picture to be rendered ina two-dimensional virtual scene to be rendered by a client, wherein, the target picture comprises a background picture and a character object moving on the background picture, and the background picture comprises a target object located at a fixed position; Determining a first depth value corresponding to pixel points on a target object in a background picture by using a depth offset indicated ina depth map corresponding to the target object, wherein depth maps record depth offsets of pixel points on the target object; Acquiring a second depth value corresponding to a pixel point on the character object moved to the current display position; The target picture is rendered according to the first depth value and the second depth value. The invention solves the technical problem of low accuracy of rendering two-dimensional picture information in the related art.

Description

technical field [0001] The present invention relates to the field of computers, in particular to a picture rendering method and device, a storage medium and an electronic device. Background technique [0002] In the two-dimensional (2D) virtual scene presented by the client, it often only carries the two-dimensional picture information of the 2D virtual scene, so when rendering each virtual object contained in the picture, the commonly used rendering method is : When the above virtual objects are rendered, if occlusion occurs between the virtual objects, semi-transparent processing is performed on the occluded virtual objects to simulate the occlusion relationship of the above virtual objects in the 2D virtual scene. [0003] However, when the above-mentioned rendering method is used to simulate the occlusion relationship in the picture, the rendering effect will be severely distorted, resulting in a problem of low rendering accuracy. [0004] For the above problems, no eff...

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/00A63F13/52
CPCA63F13/52G06T15/005A63F2300/66G06T15/503G06T7/536G06T15/20G06T15/40
Inventor 张怀涛
Owner TENCENT TECH (SHENZHEN) 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