Getting Started with Maya

Getting Started with Maya

  • نوع فایل : کتاب
  • زبان : انگلیسی

Description

Table of Contents 1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19 About the Getting Started lessons . . . . . . . . . . . . . . . . . . . . 20 Before you begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Installing Maya . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Conventions used in the lessons . . . . . . . . . . . . . . . . . . . . . 22 Using the lesson files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Using the Maya Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Additional learning resources . . . . . . . . . . . . . . . . . . . . . . . . 29 Restoring default user settings. . . . . . . . . . . . . . . . . . . . . . . 30 2 Maya Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Preparing for the lessons. . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Lesson 1The Maya user interface. . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Starting Maya . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 The Maya interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 Saving your work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 Exiting Maya . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 Beyond the lesson. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 Lesson 2Creating, manipulating, and viewing objects. . . . . . . . . . . 49 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 Creating a new scene. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 Primitive objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 Getting Started with Maya 4 Table of Contents The Toolbox: Layout shortcuts . . . . . . . . . . . . . . . . . . . . . . . 53 The Toolbox: Transformation tools . . . . . . . . . . . . . . . . . . . . 54 The Channel Box. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 Duplicating objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 Creating a project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 Save your work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 Beyond the lesson. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 Lesson 3Viewing the Maya 3D scene. . . . . . . . . . . . . . . . . . . . . . . . 64 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 Camera tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 Workflow overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 Viewing objects in shaded mode. . . . . . . . . . . . . . . . . . . . . . 74 Grouping objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 The Hypergraph. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 Selection modes and masks . . . . . . . . . . . . . . . . . . . . . . . . 80 Pivot points. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 Save your work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 Beyond the lesson. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 Lesson 4Components and attributes . . . . . . . . . . . . . . . . . . . . . . . . 85 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 Template display. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 The Attribute Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 Surface materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 Save your work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 Beyond the lesson. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 Getting Started with Maya 5 Table of Contents 3 Polygonal Modeling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .97 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 Preparing for the lesson. . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 Lesson 1Modeling a polygonal mesh. . . . . . . . . . . . . . . . . . . . . . . 100 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 Setting modeling preferences. . . . . . . . . . . . . . . . . . . . . . . 101 Using 2D reference images . . . . . . . . . . . . . . . . . . . . . . . . 102 Creating a polygon primitive . . . . . . . . . . . . . . . . . . . . . . . . 105 Modeling in shaded mode . . . . . . . . . . . . . . . . . . . . . . . . . 108 Model symmetry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 Selecting components by painting. . . . . . . . . . . . . . . . . . . . 111 Selecting edge loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 Editing components in the orthographic views . . . . . . . . . . . 115 Editing components in the perspective view. . . . . . . . . . . . . 123 Drawing a polygon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 Extruding polygon components . . . . . . . . . . . . . . . . . . . . . . 127 Bridging between edges. . . . . . . . . . . . . . . . . . . . . . . . . . . 133 Adding polygons to a mesh. . . . . . . . . . . . . . . . . . . . . . . . . 137 Splitting polygon faces. . . . . . . . . . . . . . . . . . . . . . . . . . . . 139 Terminating edge loops . . . . . . . . . . . . . . . . . . . . . . . . . . . 148 Deleting construction history . . . . . . . . . . . . . . . . . . . . . . . 150 Mirror copying a mesh . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152 Working with a smoothed mesh . . . . . . . . . . . . . . . . . . . . . 155 Creasing and hardening edges on a mesh. . . . . . . . . . . . . . 157 Beyond the lesson. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163 Getting Started with Maya 6 Table of Contents 4 NURBS Modeling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .165 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165 Preparing for the lessons. . . . . . . . . . . . . . . . . . . . . . . . . . 165 Lesson 1Revolving a curve to create a surface . . . . . . . . . . . . . . . 167 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167 Creating a profile curve . . . . . . . . . . . . . . . . . . . . . . . . . . . 167 Creating a revolve surface . . . . . . . . . . . . . . . . . . . . . . . . . 169 Editing a revolve surface . . . . . . . . . . . . . . . . . . . . . . . . . . 169 Beyond the lesson. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171 Lesson 2Sculpting a NURBS surface . . . . . . . . . . . . . . . . . . . . . . . 172 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172 Preparing a surface for sculpting. . . . . . . . . . . . . . . . . . . . . 172 Basic sculpting techniques. . . . . . . . . . . . . . . . . . . . . . . . . 175 Additional sculpting techniques. . . . . . . . . . . . . . . . . . . . . . 178 Sculpting a nose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180 Sculpting eye sockets . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181 Sculpting eyebrows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182 Sculpting a mouth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183 Sculpting other facial features . . . . . . . . . . . . . . . . . . . . . . 186 Beyond the lesson. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187 Lesson 3Lofting curves to create a surface . . . . . . . . . . . . . . . . . . 188 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188 Creating profile curves for a surface . . . . . . . . . . . . . . . . . . 188 Duplicating curves. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190 Lofting a surface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191 Getting Started with Maya 7 Table of Contents Modifying a primitive object . . . . . . . . . . . . . . . . . . . . . . . . 192 Using the Outliner to parent objects . . . . . . . . . . . . . . . . . . 193 Beyond the lesson. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194 5 Subdivision Surfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .197 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197 Preparing for the lesson. . . . . . . . . . . . . . . . . . . . . . . . . . . 197 Lesson 1Modeling a subdivision surface . . . . . . . . . . . . . . . . . . . . 199 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199 Creating a subdivision surface . . . . . . . . . . . . . . . . . . . . . . 199 Splitting a surface in polygon proxy mode . . . . . . . . . . . . . . 202 Extruding polygon faces . . . . . . . . . . . . . . . . . . . . . . . . . . . 203 Deleting polygon faces. . . . . . . . . . . . . . . . . . . . . . . . . . . . 208 Subdivision surface levels . . . . . . . . . . . . . . . . . . . . . . . . . 209 Refining surface components. . . . . . . . . . . . . . . . . . . . . . . 211 Creating a crease in a subdivision surface. . . . . . . . . . . . . . 213 Beyond the lesson. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215 6 Animation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .217 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217 Preparing for the lessons. . . . . . . . . . . . . . . . . . . . . . . . . . 217 Lesson 1Keyframes and the Graph Editor . . . . . . . . . . . . . . . . . . . 218 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218 Setting the playback range. . . . . . . . . . . . . . . . . . . . . . . . . 219 Setting keyframes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221 Using the Graph Editor. . . . . . . . . . . . . . . . . . . . . . . . . . . . 224 Changing the timing of an attribute. . . . . . . . . . . . . . . . . . . 229 Getting Started with Maya 8 Table of Contents Fine tuning an animation . . . . . . . . . . . . . . . . . . . . . . . . . . 230 Deleting extra keyframes and static channels . . . . . . . . . . . 232 Using Playblast to playback an animation . . . . . . . . . . . . . . 233 Beyond the lesson. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233 Lesson 2Set Driven Key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235 Lesson setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236 Using Set Driven Key to link attributes. . . . . . . . . . . . . . . . . 236 Viewing the results in the Graph Editor . . . . . . . . . . . . . . . . 239 Beyond the lesson. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240 Lesson 3Path animation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241 Open the scene for the lesson . . . . . . . . . . . . . . . . . . . . . . 242 Animating an object along a motion path. . . . . . . . . . . . . . . 243 Changing the timing of an object along a motion path. . . . . . 245 Rotating an object along a motion path. . . . . . . . . . . . . . . . 252 Blending keyframe and motion path animation. . . . . . . . . . . 254 Using Playblast to playback an animation . . . . . . . . . . . . . . 260 Beyond the lesson. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260 Lesson 4Nonlinear animation with Trax. . . . . . . . . . . . . . . . . . . . . 262 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262 Open the first scene for the lesson. . . . . . . . . . . . . . . . . . . 263 Creating clips with Trax . . . . . . . . . . . . . . . . . . . . . . . . . . . 265 Changing the position of clips with Trax. . . . . . . . . . . . . . . . 273 Editing the animation of clips . . . . . . . . . . . . . . . . . . . . . . . 275 Getting Started with Maya 9 Table of Contents Reusing clips within Trax . . . . . . . . . . . . . . . . . . . . . . . . . . 277 Soloing and muting tracks . . . . . . . . . . . . . . . . . . . . . . . . . 281 Scaling clips within Trax. . . . . . . . . . . . . . . . . . . . . . . . . . . 282 Open the second scene for the lesson . . . . . . . . . . . . . . . . 283 Creating clips from motion capture data . . . . . . . . . . . . . . . 285 Extending the length of motion capture data . . . . . . . . . . . . 287 Redirecting the motion within a clip. . . . . . . . . . . . . . . . . . . 291 Beyond the lesson. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300 Lesson 5Inverse kinematics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303 Open the scene for the lesson . . . . . . . . . . . . . . . . . . . . . . 304 Understanding hierarchies . . . . . . . . . . . . . . . . . . . . . . . . . 305 Viewing hierarchies using the Hypergraph . . . . . . . . . . . . . . 307 Creating a skeleton hierarchy. . . . . . . . . . . . . . . . . . . . . . . 308 Parenting a model into a skeleton hierarchy. . . . . . . . . . . . . 312 Applying IK to a skeleton hierarchy . . . . . . . . . . . . . . . . . . . 316 Creating a control object for an IK system. . . . . . . . . . . . . . 319 Constraining an IK system . . . . . . . . . . . . . . . . . . . . . . . . . 322 Limiting the range of motion of an IK system. . . . . . . . . . . . 326 Simplifying the display of a hierarchy. . . . . . . . . . . . . . . . . . 334 Applying parent constraints on an IK system . . . . . . . . . . . . 334 Planning an animation for an IK system. . . . . . . . . . . . . . . . 338 Animating an IK system . . . . . . . . . . . . . . . . . . . . . . . . . . . 341 Beyond the lesson. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 346 7 Character Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .349 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 349 Getting Started with Maya 10 Table of Contents Preparing for the lessons. . . . . . . . . . . . . . . . . . . . . . . . . . 350 Lesson 1Skeletons and kinematics . . . . . . . . . . . . . . . . . . . . . . . . 351 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351 Open the scene for the lesson . . . . . . . . . . . . . . . . . . . . . . 351 Creating joints. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 352 Adding joints to a skeleton. . . . . . . . . . . . . . . . . . . . . . . . . 357 Creating a skeleton hierarchy. . . . . . . . . . . . . . . . . . . . . . . 359 Forward and inverse kinematics . . . . . . . . . . . . . . . . . . . . . 360 Posing and animating using inverse kinematics . . . . . . . . . . 361 Posing and animating using forward kinematics. . . . . . . . . . 364 Beyond the lesson. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 364 Lesson 2Smooth skinning. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366 Open the scene for the lesson . . . . . . . . . . . . . . . . . . . . . . 367 Smooth binding a skeleton. . . . . . . . . . . . . . . . . . . . . . . . . 367 Skin weighting and deformations . . . . . . . . . . . . . . . . . . . . 369 Modifying skin weights. . . . . . . . . . . . . . . . . . . . . . . . . . . . 371 Influence objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373 Beyond the lesson. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376 Lesson 3Cluster and blend shape deformers. . . . . . . . . . . . . . . . . 378 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378 Open the scene for the lesson . . . . . . . . . . . . . . . . . . . . . . 378 Creating a target object for a blend shape. . . . . . . . . . . . . . 379 Creating a cluster deformer on a target object. . . . . . . . . . . 380 Editing cluster weights. . . . . . . . . . . . . . . . . . . . . . . . . . . . 383 Getting Started with Maya 11 Table of Contents Creating a blend shape . . . . . . . . . . . . . . . . . . . . . . . . . . . 387 Refining deformation effects. . . . . . . . . . . . . . . . . . . . . . . . 389 Adding target objects to an existing blend shape . . . . . . . . . 390 Beyond the lesson. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 395 8 Polygon Texturing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .397 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 397 Preparing for the lesson. . . . . . . . . . . . . . . . . . . . . . . . . . . 398 Lesson 1UV texture mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 399 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 399 Creating a cracker box model. . . . . . . . . . . . . . . . . . . . . . . 400 Applying a texture map to a polygon mesh. . . . . . . . . . . . . . 401 Viewing UVs in the UV Texture Editor. . . . . . . . . . . . . . . . . . 407 Mapping UV texture coordinates. . . . . . . . . . . . . . . . . . . . . 411 Working with UVs in the UV Texture Editor. . . . . . . . . . . . . . 415 Beyond the lesson. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 424 9 Rendering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .427 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 427 Preparing for the lessons. . . . . . . . . . . . . . . . . . . . . . . . . . 429 Lesson 1Rendering a scene . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 430 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 430 Open the scene for the lesson . . . . . . . . . . . . . . . . . . . . . . 431 Creating shading materials for objects . . . . . . . . . . . . . . . . 432 Refining shading materials for objects. . . . . . . . . . . . . . . . . 436 Maya renderers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 441 Rendering a single frame using IPR. . . . . . . . . . . . . . . . . . . 443 Getting Started with Maya 12 Table of Contents Rendering using the Maya software renderer. . . . . . . . . . . . 449 Batch rendering a sequence of animation frames. . . . . . . . . 451 Viewing a sequence of rendered frames . . . . . . . . . . . . . . . 454 Beyond the lesson. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 455 Lesson 2Shading surfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 457 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 457 Open the scene for the lesson . . . . . . . . . . . . . . . . . . . . . . 458 Assigning a shading material . . . . . . . . . . . . . . . . . . . . . . . 459 Modifying surface specularity . . . . . . . . . . . . . . . . . . . . . . . 461 Material types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 462 Assigning textures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 463 Using the Hypershade editor. . . . . . . . . . . . . . . . . . . . . . . . 467 Creating a texture within the Hypershade editor. . . . . . . . . . 470 Modifying a bump texture. . . . . . . . . . . . . . . . . . . . . . . . . . 473 Beyond the lesson. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 476 Lesson 3Lights, shadows, and cameras. . . . . . . . . . . . . . . . . . . . . 479 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 479 Open the scene for the lesson . . . . . . . . . . . . . . . . . . . . . . 480 Directional lights . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 481 Spotlights. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 483 Editing light attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 486 Shadows. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 489 Creating additional cameras in a scene. . . . . . . . . . . . . . . . 491 Animating camera moves. . . . . . . . . . . . . . . . . . . . . . . . . . 494 Beyond the lesson. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 496 Getting Started with Maya 13 Table of Contents Lesson 4Global Illumination. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 498 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 498 Open the scene for the lesson . . . . . . . . . . . . . . . . . . . . . . 499 Render the scene using raytracing . . . . . . . . . . . . . . . . . . . 500 Render the scene using Global Illumination. . . . . . . . . . . . . 505 Beyond the Lesson . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 515 Lesson 5Caustics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 517 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 517 Open the scene for the lesson . . . . . . . . . . . . . . . . . . . . . . 518 Render the scene using raytracing . . . . . . . . . . . . . . . . . . . 519 Render the scene using caustics . . . . . . . . . . . . . . . . . . . . 525 Beyond the Lesson . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 532 10 Dynamics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .535 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 535 Preparing for the lessons. . . . . . . . . . . . . . . . . . . . . . . . . . 535 Lesson 1Particles, emitters, and fields. . . . . . . . . . . . . . . . . . . . . . 537 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 537 Creating an emitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 538 Creating volume axis fields. . . . . . . . . . . . . . . . . . . . . . . . . 540 Adjusting the velocity of moving particles. . . . . . . . . . . . . . . 546 Setting the particle render type. . . . . . . . . . . . . . . . . . . . . . 547 Adding dynamic attributes . . . . . . . . . . . . . . . . . . . . . . . . . 548 Adding per particle attributes . . . . . . . . . . . . . . . . . . . . . . . 549 Adding color to particles with a color ramp. . . . . . . . . . . . . . 550 Hardware rendering particles . . . . . . . . . . . . . . . . . . . . . . . 553 Beyond the lesson. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 555 Getting Started with Maya 14 Table of Contents Lesson 2Rigid bodies and constraints . . . . . . . . . . . . . . . . . . . . . . 557 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 557 Lesson setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 557 Creating hinge constraints . . . . . . . . . . . . . . . . . . . . . . . . . 560 Running a dynamics simulation. . . . . . . . . . . . . . . . . . . . . . 561 Changing an active rigid body to passive. . . . . . . . . . . . . . . 562 Beyond the lesson. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 563 11 Painting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .565 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 565 Preparing for the lessons. . . . . . . . . . . . . . . . . . . . . . . . . . 566 Lesson 1Painting in 2D using Paint Effects . . . . . . . . . . . . . . . . . . 567 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 567 Painting strokes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 567 Modifying the default brush settings . . . . . . . . . . . . . . . . . . 570 Modifying the canvas. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 572 Modifying the colors of a preset brush. . . . . . . . . . . . . . . . . 573 Editing strokes with tubes attributes. . . . . . . . . . . . . . . . . . 575 Saving brush settings for future use . . . . . . . . . . . . . . . . . . 576 Blending brushes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 577 Smearing, blurring, and erasing paint . . . . . . . . . . . . . . . . . 578 Beyond the lesson. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 579 Lesson 2Painting in 3D using Paint Effects . . . . . . . . . . . . . . . . . . 581 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 581 Preparing for the lessons. . . . . . . . . . . . . . . . . . . . . . . . . . 582 Brushes and strokes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 583 Rendering Paint Effects strokes . . . . . . . . . . . . . . . . . . . . . 591 Getting Started with Maya 15 Table of Contents Paint Effects on 3D objects . . . . . . . . . . . . . . . . . . . . . . . . 596 Creating a surface to paint on. . . . . . . . . . . . . . . . . . . . . . . 596 Painting on objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 600 Using turbulence with brush stroke tubes . . . . . . . . . . . . . . 601 Using additional preset brushes . . . . . . . . . . . . . . . . . . . . . 602 Mesh brushes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 605 Converting mesh strokes to polygons . . . . . . . . . . . . . . . . . 608 Modifying a converted polygonal mesh . . . . . . . . . . . . . . . . 610 Beyond the lesson. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 614 Lesson 3Painting textures on surfaces. . . . . . . . . . . . . . . . . . . . . . 616 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 616 Open the scene for the lesson . . . . . . . . . . . . . . . . . . . . . . 616 Preparing for painting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 617 Painting with an Artisan brush. . . . . . . . . . . . . . . . . . . . . . . 619 Painting symmetrical strokes . . . . . . . . . . . . . . . . . . . . . . . 620 Using Flood All to apply a single color . . . . . . . . . . . . . . . . . 621 Brush shapes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 622 Painting with a Paint Effects brush . . . . . . . . . . . . . . . . . . . 624 Smearing and blurring . . . . . . . . . . . . . . . . . . . . . . . . . . . . 625 Painting a bump map texture . . . . . . . . . . . . . . . . . . . . . . . 627 Beyond the lesson. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 629 12 Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .633 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 633 Preparing for the lessons. . . . . . . . . . . . . . . . . . . . . . . . . . 634 Lesson 1Creating a simple expression. . . . . . . . . . . . . . . . . . . . . . 635 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 635 Getting Started with Maya 16 Table of Contents Creating expressions to control a single attribute. . . . . . . . . 635 Editing expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 639 Using expressions to control multiple attributes. . . . . . . . . . 640 Linking multiple attributes on the same object. . . . . . . . . . . 640 Controlling attributes in two objects . . . . . . . . . . . . . . . . . . 641 Beyond the lesson. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 641 Lesson 2Conditional expressions . . . . . . . . . . . . . . . . . . . . . . . . . . 644 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 644 Creating a conditional expression. . . . . . . . . . . . . . . . . . . . 644 Other conditional statement options. . . . . . . . . . . . . . . . . . 647 Fixing a problem in an expression. . . . . . . . . . . . . . . . . . . . 650 Using else statements. . . . . . . . . . . . . . . . . . . . . . . . . . . . 651 Simplifying expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . 652 Editing expressions to refine an animation . . . . . . . . . . . . . 653 Beyond the lesson. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 655 Lesson 3Controlling particle attributes. . . . . . . . . . . . . . . . . . . . . . 656 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 656 Creating particle objects. . . . . . . . . . . . . . . . . . . . . . . . . . . 656 Using creation expressions to set a constant color. . . . . . . . 658 Using runtime expressions. . . . . . . . . . . . . . . . . . . . . . . . . 659 Modifying runtime expressions . . . . . . . . . . . . . . . . . . . . . . 661 Beyond the lesson. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 662 13 Scripting in Maya . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .665 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 665 Some basic concepts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 666 Preparing for the lessons. . . . . . . . . . . . . . . . . . . . . . . . . . 670 Getting Started with Maya 17 Table of Contents Lesson 1Commands in MEL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 671 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 671 Entering MEL commands . . . . . . . . . . . . . . . . . . . . . . . . . . 671 Observing script history . . . . . . . . . . . . . . . . . . . . . . . . . . . 672 Modifying object attributes. . . . . . . . . . . . . . . . . . . . . . . . . 677 Editing Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 680 Beyond the lesson. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 682 Lesson 2Saving scripts to the Shelf . . . . . . . . . . . . . . . . . . . . . . . . 683 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 683 Setting up the scene . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 683 Recording the script history . . . . . . . . . . . . . . . . . . . . . . . . 685 Compare the rendered images . . . . . . . . . . . . . . . . . . . . . . 687 Saving the history as a button . . . . . . . . . . . . . . . . . . . . . . 688 Beyond the Lesson . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 691 Lesson 3Using Variables in MEL. . . . . . . . . . . . . . . . . . . . . . . . . . . 692 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 692 Setting up the scene . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 692 Storing scene information . . . . . . . . . . . . . . . . . . . . . . . . . 693 Create a row of barrels. . . . . . . . . . . . . . . . . . . . . . . . . . . . 696 Stacking the row of barrels. . . . . . . . . . . . . . . . . . . . . . . . . 697 Using MEL built-in functions to calculate the Y offset . . . . . . 698 Creating dynamics with MEL commands . . . . . . . . . . . . . . . 700 Beyond the lesson. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703 Lesson 4User interface creation and procedures. . . . . . . . . . . . . . 704 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 704 Getting Started with Maya 18 Table of Contents Creating a window. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 704 Window naming. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 707 Introduction to procedures . . . . . . . . . . . . . . . . . . . . . . . . . 711 Loading a script file. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 713 Linking the user interface. . . . . . . . . . . . . . . . . . . . . . . . . . 718 Saving the script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 724 Using the saved script file . . . . . . . . . . . . . . . . . . . . . . . . . 725 Beyond the lesson. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 727 Lesson 5Using Python in Maya. . . . . . . . . . . . . . . . . . . . . . . . . . . . 728 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 728 Entering Python commands . . . . . . . . . . . . . . . . . . . . . . . . 728 Using flags in Python. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 732 Using the edit flag in Python. . . . . . . . . .
اگر شما نسبت به این اثر یا عنوان محق هستید، لطفا از طریق "بخش تماس با ما" با ما تماس بگیرید و برای اطلاعات بیشتر، صفحه قوانین و مقررات را مطالعه نمایید.

دیدگاه کاربران


لطفا در این قسمت فقط نظر شخصی در مورد این عنوان را وارد نمایید و در صورتیکه مشکلی با دانلود یا استفاده از این فایل دارید در صفحه کاربری تیکت ثبت کنید.

بارگزاری