Quote Originally Posted by User137
Both works now, MsPaint and Gimp formats. But they are still upside down Notice that normal perspective view has higher (+ side) Y coordinate at top of screen. My screen is set up on ortho mode this way, so upper left is 0,0:
[pascal]glViewport(X,Y,_Width,_Height);
...
glMatrixMode(GL_PROJECTION);
glLoadIdentity; gluOrtho2D(X,X+_Width,Y+_Height,Y);
glMatrixMode(GL_MODELVIEW);[/pascal]

Nice work, hope to see it finished.
Ahh.. yes, the scan lines were inverted. Fixed now, same download. Pixel[0,0] is now equal to Data^ and Pixel[width-1, height-1] is now (Data+(width*height)-1)^ (IOTW: Upper left is now 0, 0).

- Jeremy