Archived

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

Wizera

loading a bitmap and put it...

Recommended Posts

Wizera    122
Hi. i was wondering how to put up a bitmap to fit the screen on 640x480 before i began programming opengl i used mode13h (old dos) then i put it from 0,0 to 320,200 but here it is different. 0 to 1 is a huge step and it begins at the center of the screen, Thanks in advance, //Wizerah

Share this post


Link to post
Share on other sites
oglman    122
Without any glTranslate(0.0f, 0.0f, -10.0f); or anything the upper left corner is (-1, 1) and the lower right is (1, -1) if you zoom out, for example, 10 units on the Z axis [glTranslate(0.0f, 0.0f, -10.0f);] the above coordinates are (-10, 10) and (10, -10) The coordinate screen looks like this



Open mouth, insert foot

Edited by - oglman on November 1, 2000 10:58:58 PM

Share this post


Link to post
Share on other sites