Image rendering method and device, computer equipment and storage medium

An image rendering and image technology, applied in the field of image processing, can solve the problems of complex sampling calculation process, low image rendering efficiency, and high resource consumption, and achieve the effect of improving rendering efficiency, reducing calculation amount, and reducing resource consumption.

Pending Publication Date: 2021-06-01
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the sampling calculation process of texture maps in this way is more complicated, and the resource consumption on some terminals with lower performance is higher, resulting in lower efficiency of image rendering

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 device, computer equipment and storage medium
  • Image rendering method and device, computer equipment and storage medium
  • Image rendering method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0059] The image rendering method provided by this application can be applied to such as figure 1 shown in the application environment. Wherein, the terminal 102 communicates with the server 104 through the network. Specifically, the terminal 102 may acquire virtual textures and vertex data in a three-dimensional scene from the server 104 . Terminal 102 then determines the vertex coordinates of the corresponding virtual texture block of the image to be rendered in the virtual texture, and loads the physical texture corresponding to the vertex coordinates into the texture...

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 relates to an image rendering method and device, computer equipment and a storage medium. The method comprises the following steps: determining vertex coordinates of a corresponding virtual map block of an image to be rendered in a virtual map; loading a physical map corresponding to the vertex coordinate to a map cache through a vertex shader; for each rendering sub-block in a virtual map block corresponding to the vertex coordinate, determining a corresponding physical texture coordinate of each rendering sub-block in the map cache; transmitting the physical texture coordinates into a pixel shader; and through the pixel shader, sampling texture pixels matched with the physical texture coordinates from the physical map in the map cache, and rendering the to-be-rendered image based on the texture pixels. The resource consumption in the image rendering process can be effectively reduced, so that the image rendering efficiency is effectively improved.

Description

technical field [0001] The present application relates to the technical field of image processing, in particular to an image rendering method, device, computer equipment and storage medium. Background technique [0002] Texture in computer graphics refers to one or several two-dimensional images representing the surface details of an object, also known as texture maps. Any type of texture map can be applied to one or more faces of a 3D model, such as patterns of bricks, leaves, ground, etc. Texture maps add to the realism of the scene. [0003] In the related technology, the virtual map technology is usually used, by dividing the super large texture map into multiple small blocks, and generating an indirect texture, so as to obtain each virtual map from this indirect texture during rendering The position of the real texture corresponding to the position of the page block. However, the sampling calculation process of texture maps in this way is relatively complicated, and ...

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/02G06T15/04A63F13/52
CPCG06T15/02G06T15/04A63F13/52A63F2300/66G06T15/005G06T7/11G06V20/10G06T7/40G06T15/80G06T2207/20164
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