Can I use DirectX9 to render area of a rectangle ?

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

finezwx
Just popping in
Just popping in
Posts: 13
Joined: Fri May 23, 2008 02:20

Can I use DirectX9 to render area of a rectangle ?

Postby finezwx » Mon Feb 09, 2009 01:47

I am a game programmer.

Now We want to render an area of rectangle on all small games to show text and pictures. the content is nothing to do with the games.

For the games use different engines. the engines all render by D3D9 or OPENGL. So I cann't use CEGUI or OGRE to render the area of rectangle.

But the CEGUI and OGRE have called Present function which would swap the buffer every frame. So if I use DirectX9 to render area of rectangle, the games will flicker. and the opengl is the same.

Now how can I do ???

Thank you very much

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Mon Feb 09, 2009 09:46

Hi,

I know you've had this answered and you have it working, but I just have to clarify (for future people searching, perhaps) that CEGUI absolutely does not call any "present", "flush" or "swap" functions on the main display buffer(s). Ogre and other engines do do this obviously because they are managing your rendering, but CEGUI - definitely not ;)

CE.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 4 guests