Archived

This topic is now archived and is closed to further replies.

RBC9

Text in OpenGL .... question from a newbie.

Recommended Posts

Hi guys , First , sorry for my english , it s not my language , and i was not a good student .... i discover NeHe''s site today ... it s wonderfull... i start my lesson now ... :-) In fact , i m a newbie in graphics (not only there :-) ), i m looking for some help. Like i said, i ll learn how to do ... , but i would be able to create a small application for my personnal usage now. I would know if it s possible to send text in OPENGL game , like Half-Life / Quake or other ... I want to have a program with some alarm , that put text at the screen while i m playing. I ve got no problem to handle event i need , phone , Mail .... I ve try to use standart Windows API (BitBlt) but the text is flashing and it s impossible for me to read what i send ... So , if someone has time to spent , i would be happy to have a little example that i can modify for my purpose. thx.

Share this post


Link to post
Share on other sites
Hi RBC9

I believe what you are looking for is Nehe''s Lesson 13.

It deals with bitmapped fonts and I''m sure it will help.

Just go to Nehe''s home page (http://nehe.gamedev.net/) then click on OpenGL Tutorials and then scroll down to the section Bitmap Fonts. When you click on the image you will download Lesson 13.

It''s all there!

All the best,
Tony

Share this post


Link to post
Share on other sites
Thx Firesoft ,

But i ve already have a look in those Lesson , and i think it would be better for me to start from the begin. Cause if i try to understand this lesson without reading / testing all the 11 before , i donno if i could do anything correct.

And btw , i don t know how or if it s possible to handle the Game opengl window. In the example , Nehe always create a new window and use this one to draw / move .....

Share this post


Link to post
Share on other sites
thx , zedzeek
but it s a bit to hard for me , i know nothing about ogl ...
i m looking for a simple example on how to write in windows of an exsting game ,not a windows that i create.

Share this post


Link to post
Share on other sites