CN102654922A - Message management engine - Google Patents

Message management engine Download PDF

Info

Publication number
CN102654922A
CN102654922A CN2011100511592A CN201110051159A CN102654922A CN 102654922 A CN102654922 A CN 102654922A CN 2011100511592 A CN2011100511592 A CN 2011100511592A CN 201110051159 A CN201110051159 A CN 201110051159A CN 102654922 A CN102654922 A CN 102654922A
Authority
CN
China
Prior art keywords
message
unit
module
message management
call
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
CN2011100511592A
Other languages
Chinese (zh)
Other versions
CN102654922B (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.)
Fujian Star Net eVideo Information Systems Co Ltd
Original Assignee
Fujian Star Net eVideo Information Systems Co 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 Fujian Star Net eVideo Information Systems Co Ltd filed Critical Fujian Star Net eVideo Information Systems Co Ltd
Priority to CN201110051159.2A priority Critical patent/CN102654922B/en
Publication of CN102654922A publication Critical patent/CN102654922A/en
Application granted granted Critical
Publication of CN102654922B publication Critical patent/CN102654922B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a message management engine for managing messages of a three-dimensional graphic engine. The message management engine comprises a motion message management module for controlling rendering operation of an object rendering unit and a called message management module for controlling the rendering time of the object rendering unit. The message management engine is used for managing the rendering operation and the rendering time for a three-dimensional object in the three-dimensional graphic engine, so that the working efficiency of the three-dimensional graphic engine is further optimized, and the complexity of embedded software for developing the three-dimensional object is reduced.

Description

The message management engine
Technical field
The present invention relates to a kind of message management engine.
Background technology
OpenGL (Open Graphics Library, open graphic package function) is one and calls bottom shape library easily, is used for two dimension (2D) or three-dimensional (3D) image.OpenGL ES (OpenGL for Embedded Systems) is made up of desktop OpenGL subclass; Be OpenGL three-dimensional picture API (Application Programming Interface; Calling program programming function) subclass; Design to embedded device such as mobile phone, PDA and game host, it has created software and the figure mutual function of bottom between quickening.Three-dimensional rendering technology such as OpenGL ES are widely used in the performance history of embedded software, use drawing, animation figures to digital amusing products to play up it, can make the digital entertainment product have three-dimensional display effect and three-dimensional user interface.But, directly utilize OpenGL ES to carry out embedded software developing and have bigger exploitation complexity, and influence Development of Software efficient and ease for maintenance.
Summary of the invention
The technical matters that the present invention mainly solves provides the management system of a kind of three-dimensional picture engine, message management engine; Utilize message mechanism that the motion of three dimensional object and the opportunity of playing up are managed; Reduce the three-dimensional graphic object complexity of developing of embedded software; And improve the development efficiency of embedded software, and the ease for maintenance that strengthens embedded software.
For solving the problems of the technologies described above; The technical scheme that the present invention adopts is: a kind of message management engine is provided; Be used for the three-dimensional picture engine is carried out message management; Said three-dimensional picture engine comprises interpolation object unit, render objects unit, deletion object unit, upgating object unit and object queue unit, and said interpolation object unit is used for adding object to the object queue unit, and said render objects unit is used for render objects to reach the three-dimensional motion effect; Said deletion object unit is used for the object of needs is no longer deleted from the object queue unit, and said upgating object unit is used for the attribute of each object of upgating object queue unit; Said message management engine comprises the message call administration module on the motion message management module of playing up action that is used to control the render objects unit and the opportunity of playing up that is used to control the render objects unit.
Wherein, said motion message management module comprises mobile messaging unit, convergent-divergent message elements, rotation message elements, desalination message elements, inverted image message elements and the transforming message unit, visual angle of respectively object being played up action control.
Wherein, said message call administration module comprise be used to start play up call the beginning module be used to close play up call the end module.
Wherein, include eye position, alignment point and direction vector data in the transforming message unit, said visual angle.
Wherein, the said beginning module of calling finishes module and also comprises enabling of being used for that control messages sends with calling, and only starts and calls and finish the message that module sends between starting and just come into force calling the beginning module.
Wherein, also comprise the action that locks when calling the startup of beginning module, call and finish also to comprise when module starts the release action.
The invention has the beneficial effects as follows: the present invention utilizes the message management engine that playing up of three dimensional object in the three-dimensional picture engine moved and managed the opportunity of playing up; Further optimize the work efficiency of three-dimensional picture engine, reduced the three-dimensional graphic object complexity of developing of embedded software.
Description of drawings
Fig. 1 is that the present invention adds the process synoptic diagram of message for the graphics engine storehouse;
Fig. 2 is the process synoptic diagram of the present invention's render objects of giving the graphics engine storehouse.
Embodiment
By specifying technology contents of the present invention, structural attitude, realized purpose and effect, give explanation below in conjunction with embodiment and conjunction with figs. are detailed.
Message management engine of the present invention; Be used for the three-dimensional picture engine is carried out message management; Said three-dimensional picture engine comprises interpolation object unit, render objects unit, deletion object unit, upgating object unit and object queue unit; Said interpolation object unit is used for adding object to the object queue unit; Said render objects unit is used for render objects reaching the three-dimensional motion effect, and said deletion object unit is used for the object of needs is no longer deleted from the object queue unit, and said upgating object unit is used for the attribute of each object of upgating object queue unit; Said message management engine comprises the message call administration module on the motion message management module of playing up action that is used to control the render objects unit and the opportunity of playing up that is used to control the render objects unit.
The present invention utilizes the message management engine that playing up of three dimensional object in the three-dimensional picture engine moved and managed the opportunity of playing up, and has further optimized the work efficiency of three-dimensional picture engine, has reduced the three-dimensional graphic object complexity of developing of embedded software.
In one embodiment, said motion message management module comprises mobile messaging unit, convergent-divergent message elements, rotation message elements, desalination message elements, inverted image message elements and the transforming message unit, visual angle of respectively object being played up action control.
In one embodiment, said message call administration module comprise be used to start play up call the beginning module be used to close play up call the end module.
In one embodiment, include eye position, alignment point and direction vector data in the transforming message unit, said visual angle.
In one embodiment, the said beginning module of calling finishes module and also comprises enabling of being used for that control messages sends with calling, and only starts and calls and finish the message that module sends between starting and just come into force calling the beginning module.
In one embodiment, also comprise the action that locks when calling the startup of beginning module, call and finish also to comprise when module starts the release action.
The attribute of object mainly comprises size, the degree that desalination shows, three-dimensional anglec of rotation size, the height of inverted image and the transparency of inverted image of the three-dimensional coordinate of object present position, three-dimensional scaling, the sign whether object shows.
The management system of three-dimensional graphic object of the present invention comprises above-mentioned three-dimensional picture engine and above-mentioned message management engine, and described message management engine carries out message management to described three-dimensional picture engine.
Below, be elaborated with a preferred embodiment:
1. object message management
Each object comprises a message queue; Comprising move, movable informations (being also referred to as motion message) such as convergent-divergent, rotation, desalination, inverted image and visual angle conversion, and through calling beginning (EVGEBegin) and finishing (EVGEEnd) function and control the serial of above-mentioned action and perhaps walk abreast.
The instruction of sending according to calling program through the message mechanism controlling object changes action and plays up mode.When the object message formation is sky, when receiving message, carries out object at once.Different beginnings and finish the message that function sends to single object and can serial carry out, different time sections send to the message of different objects can executed in parallel, but does not guarantee that the message of different objects can carry out in serial.
Message in the said graphics engine comprises object message and global message, and each object is safeguarded the message queue of an object, and global message is safeguarded by a message queue.There is one to play up thread and move always in the said graphics engine, plays up thread, let message in playing up thread, carry out simultaneously according to the content of the attribute render objects of object Frame Buffer to display frame.
The object message bag is that height and transparency and each of alpha value, inverted image the 3 d scale of the 3 d scale of the three-dimensional coordinate of the present position in the object properties, convergent-divergent, rotation, desalination played up in the cycle variable quantity of object properties and be packaged together and form.The message of object comprised and moves (EVGEMove), convergent-divergent (EVGEScale), rotation (EVGERotate), desalination (EVGEFade), inverted image (EVGEReflect), shows and hide (EVGEShow) the motion message of etc.ing, the state attribute value that the parameter of object function message will be reached by object handle, message and need the frame number of playing up form.
Global message mainly is visual angle transforming message (EVGELookAt), comprises eye position, alignment point, direction vector in the message.The global message bag is to be packaged together the variable quantity (be called for short, every frame increment) that these attributes and each are played up attribute in the cycle and form.
Beginning and end function are used for enabling of control messages transmission, and the message of only between beginning and end, sending just comes into force, and the while locks when beginning, the safety of release to guarantee that multithreading is controlled during end.
Comprise also in the said graphics engine that the caller that call back function offers in the calling program uses, call the call back function of calling program appointment after the message bag is carried out and finished.Said call back function is the function that said graphics engine offers user's registration function and parameter, and the user can utilize this function specified function name and parameter to give said graphics engine, and said graphics engine utilizes designated parameters to carry out the function of appointment.
2. the interpolation of message
Show like Fig. 1, call after the beginning function, begin to add message.If the motion message of adding is global message, then said motion message is directly joined the end (if formation is then added into head of the queue for empty) of global message formation.If the message of adding is object message, then said motion message is joined the end (if formation is then added into head of the queue for empty) of the message queue of this object, and call the end function.
In order to strengthen the stability of said graphics engine, said graphics engine has been stipulated the maximum message number of each message queue, if the message number in the formation surpasses restriction, then abandons message to be added.
3. message is carried out
Show like Fig. 2, play up the maintenance of formation and control that after said graphics engine starts, at first start timer and send out incident 60 times to playing up function p.s., each incident is carried out something, is lockable then release if play up lock by timer.Execution is played up in the process of function, can remove to travel through each object of playing up in the formation, and whether confirm will be according to the state of information updating object.As long as in the message queue of object message is arranged, then carry out the head of the queue message of this message queue, delete this message after executing this message.The visual angle transforming message of the overall situation also is the same.
The above is merely embodiments of the invention; Be not so limit claim of the present invention; Every equivalent structure or equivalent flow process conversion that utilizes instructions of the present invention and accompanying drawing content to be done; Or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.

Claims (6)

1. message management engine; Be used for the three-dimensional picture engine is carried out message management; Said three-dimensional picture engine comprises interpolation object unit, render objects unit, deletion object unit, upgating object unit and object queue unit; Said interpolation object unit is used for adding object to the object queue unit; Said render objects unit is used for render objects reaching the three-dimensional motion effect, and said deletion object unit is used for the object of needs is no longer deleted from the object queue unit, and said upgating object unit is used for the attribute of each object of upgating object queue unit;
It is characterized in that: said message management engine comprises the message call administration module on the motion message management module of playing up action that is used to control the render objects unit and the opportunity of playing up that is used to control the render objects unit.
2. message management engine according to claim 1 is characterized in that: said motion message management module comprises mobile messaging unit, convergent-divergent message elements, rotation message elements, desalination message elements, inverted image message elements and the transforming message unit, visual angle of respectively object being played up action control.
3. message management engine according to claim 1 is characterized in that: said message call administration module comprise be used to start play up call the beginning module be used to close play up call the end module.
4. message management engine according to claim 2 is characterized in that: said visual angle includes eye position, alignment point and direction vector data in the transforming message unit.
5. message management engine according to claim 3; It is characterized in that: the said beginning module of calling finishes module and also comprises enabling of being used for that control messages sends with calling, and only starts and calls and finish the message that module sends between starting and just come into force calling the beginning module.
6. according to claim 3 or 5 described message management engines, it is characterized in that: also comprise the action that locks when calling the startup of beginning module, call and finish also to comprise when module starts the release action.
CN201110051159.2A 2011-03-03 2011-03-03 Message management engine Active CN102654922B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110051159.2A CN102654922B (en) 2011-03-03 2011-03-03 Message management engine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110051159.2A CN102654922B (en) 2011-03-03 2011-03-03 Message management engine

Publications (2)

Publication Number Publication Date
CN102654922A true CN102654922A (en) 2012-09-05
CN102654922B CN102654922B (en) 2014-11-05

Family

ID=46730547

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110051159.2A Active CN102654922B (en) 2011-03-03 2011-03-03 Message management engine

Country Status (1)

Country Link
CN (1) CN102654922B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1669055A (en) * 2001-12-31 2005-09-14 英特尔公司 Automatic memory management for zone rendering
CN1942900A (en) * 2004-03-03 2007-04-04 高通股份有限公司 Variable clock control for a graphics processor
CN101309473A (en) * 2007-05-18 2008-11-19 希姆通信息技术(上海)有限公司 Method for implementing three-dimensional scenic main menu in mobile communication terminal
CN101309472A (en) * 2007-05-18 2008-11-19 希姆通信息技术(上海)有限公司 Method for implementing three-dimensional scenic dialing interface of mobile communication terminal
CN101882077A (en) * 2010-05-19 2010-11-10 广东威创视讯科技股份有限公司 Method and device for efficiently drawing and rendering basic graphic

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1669055A (en) * 2001-12-31 2005-09-14 英特尔公司 Automatic memory management for zone rendering
CN1942900A (en) * 2004-03-03 2007-04-04 高通股份有限公司 Variable clock control for a graphics processor
CN101309473A (en) * 2007-05-18 2008-11-19 希姆通信息技术(上海)有限公司 Method for implementing three-dimensional scenic main menu in mobile communication terminal
CN101309472A (en) * 2007-05-18 2008-11-19 希姆通信息技术(上海)有限公司 Method for implementing three-dimensional scenic dialing interface of mobile communication terminal
CN101882077A (en) * 2010-05-19 2010-11-10 广东威创视讯科技股份有限公司 Method and device for efficiently drawing and rendering basic graphic

Also Published As

Publication number Publication date
CN102654922B (en) 2014-11-05

Similar Documents

Publication Publication Date Title
US11494995B2 (en) Systems and methods for virtual and augmented reality
CN106575444B (en) User gesture-driven avatar apparatus and method
JP2020091877A (en) Varying effective resolution by screen location by changing active color sample count within multiple render targets
KR101952983B1 (en) System and method for layering using tile-based renderers
WO2013184534A4 (en) Non-static 3d map views
CN102169596B (en) Method and device for realizing 3D rendering on embedded device
US20060107229A1 (en) Work area transform in a graphical user interface
CN103336816A (en) Canvas element rendering method and device realized on Android system based on GPU (Graphic Processing Unit)
EP2156409A1 (en) Post-render graphics overlays
CN103413343A (en) 3D (Three-Dimensional) graphic animation engine
US20210236928A1 (en) Asset aware computing architecture for graphics processing
US11418830B2 (en) Distributed video and graphics rendering system
CN111514587B (en) Information processing method, device, equipment and storage medium
CN103543998A (en) WEB3D image engine generating method based on HTML5
CN103456035B (en) Realize the device and method of video 3-D display
CN103632390A (en) Method for realizing naked eye 3D (three dimensional) animation real-time making by using D3D (Direct three dimensional) technology
CN103577046A (en) 3D stereoscopic desktop system and implementation method thereof
CN102654922B (en) Message management engine
CN113470153A (en) Rendering method and device of virtual scene and electronic equipment
CN103024318A (en) Accelerated processing method and accelerated processing device for television graphics
CN103150133A (en) Resource display method and device
CN101650822B (en) Method and system for generating mutual information
CN102654830A (en) Method for optimizing video memory space in texture discharge manner
CN102654921A (en) Three-dimensional graphic engine for managing objects
JP2010244450A (en) Image processor and image processing method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant