PDA

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



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

Asgard
11-13-2002, 01: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)

NitroSR
11-13-2002, 03: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.