Hello.
Im writting an OS-like GUI that uses
ortho-mode.
I have no problem with blending, textures
etc. but i cant figure out how to print
text on the screen using system-fonts.
NeHe´s 13th tutoriol shows you how to
print text using system-fonts,
but only in perspective-mode .
Does anyone know how to print text on
the screen in Ortho-mode?
I could write a text-drawning function
using textures and bitmaps, but that
would take alot of time and theres
probally a much easier way.
Well, you shouldn’t have any problems with drawing a text if you know how to do it in perspective-mode. There isn’t any difference while drawing in ortographic mode. Like glYaro suggest your text is probably hidden behind some other objects. Try using glOrtho2D - using this projection when drawing guarantee that your primitives will lie on the same plane.