I am using glOrtho command to set the camera viewing positions for my opengl window in QT, I need to make center of the screen as orgin.But, when I load any texture on GL window it appears like mirror Image. I am doing as below.
when I change the glOrtho statement to
glOrtho(-325 , 325, 250, -350, -15, 15); it works, I mean texture would be shown normally. But I know there is something wrong because this is against specification of glOrtho().
How to set the view origin to center without effecting on other primitives or textures?
Yes Thank you Aleksandar! you are right…
I am using glTexCoord2d() with wrong quadrants.
Thanks for the link V-man, Now I have to explore about the GLU stuff
Thanks Again!