GLSL Basics Cocoa

Last Revision:
Version 1.2, 2008-07-30
Refactored the sample code to better demonstrate the interaction of OpenGL APIs with an OpenGL view. Moved the GLSL program object instantiation into its own basic class. Moved the GLSL hardware check code into its a separate file. Consistent use of float math library functions for pattern and palette generation. Animation continues during window resizing. Consistent use of doubles and their OpenGL equivalents during geometry generation. Updated the Xcode project to use the new format. Updated the NIB to use the new format. Added a simple GLUT string class.
(Full Revision History)
Build Requirements:
Xcode 3.x
Runtime Requirements:
Mac OS X 10.5

Demonstrates the use of GLSL fragment and vertex shaders using a custom NSOpenGLView. This application further demonstrates simple animation technique in a custom NSOpenGLView using a timer, a selector, and Cocoa "drawRect:" method.