printing..

In opengl I have a window 640x480… is there a really easy piece of code to display text rather than going through the huge loading code of fonts etc?

Just put your text in a texture map!
The window size should not effect how you do the font!! Just the size of it, nehe has an example of using texture as a font.
There is also a Glut text function.

Originally posted by Nial:
In opengl I have a window 640x480… is there a really easy piece of code to display text rather than going through the huge loading code of fonts etc?

I noticed that a lot of people recommend using texture maps to display text. What is the advantage of this vs Bitmaps, ImageMaps and DisplayLists (Vectored font glyphs or whatever they are). Specifically speed, scalability and flexibility?

Hi !

Most OpenGL hardware today is aming at games so they do filled polygons and textures very fast, if you for example render a scene in wireframe mode and then in filled mode you will see that most hardware actually render the filled polygons faster then the wireframe…

Mikael