Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Image rendering method, device and electronic equipment

An image rendering and image technology, applied in the field of image processing, can solve problems such as the inability to reuse shader program codes, and achieve the effect of improving GPU development efficiency

Active Publication Date: 2020-08-25
ALIBABA GRP HLDG LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The present application provides an image rendering method, device and electronic equipment to solve the problem that the program code of the shader cannot be reused in the prior art

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] In the following description, numerous specific details are set forth in order to provide a thorough understanding of the application. However, the present application can be implemented in many other ways different from those described here, and those skilled in the art can make similar promotions without violating the connotation of the present application. Therefore, the present application is not limited by the specific implementation disclosed below.

[0053] In this application, a graphics rendering method, device and electronic equipment are provided. Each will be described in detail in the following examples.

[0054] The graphics rendering method provided by this application, its core basic idea is: the program structure of the shader program for realizing a specific image rendering effect, the file name and constant parameters of the program code files of each shader, etc. are set as configurable objects in the shader In the shader program configuration file,...

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 an image rendering method, an image rendering device and an electronic device. The image rendering method comprises steps: a to-be-processed image and specific image rendering effects are acquired; according to a pre-generated shader program configuration file for the specific image rendering effects and a program code file of each shader needed for realizing the specific image rendering effects, a shader program for realizing the specific image rendering effects is generated; and the shader program is executed, and image rendering processing is carried out on the to-be-processed image. By adopting the method provided by the invention, the program structure of the shader program, the file name of the program code file of each shader and constant parameters are arranged in the shader program configuration file, direct writing of the shader program code to an application is avoided, the pre-written shader program code can be reused, and the effect of improving GPU development efficiency is improved.

Description

technical field [0001] The present application relates to the technical field of image processing, in particular to an image rendering method, device and electronic equipment. Background technique [0002] With the development of graphics hardware, the rendering pipeline is constantly evolving from fixed and unchangeable to programmable and smoother. Rendering an image through a GPU (Graphics Processing Unit, Graphics Processing Unit) can significantly increase the rendering speed, and at the same time release CPU space in some complex large programs to improve efficiency. [0003] A shader (Shader) is a custom program executed on the GPU of the graphics card. It is a simple program that describes the characteristics of vertices or pixels. The shader replaces a part of the fixed rendering pipeline, making different levels in the rendering pipeline programmable, such as: view conversion, projection conversion, etc. Shaders can be divided into three types: Vertex Shader (ver...

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/00
CPCG06T15/005
Inventor 季丹
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products