PDA

View Full Version : Printing text



DmanPwns
12-11-2009, 10:31 AM
Take a look at the following image:

http://uhqo4q.bay.livefilestore.com/y1pw...creenshot92.bmp (http://uhqo4q.bay.livefilestore.com/y1pw9i_fDdtgpZvyCmIlAyXTQaCkvx_wBEHZ_FZ-Rsw96eMyXNLP8-o9wRyW5iMim9ZSn9K45wakQDGZkp1Mu5DRwOuyMS6IGj2/screenshot92.bmp)

Look at the text at the top of the screenshot(where it says FPS, ping and time left).

How can we get OpenGL print text like this?

mark ds
12-11-2009, 11:28 AM
http://nehe.gamedev.net/

Look at lessons 13, 14, 15, 17

marshats
12-12-2009, 08:30 AM
The FTGL Library (https://sourceforge.net/projects/ftgl/) can be used to good effect.