View Full Version : How do I make a screen saver out of an OpenGL program?

John Jenkins
11-13-2002, 11:28 AM
I would like to show off my work in screen saver form how do you do it?

11-13-2002, 12:16 PM
For Win32: http://msdn.microsoft.com/library/defaul...dv/scrnsave.asp (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/Shell/programmersguide/shell_adv/scrnsave.asp)

11-13-2002, 02:02 PM
I suggest you visit the following site put together by Lucian Wischik: http://www.wischik.com/scr/

Check out the HOWTOSRC. Making a screen saver is mainly a matter of interpretting some command line parameters, and properly responding to certain windows messages such as WM_KEYDOWN and WM_MOUSEMOVE in order to quit the saver when you are done.

I wrote a screen saver for DirectDraw using the information from this site, the same could easily be applied to OpenGL.