A method and device for smoothly rendering control animation based on opengl embedded devices

An embedded device and animation technology, applied in animation production, image analysis, processor architecture/configuration, etc., can solve the problems of low rendering efficiency of control animation and unbalanced playback effect, so as to improve animation aesthetics, improve user experience, The effect of improving smoothness

Active Publication Date: 2022-06-10
GUANGZHOU BAOLUN ELECTRONICS CO LTD
View PDF18 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Aiming at the deficiencies of the prior art, the object of the present invention is to provide a method for smoothly rendering control animation based on OpenGL embedded devices, which can solve the problems of low control animation rendering efficiency and unbalanced playback effect

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
  • A method and device for smoothly rendering control animation based on opengl embedded devices

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] Hereinafter, the present invention will be further described with reference to the accompanying drawings and specific embodiments.

[0023] like figure 1 As shown, an animation method for smooth rendering of controls based on an OpenGL embedded device, wherein the embedded device has built-in graphics acceleration hardware, and the graphics acceleration hardware supports OpenGL, including the following steps:

[0024] Step 1: After completing the initialization of the OpenGL function interface, load the texture map that needs to be rendered to the control from the image library through OpenGL. The texture map is the picture attached to the control, so that the control has animations such as color and texture changes when playing. Effect. Before loading the texture map to the control, it also includes preprocessing the texture map through the bilinear filtering mode, which is mainly used to enlarge the texture in the texture map, and then load the preprocessed texture m...

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 a method and device for smoothly rendering control animation based on an OpenGL embedded device. The method includes: loading texture stickers that need to be rendered on the control; preset position attributes and texture attributes of OpenGL vertex shaders and fragment shaders ; Preset the relevant properties of the control; when the animation playback command is monitored, the control starts to play from the initial position; calculate the total time consumed by the current movement of the control, and move the corresponding strategy control according to the total time consumed; the position property and texture Attributes are drawn on the texture map loaded on the control, and the display interface is refreshed; repeat steps 5 and 6 until the total time consumed by the current movement of the control is equal to the total animation playback time of the control, and the total displacement of the control is equal to the starting position to the end point The total distance of the position, then end. The invention improves the smoothness of the display effect, further improves the aesthetic feeling of the animation, smoothly renders the animation playing effect of the control, and improves the user experience.

Description

technical field [0001] The invention relates to the technical field of control rendering animation playback, in particular to a smooth rendering control animation method based on an OpenGL embedded device. Background technique [0002] Many of the existing embedded devices are based on the arm-l inux system, and their application fields are rich, and their applications are becoming more and more abundant. The graphics rendering requirements of embedded device interfaces are also getting higher and higher. Higher-definition picture materials can enrich the look and feel of animations after playback, and higher animation frame rates can create smooth playback switching effects. For embedded devices, due to cost requirements, their chips are usually dominated by low power consumption, so that the graphics rendering of embedded devices is generally handled by its CPU. When rendering animations in a high-resolution environment, it is easy to Unsmooth phenomena such as stuttering...

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): G06T1/20G06T1/60G06T7/40G06T13/80
CPCG06T13/80G06T7/40G06T1/20G06T1/60
Inventor 赵文轩张常华朱正辉赵定金
Owner GUANGZHOU BAOLUN ELECTRONICS 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