View Full Version : offscreen/don't draw
-Currently, I have a program that when ran it draws the image, and copies the image to a ppm file. How do I change the program such that a window does not pop up, will draw (but I won't see the image), and will just automatically save a ppm image?
mikael_aronsson
07-25-2001, 02:09 PM
Hmmm, that depends on what you are using, is it on Windows ?, are you using MFC in that case or is it raw Win32 code, Delphi or something else... ?
You need to be a bit more specific...
Mikael
chrisATI
07-25-2001, 08:52 PM
Originally posted by bg:
-Currently, I have a program that when ran it draws the image, and copies the image to a ppm file. How do I change the program such that a window does not pop up, will draw (but I won't see the image), and will just automatically save a ppm image?
make your window, do your GL stuff, then exit. don't actually draw the window. as is mentioned above, it depends what os/api you are using for windowing
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.