Text in OpenGL-2D-programm

Is there a simple way to show a text or a number in a OpenGL-2D-programm? perhaps with glut? Or must I use bitmaps?

Thank you

Originally posted by Bernhard:
[b]Is there a simple way to show a text or a number in a OpenGL-2D-programm? perhaps with glut? Or must I use bitmaps?

Thank you[/b]

Most toolkits have font support of some
form or another. GLUT does, so does Cpw.
Check out the OpenGL font technologies
listed in the faq:
Gl Toolkit FAQ

[This message has been edited by jmathies (edited 06-09-2002).]

Hi !

Both Windpws and X has functions to create fonts as line/triangles objects, Windows also support text as bitmap objects (wglUseFontBitmaps).

Mikael

There is three different methods for doing this at nehe.gamedev.net. Only one is system independent (and doesn’t use any toolkits), ohers are for Windows.