David Gould's acclaimed first book, Complete Maya Programming: An Extensive Guide to MEL and the C++ API, provides artists and programmers with a deep understanding of the way Maya works and how it can be enhanced and customized through programming. In his new book David offers a gentle, intuitive introduction to the core ideas of computer graphics.
Each concept is explained progressively and is fully implemented in both MEL and C++ so that an artist or programmer can use the source code directly in their own programs. Geometry and modeling are covered in detail with progressively more complex examples demonstrating all of Maya's possible programming features.
David Gould's first volume is widely regarded as the most authoritative reference on Maya programming. Volume II continues this tradition and provides an unmatched guide for the artist and programmer tackling complex tasks.
- Covers a spectrum of topics in computer graphics including points and vectors, rotations, transformations, curves and surfaces (polygonal, NURBS, subdivision), and modeling
- Offers insights to Maya's inner workings so that an artist or programmer can design and develop customized tools and solutions
- Discusses problem solving with MEL (Maya's scripting language) and the more powerful and versatile C++ API, with plenty of code examples for each
Inhaltsverzeichnis
1;Cover;1 2;Complete Maya Programming: An In-depth Guide to 3D Fundamentals, Geometry, and Modeling;4 3;Copyright Page;5 4;Contents;8 5;Preface;15 6;Chapter 1. Introduction;18 6.1;1.1 Example Files;20 6.2;1.2 Executing MEL Code in the Script Editor;22 7;Chapter 2. Points;26 7.1;2.1 Dimensions;26 7.2;2.2 Cartesian Coordinates;26 7.3;2.3 Homogeneous Coordinates;27 7.4;2.4 Polar and Spherical Coordinates;28 7.5;2.5 Conversions;29 7.6;2.6 MEL;32 7.7;2.7 C++ API;33 7.8;2.8 Locators;34 8;Chapter 3. Vectors;36 8.1;3.1 MEL;36 8.2;3.2 C++ API;37 8.3;3.3 Adding;38 8.4;3.4 Subtracting;39 8.5;3.5 Scaling;39 8.6;3.6 Length;40 8.7;3.7 Distance Between Points;43 8.8;3.8 Normalizing Vectors;44 8.9;3.9 Dot Product;45 8.10;3.10 Cross Product;52 8.11;3.11 Points Versus Vectors;57 9;Chapter 4.Rotations;60 9.1;4.1 Angles;60 9.2;4.2 Rotations;61 9.3;4.3 Orientation Representations;64 10;Chapter 5. Transformations;78 10.1;5.1 Matrices;79 10.2;5.2 Transforming Points;89 10.3;5.3 Transforming Vectors;91 10.4;5.4 Transforming Normals;92 11;Chapter 6. Transform Nodes;96 11.1;6.1 Pivot Points;96 11.2;6.2 Transformation Matrices;101 11.3;6.3 Hierarchies of Transformations;114 12;Chapter 7. Coordinate Frames;120 12.1;7.1 Up Axis;120 12.2;7.2 Handedness;121 12.3;7.3 Custom Coordinate Frames;123 13;Chapter 8. Polygonal Meshes;130 13.1;8.1 Displaying Meshes;130 13.2;8.2 Querying Meshes;138 13.3;8.3 Creating Meshes;224 13.4;8.4 Editing Meshes;318 14;Chapter 9. NURBS;374 14.1;9.1 Concepts;378 14.2;9.2 NURBS Curves;397 14.3;9.3 NURBS Surfaces;453 15;Chapter I0. Subdivision Surfaces;510 15.1;10.1 Concepts;511 15.2;10.2 Displaying Subdivision Surfaces;517 15.3;10.3 Querying Subdivision Surfaces;520 15.4;10.4 Creating and Converting Subdivision Surfaces;557 15.5;10.5 Editing Subdivision Surfaces;581 16;Chapter 11. Contexts (Tools);586 16.1;11.1 SelectRingContextl Plug-in;588 16.2;11.2 SelectRingContext2 Plug-in;605 16.3;11.3 SelectVolumeContextl Plug-in;650 17;A. Further Learning;700 17.1;A.1 Online Reso
urces;700 17.2;A.2 Maya Application;702 18;B. Further Reading;704 18.1;B.1 Mathematics;704 18.2;B.2 Programming;705 18.3;B.3 Computer Graphics;705 19;Glossary;708 20;Index ;726