   Text in OpenGL
  How do you print text on the screen in OpenGL? It's easy on windows (on nehe), but is the only way to print text with glutBitmapCharacter,which is really tedious for each character, and can't draw all fonts   
  OK, that was a really bad question. The thing I want to do is to print text on a mac   ;  OpenGL doesn't come with functions to draw text by itself (though platforms often include system-specific functions for e.g. drawing text using TrueType fonts and such). You could implement your own way to render text though. For example, you could store the characters in a texture and then draw one quad per character, assigning the texture coordinates accordingly so the character you want is shown.   ;  thanks,  but are there any other ways that you know of how you could print text in opengl (maybe like an API or something)   ;  As noted before, no there is no way to "print text in opengl".  You have to use other means of getting fonts into a format that you can use with opengl.If you haven't looked at it yet, this explains things a bit and has some links that you might find useful.Official OpenGL FAQ: Using Fonts;  I've used FTGL to good effect before. There might be better libs out there now though, so shop around. Really, a simple google search for "opengl font rendering" should turn up plenty to sift through.   ;GLFT_font is pretty lightweight and very easy to use.   ;  Personally I've used BMFont a number of times to output font textures and glyph information, and it's worked a treat. There are some links on that page to some tutorials on how to use the resulting data too.   ;  I am using SDL_TTF to blit all glyphs into a texture. Then I render a quad for each character in a string I want to display with different texture coordinates for each character. Also all strings go into a buffer and then at the end of the rendering loop I switch into orthogonal mode once! and render all the strings in the buffer. That works well for a HUD.   ;  OK, thanks all of you. But Gooberius was probably the most helpful to me, right now. Because I don't know how to load image files into opengl textures in macs. So can someone please tell me how to load images into opengl textures??? (preferably .pngs though)   