View Full Version : Windows font in openGL
hello, http://www.opengl.org/discussion_boards/ubb/confused.gif
i'd like to know how i could put 3d font in my open gl app. like in the windows 3dtext screensaver
does anybody has a tutorial adres or sample code for me?
tnx
Morglum
03-26-2002, 12:12 AM
This screenscaver uses wglUseFontOutlines. You can use this function, too. It's able to load any windows truetype font. Only drawback : it's slow. If you need this text to be displayed very fast (like in a video game), it would be better to display letters as textured quads (for this technique, see nehe's tutorial 25 on nehe.gamedev.net).
Morglum
yes i have seen the tutotial but it's not for a game so i think im gonna go with the wglUseFontOutlines
thanks for the quick reply
http://www.opengl.org/discussion_boards/ubb/cool.gif http://www.opengl.org/discussion_boards/ubb/cool.gif http://www.opengl.org/discussion_boards/ubb/cool.gif http://www.opengl.org/discussion_boards/ubb/cool.gif
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.