2D stuff in OGL
code:// set up viewingglMatrixMode(GL_PROJECTION);glLoadIdentity();glOrtho(0.0, float(WINDOW_WIDTH), 0.0, float(WINDOW_HEIGHT), -1.0, 1.0);glMatrixMode(GL_MODELVIEW);
That sets the projection and all that stuff to 2D, and then when you render, you just use the x and y coordinates using glVertex2i(x,y) or whatever your flavor. Hope that helps.
Kevin
Admin for GameDev.net.
OpenGL does provide functionality to draw pixels (and hence bitmaps) but you're probably better off using textures to take advantage of OpenGL's features(read hardware acceleration).
This won't be pixel perfect but it can allow you to do cool stuff. Grand Theft Auto (which is basically 2D end though it was 3D) does this nice thing where the overhead view zooms out when you're moving really fast and then in when you're moving slow. GTA II does some really neat stuff where things fly toward the camera. If you started crunching bitmaps for that it'd look pretty ugly.
If you strictly need to use bitmaps though it's probably not the way to go.
Thanx