Version: 1.0

Posted: 2003-02-25

Build Requirements: N/A

Runtime Requirements: Carbon QuickTime 5+, Metrowerks CodeWarrior 7+, ProjectBuilder 1.1.1+, Microsoft Visual C++ 6 or later, Mac OS 9, Mac OS X 10.1+, Win98+

View Source Code:

Download Sample (“Dimmer2Effect.zip”, 291.2K)
Download Sample (“Dimmer2Effect.dmg”, 375.6K)



Description

This sample shows how to build a custom effect component for QuickTime. The structure of this sample is that of a "Framework" which can be used to build new effects very quicly. Replace a few lines of code, write some new blit code and you're done...easy as cake. The sample effect this framework builds is called "Dimmer2". Dimmer2 uses two sources as input and renders the first source with a dim value that starts at full on, and ramps to full off. It then does the opposite for the second source starting at full off and ramping up to full on using a QT Tween to produce the dim values used to modify the pixels. CodeWarrior and Project Builder projects are included: - The CodeWarrior targets build a traditional PPC code resource, Carbon CFM component and a Carbon Mach-O component. The last two for Mac OS X only. - The Project Builder target will build a Mach-O dylib for Mac OS X. - Microsoft Visual C++ project included, see ReadMe for more details. Requirements: QuickTime 5+, Metrowerks CodeWarrior 7+, ProjectBuilder 1.1.1+, Microsoft Visual C++ 6 or later, Mac OS 9, Mac OS X 10.1+, Win98+ Keywords: QuickTime Effects Components

Document Revision History

Date Notes
2003-02-25Shows how to build a custom 2 source effect component for QuickTime.

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.