Member Login Log In | Not a Member? Contact ADC
Jump To:
Leopard Sample Code: Graphics & Imaging
OpenGL is a cross-platform, standards-based C programming interface that is widely used for games, animation, CAD/CAM, medical imaging, and other applications that need a framework for visualizing and manipulating complex, three-dimensional shapes. OpenGL programs are highly portable and produce consistent results on any supported platform. Apple's implementation of OpenGL has been optimized for the Macintosh platform and includes a suite of ARM and platform-specific extensions that give developers access to advanced graphics hardware capabilities.

Document Descriptions
On Off
Display

Sort by
Title
Sorted by
Date
GLUTStereo (HTML) (ZIP)
Shows how to implement Stereoscopy with GLUT under Mac OS X
2009-07-02
QTCoreVideo202 (HTML) (ZIP)
Demonstrates how to render a QuickTime Movie using OpenGL PBO and the Core Video pixel buffer pipeline.
2009-04-07
QTCoreVideo301 (HTML) (ZIP)
Demonstrates adding of effects & filters to QuickTime Movies in realtime using GLSL shaders and the Core Video texture pipeline.
2009-04-07
CALayerEssentials (HTML) (ZIP)
Demonstrates the basics of setting up various Core Animation layers
2008-09-30
OpenGLScreenSnapshot (HTML) (ZIP)
Demonstrates how to get the screen pixels using OpenGL and save them to an image file.
2008-08-14
CoreImageGLTextureFBO (HTML) (ZIP)
Making OpenGL textures with Core Image
2008-07-30
GLSL Basics Cocoa (HTML) (ZIP)
GLSL fundamentals using NSOpenGLView
2008-07-30
QTCoreVideo102 (HTML) (ZIP)
An application demonstrating the use of QTKit, CoreVdeo, and OpenGL.
2008-06-06
QTCoreVideo103 (HTML) (ZIP)
Demonstrates how to render a QuickTime Movie using OpenGL texture range and the Core Video pixel buffer pipeline.
2008-06-06
QTCoreVideo201 (HTML) (ZIP)
Demonstrates how to render a QuickTime Movie using OpenGL FBO and the Core Video texture pipeline.
2008-06-06
LiveVideoMixer (HTML) (ZIP)
LiveVideoMixer demonstrates customized video rendering with QuickTime 7 and CoreVideo and OpenGL.
2008-04-24
QTCoreVideo101 (HTML) (ZIP)
Demonstrates (with very little code) how to render a QuickTime Movie using CoreVideo and OpenGL.
2008-04-24
GLUT (HTML) (ZIP)
The OpenGL Utility Toolkit (GLUT) for Mac OS X version 3.4.0 (supporting the GLUT 3.7 API)
2008-02-08
OpenGL Filter Basics Cocoa (HTML) (ZIP)
How to use Objective-C and MVC design patterns in installing and utilizing filters in an OpenGL rendering pipeline
2008-02-06
BoingX (HTML) (ZIP)
Shows off using Quartz Extreme to provide borderless OpenGL content on the desktop.
2007-11-06
GLSL Showpiece Lite (HTML) (ZIP)
Using GLSL from a Cocoa application
2007-11-05
Cocoa OpenGL (HTML) (ZIP)
Demonstrates using Cocoa with OpenGL, including window setup and event handling.
2007-10-22
OpenGLCaptureToMovie (HTML) (ZIP)
How to capture the screen on Mac OS X using OpenGL and save to a QuickTime movie.
2007-08-30
VideoHardwareInfo (HTML) (ZIP)
Query VRAM, Quartz Extreme support, OpenGL extensions and renderer, GLSL version and support.
2007-05-14
PBORenderToVertexArray (HTML) (ZIP)
This sample demonstrates render-to-vertex-array using FBO, PBO, and VBO.
2006-10-02
CITransitionSelectorSample2 (HTML) (ZIP)
Showing all available Core Image transitions in a scrollable NSOpenGLView
2006-09-18
FBOBunnies (HTML) (ZIP)
Demonstrates how to use framebuffer objects (FBO)
2006-09-18
QCFundamentals (HTML) (ZIP)
Demonstrates Coordinate, Interpolation, and Iterative systems in Quartz Composer with an amusing animation
2006-08-07
QCGalaxy (HTML) (ZIP)
Demonstrates use of Particle Systems and Core Image Filters in Quartz Composer
2006-08-07
GLSLShowpiece (HTML) (ZIP)
GLSLShowpiece demonstrates several Vertex and Fragment shaders
2006-07-17
LiveVideoMixer2 (HTML) (ZIP)
An updated LiveVideoMixer with DV out over FireWire
2006-05-05
WebKitCIPlugIn (HTML) (ZIP)
This sample WebKit plugin for Safari demonstrate how to use CoreImage in a HTML page.
2005-11-28
CIAnnotation (HTML) (ZIP)
Image annotation application using Core Image Filters. Demonstrates creation and usage of Image Units.
2005-08-01
Quartz Composer QCTV (HTML) (ZIP)
Shows how to build a fake TV system using Quartz Composer as the foundation motion graphics.
2005-07-06
Quartz Composer Live DV (HTML) (ZIP)
Shows how to export a Quartz Composer composition as a real-time DV stream on the FireWire port.
2005-06-01
Quartz Composer Matrix (HTML) (ZIP)
Shows how to use Quartz Composer to display a QuickTime movie as a series of frames in a 3D world.
2005-06-01
Quartz Composer Offline Rendering (HTML) (ZIP)
Shows how to render a Quartz Composer composition as a series of images using an OpenGL pBuffer.
2005-06-01
Quartz Composer Texture (HTML) (ZIP)
Shows how to use a Quartz Composer composition as an OpenGL texture.
2005-06-01
TexturePerformanceDemo (HTML) (ZIP)
OpenGL texture optimization demo for WWDC Session 214
2005-06-01
VertexPerformanceDemo (HTML) (ZIP)
Vertex optimization demo for WWDC Session 214
2005-06-01
NSGLImage (HTML) (ZIP)
Deprecated - Demonstrates how to texture in OpenGL with an NSImage and/or NSBitmapImageRep
2004-12-01
GLCarbon1ContextPbuffer (HTML) (ZIP)
Demostrates using OpenGL pixel buffers with a single shared context.
2004-03-26
GLCarbonSharedPbuffer (HTML) (ZIP)
Demostrates sharing a single OpenGL pixel buffer with multiple other contexts.
2004-03-26
GLUTBasics (HTML) (ZIP)
Simple GLUT example which can be used as starter code.
2004-03-26
GLUTSurfaceTexture (HTML) (ZIP)
Example of using the new glutSurfaceTexture.
2004-03-26
NSOpenGL Fullscreen (HTML) (ZIP)
Demonstrates how to create and switch between windowed and fullscreen OpenGL contexts using NSOpenGL.
2004-02-11
OpenGL Screensaver (HTML) (ZIP)
Demonstrates how to integrate OpenGL drawing into a standard Cocoa screen saver on Mac OS X.
2003-12-10
Draw Pixels (HTML) (ZIP)
An example of the correct use of DrawPixels.
2003-07-16
TextureRange (HTML) (ZIP)
Shows the fundamental techniques required to fast texture upload performance.
2003-07-16
AGLSurfaceTexture (HTML) (ZIP)
Example of render to texture/texture from surface using aglSurfaceTexture.
2003-07-07
Carbon GLSnapshot (HTML) (ZIP)
Demonstrates the use of OpenGL with Quicktime to capture OpenGL content.
2003-07-07
NURBSSurfaceVertexProg (HTML) (ZIP)
Uses a vertex program to compute the vertex position for a NURB surface.
2003-07-07
SurfaceVertexProgram (HTML) (ZIP)
Vertex program that demonstrates the use of a UV mesh to draw an implicit surface.
2003-07-07
VBL (HTML) (ZIP)
A simple example of how to create an OpenGLView in AppKit.
2003-07-07
Vertex Optimization (HTML) (ZIP)
Shows examples of optimized vertex throughput.
2003-07-07
CubePuzzle (HTML) (ZIP)
Models a Rubik's Cube using Cocoa and OpenGL
2003-04-21
GLChildWindowDemo (HTML) (ZIP)
Shows using Cocoa's child windows and Quartz Extreme to provide 2D/3D overlays above 3D content.
2003-04-21
OpenGLCompositorLab (HTML) (ZIP)
Demonstrates using OpenGL to composite multiple sources in hardware. Requires NVIDIA GeForce 4 Ti hardware.
2003-04-21
aglClipBufferRect (HTML) (ZIP)
Shows the use of clip regions and buffer rects in AGL.
2003-01-14
VertexPerformanceTest (HTML) (ZIP)
A tool that measures triangle throughput and allows comparison of different methods.
2003-01-14