Quote:
thanks for the quick reply.
Im just deciding what would be the best way to code things like importing fonts from textures for use in games. i heard that opengl had a method for it...
Usually if you want to use a texture as a font, it's just to load the bitmap into memory in the appropriate format, then make a batch of textures; glTexImage2D takes offsets and width and height, so you can load one image, and simply have the texture mapper use part of that image as a texture for printing onto the screen.
OR. You can use glDrawPixels if you want it flat on the screen.
OR. You can use
ftgl and save yourself one hell of a lot of hassle by just using standard system fonts like Truetypes or Adobe PS