lesson 13 - opengl text, antialiased
hi there,
the tutorial from lesson 13 helped me much, finally i can use text in opengl very simple.
but i don't know how you can get the text antialiased. in the tutorial, it looks very simple by putting the quality parameter to ANTIALIASED_QUALITY.
but there is no AA :( even in the sample program without modifying anything, the text is non-AA..
what am i doing wrong, or have i forgotten something?
it would be great if anyone could help me..
and that reminds me of a second question:
is there a (simple) way to make the text outlined, surrounded with a border?
i tried for myself a bit but got no good results..
any ideas?
thanks,
lacky
To get antialliased text you need either to use one of the antialising modes, or use glEnable( GL_POLYGON_SMOOTH ); it only affects the alpha value so you have to use a blending mode.
for outlines, look at lesson 37, it might give you some clues on how to fake it.
but the correct way is of cause to to have a real text renderer like in lesson 43.
for outlines, look at lesson 37, it might give you some clues on how to fake it.
but the correct way is of cause to to have a real text renderer like in lesson 43.
www.flashbang.se | www.thegeekstate.com | nehe.gamedev.net | glAux fix for lesson 6 | [twitter]thegeekstate[/twitter]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement