Jump to content
  • Advertisement

Archived

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

loading a bitmap and put it...

This topic is 6408 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!