View Full Version : draw text on top-left corner of window

12-03-2002, 03:07 AM
Hi OpenGL guys !
I want to draw some kind of help tips on the top-left corner of the window for my app (at a constant distance from top and left margin of window)

How should I set projection/modelview matrix for accomplishing this, so the text will not move/resize when I change the window's dimensions (maximize/resize)

12-03-2002, 05:00 AM
Hi !

Use orthographic mode get the viewport size to calculate the text position.


12-03-2002, 08:28 AM
hey, if you get that to work, let me know. Im trying to display realtime data of whats going on in the 3d part.