draw text on top-left corner of window

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)

Hi !

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


hey, if you get that to work, let me know. Im trying to display realtime data of whats going on in the 3d part.