Jump to content

  • Log In with Google      Sign In   
  • Create Account

How can i print some article in OpenGL?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 mishka   Members   -  Reputation: 122

Like
Likes
Like

Posted 09 September 2001 - 01:45 AM

Hi everybody! I''m just beginner in OpenGL From lesson 13-17 I learned how to put the text on the screen. I have noticed that every line has it''s own coordinates and printed on the screen separatly from other text lines .So my question is:How can I put the whole article (after I loaded it from the file) in some part of the screen and scroll up and down using the function glScissor(x,y,w,h).

Sponsor:

#2 Null and Void   Moderators   -  Reputation: 1087

Like
Likes
Like

Posted 09 September 2001 - 04:49 AM

Modify his function, or write your own, that understands newlines. Or just use that function for every line. While you''re at it, only render the visible lines, so that it is more efficient.

[Resist Windows XP''s Invasive Production Activation Technology!]




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS