Topic: Drawing in Orthographic mode
I'm trying to do some orthographic drawing and everything's looking squashed and in the wrong place. I have no idea what I've managed to set up incorrectly.
Oh, and another thing is that for some reason the setup that I assumed would be right, gave {0,0} at the bottom left (huh?)
unsigned int w, h;
system->getScreenSize(&w, &h);
render->setOrthoView(0, w, h, 0, 0.1, 1);render->enableVertexArray();
render->enableTexCoordArray();
//...
I did also have render->setViewport(0,0, w, h); in there to test, but it did nothing.
The vertices I'm trying to draw are two quads from {0,0} to {200,200} and {100,100} to {300,300}.
Any ideas?
Last edited by Nistur (2012-09-06 07:15:05)