2D fonts from bitmap
erf.
I have a 2D fonts system which load texture data from an image file (bmp, tga..).
My question is how should I show them on the screen ?
- using glDrawPixels ?
- creating 2D quads textured ?
I want to use tranparency, can I do it with glDrawPixels ?
and if I want to print italic text, can I do it too with glDrawPixels ?
you should DEFINITELY go with the 2nd method - textured quads. it''s a lot faster, and many recent video cards can do that a LOT faster than glDrawPixels.
---
umm... bah?
---
umm... bah?
Look at NeHe''s tutorials. He''s got one on this subject. (and yes, its #2)
There are more worlds than the one that you hold in your hand...
There are more worlds than the one that you hold in your hand...
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement