sgiuser
08-13-2001, 03:07 PM
Hi,
I am a new opengl user, I am able to read my image file and display it. But I don't
see the picture. my images are 8 bit gray level, no color. I would appriciate for the help. I don't know what I am doing wrong.
1)read image --> bin file
2) clear Display
3) call glDrawPixels(0,0,80,80,GL_float,ptr);
4) if reshape then I do all the projection stuff
it does draw it at the left corner of the screen but all white.
thanks again
I am a new opengl user, I am able to read my image file and display it. But I don't
see the picture. my images are 8 bit gray level, no color. I would appriciate for the help. I don't know what I am doing wrong.
1)read image --> bin file
2) clear Display
3) call glDrawPixels(0,0,80,80,GL_float,ptr);
4) if reshape then I do all the projection stuff
it does draw it at the left corner of the screen but all white.
thanks again