Easy resolution independant glRasterPos3f() position?

Started by
0 comments, last by SimonForsman 11 years, 8 months ago
Using glRasterPosxf() to position my text on my screen. I'm looking for a simple, reliable way to maintain text position despite screen resolution...

Help?

Thanks in advance.
Advertisement
use a fixed projection matrix, (I.E , pass a fixed "resolution" to glOrtho) Normally tutorials have you pass the Windows width and height to glOrtho when setting up 2D rendering, this isn't required, you can pass anything you want to it (so if you want 0.0 can be the bottom left and 1,1 the top right)
[size="1"]I don't suffer from insanity, I'm enjoying every minute of it.
The voices in my head may not be real, but they have some good ideas!

This topic is closed to new replies.

Advertisement