View Full Version : Color update problem

07-21-2008, 03:12 PM
I am new with OpenGL, and trying to build a Windows application that displays, modifies, and re-displays (as the image gets modified) a grayscale image (in PGM format). Upto now, I could load/display an image, and also could modify it, eg, say, drawing a circle in it (I checked where I saved the modified image to verify that the modification actually worked). After the modification, the circle should appear in 'white' as I drew it in the maximum grayscale intensity. But the problem is, it is appearing in 'black', instead of white. Any suggestion how to resolve this?

07-21-2008, 03:38 PM
Well, I have a suggestion: draw a while cirlce. Maybe you could share some of your code so we can look for errors?

And please do not doublepost!