logo资料库

Learning Quartz Composer.pdf

第1页 / 共181页
第2页 / 共181页
第3页 / 共181页
第4页 / 共181页
第5页 / 共181页
第6页 / 共181页
第7页 / 共181页
第8页 / 共181页
资料共181页,剩余部分请下载后查看
Contents
Preface
Acknowledgments
About the Authors
I: Quartz Beginner
1 What Is Quartz Composer and Why Should I Learn It?
Play Video Introduction to Quartz Composer
Installing and Setting Up Quartz Composer
Outputs
Flexibility
Experimentation
Summary
Challenges
2 The Interface and Playing a Movie
Launching Quartz Composer
Editor versus WYSISYG
Viewer
Patch Library (Creator)
Patch Inspector/Patch Variables
Playing a Movie Tutorial Instructions
Summary
Challenges
3 Adding Visual Effects (Pimping It Out)
Adding a Filter
Filter Chains and Layering
Filter Tools
Core Image FX and FPS
Summary
Challenges
4 Using LFOs, Interpolation, and Trackballs to Move Stuff
Interpolation Patch: Do Stuff for a Bit
Interpolation as an Amazing Calculator
LFO
Hierarchies with Environment Patches: Trackball and 3D Transformation
Summary
Challenges
5 Debugging (When Things Go Wrong)
Using Image with String
Debugging Tips
Summary
Challenges
6 Particles (Little Flying Bits of Bling)
Add to Library (Creating a Clip in Leopard)
Starting Point Composition
The Particle System
Real-World Modeling
Blend Modes
Summary
Challenges
7 Mouse Input (Making Your Mouse Do Cool Stuff)
Particle Systems Control
Smoothing Input
Drag-and-Drop Interaction
Controlling a Kaleidoscope
Summary
Challenges
8 MIDI Interfacing (Getting Sliders and Knobs Involved)
MIDI Notes
How to Get the Information
MIDI Virtual Macros
MIDI Notes to Control Sprites
Adding in MIDI Controllers
Further Control
Summary
Challenges
9 Interacting with Audio (Get Stuff Grooving to the Beat)
Working with Audio Input
Output
Summary
Challenges
10 Lighting and Timelines (The Dark Side of QC)
Video Tutorial on Lighting
Timelines
Summary
Challenges
11 Replication/Iteration (The Bomb)
Demo: Replicate in Space
Iteration
Summary
Challenges
II: Quartz Ninja
12 Modeling Complex Environments (3D Cities)
Texturing
One City Building
Beat Reaction
Macro It Up
Duplication
Video Walls
Replicating
Master Scale
Finishing the Plan
Camera
Summary
Challenges
13 Create a Cocoa App (Send Quartz to Your Friends)
Xcode
Demo: Create an Application with Snow Leopard/Leopard
Demo: Create an Application with Lion
More Features: Publishing Inputs with Snow Leopard and Leopard
More Features: Publishing Inputs with Lion
Summary
Challenges
14 Create a Screensaver
Making the Screensaver
Adding Options
Summary
Challenges
15 Secret Patches, Core Image Filters, and GLSL (Pushing the Boundaries)
Private Patches
Plugins
JavaScript
GLSL
Core Image Filters
OpenCL
Summary
Challenges
Index
A
B
C
E
H
I
J
K
L
M
N
O
P
R
S
T
U
V
Z
Patch Index
A
B
C
E
H
I
J
K
L
M
N
O
P
R
S
T
U
V
Z
Where are the Companion Content Files?
ptg8286219
Learning Quartz Composer
Addison-Wesley Learning Series Visit informit.com/learningseries for a complete list of available publications. The Addison-Wesley Learning Series is a collection of hands-on programming guides that help you quickly learn a new technology or language so you can apply what you’ve learned right away. Each title comes with sample code for the application or applications built in the text. This code is fully annotated and can be reused in your own projects with no strings attached. Many chapters end with a series of exercises to encourage you to reexamine what you have just learned, and to tweak or adjust the code as a way of learning. Titles in this series take a simple approach: they get you going right away and leave you with the ability to walk off and build your own application and apply the language or technology to whatever you are working on. ptg8286219
Learning Quartz Composer A Hands-On Guide to Creating Motion Graphics with Quartz Composer Graham Robinson Surya Buchwald Upper Saddle River, NJ Boston Indianapolis San Francisco New York Toronto Montreal London Munich Paris Madrid Capetown Sydney Tokyo Singapore Mexico City ptg8286219
Editor-in-Chief Mark Taub Acquisitions Editor Trina MacDonald Development Editor Sheri Cain Managing Editor John Fuller Project Editor Anna Popick Copy Editor Jill Hobbs Indexer John S. (Jack) Lewis Proofreader Diane Freed Publishing Coordinator Olivia Basegio Multimedia Developer Dan Scherf Cover Designer Chuti Prasertsith Compositor Rob Mauhar Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and the publisher was aware of a trademark claim, the designations have been printed with initial capital letters or in all capitals. The authors and publisher have taken care in the preparation of this book, but make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for incidental or consequential damages in connection with or arising out of the use of the information or pro- grams contained herein. The publisher offers excellent discounts on this book when ordered in quantity for bulk purchases or special sales, which may include electronic versions and/or custom covers and content particular to your business, training goals, marketing focus, and branding interests. For more information, please contact: U.S. Corporate and Government Sales (800) 382-3419 corpsales@pearsontechgroup.com For sales outside the United States, please contact: International Sales international@pearson.com Visit us on the Web: informit.com/aw Library of Congress Cataloging-in-Publication Data Robinson, Graham, 1982– Learning quartz composer : a hands-on guide to creating motion graphics with Quartz composer / Graham Robinson, Surya Buchwald. p. cm. Includes index. ISBN 978-0-321-85758-3 (pbk. : alk. paper) 1. Computer animation. 2. Digital video. 3. Quartz (Electronic resource) I. Buchwald, Surya, 1982- II. Title. TR897.7.R595 2012 777’.7--dc23 2012015316 Copyright © 2013 Pearson Education, Inc. All rights reserved. Printed in the United States of America. This publication is pro- tected by copyright, and permission must be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or like- wise. To obtain permission to use material from this work, please submit a written request to Pearson Education, Inc., Permissions Department, One Lake Street, Upper Saddle River, New Jersey 07458, or you may fax your request to (201) 236-3290. ISBN-13: 978-0-321-85758-3 ISBN-10: 0-321-85758-5 Text printed in the United States on recycled paper at Courier in Westford, Massachusetts. First printing, July 2012 ptg8286219
❖ I would like to acknowledge Jesus as my inspiration and the source of my creativity and talent. My wife Natalie, my muse and the most caring, supportive, fun human I have ever met, thank you so much! My father Bruce, without your support and encouragement I never would have been able to become self-employed and start this whole journey. —Graham I dedicate this book to my Mom for always telling me to do what I love (it’s working!), to my Dad for instilling in me a talent and love for the arts, and to my Grandma Theda for getting us our first computer when I was but a wee lad, giving a jump-start to my tech education. Thanks to my friends in Stargaze and LAVA for encouraging and believing in me when I had the crazy idea to get into making interactive ridiculousness. —Surya ❖ ptg8286219
This page intentionally left blank ptg8286219
Contents at a Glance Preface xv Acknowledgments xxi About the Authors xxiii I Quartz Beginner 1 1 What Is Quartz Composer and Why Should I Learn It? 3 2 The Interface and Playing a Movie 9 3 Adding Visual Effects (Pimping It Out) 21 4 Using LFOs, Interpolation, and Trackballs to Move Stuff 33 5 Debugging (When Things Go Wrong) 43 6 Particles (Little Flying Bits of Bling) 49 7 Mouse Input (Making Your Mouse Do Cool Stuff) 59 8 MIDI Interfacing (Getting Sliders and Knobs Involved) 71 9 Interacting with Audio (Get Stuff Grooving to the Beat) 85 10 Lighting and Timelines (The Dark Side of QC) 91 11 Replication/Iteration (The Bomb) 97 II Quartz Ninja 12 Modeling Complex Environments (3D Cities) 107 109 13 Create a Cocoa App (Send Quartz to Your Friends) 121 14 Create a Screensaver 133 15 Secret Patches, Core Image Filters, and GLSL (Pushing the Boundaries) 137 Index 143 Patch Index 151 ptg8286219
分享到:
收藏