Martin_unique

03-03-2003, 08:22 AM

Hello,

I tried to modify the modelview matrix by multiplying it by a modified identity matrix (y coord was -1 instead of 1 to inverse y coordinates) and then translating it by vector 0,480 (my screen height=480), but that didn't work too well. Could someone share his/her experience regarding this problem ? I just want to be able to specify coordinates where left,top is 0,0, and y coordinates grow towards bottom, not up, as the default is (for GUI application).

Thank you for your help,

Martin

I tried to modify the modelview matrix by multiplying it by a modified identity matrix (y coord was -1 instead of 1 to inverse y coordinates) and then translating it by vector 0,480 (my screen height=480), but that didn't work too well. Could someone share his/her experience regarding this problem ? I just want to be able to specify coordinates where left,top is 0,0, and y coordinates grow towards bottom, not up, as the default is (for GUI application).

Thank you for your help,

Martin