PDA

View Full Version : Printing text into window



03-26-2001, 05:37 PM
Hi, I'm using a C++ compiler for my OpenGL programming. I'm really new to OpenGL though and was wondering how I would print text into the window I created using OpenGL programming.

Any help would be appreciated

Thanks,
Paul

RandyU
03-26-2001, 06:50 PM
There are several ways:
1)write it on DC (cant say more because i didnt tried this)
2)Create WGL font (bitmap or outline) and write it.
3)Write your own font by lines. (or there is an ready one in glAux)

Scorpion
03-27-2001, 08:17 AM
See at http://nehe.gamedev.net/
There are tutorials about displaing a text in OpenGL (and much more...)

Leyder Dylan
03-28-2001, 07:22 AM
Hi,
http://slug-production.ibelgique.com

Download Section

There is a simple example who display text on the screen.