PDA

View Full Version : Printing OpenGL image



kstref
09-05-2002, 10:31 PM
Hi, everybody!

I have a problem in printing my OpenGL image and also in saving it as .bmp file. I can't find any solution of this problem. I've serched the WEB, but found nothing.

Cant'you help me?

My program is written with Microsoft Visual C++ 6.0 using MFC and Document/View support.

Meny thanks,
Ksenia.

Gavin
09-06-2002, 04:22 AM
What is the problem?

Latrans
09-06-2002, 04:25 AM
You obviously haven't searched enough. There are numerous posts on this forum alone about how to write a scene to a file.

Quick answer is to use glReadPixels, then write it out to a file in the BMP file format.