is there any way to say the screen from the OpenGl window to bitmap or other picture

is there any way to say the screen from the OpenGl window to bitmap or other picture file?

Check out glReadPixels() then you just need to save it to some file format (tga is really easy). I’ve seen examples before but I dont know where any are offhand.

Everything you need can be found on CodeGuru. See http://www.codeguru.com/opengl/snaptojpeg.shtml