View Full Version : Display
07-22-2003, 09:41 PM
Can we display text using opengl?
07-22-2003, 10:51 PM
Yes you can, you can create text as bitmaps and place them on polygons as textures.
On Windows you can use wglCreateFontOulines and another function to create displaylists of bitmap or polygon text, you can then draw text by calling glCallLists(). X has a similair function.
There also exists some libraries that use FreeType to render text (GLTT just to name one).
So there are a number of solutions, it all dependes on what you want to use the text for and how you want to display it, just like ordinary 2D text or in 3D.
Hope that helps
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.