Jump to content
  • Advertisement

Archived

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

Kris2456

Font problem

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

Ive jus tried to put a font in the main menu of my game. Im using NeHe''s glPrint() function, but no text appears when i use it. I used a raster position of 0,0 and turned of texturing and lighting, but to no avail. Pleez help. ------------ "Here lies a toppled God, His fall was not a small one, We but built his pedastle, A narrow, and a tall one" Frank Herbert (Dune:Messiah)

Share this post


Link to post
Share on other sites
Advertisement
maybe you should try passing into orthogonal mode before trying to write to screen. Try

glPushMatrix();
glLoadIdentity();
OrthoMode(0,SCREEN_HEIGHT, SCREEN_WIDTH, 0);

Write_To_Screen(..);

glPopMatrix();

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.

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!