Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


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 Deokhee Lee   Members   -  Reputation: 122

Like
Likes
Like

Posted 21 August 2001 - 06:04 AM

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

Sponsor:

#2 Julio   Members   -  Reputation: 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   -  Reputation: 1781

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   -  Reputation: 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   -  Reputation: 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   -  Reputation: 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.



PARTNERS