View Full Version : Coordinates in OpenGl, where are screen ends?
this stupid gl coords http://www.opengl.org/discussion_boards/ubb/smile.gif, 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 http://www.opengl.org/discussion_boards/ubb/frown.gif
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?
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.