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.
Easy resolution independant glRasterPos3f() position?
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)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement