Jump to content
  • Advertisement

Archived

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

Inferno

Question about glPrint

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

Using essientially the same code for the font as the code in Lesson 32, I've been trying to figure out how to make the font size bigger, how would i go about doing this? [edited by - Inferno on October 10, 2003 11:51:47 PM]

Share this post


Link to post
Share on other sites
Advertisement
glScalef(sizeX, sizeY, 1.0f);

1.0 for sizeX and sizeY is normal size, 2.0 is double size ...

Share this post


Link to post
Share on other sites
quote:
Original post by PM
glScalef(sizeX, sizeY, 1.0f);

1.0 for sizeX and sizeY is normal size, 2.0 is double size ...


sweet thanks, I thought there was a Scale function.

Share this post


Link to post
Share on other sites
Be aware that normal vectors are not automatically rescaled when using glScale. This will affect the lighting intensity on the text. See this article, and search for the section entitled ''Improperly Scaling Normals for Lighting''.

Share this post


Link to post
Share on other sites
thanks, I haven''t implemented my lighting setup yet. That''s going to be my job tomorrow but I probably would have run into the problem you mentioned.

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!