Jump to content
  • Advertisement
Sign in to follow this  

OpenGL how to use function glutbitmapchar to display text longer than 1 char

This topic is 3121 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

ok so i can display text on the screen in 3D but only one char at a time. my question is how do you display "one" vs. "1" i want to label the vertices with words not numbers. here are examples of what i mean. here is an example of how i want the text to work: http://www.opengl.org/resources/features/fontsurvey/sooft/images/fig1-1.gif here is how mine looks: http://i598.photobucket.com/albums/tt62/ishkabible_pic/Untitled-1.png see how theres can have multiple charters per string... well mine cant thats why 10 is t, 11 is e, 12 is w. i would like to know how to do this i found this was an issue when i used "12" as a pointer string. it just displayed "1" same for 10 and 11. i want to label them with words so this is a problom

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!