文档介绍:T
E
A
M
F
L
Y
Team-Fly®
Advanced
Linux 3D
Graphics
Programming
Norman Lin
Wordware Publishing, Inc.
Library of Congress Cataloging-in-Publication Data
Lin, Norman.
Advanced Linux 3D graphics programming / by Norman Lin.
p. cm.
Includes index.
ISBN 1-55622-853-8 (pbk.)
1. Computer graphics. 2. Linux. 3. Three-dimensional display systems. I. Title.
T385 .L5555 2001
'93--dc21 2001026370
CIP
© 2001, Wordware Publishing, Inc.
All Rights Reserved
2320 Los Rios Boulevard
Plano, Texas 75074
No part of this book may be reproduced in any form or by
any means without permission in writing from
Wordware Publishing, Inc.
Printed in the United States of America
ISBN 1-55622-853-8
**********
0106
Blender is a registered trademark of Not a Number B. V.
Other product names mentioned are used for identification purposes only and may be trademarks of their panies.
All inquiries for volume purchases of this book should be addressed to Wordware Publishing, Inc., at the above
address. Telephone inquiries may be made by calling:
(972) 423-0090
iii
Contents
Acknowledgments ............................................x
Preface ..................................................xi
Introduction ...............................................xii
Chapter 1 Basic Linux 3D Graphics Concepts ..................1
2D Graphics Fundamentals ......................................1
3D Graphics Fundamentals ......................................3
3D Coordinate Systems and Vectors ...............................4
Perspective Projection .......................................5
Matrices ................................................6
Specific Matrix Transformations .................................6
Other Matrix Properties ......................................7
The l3d Library Classes........................................8
Sample l3d Program ...................