TEAMFLYReal-TimeRenderingTricksand Techniquesin DirectX®This page intentionally left blankReal-TimeRenderingTricksand Techniquesin DirectX®Kelly Dempski© 2002 by Premier Press. All rights reserved. No part of this book may be reproduced or transmittedin any form or by any means, electronic or mechanical, including photocopying, recording, or by anyinformation storage or retrieval system without written permission from Premier Press, except for theinclusion of brief quotations in a review.Premier Press, Inc. is a registered trademark of Premier Press, Inc.Publisher: Stacy L. HiquetMarketing Manager: Heather BuzzinghamManaging Editor: Sandy DoellAcquisitions Editor: Mitzi FosterSeries Editor: André LaMotheSenior Project Editor: Heather TalbotTechnical Reviewer: André LaMotheMicrosoft and DirectX are registered trademarks of Microsoft Corporation in the United States and/or other countries.NVIDIA, the NVIDIA logo, nForce, GeForce, GeForce2, and GeForce3 are registered trademarks ortrademarks of NVIDIA Corporation in the United States and/or other countries.All other trademarks are the property of their respective owners.Important: Premier Press cannot provide software support. Please contact the appropriate softwaremanufacturer’s technical support line or Web site for assistance.Premier Press and the author have attempted throughout this book to distinguish proprietarytrademarks from descriptive terms by following the capitalization style used by the manufacturer.Information contained in this book has been obtained by Premier Press from sources believed to bereliable. However, because of the possibility of human or mechanical error by our sources, PremierPress, or others, the Publisher does not guarantee the accuracy, adequacy, or completeness of anyinformation and is not responsible for any errors or omissions or the results obtained from use ofsuch information. Readers should be particularly aware of the fact that the Internet is an ever-changing entity. Some facts may have changed since this book went to press.ISBN: 1-931841-27-6Library of Congress Catalog Card Number: 2001097326Printed in the United States of America02 03 04 05 06 RI 10 9 8 7 6 5 4 3 2 1Copy Editor: Kris SimmonsInterior Layout: Danielle FosterCover Design: Mike TanamachiCD-ROM Producer: Carson McGuireIndexer: Kelly TalbotProofreader: Jenny DavidsonFor RachelThis page intentionally left blankForewordOver the past few years, the field of real-time graphics has come into its own.Consumer-level graphics processors are now available with speed andcapabilities rivaling the most expensive workstations of just a few years ago.In addition, recent papers presented at Siggraph, the premier graphics researchconference and exhibition, have been more and more focused on real-timegraphics, as opposed to off-line rendering techniques.The biggest advance in consumer real-time graphics over the past year has been theadvent of progr...