1. How to overlay text on a full screen game ?

Dear Experts,

Does anyone has any idea how to overlay text on a full screen 3DMark01
applicaton?

Thanks.

Best regards,


Ricky

new topic     » topic index » view message » categorize

2. Re: How to overlay text on a full screen game ?

Ricky wrote:
> 
> Dear Experts,
> 
> Does anyone has any idea how to overlay text on a full screen 3DMark01
> applicaton?
> 
> Thanks.
> 
> Best regards,
> 
> 
> Ricky

Hi

Whats one of those?

Chris

new topic     » goto parent     » topic index » view message » categorize

3. Re: How to overlay text on a full screen game ?

Dear ChristBurch2,

Basically, I want to overlay some text on a game or 3D program running in full
screen mode.  The game is using DirectX in Windows XP.

Do you have any idea how to do that?

Thanks.

Best regards,


Ricky

new topic     » goto parent     » topic index » view message » categorize

4. Re: How to overlay text on a full screen game ?

Hi

On a purely theoretical level, it depends entirely on what library you are using
to implement this.

There are a couple of directx libraries (exotica, exoticax, directe) which have
examples
of this sort of thing

There's opengl, and there'e allegro - search the archives.

Basic principle in common with most of these libs, is that you have an area
of memory, which you use the required function to write the text to, then
you flip that (something like swap_buffers, flip etc) that area of memory
onto the screen memory. Its a lot faster to do it like this.

All gaming libs (AFAIK) have this in common.

Of course, if you're not talking about euphoria, then this is probably not
the best place for you.

Which library are you using?

Just reading your post again, are you wanting to write text onto a game that
has nothing to do with anything else, eg you're playing half life, and you
want "drop dead mf scumbag" et al to appear on the screen, put there by a 
separate, disparate progeam. I don't think you can do this.

Chris

new topic     » goto parent     » topic index » view message » categorize

5. Re: How to overlay text on a full screen game ?

ChrisBurch3 wrote:
> 
> Hi
> 
> On a purely theoretical level, it depends entirely on what library you are
> using
> to implement this.
> 
> There are a couple of directx libraries (exotica, exoticax, directe) which
> have
> examples
> of this sort of thing
> 
> There's opengl, and there'e allegro - search the archives.
> 
> Basic principle in common with most of these libs, is that you have an area
> of memory, which you use the required function to write the text to, then
> you flip that (something like swap_buffers, flip etc) that area of memory
> onto the screen memory. Its a lot faster to do it like this.
> 
> All gaming libs (AFAIK) have this in common.
> 
> Of course, if you're not talking about euphoria, then this is probably not
> the best place for you.
> 
> Which library are you using?
> 
> Just reading your post again, are you wanting to write text onto a game that
> has nothing to do with anything else, eg you're playing half life, and you
> want "drop dead mf scumbag" et al to appear on the screen, put there by a 
> separate, disparate progeam. I don't think you can do this.
> 
> Chris

Yes you can overlay text onto a 3rd party, full-screen app.
Fraps does this (shows some runtime stats, such as the number of frames per 
allows video capture) as well as other programs I know of.

How it's done exactly, I'm not sure. I think you need to aquire the address of
the directX surface, which is a specialized windows canvas, afaik. Then you can
use the windows text functions to write directly to the surface.

Chris Bensler
Code is Alchemy

new topic     » goto parent     » topic index » view message » categorize

6. Re: How to overlay text on a full screen game ?

Of course, I forgot about fraps - so there must be some way to do it. I don't
know how though either.

Chris

new topic     » goto parent     » topic index » view message » categorize

7. Re: How to overlay text on a full screen game ?

Chris Bensler wrote:
> 
> ChrisBurch3 wrote:
> > 
> > Hi
> > 
> > On a purely theoretical level, it depends entirely on what library you are
> > using
> > to implement this.
> > 
> > There are a couple of directx libraries (exotica, exoticax, directe) which
> > have
> > examples
> > of this sort of thing
> > 
> > There's opengl, and there'e allegro - search the archives.
> > 
> > Basic principle in common with most of these libs, is that you have an area
> > of memory, which you use the required function to write the text to, then
> > you flip that (something like swap_buffers, flip etc) that area of memory
> > onto the screen memory. Its a lot faster to do it like this.
> > 
> > All gaming libs (AFAIK) have this in common.
> > 
> > Of course, if you're not talking about euphoria, then this is probably not
> > the best place for you.
> > 
> > Which library are you using?
> > 
> > Just reading your post again, are you wanting to write text onto a game that
> > has nothing to do with anything else, eg you're playing half life, and you
> > want "drop dead mf scumbag" et al to appear on the screen, put there by a 
> > separate, disparate progeam. I don't think you can do this.
> > 
> > Chris
> 
> Yes you can overlay text onto a 3rd party, full-screen app.
> Fraps does this (shows some runtime stats, such as the number of frames per
>  allows video capture) as well as other programs I know of.
> 
> How it's done exactly, I'm not sure. I think you need to aquire the address
> of the directX surface, which is a specialized windows canvas, afaik. Then you
> can use the windows text functions to write directly to the surface.
> 
> Chris Bensler
> Code is Alchemy

That's exactly what I want to do.  I will overlay some information such as frame
rate,
temperature of the graphic chip etc. on to the game Window.  The game will be
using DirectX.
In this case, it's 3DMark01 which will be using DirectX 9. This is a program for
testing graphic
card performance. Is this a simple task or very complicated?  I'm not very good
in programming.


Best regards,


Ricky

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu