I’m reading grids, lines, etc… from a file and when I display them, they are not showing up on the screen. So I think there being drawn offscreen?!
So how do I know how to size the screen? Like, is it something to do w/ the viewing or modeling translation (I have the red book but it’s still not clear to me)?
If you are working in a 2D orthographic mode (HUD, GUI etc…) you should use something like the following:
if width and height are set to 800 and 600 respectively, you can then use gl.glVertex3f() with specific locations in the 800 by 600 area. For example. a line from point 100, 200 to 700, 300 would use vertex calls like the following: