Version: 1.0

Posted: 2003-12-10

Build Requirements: N/A

Runtime Requirements: Mac OS X Mac OS X 10.3 Panther, XCode 1.0

View Source Code:

Download Sample (“OpenGL_Screensaver.zip”, 143.0K)
Download Sample (“OpenGL_Screensaver.dmg”, 206.4K)



Description

OpenGL Screen Saver Purpose: The purpose of this sample is to demonstrate how to integrate OpenGL drawing into a standard Cocoa screen saver on Mac OS X. The process illustrates of how to tie in an external view (OpenGL in this case, but could be Quicktime, Quickdraw, etc) into the framework. For the purposes of this sample, the Cocoa OpenGL sample was used as-is as the testbed NSOpenGLView for the application. No other modifications were made to the sample - it literally "dropped" right in. Please note that the command interface to Cocoa OpenGL will not work with the screen saver. As you might expect, pressing a key or moving the mouse deactivates the screen saver. To test the screen saver, place it in /Library/Screen Savers on the system volume. Requirements: Mac OS X Panther 10.3 XCode 1.0 Requirements: Mac OS X 10.3 Panther, XCode 1.0 Keywords: OpenGL Cocoa Screensaver

Document Revision History

Date Notes
2003-12-10Demonstrates how to integrate OpenGL drawing into a standard Cocoa screen saver on Mac OS X.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.