OpenGL Bitmap Fonts
Lesson13''s Bitmap Fonts Tutorial isn''t working on my computer. I copied the code for lesson 13 into my project and the text won''t display right. The exe for Lesson13 runs fine. Please don''t start on why I should use textured fonts unless you can point me to a tutorial that covers masking for the fonts. I''ve noticed that a lot of people have encountered this problem. I''m ok with using textured fonts, but I don''t want to have black rectangles all over my screen where the text is. Any help would be appreciated. Thanks.
#define Jesus 1
[source]#define Jesus 1[/source]
March 14, 2001 11:24 AM
Maybe you should try and understand the code rather than simply copying it into your program with the hopes that it will run.
Turn on blending before drawing the fonts.
glEnable(GL_BLEND);
You may want to make sure that you have a glBlendFunc that also matches the one in the bitmap font tutorial as well.
Thom Wetzel
www.LMNOpc.com
glEnable(GL_BLEND);
You may want to make sure that you have a glBlendFunc that also matches the one in the bitmap font tutorial as well.
Thom Wetzel
www.LMNOpc.com
ThomWwww.LMNOpc.com
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement