taz2003
05-14-2003, 03:27 AM
Hi, I've been puzzled with this function for some time now. I call
glBitmap(16, 16, 0, 0, 17,0, hourglass);
glBitmap(16, 16, 0, 33, 17,0, hourglass);
glBitmap(16, 16, 0, 0, 17, hourglass);
and the output looks like this: X X
X
where X is the hourglass.
X
I expected it to look like this:X X
Why Yorig=33 behaves like -33?
I don't rotate or translate anywhere in my
code. I do have an orthographic projection of
glOrtho(0, w,0, h, -1.0, 1.0);
and I give glBitmap a valid raster position as well.
glBitmap(16, 16, 0, 0, 17,0, hourglass);
glBitmap(16, 16, 0, 33, 17,0, hourglass);
glBitmap(16, 16, 0, 0, 17, hourglass);
and the output looks like this: X X
X
where X is the hourglass.
X
I expected it to look like this:X X
Why Yorig=33 behaves like -33?
I don't rotate or translate anywhere in my
code. I do have an orthographic projection of
glOrtho(0, w,0, h, -1.0, 1.0);
and I give glBitmap a valid raster position as well.