Viewport Transformations
A transformation maps the visible (model) world onto screen or window coordinates
In OpenGL a viewport transformation, e.g. glOrtho(), defines what part of the world is mapped in standard “Normalized Device Coordinates” ((-1,-1) to (1,1))
The viewpoint transformation maps NDC into actual window, pixel coordinates
- by default this fills the window
- otherwise use glViewport