Jump to content

View more

Image of the Day

Boxes as reward for our ranking mode. ヾ(☆▽☆)
#indiedev #gamedev #gameart #screenshotsaturday https://t.co/ALF1InmM7K
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

How use TextOut() in OpenGL?

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
5 replies to this topic

#1 Deokhee Lee   Members   

122
Like
Likes
Like

Posted 21 August 2001 - 06:04 AM

Generally, if use TextOut()... That string is blink in OpenGL...

#2 Julio   Members   

116
Like
Likes
Like

Posted 21 August 2001 - 06:21 AM

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.

#3 Sneftel   Senior Moderators   

1788
Like
Likes
Like

Posted 21 August 2001 - 06:35 AM

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.

#4 MButchers   Members   

123
Like
Likes
Like

Posted 21 August 2001 - 12:12 PM

hi there,

use texture fonts for even greater performance
wglbitmapfonts is painfully slow

mark.

#5 Deokhee Lee   Members   

122
Like
Likes
Like

Posted 21 August 2001 - 07:28 PM

BUT MY APPLICATION IS SUPPORT ENGLISH, <> SUPPORT MY COUNTRY LANGUAGE(2BYTE CHARACTER).
wgl.. FUNCTION IS RIGHT IN ASCII CHARACTOR..

#6 TheRealMAN11   Members   

142
Like
Likes
Like

Posted 23 August 2001 - 11:22 AM

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




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.