Click to See Complete Forum and Search --> : OpenGL text without GLaux


Hnefi
December 22nd, 2005, 11:31 AM
Hello. Being in the middle of a little project, I have come to the point where I need to display some text. Previously, I've been using NeHe's method for rendering text, but that seems to require the GLaux library which I do not have access to.

So I figure I'm going to have to create a targa with all the characters in a font and display blended or masked rectangles with parts of that targa texture mapped onto them when displaying text. However, that's not exactly a nice and clean solution, so I wonder if anyone knows a clean, efficient way to display large amounts of text in OpenGL.

Thanks.