Image rendering method, device, 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 crashes, and affecting the normal use of applications, etc., to achieve smooth image rendering, expand the scope, and improve user experience.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0057] The image rendering method provided in this embodiment may be applicable to the case of developing an image rendering application program for a terminal device other than a mobile terminal. The method may be performed by an image rendering apparatus, which may be implemented in software and / or hardware, and the apparatus may 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 the graphics card information of the current terminal device, and determine an adaptive graphics library corresponding to the current terminal device according to the graphics card information, where the adaptive 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 currently running an image rendering application, and may be, for example, a p...
Embodiment 2
[0077] In this embodiment, on the basis of the above-mentioned first embodiment, the step of "determining the graphic library identifier of the adapted graphic library" is added. On this basis, "according to the data to be rendered, 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" can be further optimized. On the basis of the above, "based on the texture, call the texture sampling function in the source code of the preset shader script to obtain the target rendering image" can be further optimized. The explanations of terms that are the same as or corresponding to the above embodiments are not 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 used as an example for description. see figure 2 , the image rendering method provided by this embodiment in...
Embodiment 3
[0124] This embodiment provides an image rendering device, see image 3 , the device specifically includes:
[0125] The adaptive graphics library determination module 310 is used to obtain the graphics card information of the current terminal device, and determine the adaptive graphics library corresponding to the current terminal device according to the graphics card information, the adaptive graphics library includes the open graphics library OpenGL or the embedded open graphics library OpenGLES ;
[0126] The target rendering image acquisition module 320 is used to determine the preset shader script source code 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, get the target rendering image;
[0127] The image rendering module 330, based on the adapted graphics library, outputs the target rendering image to complete...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com