Acquisitions Editor: Mariann Barsolo
Development Editor: Kathryn Duggan
Technical Editor: Nathan Letwory
Production Editor: Rachel Gunn
Copy Editor: Sharon Wilkey
Production Manager: Tim Tate
Vice President and Executive Group Publisher: Richard Swadley
Vice President and Publisher: Neil Edde
Assistant Project Manager: Jenny Swisher
Associate Producer: Shawn Patrick
Quality Assurance: Angie Denny
Book Designer: Maureen Forys, Happenstance Type-O-Rama
Compositor: Jeff Lytle, Happenstance Type-O-Rama
Proofreader: Josh Chase, Word One New York
Indexer: Ted Laux
Project Coordinator, Cover: Lynsey Stanford
Cover Designer: Ryan Sneed
Cover Image: Soenke Maeter
Copyright 2009 by Wiley Publishing, Inc., Indianapolis, Indiana
Published simultaneously in Canada
ISBN: 978-0-470-40741-7
No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030, (201) 748-6011, fax (201) 748-6008, or online at http://www.wiley.com/go/permissions .
Limit of Liability/Disclaimer of Warranty: The publisher and the author make no representations or warranties with respect to the accuracy or completeness of the contents of this work and specifically disclaim all warranties, including without limitation warranties of fitness for a particular purpose. No warranty may be created or extended by sales or promotional materials. The advice and strategies contained herein may not be suitable for every situation. This work is sold with the understanding that the publisher is not engaged in rendering legal, accounting, or other professional services. If professional assistance is required, the services of a competent professional person should be sought. Neither the publisher nor the author shall be liable for damages arising herefrom. The fact that an organization or Web site is referred to in this work as a citation and/or a potential source of further information does not mean that the author or the publisher endorses the information the organization or Web site may provide or recommendations it may make. Further, readers should be aware that Internet Web sites listed in this work may have changed or disappeared between when this work was written and when it is read.
For general information on our other products and services or to obtain technical support, please contact our Customer Care Department within the U.S. at (877) 762-2974, outside the U.S. at (317) 572-3993 or fax (317) 572-4002.
Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may not be available in electronic books.
Library of Congress Cataloging-in-Publication Data
Mullen, Tony, 1971- Mastering Blender / Tony Mullen. p. cm. ISBN 978-0-470-40741-7 (paper/cd-rom) 1. Computer graphics. 2. Computer animation. 3. Three-dimensional display systems. 4. Blender (Computer file) I. Title. T385.M847 2009 006.6930285536--dc22 2009001899
TRADEMARKS: Wiley, the Wiley logo, and the Sybex logo are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its affiliates, in the United States and other countries, and may not be used without written permission. All other trademarks are the property of their respective owners. Wiley Publishing, Inc., is not associated with any product or vendor mentioned in this book.
10 9 8 7 6 5 4 3 2 1
Dear Reader,
Thank you for choosing Mastering Blender. This book is part of a family of premium-quality Sybex books, all of which are written by outstanding authors who combine practical experience with a gift for teaching.
Sybex was founded in 1976. More than thirty years later, were still committed to producing consistently exceptional books. With each of our titles were working hard to set a new standard for the industry. From the paper we print on, to the authors we work with, our goal is to bring you the best books available.
I hope you see all that reflected in these pages. Id be very interested to hear your comments and get your feedback on how were doing. Feel free to let me know what you think about this or any other Sybex book by sending me an email at . Customer feedback is critical to our efforts at Sybex.
Best regards,
Neil Edde
Vice President and Publisher
Sybex, an Imprint of Wiley
To Hana Marie Mullen, with love
Acknowledgments
As always, my thanks go first and foremost to Ton Roosendaal and all the Blender developers for all their hard work and dedication. You guys are doing important work and deserve the heartfelt gratitude of the entire community of Blender users. I am tempted to begin naming names, but I would not know where to stop. Please visit http://wiki.blender.org/index.php/List_of_Contributors for a complete list of the current developers and the specific work they have done. I would, however, like to single out Blender developer Nathan Letwory (jesterKing), who allowed me to benefit from his expertise as technical editor of this book.
Many other developers and users have helped me in researching and writing this book, and Im very grateful for all the support Ive received from the Blender community. I cant list all of the individuals at BlenderArtists.org whose artwork, comments, and tutorials have helped me to learn what I know about Blender, but I am particularly grateful for those who helped me as I ventured outside my comfort zone to write about the Blender Game Engine. Special thanks to BlenderArtists.org forum members Social, Mmph!, Blendenzo, and the other BGE gurus who were always eager to help me with my questions and investigations of this sometimes arcane functionality. Im also very grateful to Dolf Veenvliet (macouno) and Campbell Barton (ideasman_42), who helped me enormously to deepen my knowledge of Blenders Python API.
Throughout this book, I have referred to websites, tutorials, support threads, and other resources created by members of the community, and I am very grateful to all of those who have shared their knowledge. Once again, many thanks to Bart Veldhuizen and the contributors to BlenderNation.com, and to Roel Spruit and all the moderators and administrators at BlenderArtists.org for their support and for the great service they provide the Blender community.
This book would not have been possible without the efforts of my editors and colleagues at Sybex/Wiley, and Im very grateful to all of them. Thank you to Mariann Barsolo, Pete Gaughan, Kathryn Duggan, Rachel Gunn, Kelly Trent, and everyone else who had a hand in publishing and promoting the book.
Im also very grateful to my colleagues and students at Tsuda College for their support and encouragement of my Blender-related work.
As always, I am grateful to my wife, Yuka, for her tireless support, and especially for looking after the baby while I was spending all those hours working on this book!