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
- 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 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 ...
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