How can i print some article in OpenGL?

Started by
0 comments, last by mishka 22 years, 7 months ago
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).
lapko
Advertisement
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!]

This topic is closed to new replies.

Advertisement