upside-down ortho
Everytime I use the Ortho view, it''s upside down. such as, the point (0,0) is in the opposite of where it should be. Any suggestions to the problem would be helpful.
0,0 is normally at the bottom left (which is logical)
gluOrtho2D (0, w, 0, h);
if u want it at the top left simply use
gluOrtho2D (0, w, h, 0);
http://uk.geocities.com/sloppyturds/gotterdammerung.html
gluOrtho2D (0, w, 0, h);
if u want it at the top left simply use
gluOrtho2D (0, w, h, 0);
http://uk.geocities.com/sloppyturds/gotterdammerung.html
Well, i suppose that might work...but instead of using gluOrtho2D, i use glOrtho. So, if you know anything about that, it would help.
glOrtho and gluOrtho do the same thing - the only difference if that gluOrtho set the near and far clip planes to -1 and 1. glOrtho you have to explicitly state the values.
But, I suspect your texture coordinates are wrong - not the screen coordinates.
Give us some more information first.
But, I suspect your texture coordinates are wrong - not the screen coordinates.
Give us some more information first.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement