CN102737410A - Display method and display device for three-dimensional graphic elements in two-dimensional graph-text editing and playing system - Google Patents

Display method and display device for three-dimensional graphic elements in two-dimensional graph-text editing and playing system Download PDF

Info

Publication number
CN102737410A
CN102737410A CN2011101167272A CN201110116727A CN102737410A CN 102737410 A CN102737410 A CN 102737410A CN 2011101167272 A CN2011101167272 A CN 2011101167272A CN 201110116727 A CN201110116727 A CN 201110116727A CN 102737410 A CN102737410 A CN 102737410A
Authority
CN
China
Prior art keywords
dimensional
pel
cache
internal memory
scene
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.)
Granted
Application number
CN2011101167272A
Other languages
Chinese (zh)
Other versions
CN102737410B (en
Inventor
郑培枫
蔡欢
郭红艳
袁慧晶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Digital Video Beijing Ltd
Original Assignee
China Digital Video Beijing Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China Digital Video Beijing Ltd filed Critical China Digital Video Beijing Ltd
Priority to CN201110116727.2A priority Critical patent/CN102737410B/en
Publication of CN102737410A publication Critical patent/CN102737410A/en
Application granted granted Critical
Publication of CN102737410B publication Critical patent/CN102737410B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a display method and a display device for three-dimensional graphic elements in a two-dimensional graph-text editing and playing system. The method comprises the following steps of: performing visual editing aiming at the three-dimensional graphic elements; calculating the position information of the three-dimensional graphic elements in a two-dimensional scene; and rendering the three-dimensional graphic elements. In the embodiment of the invention, a GPU (graphic processing unit) acceleration engine is utilized, so that a general display card is incompetent of rapid rendering for the three-dimensional graphic elements; and simultaneously, a cache scheme is adopted, so as to solve the influence on the real-time performance of editing and playing caused by the slow memory interaction speed of the general display card.

Description

A kind of three-dimensional pel is compiled display packing and device in the broadcast system at two-dimentional picture and text
Technical field
The present invention relates to field of broadcast televisions TV programme record and broadcast technology, particularly a kind of three-dimensional pel is compiled display packing and device in the broadcast system at two-dimentional picture and text.
Background technology
Along with the user's request of radio, TV and film industries constantly promotes, increasingly high for the effect requirements of picture and text captions, existing a plurality of producers provide three-dimensional picture and text to compile broadcast system on the market; Like " very three-dimensional film titler ", its technical requirement is: can carry out the operation of three-dimensional pel based on three dimensions; Like rotation, convergent-divergent, translation; And support the display mode of three-dimensional depth effect, in order to guarantee real-time, playing up of three-dimensional picture and text generally is to adopt the video card speed technology; The video card type of hardware of selecting for use video memory and computer system memory to copy fast; Carry out obtaining of a plurality of pel rendering result of whole scene, like this for the requirement of video card just than higher, the scope of selecting for use of product accessories can receive the restriction of hardware market.But, owing to reasons such as product price factor, user's use habit and genres of programs designs, still have a large amount of users to use two-dimentional picture and text to compile broadcast system and accomplish routine work, for three-dimensional pel certain demand is arranged also simultaneously.This type user receives products-hardware restriction (mainly being video card), and is very slow to computer system memory speed from the video card memory copying, can't support the real-time volume of true three-dimensional whole field scape to broadcast, and therefore just being badly in need of a brand-new technology solves the problems referred to above.
Summary of the invention
The present invention provides a kind of three-dimensional pel to compile display packing and device in the broadcast system at two-dimentional picture and text, has realized the three-dimensional pel of quick editor, and participates in the purpose of the hybrid of two-dimensional scene in real time.
The present invention provides a kind of three-dimensional pel to compile the display packing in the broadcast system at two-dimentional picture and text, comprising:
Carry out visual editor to three-dimensional pel;
The positional information of Calculation of Three Dimensional pel in two-dimensional scene;
Three-dimensional pel is played up.
The present invention also provides a kind of three-dimensional pel to compile the display device in the broadcast system at two-dimentional picture and text, comprising:
The visual edit module is used for carrying out visual editor to three-dimensional pel;
The positional information calculation module; Be used for calculating three-dimensional pel projects to two-dimensional scene from three-dimensional scenic under the acting in conjunction of self profile and spatial parameter regional location, and in two-dimensional scene, participate in the position of mixing as three-dimensional pel with this according to the plane projection computing formula;
Three-dimensional pel rendering module is used for three-dimensional pel is played up.
Compared with prior art, embodiments of the invention have the following advantages:
1, utilize the GPU accelerating engine, as: OpenGL or Direct3D, general video card all can be competent at playing up fast of three-dimensional pel.
2, adopt pre-stored (Cache) scheme, the influence that solves that general video card internal memory interactive speed causes slowly to editor and the real-time broadcasted;
3, can three-dimensional pel and other two-dimensional primitives be carried out the output that mixes based on pixel;
4, can adopt spatial operations such as being same as the unified rotation of other two-dimensional primitives, convergent-divergent, translation, alignment.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention; The accompanying drawing that will use in will describing embodiment is below done to introduce simply; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is that a kind of three-dimensional pel of the embodiment of the invention is compiled the display packing process flow diagram in the broadcast system at two-dimentional picture and text;
Fig. 2 is the method flow diagram of three-dimensional pel visual edit in the embodiment of the invention;
Fig. 3 is an embodiment of the invention scene hybrid processing process flow diagram;
Fig. 4 is that a kind of three-dimensional pel of the embodiment of the invention is compiled the display device structure figure in the broadcast system at two-dimentional picture and text;
Fig. 5 is the synoptic diagram of embodiment of the invention orthogonal projection and lateral projection;
Fig. 6 is an embodiment of the invention orthogonal projection polar plot.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention will be carried out clear, intactly description, it is pointed out that described embodiment only is a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
The embodiment of the invention provides a kind of three-dimensional pel to compile the display packing in the broadcast system at two-dimentional picture and text, and is as shown in Figure 1, comprising:
Step S101, carry out visual editor to three-dimensional pel.
The visual edit of three-dimensional pel adopts the mode of modal dialog box, and the display window of modal dialog box can be created based on OpenGL or D3D engine, and can show the preview result fast, can utilize the video card speed technology to show current effect in real time like this; At first, trigger edit instruction by menu or button; Secondly, show that modal dialog box monopolizes system and edit, and in this window, accomplish rotation, spatial operation such as move; Such benefit is only to edit three-dimensional pel self; Needn't in each change parameter, from video memory, take out display result, do with other pel again and mix.Once more, editor accomplishes when withdrawing from dialog box, if accept edited result, the result that then will play up is saved in the pre-stored Cache module, if do not accept edited result, will be left intact.Particular flow sheet is as shown in Figure 2.
Step S102, the positional information of Calculation of Three Dimensional pel in two-dimensional scene.
The positional information of three-dimensional pel in whole two-dimensional scene adopts the mode of plane projection to handle; After promptly receiving the instruction that is rendered in the scene; Calculate three-dimensional pel projects to two-dimensional scene from three-dimensional scenic under the acting in conjunction of self profile and spatial parameter regional location according to the plane projection computing formula; And in two-dimensional scene, participate in the position of mixing as three-dimensional pel with this, promptly should the display position of three-dimensional pel in two-dimensional scene.
Tripleplane's formula:
Projection is divided into orthogonal projection (shown in Fig. 5 left hand view) and lateral projection's (shown in Fig. 5 right part of flg), and this paper adopts the orthogonal projection mode.
If projection plane is ABC, and is as shown in Figure 6, E is the subpoint of initial point O on the ABC face.Prolong line segment BE and AC and meet at D.OF is the projecting direction vector of projection plane ABC, is called for short projection vector.The process of normal axonometric projection is like this: at first with projection vector OF through rotational transform to the z axle, again the xoy face is done projection and gets final product.
1) earlier around the y axle α angle that turns clockwise, plane DOB is overlapped with the yoz face, transformation matrix is following:
T Ry = cos ( - α ) 0 - sin ( - α ) 0 0 1 0 0 sin ( - α ) 0 cos ( - α ) 0 0 0 0 1 = cos α 0 sin α 0 0 1 0 0 - sin α 0 cos α 0 0 0 0 1
2) be rotated counterclockwise the β angle around the x axle again, OF (OE) is overlapped with the z axle, transformation matrix is following:
T Rx = 1 0 0 0 0 cos β sin β 0 0 - sin β cos β 0 0 0 0 1
3) three-dimensional body is done orthogonal projection to the xoy plane, transformation matrix is following:
T p = 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1
4) it is following to obtain the projective transformation matrix of positive shaft survey at last:
T = T Ry · T Rx · T = cos α - sin α · sin β 0 0 0 cos β 0 0 - sin α - cos α · β sin 0 0 0 0 0 1
Step S103, three-dimensional pel is played up.
According to the position size application internal memory of three-dimensional pel in two-dimensional scene, perhaps be called the pel internal memory.Check whether there is Cache, if do not exist, then play up again, and rendering result is copied to the pel internal memory, and then regenerate Cache; If there is Cache, then directly Cache is copied to the pel internal memory; With pel internal memory and existing scene result's internal memory, according to pixels mixed formulation mixes in the plane projection position.The process flow diagram of step S102 and step S103 is as shown in Figure 3.
The pixel mixed formulation:
Suppose: pixel color is with (A, R, G, B) expression (transparent, red, green, indigo plant)
Foreground is AwCw, and wherein Aw is the Alpha value, and Cw representes Rw or Gw or Bw;
Background colour is AbCb, and wherein Ab is the Alpha value, and Cb representes Rb or Gb or Bb;
Alpha value after two color values superpose is:
A=Aw+(1-Aw)*Ab;-----(1)
The color of each color component after two color values superpose does
R=(Aw*Rw+(1-Aw)*Rb)/A;
G=(Aw*Gw+(1-Aw)*Gb)/A;
B=(Aw*Bw+(1-Aw)*Bb)/A;
Wherein the A that calculates for (1) formula of A requires A to be not equal to 0, if A==0, then C=0.
Compile the display packing in the broadcast system through a kind of three-dimensional pel of the embodiment of the invention at two-dimentional picture and text, utilize the GPU accelerating engine, make general video card all can be competent at playing up fast of three-dimensional pel; Adopt pre-stored (Cache) scheme simultaneously, the influence that solves that general video card internal memory interactive speed causes slowly to editor and the real-time broadcasted.
The embodiment of the invention also provides a kind of three-dimensional pel to compile the display device in the broadcast system at two-dimentional picture and text, and is as shown in Figure 4, comprising:
Visual edit module 401, be used for carrying out visual editor to three-dimensional pel.
Positional information calculation module 402, be used for calculating three-dimensional pel projects to two-dimensional scene from three-dimensional scenic under the acting in conjunction of self profile and spatial parameter regional location according to the plane projection computing formula; And in two-dimensional scene, participate in the position of mixing as three-dimensional pel with this, promptly should the display position of three-dimensional pel in two-dimensional scene.
Three-dimensional pel rendering module 403, be used for three-dimensional pel is played up.
Wherein, visual edit module 401 also comprises:
Instruction triggers submodule 4011, be used for triggering edit instruction by menu or button.
Modal dialog box operator module 4012, be used to show that modal dialog box monopolizes system and edit, and in this window, accomplish rotation, spatial operation such as move.
The result preserves submodule 4013, is used for operating and accomplishes when withdrawing from dialog box, and the result who plays up is saved in the pre-stored Cache module.
Three-dimensional pel rendering module 403 also comprises:
Internal memory application submodule 4031, be used for according to three-dimensional pel in the position of two-dimensional scene size application internal memory.
Check submodule 4032, be used to check whether have Cache, if do not exist, then play up again, and rendering result is copied to the pel internal memory, and then regenerate Cache; If there is Cache, then directly Cache is copied to the pel internal memory.
Blend sub module 4033, be used for the internal memory with pel internal memory and existing scene result, according to pixels mixed formulation mixes in the plane projection position.The embodiment of the invention is utilized the GPU accelerating engine, makes general video card all can be competent at playing up fast of three-dimensional pel; Adopt pre-stored (Cache) scheme simultaneously, the influence that solves that general video card internal memory interactive speed causes slowly to editor and the real-time broadcasted.
Through the description of above embodiment, those skilled in the art can be well understood to the present invention and can realize through hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding; Technical scheme of the present invention can be come out with the embodied of software product, this software product can be stored in a non-volatile memory medium (can be CD-ROM, USB flash disk; Portable hard drive etc.) in; Comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the synoptic diagram of a preferred embodiment, module in the accompanying drawing or flow process might not be that embodiment of the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number is not represented the quality of embodiment just to description.
More than disclosedly be merely several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (10)

1. a three-dimensional pel is compiled the display packing in the broadcast system at two-dimentional picture and text, it is characterized in that, comprising:
Carry out visual editor to three-dimensional pel;
The positional information of Calculation of Three Dimensional pel in two-dimensional scene;
Three-dimensional pel is played up.
2. display packing as claimed in claim 1 is characterized in that, said what carry out that visual editor adopts to three-dimensional pel is the mode of modal dialog box, and the display window of said dialog box can be created based on OpenGL or D3D engine.
3. display packing as claimed in claim 1 is characterized in that, saidly carries out visual editor to three-dimensional pel, specifically comprises the steps:
Trigger edit instruction by menu or button;
Show that modal dialog box monopolizes system and edit, and in this window, accomplish rotation, spatial operation such as move;
Editor accomplishes and withdraws from dialog box.
4. display packing as claimed in claim 3, said editor accomplishes and withdraws from dialog box, comprising:
If accept edited result, the result that then will play up is saved in the pre-stored Cache module;
If do not accept edited result, will be left intact.
5. display packing as claimed in claim 1; It is characterized in that; The positional information of said Calculation of Three Dimensional pel in two-dimensional scene; Be specially: after receiving the instruction that is rendered in the scene, calculate three-dimensional pel projects to two-dimensional scene from three-dimensional scenic under the acting in conjunction of self profile and spatial parameter regional location, and in said two-dimensional scene, participate in the position of mixing as said three-dimensional pel with this according to the plane projection computing formula.
6. display packing as claimed in claim 1 is characterized in that, said three-dimensional pel is played up, and comprising:
According to the position size application pel of three-dimensional pel in two-dimensional scene;
Check and whether have Cache;
With said pel internal memory and existing scene result's internal memory, according to pixels mixed formulation mixes in the plane projection position.
7. display packing as claimed in claim 6 is characterized in that, whether said checking exists Cache, comprising:
If do not exist, then play up again, and rendering result is copied to the pel internal memory, and then regenerate Cache;
If there is Cache, then directly Cache is copied to the pel internal memory.
8. a three-dimensional pel is compiled the display device in the broadcast system at two-dimentional picture and text, it is characterized in that, comprising:
The visual edit module is used for carrying out visual editor to three-dimensional pel;
The positional information calculation module; Be used for calculating three-dimensional pel projects to two-dimensional scene from three-dimensional scenic under the acting in conjunction of self profile and spatial parameter regional location, and in two-dimensional scene, participate in the position of mixing as three-dimensional pel with this according to the plane projection computing formula;
Three-dimensional pel rendering module is used for three-dimensional pel is played up.
9. display device as claimed in claim 8 is characterized in that, said visual edit module also comprises:
The instruction triggers submodule is used for triggering edit instruction by menu or button;
Modal dialog box operator module is used to show that modal dialog box monopolizes system and edit, and in said dialog box, accomplishes rotation, spatial operation such as moves;
The result preserves submodule, is used for operation and accomplishes when withdrawing from said dialog box, and the result who plays up is saved in the pre-stored Cache module.
10. display device as claimed in claim 8 is characterized in that, said three-dimensional pel rendering module also comprises:
The internal memory application submodule is used for according to three-dimensional pel at the big or small application in the position of two-dimensional scene internal memory;
The check submodule is used to check whether have Cache, if do not exist, then plays up again, and rendering result is copied to the pel internal memory, and then regenerate Cache; If there is Cache, then directly Cache is copied to the pel internal memory;
The blend sub module is used for the internal memory with pel internal memory and existing scene result, and according to pixels mixed formulation mixes in the plane projection position.
CN201110116727.2A 2011-05-06 2011-05-06 Display methods and device of a kind of three-dimensional pel in two-dimentional picture and text compile broadcast system Expired - Fee Related CN102737410B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110116727.2A CN102737410B (en) 2011-05-06 2011-05-06 Display methods and device of a kind of three-dimensional pel in two-dimentional picture and text compile broadcast system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110116727.2A CN102737410B (en) 2011-05-06 2011-05-06 Display methods and device of a kind of three-dimensional pel in two-dimentional picture and text compile broadcast system

Publications (2)

Publication Number Publication Date
CN102737410A true CN102737410A (en) 2012-10-17
CN102737410B CN102737410B (en) 2017-09-12

Family

ID=46992828

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110116727.2A Expired - Fee Related CN102737410B (en) 2011-05-06 2011-05-06 Display methods and device of a kind of three-dimensional pel in two-dimentional picture and text compile broadcast system

Country Status (1)

Country Link
CN (1) CN102737410B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999880A (en) * 2012-11-14 2013-03-27 厦门亿力吉奥信息科技有限公司 GPU-based (graphics processing unit-based) real-time drawing method and device for power WebGIS (web geographic information system) vector
CN103024318A (en) * 2012-12-25 2013-04-03 青岛海信信芯科技有限公司 Accelerated processing method and accelerated processing device for television graphics
CN103679791A (en) * 2013-12-19 2014-03-26 广东威创视讯科技股份有限公司 Split screen updating method and system for three-dimensional scene
CN115329697A (en) * 2022-08-26 2022-11-11 北京国科恒通科技股份有限公司 Method, device and system for generating simulated three-dimensional circuit diagram and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1527990A (en) * 2001-11-27 2004-09-08 �ֹ��� Image processing device and its assembly and rendering method
CN101116111A (en) * 2004-12-21 2008-01-30 高通股份有限公司 2d/3d line rendering using 3d rasterization algorithms
US7495670B1 (en) * 2005-04-15 2009-02-24 Johnnie Manzari Shapes comprising repeated graphic elements

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1527990A (en) * 2001-11-27 2004-09-08 �ֹ��� Image processing device and its assembly and rendering method
CN101116111A (en) * 2004-12-21 2008-01-30 高通股份有限公司 2d/3d line rendering using 3d rasterization algorithms
US7495670B1 (en) * 2005-04-15 2009-02-24 Johnnie Manzari Shapes comprising repeated graphic elements

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张洁: "基于三维实时图文编播***的双视窗应用研究", 《广播与电视技术》 *
方稼华: "工欲善其事必先利其器——浅谈高桥欧诺个A10三维实时图文编播***的应用体会", 《音画工坊》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999880A (en) * 2012-11-14 2013-03-27 厦门亿力吉奥信息科技有限公司 GPU-based (graphics processing unit-based) real-time drawing method and device for power WebGIS (web geographic information system) vector
CN103024318A (en) * 2012-12-25 2013-04-03 青岛海信信芯科技有限公司 Accelerated processing method and accelerated processing device for television graphics
CN103679791A (en) * 2013-12-19 2014-03-26 广东威创视讯科技股份有限公司 Split screen updating method and system for three-dimensional scene
CN115329697A (en) * 2022-08-26 2022-11-11 北京国科恒通科技股份有限公司 Method, device and system for generating simulated three-dimensional circuit diagram and storage medium

Also Published As

Publication number Publication date
CN102737410B (en) 2017-09-12

Similar Documents

Publication Publication Date Title
US11721071B2 (en) Methods and systems for producing content in multiple reality environments
US10311548B2 (en) Scaling render targets to a higher rendering resolution to display higher quality video frames
US7084879B2 (en) Image processing
US7142709B2 (en) Generating image data
US11330172B2 (en) Panoramic image generating method and apparatus
KR101267120B1 (en) Mapping graphics instructions to associated graphics data during performance analysis
US9224233B2 (en) Blending 3D model textures by image projection
CN102737410A (en) Display method and display device for three-dimensional graphic elements in two-dimensional graph-text editing and playing system
US7064755B2 (en) System and method for implementing shadows using pre-computed textures
US20120212503A1 (en) Method and Mobile Terminal for Enabling Animation during Screen-switching
US20230040777A1 (en) Method and apparatus for displaying virtual landscape picture, storage medium, and electronic device
US7561166B2 (en) System, method, and computer program product for general environment mapping
Roncarelli The computer animation dictionary: including related terms used in computer graphics, film and video, production, and desktop publishing
CN114928718A (en) Video monitoring method and device, electronic equipment and storage medium
CN102722902A (en) Method for anti-aliasing improvement at rasterization phase in graphic rendering pipeline
CN112700519A (en) Animation display method and device, electronic equipment and computer readable storage medium
CN112911260B (en) Multimedia exhibition hall sand table projection display system
CN102750726A (en) Depth-of-field achieving method based on Open graphics library (GL)
KR20190065503A (en) Method and apparatus of playing VR contents on display devices
AU2020215351A1 (en) Viewability metrics of a multidimensional object in a multidimensional digital environment
CN110944239A (en) Video playing method and device
CN102789649A (en) Method for achieving special three-dimensional transformation effect
JP2002260003A (en) Video display device
CN115760555A (en) Method and device for synthesizing dome screen image
CN102750933B (en) The dynamic display method of three-dimensional oscillography model in a kind of color three-dimensional oscilloscope

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170912

Termination date: 20210506

CF01 Termination of patent right due to non-payment of annual fee