The Mel Companion : Maya Scripting for 3d Artists (Graphics Series) (PAP/CDR)

The Mel Companion : Maya Scripting for 3d Artists (Graphics Series) (PAP/CDR)

  • ただいまウェブストアではご注文を受け付けておりません。 ⇒古書を探す
  • 製本 Paperback:紙装版/ペーパーバック版/ページ数 468 p.
  • 言語 ENG,ENG
  • 商品コード 9781584502753
  • DDC分類 006.696

Full Description


The Maya Embedded Language, or MEL, is the very foundation of the Maya application: it's what makes it so powerful. And, if you know MEL, you can make Maya work more efficiently for your own projects. Whether customizing the workspace, modifying the tools that already exist, or creating new tools, an artist versed in MEL is ready to exploit the true power of Maya. The problem is that MEL can be very intimidating to artists and other non-programmers. To an artist, MEL represents a whole other world filled with words like variable, conditional statements, and vector cross-product. Like any other programming language, MEL has its own vocabulary and rules of grammar. To master it, you simply need to learn the rules: you don't have to become a programmer. The MEL Companion helps artists do this. In the first part of the book, you'll learn about the syntax, vocabulary, and structure of MEL - its grammar. You'll learn some basic math concepts, such as types of numbers and simple math equations, and at the end of part one you'll explore concepts for building and constructing programs. The second part covers the construction of scripts that detail some of the ways you can use MEL. You'll learn about expressions, primitive objects, lighting and rendering, tool creation, interface customization, and reading and writing files in and out of Maya. The MEL Companion was written by an artist for artists. To get the most out of this book, you should have a fundamental knowledge of working in 3D and the Maya program. In addition, although you might not have an extensive knowledge and understanding of mathematics, you should have some willingness to learn the basics of working with numbers. Other thanthat, everything else is explained in language that is hopefully as clear as it is entertaining

Table of Contents

Acknowledgments                                    xi
An Introduction to the Maya Embedded 1 (4)
Language
Part I The Maya Embedded Language 5 (78)
A Primer on Mathematics 7 (22)
Numbers 8 (2)
Integers 8 (1)
Rational Numbers 9 (1)
Irrational Numbers 10 (1)
Mathematical Functions and the Computer 10 (1)
Mathematical Disciplines 10 (16)
Algebra 11 (2)
Trigonometry 13 (2)
Vector Mathematics 15 (11)
Angles and Units of Measurement 26 (1)
Conclusion 27 (2)
MEL Basics 29 (12)
The Interface: Working with MEL in the 30 (4)
Maya UI
The Command Line 30 (1)
The Command Shell 31 (1)
The Script Editor 32 (2)
The MEL Command 34 (6)
Command Modality 36 (2)
Command Arguments 38 (2)
Conclusion 40 (1)
An Introduction to Programming Concepts 41 (24)
Variables 42 (6)
The Variable Types 42 (4)
Local and Global Variables 46 (1)
Variable Conversion 47 (1)
Statements 48 (8)
The Assignment Statement 48 (1)
The Arithmetic Statement 49 (3)
The Conditional Statement 52 (4)
Loops 56 (4)
The while Loop 56 (2)
The for Loop 58 (2)
Command Groups 60 (1)
Procedures 61 (2)
Flow Control 63 (1)
Variable Visibility 64 (1)
Conclusion 64 (1)
The Script File 65 (18)
Script Paths and the maya.env File 67 (1)
Scripting Style and Practices 67 (1)
Actions vs. Tools 67 (1)
The Scripting Process 68 (7)
Definition and Vision 69 (2)
Research and Development 71 (1)
Design and Implementation 72 (3)
Script Formatting 75 (4)
Whitespace 76 (1)
Comments 77 (1)
Header Information 78 (1)
Debugging, Error Checking, and Naming 79 (3)
Conventions
Conclusion 82 (1)
Part II Working With Mel 83 (370)
Geometry 85 (86)
Creating a New Primitive 86 (21)
Project Overview 86 (1)
Definition and Design 87 (1)
Research and Development 88 (1)
Implementation 89 (12)
Project Conclusion and Review 101(1)
Project Script Review 101(6)
The Grass Generator 107(45)
Project Overview 107(1)
Definition and Design 107(1)
Research and Development 107(6)
Implementation 113(33)
Project Conclusion and Review 146(1)
Project Script Review 146(6)
The Geodesic Sphere 152(18)
Project Overview 152(1)
Definition and Design 152(1)
Research and Development 153(1)
Implementation 154(9)
Project Conclusion and Review 163(1)
Project Script Review 163(7)
Conclusion 170(1)
Animation 171(48)
The Cycling Tool 172(45)
Project Overview 172(1)
Definition and Design 172(2)
Research and Development 174(1)
Implementation 174(29)
Project Conclusion and Review 203(1)
Project Script Review 203(14)
Conclusion 217(2)
Expressions 219(12)
It's a Sine of the Time 220(10)
Project Overview 220(1)
Definition and Design 220(1)
Implementation 220(10)
Project Conclusion and Review 230(1)
Conclusion 230(1)
Lighting and Rendering 231(38)
Creating Cubic Reflection Maps 232(19)
Project Overview 232(1)
Definition and Design 232(2)
Research and Development 234(3)
Implementation 237(10)
Project Conclusion and Review 247(1)
Project Script Review 248(3)
Rendertime Smoothing 251(17)
Project Overview 251(1)
Definition and Design 252(2)
Research and Development 254(1)
Implementation 255(10)
Project Conclusion and Review 265(1)
Project Script Review 265(3)
Conclusion 268(1)
Creating Tools in Maya 269(76)
Introduction to Maya Window Structures 271(38)
Windows 271(4)
Layouts 275(14)
Controls 289(13)
Layout and Control Placement 302(3)
Naming 305(2)
UI Templates 307(2)
A Model of Modality 309(4)
Project Conclusion and Review 313(1)
Dynamic UI Creation 313(9)
Design 313(1)
Implementation 314(8)
Adding a UI to a Script 322(22)
Design 322(1)
Implementation 323(14)
Project Conclusion and Review 337(1)
Project Script Review 337(7)
Conclusion 344(1)
Customizing the Maya Interface 345(66)
Menus 347(8)
userSetup.mel 353(2)
Implementing Popups 355(8)
Marking Menus a Go-Go 363(8)
Design 364(3)
Panels 367(4)
That's a Real Pane in My Window 371(11)
Design 372(1)
Implementation 372(7)
Project Script Review 379(3)
Scripted Panels 382(3)
Scripted Panel Creation 385(13)
Project Conclusion and Review 398(1)
Heads-Up Displays 398(4)
Heads Up! 402(7)
Design 402(7)
Conclusion 409(2)
File Handling in MEL 411(40)
File Types and File Handling 412(7)
Scene Summary 419(15)
Introduction 419(1)
Design 419(1)
Implementation 420(14)
Project Conclusion and Review 434(1)
Skin Weight Info 434(15)
Introduction 434(1)
Design 434(3)
Implementation 437(7)
Project Conclusion and Review 444(1)
Project Script Review 445(4)
Understanding the Maya ASCII File 449(1)
Conclusion 450(1)
Your Journey Begins Here: A Final Word on 451(2)
MEL
Appendix A About the CD-ROM 453(2)
System Requirements 453(2)
Appendix B Web Resources 455(2)
Charles River Media 455(1)
Alias|Wavefront 455(1)
Mathworld 455(1)
ACM Siggraph 455(1)
Gamagroup 456(1)
Highend 3D 456(1)
Index 457