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
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
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)
See at http://nehe.gamedev.net/
There are tutorials about displaing a text in OpenGL (and much more…)
Hi,
http://slug-production.ibelgique.com
Download Section
There is a simple example who display text on the screen.