How use TextOut() in OpenGL?

Started by
4 comments, last by Deokhee Lee 22 years, 8 months ago
Generally, if use TextOut()... That string is blink in OpenGL...
Advertisement
don''t use textout. it''s slow and won''t work very well. use bitmaped fonts instead.



How many Microsoft employees does it take to screw in a light bulb?
None, they just declare drakness as a new standard.
My HomepageSome shoot to kill, others shoot to mame. I say clear the chamber and let the lord decide. - Reno 911
Yeah... OpenGL and GDI drawing functions won''t play nice with each other. Look up wglUseFontBitmaps() for the beginnings of the Right Way for Win32/OpenGL text.
hi there,

use texture fonts for even greater performance
wglbitmapfonts is painfully slow

mark.
BUT MY APPLICATION IS SUPPORT ENGLISH, <> SUPPORT MY COUNTRY LANGUAGE(2BYTE CHARACTER).
wgl.. FUNCTION IS RIGHT IN ASCII CHARACTOR..
create a bitmap with the characters you need on it then texture parts of it to quads to make words, simple. NeHe did a tutorial on this if you need help.

Matthew
WebMaster
www.Matt-Land.com
It is foolish for a wise man to be silent, but wise for a fool.

This topic is closed to new replies.

Advertisement