Archived

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

Font rotation

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

Hello, Is it possible to rotate the font displayed with lesson13 in NEHE''s course ? I tried to use glRotatef before and after glPrint, but with no success. Thanks, Zvika Vered.

Share this post


Link to post
Share on other sites
quote:
Original post by LousyPhreak
have you tried it with leaving the rotate after it out?

just a guess

mfg Phreak


Hello,

Thank you for your reply.

I tried using glRotate after glPrint. But the font
was not rotated.

Bye,
Zvika.

Share this post


Link to post
Share on other sites
quote:
Original post by ryacketta
I noticed in the other NeHe tutorials that he does the glrootatef prior to drawing the object. Maybe this is the solution?

-Ron


Thank you for the reply.

I tried glRotatef before and after glPrint. But the text
is not rotated.

Bye,
Zvika.

Share this post


Link to post
Share on other sites
the gl rotate works only on vertices sent to ogl AFTER it
-->

  
glvertex3f(1,0,0); //not rotated (just by earlier rotations)

glRotatef(1,0,0,1); //following vertices are rotated around the z axis 1rad) attention if there is previous rotation

glVertex3f(1,0,0); // this vertex is rotated by the prior call of glRotate...

Share this post


Link to post
Share on other sites