Dear all,
I am using lazopenglcontext and I need to write some characters on it. How can I do it? How can I add bitmap fonts to my openglcontext? Thanks for all suggestions,
Andrea
Mailing lists / lazarus / 2009-03
bitmap fonts on lazopenglcontext
4 messages · 2 people · –
- AAndrea Mauri 2
- LLord Satan 2
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Dear all, I am using lazopenglcontext and I need to write some characters on it. How can I do it? How can I add bitmap fonts to my openglcontext?
Do not use bitmap fonts. Create a font texture and draw alpha tested quads. This is faster, better looking and does not have the limitations of glRasterPos.
hih
how can I do that?
andrea
Lord Satan ha scritto:
Show quoted text 18 lines
On Mon, 23 Mar 2009 15:25:30 +0100
Andrea Mauri wrote:
> Dear all,
> I am using lazopenglcontext and I need to write some characters on it.
> How can I do it?
> How can I add bitmap fonts to my openglcontext?
>
Do not use bitmap fonts. Create a font texture and draw alpha tested quads. This is faster, better looking and does not have the limitations of glRasterPos.
hih
_______________________________________________
Lazarus mailing list
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
how can I do that?
I cannot teach you OpenGL font handling on this list as this is an OpenGL "problem" and not specific or even related to Lazarus. But you may want to take a look at this page:
http://www.opengl.org/resources/faq/technical/fonts.htm
Googling 'font texture' and 'OpenGL' will give you plenty of results, too.
hih
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
