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

Method and system for making VR set-top box startup animation based on opengl ES

An animation production and set-top box technology, which is applied in animation production, program loading/starting, program control design, etc., can solve the problems of frequent texture replacement calculation and cumbersome calculation, and achieve the effect of improving efficiency and solving cumbersome calculation.

Active Publication Date: 2022-04-29
FENGHUO COMM SCI & TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Aiming at the defects existing in the prior art, the object of the present invention is to provide a VR set-top box start-up animation production method based on OpenGL ES, which can effectively solve the problem of cumbersome calculations caused by frequent replacement of textures in the animation loading process

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
  • Method and system for making VR set-top box startup animation based on opengl ES
  • Method and system for making VR set-top box startup animation based on opengl ES

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 2

[0067] On the basis of Embodiment 1, after the texture is displayed on the screen, the following steps are also included for the case where the frame of the animation sequence is multi-frame:

[0068] S401: Determine whether the current frame is the last frame in the sequence of animation frames, if so, then end, if not, then go to step S402;

[0069] S402: Load the next frame, and judge whether the picture of the current frame needs to be replaced with the picture of the next frame, if yes, go to step S403, if not, go to step S404;

[0070] S403: Load the picture corresponding to the next frame, generate a texture from the picture, and set the position and size of the generated texture based on the viewport coordinate system in the VR spherical space according to the texture coordinate information corresponding to the next frame, and then go to step S3;

[0071] S404: According to the texture coordinate information corresponding to the next frame, set the position and size o...

Embodiment 3

[0073] On the basis of Embodiment 1, it also includes parallel loading of animation and UI resources during the startup process of the VR set-top box Launcher. The specific steps are:

[0074] A: After the VR set-top box Launcher is started, the animation is loaded, and during the animation loading process, it is judged whether UI resources need to be loaded. If yes, continue to load the animation. If not, go to step B;

[0075] B: Use multithreading to load the picture of the UI resource, and generate a texture from the picture of the UI resource through the glGenTextures method, and set the transparency of the generated texture to be invisible, and go to step C;

[0076] C: Continue to load animations, after all animations are loaded and played, go to step D;

[0077] D: Set the transparency of the texture of the UI resource image to be visible.

[0078] Start multi-threading to generate textures from high-definition pictures in the UI during the animation loading process. ...

Embodiment 4

[0080] The embodiment of the present invention provides an OpenGL ES-based VR set-top box startup animation production system, including an acquisition module, a generation module, a transformation module and a display module.

[0081] The obtaining module is used to obtain the number of animation sequence frames, the picture information and texture coordinate information corresponding to each frame.

[0082] The generation module is used to load the picture corresponding to the current frame, generate a texture from the picture, and then use the viewport coordinate system in the VR spherical space as a reference to generate the position and size of the texture. The setMatrix4 function uses a 4×4 matrix to transform the spatial position of the texture. The transformation of the spatial position of the texture includes moving, rotating and scaling.

[0083] The transformation module is used to transform the spatial position of the texture through the setMatrix4 function. The ...

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 OpenGL ES-based VR set-top box start-up animation production method and system, and relates to the field of three-dimensional scene construction in mobile VR devices. The method includes S1: acquiring the number of animation sequence frames, picture information and texture corresponding to each frame Coordinate information; S2: load the picture corresponding to the current frame, and generate a texture from the picture; use the viewport coordinate system in the VR spherical space as a reference, generate the position and size of the texture; S3: transform the spatial position of the texture through the setMatrix4 function, The setMatrix4 function refers to the transformation of the spatial position of the texture using a 4×4 matrix; S4: inversely transforms the position and size of the texture whose spatial position has been transformed, and then converts the spatial position of the texture into normalized device coordinates, and displays the texture on on the screen. The invention can effectively solve the problem of tedious calculation caused by frequent replacement of textures in the animation loading process.

Description

technical field [0001] The invention relates to the field of three-dimensional scene construction in mobile VR devices, in particular to an OpenGL ES-based VR set-top box startup animation production method and system. Background technique [0002] Since 2016, VR (Virtual Reality, virtual reality) products have been blowing out, and the VR industry valuation will reach more than 40 billion US dollars in 2020. Virtual reality will be the next general-purpose computer platform after mobile phones. VR set-top box is a new product form, which integrates VR headset, gateway, and Android set-top box, and can meet the needs of users for VR services, OTT (Over The Top, Internet TV) video, large-scale games in the living room, and wireless coverage. Wide application prospects. [0003] The difference between VR applications and ordinary Android applications is that the scenes and graphics of VR applications are in three-dimensional space, so VR applications have higher requirements ...

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): G06T13/20G06T11/40G06T19/00G06T19/20G06T15/04G06T7/40G06F9/445
CPCG06F9/44521G06T7/40G06T11/40G06T13/20G06T15/04G06T19/006G06T19/20G06T2219/2016
Inventor 洪展
Owner FENGHUO COMM SCI & TECH CO 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