CN102737410B - Display methods and device of a kind of three-dimensional pel in two-dimentional picture and text compile broadcast system - Google Patents

Display methods and device of a kind of three-dimensional pel in two-dimentional picture and text compile broadcast system Download PDF

Info

Publication number
CN102737410B
CN102737410B CN201110116727.2A CN201110116727A CN102737410B CN 102737410 B CN102737410 B CN 102737410B CN 201110116727 A CN201110116727 A CN 201110116727A CN 102737410 B CN102737410 B CN 102737410B
Authority
CN
China
Prior art keywords
dimensional
pel
internal memory
scene
cache
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.)
Expired - Fee Related
Application number
CN201110116727.2A
Other languages
Chinese (zh)
Other versions
CN102737410A (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

Abstract

The present invention discloses display methods and device of a kind of three-dimensional pel in two-dimentional picture and text compile broadcast system, including:Visual editor is carried out for three-dimensional pel;Calculate positional information of the three-dimensional pel in two-dimensional scene;Three-dimensional pel is rendered.The embodiment of the present invention utilizes GPU accelerating engines, general video card is all competent at the Fast rendering of three-dimensional pel;Simultaneously using pre-stored (Cache) scheme, the influence to editor and the real-time broadcasted that general video card internal memory interactive speed is caused slowly is solved.

Description

Display methods and device of a kind of three-dimensional pel in two-dimentional picture and text compile broadcast system
Technical field
The present invention relates to field of broadcast televisions TV programme record and broadcast technology, more particularly to a kind of three-dimensional pel is in two-dimentional picture and text Compile the display methods and device in broadcast system.
Background technology
Constantly lifted with the user's request of radio, TV and film industries, for the effect requirements more and more higher of picture and text captions, in the market Existing multiple producers provide three dimension text and compile broadcast system, such as " very three-dimensional film titler ", and its technical requirements is:Can be based on three-dimensional Space, the operation of the three-dimensional pel of progress, such as rotates, scales, translates, and supports the display mode of three-dimensional depth effect, in order to Ensure real-time, rendering for three dimension text usually uses video card acceleration technique, can from video memory and computer system memory The video card hardware type of rapid copy, carries out the acquisition of the whole multiple pel rendering results of scene, the so requirement for video card Just relatively higher, the Application Range of product accessories can be limited by hardware market.But, because product price factor, user make With the reason such as custom and genres of programs design, still there is substantial amounts of user to compile broadcast system using two-dimentional picture and text and complete routine work, together When also have certain demand for three-dimensional pel.This kind of user is limited (mainly video card) by products-hardware, from video card internal memory Copy computer system memory speed to very slow, it is impossible to support the real-time volume of true three-dimensional whole field scape to broadcast, therefore be just badly in need of one entirely New technology solves the above problems.
The content of the invention
The present invention provides display methods and device of a kind of three-dimensional pel in two-dimentional picture and text compile broadcast system, realizes quick The three-dimensional pel of editor, and the purpose that the mixing of two-dimensional scene is calculated is participated in real time.
The present invention provides a kind of display methods of three-dimensional pel in two-dimentional picture and text compile broadcast system, including:
Visual editor is carried out for three-dimensional pel;
Calculate positional information of the three-dimensional pel in two-dimensional scene;
Three-dimensional pel is rendered.
The present invention also provides a kind of display device of three-dimensional pel in two-dimentional picture and text compile broadcast system, including:
Visual edit module, for carrying out visual editor for three-dimensional pel;
Positional information calculation module, for calculating three-dimensional pel in own profile and sky according to plane projection calculation formula Between parameter collective effect under regional location from three-dimensional scene projection to two-dimensional scene, and in this, as three-dimensional pel in two dimension The position of mixing is participated in scene;
Three-dimensional pel rendering module, for being rendered to three-dimensional pel.
Compared with prior art, embodiments of the invention have advantages below:
1st, using GPU accelerating engines, such as:OpenGL or Direct3D, general video card can all be competent at the quick of three-dimensional pel Render.
2nd, using pre-stored (Cache) scheme, solve that general video card internal memory interactive speed causes slowly to editing and broadcasting Real-time influence;
3rd, three-dimensional pel and other two-dimensional primitives can be carried out into the mixing based on pixel to export;
4th, it can use and be same as the spatial operations such as the unified rotation of other two-dimensional primitives, scaling, translation, alignment.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, the accompanying drawing used in being described below to embodiment It is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, general for this area For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of display methods flow chart of the three-dimensional pel of the embodiment of the present invention in two-dimentional picture and text compile broadcast system;
Fig. 2 is the method flow diagram of three-dimensional pel visual edit in the embodiment of the present invention;
Fig. 3 is Scene mixed processing flow chart of the embodiment of the present invention;
Fig. 4 is a kind of display device structure figure of the three-dimensional pel of the embodiment of the present invention in two-dimentional picture and text compile broadcast system;
Fig. 5 is the schematic diagram of orthographic projection of the embodiment of the present invention and lateral projection;
Fig. 6 is orthographic projection polar plot of the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it should be pointed out that described embodiment is only a part of embodiment of the present invention, rather than whole Embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are obtained under the premise of creative work is not made The every other embodiment obtained, belongs to the scope of protection of the invention.
The embodiment of the present invention provides a kind of display methods of three-dimensional pel in two-dimentional picture and text compile broadcast system, as shown in figure 1, Including:
Step S101, for three-dimensional pel carry out visual editor.
The visual edit of three-dimensional pel is by the way of modal dialog box, and the display window of modal dialog box can be based on OpenGL or D3D engines are created, it is possible to quickly show Preview results, so can in real time be shown and worked as using video card acceleration technique Preceding effect;First, edit instruction is triggered by menu or button;Secondly, the exclusive system of display modal dialog box enters edlin, and The spatial operation such as rotation, mobile is completed in the window, such benefit is can only to edit three-dimensional pel itself, it is not necessary to every While secondary change parameter, display result is taken out from video memory, then is mixed with other pels.Again, editor's completion is exited During dialog box, if receiving edited result, the result rendered is saved in pre-stored Cache modules, if not receiving volume Result is collected, will be without any processing.Particular flow sheet is as shown in Figure 2.
The positional information of step S102, the three-dimensional pel of calculating in two-dimensional scene.
Positional information of the three-dimensional pel in whole two-dimensional scene is handled by the way of plane projection, that is, is received and rendered After instruction in scene, three-dimensional pel is calculated in the common of own profile and spatial parameter according to plane projection calculation formula Regional location under effect from three-dimensional scene projection to two-dimensional scene, and participate in mixed in two-dimensional scene in this, as three-dimensional pel The position of conjunction, the i.e. display location of the three-dimensional pel in two-dimensional scene.
Tripleplane's formula:
Projection is divided into orthographic projection (as shown in Fig. 5 left hand views) and lateral projection's (as shown in Fig. 5 right part of flg), herein using positive throwing Shadow mode.
If projection plane is ABC, as shown in fig. 6, E is subpoints of the origin O on ABC faces.Extend line segment BE and AC to hand over In D.OF is projection plane ABC projecting direction vector, abbreviation projection vector.The process of so normal axonometric projection is:First will Projection vector OF is by rotation transformation to z-axis, then xoy faces are projected.
1) first turned clockwise α angles around y-axis, plane DOB is overlapped with yoz faces, transformation matrix is as follows:
2) further around x-axis rotate counterclockwise β angles, OF (OE) is made to be overlapped with z-axis, transformation matrix is as follows:
3) three-dimensional body is made into orthographic projection to xoy planes, transformation matrix is as follows:
4) projective transformation matrix for finally obtaining positive shaft survey is as follows:
Step S103, three-dimensional pel is rendered.
According to position size application internal memory of the three-dimensional pel in two-dimensional scene, or referred to as pel internal memory.Check whether There is Cache, rendered if it does not exist, then re-starting, and rendering result is copied into pel internal memory, and then regenerate Cache;If there is Cache, then Cache is directly copied into pel internal memory;By pel internal memory with having in scene results Deposit, by pixel mixed formulation, mixed at plane projection position.Step S102 and step S103 flow chart such as Fig. 3 It is shown.
Pixel mixed formulation:
Assuming that:Pixel color represents (transparent, red, green, blue) with (A, R, G, B)
Foreground is AwCw, and wherein Aw is Alpha values, and Cw represents Rw or Gw or Bw;
Background colour is AbCb, and wherein Ab is Alpha values, and Cb represents Rb or Gb or Bb;
Alpha values after the superposition of two color values are:
A=Aw+ (1-Aw) * Ab;-----(1)
The color of each color component after the superposition of two color values is
R=(Aw*Rw+ (1-Aw) * Rb)/A;
G=(Aw*Gw+ (1-Aw) * Gb)/A;
B=(Aw*Bw+ (1-Aw) * Bb)/A;
Wherein A is the A that (1) formula is calculated, it is desirable to which A is not equal to 0, if A==0, C=0.
By a kind of display methods of the three-dimensional pel of the embodiment of the present invention in two-dimentional picture and text compile broadcast system, using GPU plus Fast engine, makes general video card to be all competent at the Fast rendering of three-dimensional pel;Simultaneously using pre-stored (Cache) scheme, one is solved As video card internal memory interactive speed cause slowly to edit and broadcast real-time influence.
The embodiment of the present invention also provides a kind of display device of three-dimensional pel in two-dimentional picture and text compile broadcast system, such as Fig. 4 institutes Show, including:
Visual edit module 401, for carrying out visual editor for three-dimensional pel.
Positional information calculation module 402, for calculating three-dimensional pel in own profile according to plane projection calculation formula With the regional location under the collective effect of spatial parameter from three-dimensional scene projection to two-dimensional scene, and exist in this, as three-dimensional pel The position of mixing, the i.e. display location of the three-dimensional pel in two-dimensional scene are participated in two-dimensional scene.
Three-dimensional pel rendering module 403, for being rendered to three-dimensional pel.
Wherein, visual edit module 401, in addition to:
Instruction triggers submodule 4011, for triggering edit instruction by menu or button.
Modal dialog box operates submodule 4012, enters edlin for showing that modal dialog box monopolizes system, and in the window It is intraoral to complete the spatial operations such as rotation, movement.
As a result submodule 4013 is preserved, for when operating the completion to exit dialog box, the result rendered being saved in pre-stored In Cache modules.
Three-dimensional pel rendering module 403, in addition to:
Internal memory application submodule 4031, for the position size application internal memory according to three-dimensional pel in two-dimensional scene.
Examine submodule 4032, for checking whether there is Cache, rendered if it does not exist, then re-starting, and by wash with watercolours Dye result copies to pel internal memory, and then regenerates Cache;If there is Cache, then Cache is directly copied into pel Internal memory.
Mix submodule 4033, for by the internal memory of pel internal memory and existing scene results, by pixel mixed formulation, flat Mixed at the projected position of face.The embodiment of the present invention utilizes GPU accelerating engines, general video card is all competent at three-dimensional pel Fast rendering;Simultaneously using pre-stored (Cache) scheme, solve that general video card internal memory interactive speed causes slowly to editing and broadcasting The influence of the real-time gone out.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can lead to Hardware realization is crossed, the mode of necessary general hardware platform can also be added to realize by software.Understood based on such, this hair Bright technical scheme can be embodied in the form of software product, and the software product can be stored in a non-volatile memories Medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in, including some instructions are to cause a computer equipment (can be Personal computer, server, or network equipment etc.) perform method described in each of the invention embodiment.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, module or stream in accompanying drawing Journey is not necessarily implemented necessary to the present invention.
It will be appreciated by those skilled in the art that the module in device in embodiment can be divided according to embodiment description It is distributed in the device of embodiment, respective change can also be carried out and be disposed other than in one or more devices of the present embodiment.On The module for stating embodiment can be merged into a module, can also be further split into multiple submodule.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Disclosed above is only several specific embodiments of the present invention, and still, the present invention is not limited to this, any ability What the technical staff in domain can think change should all fall into protection scope of the present invention.

Claims (2)

1. a kind of display methods of three-dimensional pel in two-dimentional picture and text compile broadcast system, it is characterised in that including:
Visual editor is carried out for three-dimensional pel;Including:The visual edit of three-dimensional pel uses the side of modal dialog box Formula, the display window of modal dialog box is created based on OpenGL or D3D engines, and quickly shows Preview results, so using aobvious Card acceleration technique shows current effect in real time;First, edit instruction is triggered by menu or button;Secondly, multimodal dialogue is shown Frame monopolizes system and enters edlin, and completes in the display window of dialog box rotation, mobile space operation, and editor's completion is exited pair When talking about frame, if receiving edited result, the result rendered is saved in pre-stored Cache modules, if not receiving editor As a result, will be without any processing;
Calculate positional information of the three-dimensional pel in two-dimensional scene;Including:Position letter of the three-dimensional pel in whole two-dimensional scene Breath is handled by the way of plane projection, specifically, receiving after the instruction being rendered into scene, calculates public according to plane projection Formula calculates area of the three-dimensional pel under the collective effect of own profile and spatial parameter from three-dimensional scene projection to two-dimensional scene Domain position, and in this, as the position that three-dimensional pel participates in mixing in two-dimensional scene;
Three-dimensional pel is rendered, including:According to position size application pel internal memory of the three-dimensional pel in two-dimensional scene, look into See with the presence or absence of Cache, rendered if it does not exist, then re-starting, and rendering result is copied into pel internal memory, and then again Generate Cache;If there is Cache, then Cache is directly copied into pel internal memory;By pel internal memory and existing scene results Internal memory, by pixel mixed formulation, mixed at plane projection position.
2. a kind of display device of three-dimensional pel in two-dimentional picture and text compile broadcast system, it is characterised in that including:
Visual edit module, for carrying out visual editor for three-dimensional pel;
Positional information calculation module, for receiving after the instruction being rendered into scene, is calculated according to plane projection calculation formula Go out regional location of the three-dimensional pel under the collective effect of own profile and spatial parameter from three-dimensional scene projection to two-dimensional scene, And the position of mixing is participated in two-dimensional scene in this, as three-dimensional pel;
Three-dimensional pel rendering module, for being rendered to three-dimensional pel;
The visual edit module, including:
Instruction triggers submodule, for triggering edit instruction by menu or button;
Modal dialog box operates submodule, and edlin is entered for showing that modal dialog box monopolizes system, and in the dialog box Complete rotation, mobile space operation;
As a result submodule being preserved, during for operating completion to exit the dialog box, the result rendered being saved in pre-stored Cache In module;
The three-dimensional pel rendering module, including:
Internal memory application submodule, for the position size application pel internal memory according to three-dimensional pel in two-dimensional scene;
Submodule is examined, for checking whether there is Cache, is rendered if it does not exist, then re-starting, and rendering result is answered Pel internal memory is made, and then regenerates Cache;If there is Cache, then Cache is directly copied into pel internal memory;
Submodule is mixed, for by the internal memory of pel internal memory and existing scene results, by pixel mixed formulation, in plane projection position The place of putting is mixed.
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 CN102737410A (en) 2012-10-17
CN102737410B true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999880B (en) * 2012-11-14 2016-04-20 厦门亿力吉奥信息科技有限公司 Based on electric power WebGIS vector real-time drawing method and the device of GPU
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
CN115329697B (en) * 2022-08-26 2023-04-14 北京国科恒通科技股份有限公司 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
基于三维实时图文编播系统的双视窗应用研究;张洁;《广播与电视技术》;20101231(第11期);64,66,67 *
工欲善其事必先利其器——浅谈高桥欧诺个A10三维实时图文编播系统的应用体会;方稼华;《音画工坊》;20100630;46-48 *

Also Published As

Publication number Publication date
CN102737410A (en) 2012-10-17

Similar Documents

Publication Publication Date Title
US11721071B2 (en) Methods and systems for producing content in multiple reality environments
TWI636423B (en) Method for efficient construction of high resolution display buffers
JP4481166B2 (en) Method and system enabling real-time mixing of composite and video images by a user
US7791605B2 (en) Universal rasterization of graphic primitives
US9704229B2 (en) Post-render motion blur
US10891796B2 (en) Systems and methods for augmented reality applications
CN103021013A (en) High-efficiency processing method for spherical display and rotary output image of projector
CN102737410B (en) Display methods and device of a kind of three-dimensional pel in two-dimentional picture and text compile broadcast system
US8854392B2 (en) Circular scratch shader
CN104182194A (en) Method and system for seamless edge blending processing in projection display
CN106558017A (en) Spherical display image processing method and system
WO2023207001A1 (en) Image rendering method and apparatus, and electronic device and storage medium
CN114928718A (en) Video monitoring method and device, electronic equipment and storage medium
CN107424206A (en) A kind of interactive approach that the performance of virtual scene shadow is influenceed using actual environment
Lee et al. Real time 3D avatar for interactive mixed reality
CN112911260B (en) Multimedia exhibition hall sand table projection display system
CN115049776A (en) Video rendering method and device, storage medium and electronic equipment
Liao et al. Gpu parallel computing of spherical panorama video stitching
CN115715464A (en) Method and apparatus for occlusion handling techniques
JP2023508516A (en) Animation generation method, apparatus, electronic device and computer readable storage medium
Dai et al. Integration of multi-channel video and GIS based on LOD
US11361488B2 (en) Image display method and apparatus, and storage medium
CN102789649A (en) Method for achieving special three-dimensional transformation effect
Hayashi et al. Ultra high resolution 4K/8K Real-time CG System and its application
CN115760555A (en) Method and device for synthesizing dome screen image

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