Coordinates in OpenGl, where are screen ends?

this stupid gl coords , i thought it was some sort of ratio so ends of screen would allways be a (1.0f,1.0f) but no it is not
can someone explain those censord(gash darnit) x.xf,y.yf coordinates???


The coordinates depend on what you’re talking about. Do you want to get actual screen coordinates? Do you want to get client coordinates? Do you want normalized device coordinates? The answers to these questions will help alot.

If you are looking for normalized device coordinates (this is basicially the world coordinate with the modelview, projection and viewport transformations applied). You can look in the OpenGL redbook for a good explanation.

If you can clarify your question, I will be happy to help you some more.

what the diff between screen and client coords and normal?