CN106470338A - 3D game conversion method based on intelligent television and device - Google Patents
3D game conversion method based on intelligent television and device Download PDFInfo
- Publication number
- CN106470338A CN106470338A CN201510519939.3A CN201510519939A CN106470338A CN 106470338 A CN106470338 A CN 106470338A CN 201510519939 A CN201510519939 A CN 201510519939A CN 106470338 A CN106470338 A CN 106470338A
- Authority
- CN
- China
- Prior art keywords
- buffering area
- game
- frame
- axis
- intelligent television
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Image Generation (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a kind of 3D game conversion method based on intelligent television, when said method has game class application to start on intelligent television, the frame of traversal game;Check in present frame and whether there is 3Dsurface, if so, then the current output window of intelligent television is divided into first buffering area and second buffering area, and present frame is integrally rendered into respectively first buffering area and second buffering area;Finally the frame in first buffering area and the frame in second buffering area are synthesized left and right to scheme and export;Otherwise, directly export present frame;The invention enables can be presented on intelligent television with 3D form in the case of need not changing game class application itself, participate in without game provider, improve efficiency and reduces cost.
Description
Technical field
The present invention relates to data processing field, more particularly, to a kind of intelligent television based on Android system
3D game conversion method and device.
Background technology
Intelligent television, is with full open model platform, is equipped with operating system, and user is appreciating commonly electricity
While depending on content, can voluntarily install and uninstall types of applications software, persistently function be expanded and rise
The new tv product of level.Intelligent television can constantly be brought to be different to user and be connect using cable digital TV
Receipts machine (Set Top Box), abundant individualized experience.Because intelligent television screen is big, perception is good,
So increasing people selects to play game by intelligent TV set;But because video game industry is in China
Still in developmental stage, video game resource is very deficient, especially 3D stereo game, due to making
The problems such as cost and operation inconvenience, resource is even more rareness, but table trip and handss swim the 3D game resource of class
Abundant, how the 3D of substantial amounts of existing high-quality is played stress-free temperature on android intelligent television,
And presented in the way of three-dimensional 3d, it will it is the focus of following a period of time.
Content of the invention
It is an object of the present invention to provide a kind of 3D game conversion method based on intelligent television and device,
To improve the problem that existing 3D game can not present on intelligent television.
The invention discloses a kind of 3D game conversion method based on intelligent television, said method is in intelligence
When having game class application to start on TV, execution is following to be operated:
Step one:Travel through the frame of above-mentioned game;
Step 2:Check and in present frame, whether there is 3D surface, if so, then execution step three;Otherwise,
Directly export present frame;
Step 3:The current output window of intelligent television is divided into first buffering area and second buffering area;
Step 4:Present frame is integrally rendered into respectively first buffering area and second buffering area;
Step 5:Frame in above-mentioned first buffering area and the frame in second buffering area are synthesized left and right figure simultaneously
Output.
Preferably, above-mentioned steps three by the following method by current output window be divided into first buffering area and
Second buffering area:
Read starting point, width, height and the anglec of rotation of the current output window of intelligent television;
With above-mentioned starting point as initial point, wide to as x-axis, height set up reference frame to for y-axis;
Check the value of the above-mentioned anglec of rotation, if the anglec of rotation is 0 ° or 180 °;X-axis is then adopted to convert,
The constant mode of y-axis, according to width, the high level of current window, calculates the wide intermediate point of current window
Coordinate;Obtain first buffering area and second buffering area;If the anglec of rotation is 90 ° or 360 °, adopt
Constant with x-axis, the mode of y-axis conversion, according to width, the high level of current window, calculate current window
High middle point coordinates;Obtain first buffering area and second buffering area.
The present invention further discloses a kind of 3D game conversion equipment based on intelligent television, including game
Module, three-dimensional rendering module and merging are set up in startup monitoring modular, 3D surface discovery module, relief area
And output module, wherein, above-mentioned
Game starts monitoring modular, is used for having monitored whether that game class application starts, and is having game class to answer
During with starting, notify above-mentioned 3D surface discovery module;
3D surface discovery module, for the frame of traversal game, and checks in present frame with the presence or absence of 3D
surface;
Module is set up in relief area, for above-mentioned 3D surface discovery module find 3D surface when,
The output window of intelligent television is divided into first buffering area and second buffering area;
Three-dimensional rendering module, delays for present frame is integrally rendered into above-mentioned first buffering area and second respectively
Rush area;
Merge and output module, for when above-mentioned 3D surface discovery module does not find 3D surface,
Directly export present frame;And when above-mentioned 3D surface discovery module finds 3D surface, be used for
Frame in above-mentioned first buffering area and the frame in second buffering area are synthesized left and right scheme and export.
Preferably, module is set up in above-mentioned relief area, is additionally operable to read rising of the current output window of intelligent television
Initial point, width, height and the anglec of rotation;And with above-mentioned starting point as initial point, wide to as x-axis, high to as y
Axle sets up reference frame;Check the value of the above-mentioned anglec of rotation, if the anglec of rotation is 0 ° or 180 °;Then
Using x-axis conversion, the constant mode of y-axis, according to width, the high level of current window, calculate current window
The wide middle point coordinates of mouth;Obtain first buffering area and second buffering area;If the anglec of rotation be 90 ° or
360 ° of person, then adopt x-axis constant, and the mode of y-axis conversion, according to width, the high level of current window, is counted
Calculate the high middle point coordinates of current window;Obtain first buffering area and second buffering area.
The invention enables adopting the game of OpenGL can exist with 3D form in the case of need not changing
Present on intelligent television, participate in without game provider, improve efficiency and reduces cost, greatly promote
Development on intelligent television for the stereo game.
Brief description
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes of the present invention
Point, the schematic description and description of the present invention is used for explaining the present invention, does not constitute to the present invention's
Improper restriction.In the accompanying drawings:
Fig. 1 is the flow process of the game conversion method preferred embodiment of the 3D based on intelligent television of the present invention
Figure;
Fig. 2 is reference frame schematic diagram in the present invention;
Fig. 3 is the theory diagram of the game conversion equipment of the 3D based on intelligent television of the present invention.
Specific embodiment
In order that the technical problem to be solved, technical scheme and beneficial effect are clearer, bright
In vain, below in conjunction with drawings and Examples, the present invention will be described in further detail.It should be appreciated that this
The described specific embodiment in place, only in order to explain the present invention, is not intended to limit the present invention.
As shown in figure 1, being that the game of the 3D based on intelligent television conversion method of the present invention selects embodiment
Flow chart;The present embodiment specifically includes following steps:
Step S001:Monitor whether that game class application starts, if so, then execution step S002;Otherwise,
Continue executing with this step;
Step S002:Traversal game frame;
Step S003:Check and in present frame, whether there is 3D surface, if so, then execution step S004;
Otherwise, execution step S007;
Step S004:The current output window of intelligent television is divided into first buffering area and second buffering area;
This step specifically includes following steps:
Step S0041:Read starting point, width, height and the anglec of rotation of the current output window of intelligent television;
The starting point of the current output window of intelligent television, width, height refer to TV in no any anglec of rotation
Value, the as hardware parameter of intelligent television.
Step S0042:With above-mentioned starting point as initial point, wide to as x-axis, height set up reference to for y-axis
Coordinate system;
Step S0043:Check the value of the above-mentioned anglec of rotation, if the anglec of rotation is 0 ° or 180 °;Then hold
Row step S0044;If the anglec of rotation is 90 ° or 360 °, execution step S0045;
Step S0044:Converted using x-axis, the constant mode of y-axis, according to width, the high level of current window,
Calculate the wide middle point coordinates of current window;Obtain first buffering area and second buffering area;
Step S0045:Constant using x-axis, the mode of y-axis conversion, according to width, the high level of current window,
Calculate the high middle point coordinates of current window;Obtain first buffering area and second buffering area.
As shown in Fig. 2 being reference frame schematic diagram in the present invention;In figure, a is current output window
Starting point, also for the initial point of reference frame;Ac, bd are the height of current output window, y-axis along ac to;
Ab, cd are the width of current output window, x-axis along ab to;E, f are respectively the midpoint of side ab, cd;
Wherein, acfe constitutes first buffering area;Efdb forms second buffering area.
Step S005:Present frame is integrally rendered into respectively first buffering area and second buffering area;
Step S006:Frame in above-mentioned first buffering area and the frame in second buffering area are synthesized left and right figure;
Step S007:Output present frame.
As shown in Fig. 2 being the principle of the game conversion equipment of the 3D based on intelligent television of the present invention
Block diagram;The present embodiment includes monitoring modular 10, module is set up in 3D surface discovery module 20, relief area
30th, three-dimensional rendering module 40 and merging and output module 50, wherein,
Monitoring modular 10, is used for having monitored whether that game class application starts, and is having game class application to start
When, notify 3D surface discovery module 20;
3D surface discovery module 20, for the frame of traversal game, and checks in present frame and whether there is
3D surface;
Module 30 is set up in relief area, for 3D surface discovery module 20 find 3D surface when,
Read starting point, width, height and the anglec of rotation of the current output window of intelligent television;And with above-mentioned starting point
Set up reference frame for initial point, width to for x-axis, height to for y-axis;Check the value of the anglec of rotation, if
The anglec of rotation is 0 ° or 180 °;X-axis is then adopted to convert, the constant mode of y-axis, according to current window
Width, high level, calculate the wide middle point coordinates of current window;The output window of game is divided into
First buffering area and second buffering area;It is if the anglec of rotation is 90 ° or 360 °, constant using x-axis,
The mode of y-axis conversion, according to width, the high level of current window, calculates the high intermediate point of current window
Coordinate;The output window of game is divided into first buffering area and second buffering area;
Three-dimensional rendering module 40, for being integrally rendered into first buffering area and the second buffering respectively by present frame
Area;
Merge and output module 50, for when 3D surface discovery module 20 does not find 3D surface,
Directly export present frame;And when 3D surface discovery module 20 finds 3D surface, for inciting somebody to action
Frame in first buffering area and the frame in second buffering area synthesize left and right and scheme and export.
Described above illustrate and describes the preferred embodiments of the present invention, but as previously mentioned it should be understood that this
Invention is not limited to form disclosed herein, is not to be taken as the exclusion to other embodiment, and can
For various other combinations, modification and environment, and can pass through in invention contemplated scope described herein
The technology of above-mentioned teaching or association area or knowledge are modified.And the change that those skilled in the art are carried out and
Change, then all should be in the protection domain of claims of the present invention without departing from the spirit and scope of the present invention
Interior.
Claims (4)
1. a kind of 3D game conversion method based on intelligent television is it is characterised in that methods described exists
When having game class application to start on intelligent television, execution is following to be operated:
Step one:Travel through the frame of described game;
Step 2:Check and in present frame, whether there is 3D surface, if so, then execution step three;No
Then, directly export present frame;
Step 3:The current output window of intelligent television is divided into first buffering area and second buffering area;
Step 4:Present frame is integrally rendered into respectively first buffering area and second buffering area;
Step 5:Frame in described first buffering area and the frame in second buffering area are synthesized left and right figure simultaneously
Output.
2. the method for claim 1 it is characterised in that described step 3 by the following method
Current output window is divided into first buffering area and second buffering area:
Read starting point, width, height and the anglec of rotation of the current output window of intelligent television;
With described starting point as initial point, wide to as x-axis, height set up reference frame to for y-axis;
Check the value of the described anglec of rotation, if the anglec of rotation is 0 ° or 180 °;X-axis is then adopted to become
Change, the constant mode of y-axis, according to width, the high level of current window, calculate current window wide in
Between point coordinates;Obtain first buffering area and second buffering area;If the anglec of rotation is 90 ° or 360 °,
Then adopt x-axis constant, the mode of y-axis conversion, according to width, the high level of current window, calculate current
The high middle point coordinates of window;Obtain first buffering area and second buffering area.
3. a kind of 3D game conversion equipment based on intelligent television opens it is characterised in that including game
Module, three-dimensional rendering module and merging are set up in dynamic monitoring modular, 3D surface discovery module, relief area
And output module, wherein, described
Game starts monitoring modular, is used for having monitored whether that game class application starts, and is having game class to answer
During with starting, notify described 3D surface discovery module;
3D surface discovery module, for the frame of traversal game, and checks in present frame and whether there is
3D surface;
Module is set up in relief area, for described 3D surface discovery module find 3D surface when,
The current output window of intelligent television is divided into first buffering area and second buffering area;
Three-dimensional rendering module, delays for present frame is integrally rendered into described first buffering area and second respectively
Rush area;
Merge and output module, for not finding 3D surface in described 3D surface discovery module
When, directly export present frame;And when described 3D surface discovery module finds 3D surface,
Scheme and export for the frame in described first buffering area and the frame in second buffering area are synthesized left and right.
4., right wants the 3D game conversion equipment based on intelligent television as described in 3, its feature exists
In, module is set up in described relief area, be additionally operable to read the current output window of intelligent television starting point,
Width, the high and anglec of rotation;And with described starting point as initial point, wide to as x-axis, height sets up to for y-axis
Reference frame;Check the value of the described anglec of rotation, if the anglec of rotation is 0 ° or 180 °;Then adopt
X-axis converts, and the constant mode of y-axis, according to width, the high level of current window, calculates current window
Wide middle point coordinates;Obtain first buffering area and second buffering area;If the anglec of rotation be 90 ° or
360 °, then adopt x-axis constant, the mode of y-axis conversion, according to width, the high level of current window, count
Calculate the high middle point coordinates of current window;Obtain first buffering area and second buffering area.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510519939.3A CN106470338A (en) | 2015-08-21 | 2015-08-21 | 3D game conversion method based on intelligent television and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510519939.3A CN106470338A (en) | 2015-08-21 | 2015-08-21 | 3D game conversion method based on intelligent television and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106470338A true CN106470338A (en) | 2017-03-01 |
Family
ID=58229033
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510519939.3A Pending CN106470338A (en) | 2015-08-21 | 2015-08-21 | 3D game conversion method based on intelligent television and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106470338A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2175664A1 (en) * | 2008-10-09 | 2010-04-14 | Samsung Electronics Co., Ltd. | Apparatus, method, and medium of converting 2D image to 3D image based on visual attention |
WO2010139984A1 (en) * | 2009-06-03 | 2010-12-09 | Sony Computer Entertainment Europe Limited | Device and method of display |
CN102187680A (en) * | 2008-08-18 | 2011-09-14 | 三星电子株式会社 | Method and apparatus for determining two- or three-dimensional display mode of image sequence |
CN102216979A (en) * | 2009-01-21 | 2011-10-12 | 索尼公司 | Image processing apparatus, image processing method and program |
CN102611902A (en) * | 2012-02-01 | 2012-07-25 | 深圳市酷开网络科技有限公司 | Method and device for adaptively switching game display modes |
CN103067680A (en) * | 2011-10-21 | 2013-04-24 | 康佳集团股份有限公司 | Method and system of on-screen display (OSD) based on two-dimensional-to-three-dimensional video formats |
CN103327357A (en) * | 2012-03-19 | 2013-09-25 | 联想(北京)有限公司 | Three-dimensional picture presenting method and device |
CN103559730A (en) * | 2013-11-20 | 2014-02-05 | 广州博冠信息科技有限公司 | Rendering method and device |
-
2015
- 2015-08-21 CN CN201510519939.3A patent/CN106470338A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102187680A (en) * | 2008-08-18 | 2011-09-14 | 三星电子株式会社 | Method and apparatus for determining two- or three-dimensional display mode of image sequence |
EP2175664A1 (en) * | 2008-10-09 | 2010-04-14 | Samsung Electronics Co., Ltd. | Apparatus, method, and medium of converting 2D image to 3D image based on visual attention |
CN102216979A (en) * | 2009-01-21 | 2011-10-12 | 索尼公司 | Image processing apparatus, image processing method and program |
WO2010139984A1 (en) * | 2009-06-03 | 2010-12-09 | Sony Computer Entertainment Europe Limited | Device and method of display |
CN103067680A (en) * | 2011-10-21 | 2013-04-24 | 康佳集团股份有限公司 | Method and system of on-screen display (OSD) based on two-dimensional-to-three-dimensional video formats |
CN102611902A (en) * | 2012-02-01 | 2012-07-25 | 深圳市酷开网络科技有限公司 | Method and device for adaptively switching game display modes |
CN103327357A (en) * | 2012-03-19 | 2013-09-25 | 联想(北京)有限公司 | Three-dimensional picture presenting method and device |
CN103559730A (en) * | 2013-11-20 | 2014-02-05 | 广州博冠信息科技有限公司 | Rendering method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR20150080580A (en) | Electronic device and resource display method | |
CN103703772A (en) | Content playing method and apparatus | |
KR20110138733A (en) | Method and apparatus for converting 2d image into 3d image | |
US20110227932A1 (en) | Method and Apparatus for Generating Video Animation | |
CN104504085A (en) | Method and device for displaying statistical data | |
WO2009121904A9 (en) | Sequential image generation | |
CN102652878B (en) | Dynamic platform system based on graphical action edition and application of dynamic platform system | |
CN105814514B (en) | System and method for the counter-balanced user experience in multimedia conferencing community | |
CN106527731A (en) | Virtual wind achieving method and device and virtual reality device | |
CN103212210B (en) | Three-dimensional dynamic mechanical performing system with changeable contents | |
CN106470338A (en) | 3D game conversion method based on intelligent television and device | |
CN108197373A (en) | D CAD figure based on CoFrac turns three-dimensional VR design systems | |
CN105763744A (en) | Video play control method and apparatus of mobile terminal, and the mobile terminal | |
CN109660741B (en) | Image conversion method, system, device, remote controller and storage medium | |
US20130314497A1 (en) | Signal processing apparatus, signal processing method and program | |
CN205305029U (en) | Take 4K to show OTT intelligence STB of function | |
WO2023282425A3 (en) | Electronic device, system, and method for intelligent horizontal-vertical image transform | |
JP6766203B2 (en) | Video optimization processing system and method | |
CN110399896B (en) | Storage management system for clothes cabinet | |
CN105630444A (en) | Display method and electronic equipment | |
CN102740093B (en) | Device and method capable of converting 2d image into 3d image | |
CN202026432U (en) | Set-top box provided with network terminal interface | |
CN107018436A (en) | A kind of starting-up method, device and without screen TV | |
CN110743182A (en) | Equipment is experienced to VR intelligence | |
CN208588913U (en) | Host is controlled in one kind |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170301 |
|
RJ01 | Rejection of invention patent application after publication |