Method and apparatus for implementing three-dimensional playing of media
A 3D and media technology, applied in the direction of program control devices, stereo systems, 3D image processing, etc., can solve the problems of low quality of long-term images, inability to display 3D models and effects smoothly, and degradation of video image quality. The effect of 3D playback effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0055] This embodiment provides a device for realizing three-dimensional media playback. In order to realize the three-dimensional playback effect of the video, the main technical problems to be solved in the embodiments of the present invention are:
[0056] 1) Draw a virtual three-dimensional space on the computer, and draw a three-dimensional model (including three-dimensional scenes or three-dimensional physics) in the virtual three-dimensional space;
[0057] 2) Decode videos, pictures and Flash in various formats, and display the decoded pictures as textures in three-dimensional space; and
[0058] 3) In the virtual three-dimensional space, capture interface events (such as user operation actions, interface unit events, timer events, etc.), and update the display in real time in response to interface events.
[0059] The above technical problems can be solved by figure 1 The media three-dimensional playing device of the embodiment of the present invention shown is real...
Embodiment 2
[0104] This embodiment provides a method for realizing three-dimensional media playback by using the device in Embodiment 1. Such as image 3 As shown, the method includes the following steps:
[0105] Step 301, an interface initialization step. The purpose of interface initialization is to load each related module and display the initial user interface.
[0106] Step 302, the drawing step of the three-dimensional model. In this step, the 3D model (3D scene and / or 3D object) is drawn.
[0107] Step 303, texture drawing step. In this step, the video, picture or Flash is drawn on the interface as the texture of the 3D model.
[0108] Step 304, an interface interaction event processing step. This step is responsible for monitoring interface events such as user operation events, interface unit events, and timer events, and updating and displaying them.
[0109] All or part of the steps in this method can be completed by instructing related hardware through the application p...
example 1
[0183] Example 1. The method of the embodiment of the present invention will be described below by taking "cube rotation effect switching video and advertisement" as an example.
[0184] In this example, wmv video, Flash advertisement, mms video stream and jpg advertisement picture will be respectively displayed on four faces A, B, C and D of a three-dimensional cube, and the following effects will be achieved (such as Figure 8 indicated):
[0185] 1) The user controls the rotation of the cube by pressing the "L" and "R" keys on the keyboard, and each time the user presses the key, the cube is rotated 90 degrees to the left or to the right, respectively.
[0186] 2) When the video on side A (or C) faces the user and is buffering, the cube will automatically rotate 90 degrees to the left to display the Flash advertisement and picture advertisement on side B (or D); when the video on side A (or C) ) after the video buffering is complete and can be played, the cube will automat...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 