Legacy Documentclose button

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 Carbon SetupGL sample. aglString sample, HID Utilities sample, Mac OS X 10.1+ and Project Builder.

View Source Code:

Download Sample (“Red_Rocket.zip”, 907.6K)
Download Sample (“Red_Rocket.dmg”, 1.25M)



Description

An example showing a simple sprite engine using OpenGL This sample shows the integration of OpenGL as the back end to a simple sprite engine. A sprite data file is selected on launch and which loads the sprite images and the descriptions of each sprite. The engine draws he sprites using an othrographic projection and z values for depth sorting. This allows rotation, translation, scaling and coloration for free. The demo shows both loading a source color keyed, an 8-bit luminance and 8-bit alpha images. Version 1.0: Initial release Requirements: Carbon SetupGL sample. aglString sample, HID Utilities sample, Mac OS X 10.1+ and Project Builder. Keywords: Carbon, OpenGL, sprite, color key

Document Revision History

Date Notes
2003-01-14An example showing a simple sprite engine using OpenGL.

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.