Jump to content

  • Log In with Google      Sign In   
  • Create Account

How use TextOut() in OpenGL?


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   Members   

122
Like
Likes
Like

Posted 21 August 2001 - 06:04 AM

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

#2   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   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   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   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   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.