Image rendering method, device and equipment and storage medium

An image rendering and image technology, applied in the field of image processing, can solve problems such as poor running performance, rendering program crash, affecting the normal use of applications, etc., to achieve the effect of expanding the scope, improving user experience, and smooth image rendering

Active Publication Date: 2018-11-06
WUHAN DOUYU NETWORK TECH CO LTD
View PDF18 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, for some non-mobile terminals equipped with old graphics cards, limited by the performance of the graphics card, the performance of OpenGL is not good enough, so that th

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0057] The image rendering method provided in this embodiment is applicable to the case of developing an image rendering application program for a terminal device other than a mobile terminal. The method can be executed by an image rendering device, the device can be implemented by software and / or hardware, and the device can be integrated in a device supporting OpenGL, such as a desktop computer or a server. see figure 1 , the method of this embodiment specifically includes the following steps:

[0058] S110. Obtain graphics card information of the current terminal device, and determine an adapted graphics library corresponding to the current terminal device according to the graphics card information, where the adapted graphics library includes an open graphics library OpenGL or an embedded open graphics library OpenGLES.

[0059] Wherein, the current terminal device refers to a client that is currently running an image rendering application program, such as a personal compu...

Embodiment 2

[0077] In this embodiment, on the basis of the first embodiment above, the step of "determining the graphic library identifier of the adapted graphics library" is added. On this basis, it is possible to further optimize "call the texture creation function in the source code of the preset shader script to create the texture corresponding to the data to be rendered" based on the data to be rendered. Based on the above, it is also possible to further optimize "based on the texture, call the texture sampling function in the source code of the preset shader script to obtain the target rendering image". The explanations of terms that are the same as or corresponding to the above-mentioned embodiments will not be repeated here. In this embodiment, the development of an image rendering application based on the cross-platform C++ graphical user interface application development framework QT is taken as an example for illustration. see figure 2 , the image rendering method provided i...

Embodiment 3

[0124] This embodiment provides an image rendering device, see image 3 , the device specifically includes:

[0125] The adaptive graphics library determining module 310 is used to obtain the graphics card information of the current terminal device, and determine the corresponding graphics library for the current terminal device according to the graphics card information, and the graphics library includes an open graphics library OpenGL or an embedded open graphics library OpenGLES ;

[0126] The target rendering image acquisition module 320 is configured to determine the source code of the preset shader script corresponding to the adapted graphics library according to the graphics library identifier of the adapted graphics library, and call the preset shader script source according to the data to be rendered Code to get the target rendering image;

[0127] The image rendering module 330, based on the adaptive graphics library, outputs the target rendering image to complete ...

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 discloses an image rendering method, device and equipment and a storage medium. The method includes the steps: acquiring graphics card information of current terminal equipment, and determining an adaptive graphics library corresponding to the current terminal equipment according to the graphics card information, wherein the adaptive graphics library includes an open graphics library OpenGL or an embedded open graphics library OpenGLES; determining a preset shader script source code corresponding to the adaptive graphics library according to the graphic libraryidentifier of the adaptive graphics library, and calling the preset shader script source code according to the to-be-rendered data to obtain a target rendered image; outputting the target rendered image based on the adaptive graphics library to complete image rendering. Through the above technical scheme, the image rendering is more accurate and smooth, so that an application program can be applied to more non-mobile terminals, and the user experience of the application program is improved.

Description

technical field [0001] Embodiments of the present invention relate to image processing technologies, and in particular, to an image rendering method, device, device, and storage medium. Background technique [0002] When developing a graphical interactive interface for an application program of a non-mobile terminal (such as a PC terminal or server, etc.), an open graphics library (Open Graphics Library, OpenGL) is usually used as a rendering tool for video images. To use OpenGL for video image rendering, it is necessary to write the relevant shader script source code based on the OpenGL shader language GLSL (OpenGL Shading Language), and call the relevant Application Programming Interface (Application Programming Interface, Application Programming Interface, API) to create corresponding textures and render video images on non-mobile terminal applications. [0003] However, for some non-mobile terminals equipped with old graphics cards, limited by the performance of the gra...

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/00
CPCG06T15/005G06T2200/04
Inventor 杨亮张文明陈少杰
Owner WUHAN DOUYU NETWORK TECH 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