Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Spider_In_A_Web

text in OpenGL, an easy way

This topic is 6093 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

is their an easy way to create text or display text in openGL, i want to be able to display things like game score, but i want to be able to position, scale and change colour of it!! so does OpenGL contain Text output features, or can anyone suggest any other methods??? Chrs

Share this post


Link to post
Share on other sites
Advertisement
hi,

you could use wglBitmapFonts if your using Opengl
under windows however this is slow so you are
better of writing your own functions and using
Texture fonts which are far faster.
(if properly implimented).

Hope it helps

Mark.

Share this post


Link to post
Share on other sites
Like XAOS said, check the nehe tuts. The only reason I can see that these methods wouldn''t suit is if you''re not using WIN32. In which case use the GLut text functions, or SDL or something.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!