Where on the screen is the origin?
In OpenGL (obviously) is the origin at the lower-leftmost point on the screen, or at the very center of it?
by default you will start at 0 on the Z axis and the X and Y zero points will be directly centred on the screen. Remember those cartesian graphs back in high-school
AP was refering to Perspective view. In orthographic view, the origin is whereever you want it.
> AP was refering to Perspective view. In orthographic view, the origin is whereever you want it.
In perspective view it also is anywhere you want. You have to modify the projection matrix accordingly.
- AH
In perspective view it also is anywhere you want. You have to modify the projection matrix accordingly.
- AH
Yup.
Actually glOrtho is an extension/modification of the perspective view (according to the OpenGL documentation anyway). Sets up the perspective view using parrallel planes.
Beer - the love catalyst
good ol'' homepage
Actually glOrtho is an extension/modification of the perspective view (according to the OpenGL documentation anyway). Sets up the perspective view using parrallel planes.
Beer - the love catalyst
good ol'' homepage
I think he may be referring the mouse coordnates and there position on the screen, windows has the 0,0 for mouse position at the top left, OpenGL is at the bottom Left.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement