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

Started by
9 comments, last by RBC9 23 years, 5 months ago
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.
Advertisement
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

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 .....
Sorry RBC9.

I''m pretty new to OpenGL myself so any help I can give is limited.

I hope you find what you need to help you.

All the best,
Tony
Hi,

If you want, I''ve a small program who display the FPS.

C''est cool de s''aider entre Belge !

Leyder Dylan

dylan.leyder@ibelgique.com

========================Leyder Dylan (dylan.leyder@slug-production.be.tf http://users.skynet.be/fa550206/Slug-Production/Index.htm/
Thx M8

Contact on ICQ 51691933

en avant les ptis Belges
most of the games on me site have got an example
http://members.nbci.com/myBollux they''re all pretty simple code

http://members.xoom.com/myBollux
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.
really ?
nobody can help me.

Seems to be simple for experimented programmers.



u wanna write text in an existing game
like quake?

http://members.xoom.com/myBollux

This topic is closed to new replies.

Advertisement