MEL Scripting for Maya Animators by Mark R. Wilkins, Chris Kazmier

By Mark R. Wilkins, Chris Kazmier

Studying the way to free up Maya's strong programming features could be a daunting activity if you are no longer a programmer. even if the package's programming language, MEL (Maya Embedded Language), is simple to benefit, nearly all to be had guide assumes that the reader has a few programming background-that is, formerly. You carry on your palms the 1st MEL educational written particularly for non-programmers. MEL Scripting for MAYA Animators will quick convey any person tips to transcend Maya's integrated instruments to create personalized strategies, formerly obtainable purely to programmers. With this e-book, animators, artists, online game builders, visible results builders, and technical administrators will grasp Maya's basics from ''under the hood;'' then easy methods to automate initiatives, customize consumer interfaces, construct customized instruments, and clear up difficulties, via changing into a professional within the MEL scripting language-all with out programming event required! * in particular addresses Maya clients who are looking to boost MEL scripts * Teaches in basic terms these programming thoughts essential to studying MEL * Demonstrates rankings of useful examples illustrating recommendations to concrete difficulties * exhibits tips to confirm which difficulties are top solved utilizing MEL * Addresses the wishes of skilled programmers wishing to profit MEL functions * offers a variety of code segments and Maya scene records at www.melscripting.com

Show description

Read or Download MEL Scripting for Maya Animators PDF

Best 3d graphics books

Lightwave 3D 8 Cartoon Character Creation, Rigging & Animation

Significant other CD comprises new plug-ins to augment personality setup and animation, to be had merely during this e-book! caliber rigging and animation instruction is essential for developing characters which can really act and make an viewers think they're dwell, emotive beings. LightWave 3D [8] comic strip personality construction - quantity 2: Rigging & Animation comprises either basic conception and entire tutorials for each element of rigging and animating 3D characters.

Up and Running with AutoCAD 2014. 2D and 3D Drawing and Modeling

Get "Up and working" with AutoCAD utilizing Gindis’s mix of step by step guide, examples, and insightful factors. The emphasis from the start is on center recommendations and useful program of AutoCAD in structure, engineering and layout. both priceless in instructor-led lecture room education, self-study, or as a certified reference, the publication is written with the person in brain via a long-time AutoCAD expert and teacher in accordance with what works within the and the school room.

OpenGL ES 3.0 Programming Guide

OpenGL® ES™ is the industry’s top software program interface and pictures library for rendering refined 3D pics on hand held and embedded units. the most recent model, OpenGL ES three. zero, makes it attainable to create wonderful visuals for brand spanking new video games and apps, with out compromising machine functionality or battery existence.

Additional resources for MEL Scripting for Maya Animators

Example text

Is Maya's Expression Language the Same as MEL? Although they are substantially the same, Maya's expression language and MEL are not identical. The most significant difference is that Maya's expression language permits you to get the value of an object's attribute just by putting the attribute's name on the right-hand side of an assignment, and permits you to set the value of an attribute just by putting the attribute's name on the left-hand side of an assignment. In MEL, as opposed to the expression language, you must use the command getAttr to fetch the value of an attribute and assign it to a variable, and you must use setAttr to assign a value to an attribute.

Mel extension. To start with, look in your home directory for a directory called maya. ) Inside the maya directory is a directory called scr1 pts. Place your script inside this folder. Scripts can be installed other places, and the list of those places is known as Maya's scriptpath. For more on script paths, see Chapter 15. If there's no documentation with your new MEL script to tell you how to use it, try opening the MEL file itself in a text editor. Often, programmers will place a description of how to use a script at the top of the script itself.

Now, in the Channel Box, you should see a new attribute for mysphere called revolutions. 7. Click once in the Rotate Y attribute in the Channel Box to select it. 8. Open the Expression Editor by choosing Expressions . , . from the Channels menu in the Channel Box. 9. revolutions * 360; 10. Click the Create button, then click Close to close the Expression Editor. Now, try typing some numbers into the Revolutions field in the Channel Box. 5 and press Enter, you'll see that the Rotate Y attribute changes to 180.

Download PDF sample

Rated 4.71 of 5 – based on 8 votes