Hi all - very simple question here.
I have a screen setup with
glviewport(0, 0, self.width, self.height)
gluPerspective(45.0, self.width/self.height, 0.1, 1000)
I want to draw a square at the top left of the screen (at -20 into the screen). I was under the impression that this could be acheived with the following:
Can someone please explain how the coordinate system works as you draw images further into the screen (decrease z), and how you can easily find the edge coordinates of the screen.