Legal Notice

Josie Wernecke, Open Inventor Architecture Group

Addison-Wesley Publishing Company Reading, Massachusetts Menlo Park, California New York Don Mills, Ontario Wokingham, England Amsterdam Bonn Sydney Singapore Tokyo Madrid San Juan Paris Seoul Milan Mexico City Taipei

Silicon Graphics, the Silicon Graphics logo, and IRIS are registered trademarks and Open Inventor, OpenGL, and IRIS Graphics Library are trademarks of Silicon Graphics, Inc. X Window System is a trademark of Massachusetts Institute of Technology. Display PostScript is a registered trademark of Adobe Systems Incorporated.

The authors and publishers have taken care in 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 programs contained herein.

Library of Congress Cataloging-in-Publication Data

Wernecke, Josie. The Inventor mentor : programming Object-oriented 3D graphics with Open Inventor, release 2 / Josie Wernecke. p.  cm. Includes index. ISBN 0-201-62495-8 1. Object-oriented programming (Computer science) 2. Open Inventor.  3. Computer graphics.  I. Title. QA76.64.W48  1994 006.6'6--dc20 93-41976 CIP

Copyright © 1994 by Silicon Graphics, Inc.

ISBN 0-201-62495-8

All rights reserved. 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 or otherwise, without the prior written permission of the publisher. Printed in the United States of America. Published simultaneously in Canada.

Author: Josie Wernecke

Sponsoring Editor: Keith Wollman

Project Editor: Joanne Clapp Fullagar

Cover Image: Rikk Carey

Cover Design: Jean Seal

Text Design: Electric Ink, Ltd., and Kay Maitz

Set in 10-point Stone Serif

Addison-Wesley books are available for bulk purchases by corporations, institutions, and other organizations. For more information, please contact the Corporate, Government and Special Sales Department at (617) 944-3700 x2915.

First Printing, December 1993

123456789-CRS-9796959493