Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.
Current information on this Reference Library topic can be found here:
|
Version: 1.0 Posted: 2003-01-14 Build Requirements: N/A Runtime Requirements: Carbon OpenGL, 3D, full screen, DrawSprocket, QuickTime, Movie, Download Sample (OpenGL_Movie.zip, 293.9K) |
||||
DescriptionA demonstration of QuickTime and OpenGL integration and optimized texture mapping. This includes demonstrating the use of the OpenGL packed pixel extension. Version 1.1: Updated for Mac OS X including full screen support. Version 1.0: Carbonized for Mac OS X. OpenGL Movie is built with CodeWarrior 6 and the latest Carbon SDK (1.3d6 as of this writing). It requires the latest Carbon SetupGL and aglString sample code. OpenGL Movie demonstrates the integration of OpenGL with QuickTime in a Carbon framework. Particluar attention has been paid to performance and clarity. Carbon timers are used to handle frame drawing. Only frames that actually chnage are uploaded as textures. The Packed Pixel extension is checked for and used is available. The application allows many setting changes for developers to see how performance varies. Any suggestions and/or bugs can be directed to the Apple bug reporter at: <http://developer.apple.com/bugreporter/index.html> Note: Some of the access paths will have to reset to point to the location of the OpenGL SDK and the Carbon SDK on your local system and this is built using Universal Interfaces 3.4a5 and Carbon SDK 1.2f2 or later. If you are not useing the latest OpenGL 1.2 headers then some small modifcations may have to be made be removing the glext.h file. We hope this helps people get up and running with OpenGL and QuickTime (and texturing) in a quick and painless manner. CodeWarrior 6, Carbon SDK 1.3d6 or later, PowerPC, System 8.1+, OpenGL SDK, DrawSprocket, and Universal Interfaces 3.4b5 or later Requirements: OpenGL, 3D, full screen, DrawSprocket, QuickTime, Movie, Keywords: texture mapping Document Revision History
|
|