PDA

View Full Version : Facing problem regarding saving the bitmap.



Amol Joshi
11-26-2002, 08:00 PM
Hi Folks,

I am trying to save a part of the screen in .BMP file.

can anybody suggest me which OpenGL functions should I use to solve this problem ??

thanks
Amol Joshi

Deiussum
11-27-2002, 05:29 AM
OpenGL doesn't have any functions for saving BMP files, you'll have to write those yourself, or use some other library that can do that for you.

You will, however, need to use the OpenGL function glReadPixels in order to get the data to save to a BMP.