I need to display a GLUT text in my program. I am very new in openGL and I am beginning from “level” zero. Using appropraite openGL functions and glut bimap text routines, I need to write a function DrawText (float x, float y, float z, void font, char text). I need help how do I implement this. Thank you very much.
Tutorials cover this at http://nehe.gamedev.net/
Check out tutorials 13, 14, 15, 17 and 43.
For a more in-depth comparison of techniques and libraries check out http://www.opengl.org/resources/features/fontsurvey/