loading a bitmap and put it...
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
//Wizerah
I don''t know how to get it mathmatically perfect, but you basically just texture map a quad the size of the screen.
JoeMont001@aol.com www.polarisoft.n3.net
JoeMont001@aol.com www.polarisoft.n3.net
My HomepageSome shoot to kill, others shoot to mame. I say clear the chamber and let the lord decide. - Reno 911
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
Open mouth, insert foot
Edited by - oglman on November 1, 2000 10:58:58 PM
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement