Question about glPrint

Started by
3 comments, last by Inferno 20 years, 6 months ago
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]
"I can only show you the door, your the one who has to walk through it." -Morpheus
Advertisement
glScalef(sizeX, sizeY, 1.0f);

1.0 for sizeX and sizeY is normal size, 2.0 is double size ...
PM Times change...Excuse my poor english!
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.
"I can only show you the door, your the one who has to walk through it." -Morpheus
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''.
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.
"I can only show you the door, your the one who has to walk through it." -Morpheus

This topic is closed to new replies.

Advertisement