Archived

This topic is now archived and is closed to further replies.

ph4ntasyph34r

upside-down ortho

Recommended Posts

zedzeek    528
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

Share this post


Link to post
Share on other sites
Shag    122
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.

Share this post


Link to post
Share on other sites