View Full Version : Text in OpenGL-2D-programm
Bernhard
06-09-2002, 04:39 AM
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
jmathies
06-09-2002, 05:50 AM
Originally posted by Bernhard:
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
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 (http://www.mathies.com/glfaq/)
[This message has been edited by jmathies (edited 06-09-2002).]
mikael_aronsson
06-09-2002, 11:02 AM
Hi !
Both Windpws and X has functions to create fonts as line/triangles objects, Windows also support text as bitmap objects (wglUseFontBitmaps).
Mikael
Scorpion
06-09-2002, 11:48 AM
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.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.