1.13k likes | 1.26k Views
This presentation by Paul Robbins serves as a comprehensive introduction to MEL (Maya Embedded Language) scripting, intended specifically for animators. With a robust educational background in Digital Art/Design and Computer Animation, Robbins shares his wealth of experience working with major companies like Insomniac Games and Activision. The presentation outlines the basics of MEL, how it interfaces with Maya, and provides insights into using the Script Editor, commands, and scripts. Whether you're a beginner or looking to enhance your skills, this guide is a valuable resource.
E N D
Presented by: Paul Robbins An Introduction to MEL Scripting for Animators
Who I am Education
Who I am Education - BFA in Digital Art/Design from Henderson State University with a minor in Computer Science
Who I am Education - BFA in Digital Art/Design from Henderson State University with a minor in Computer Science - BS in Computer Animation from Full Sail
Who I am Experience
Who I am Experience - Animator at Insomniac Games
Who I am Experience - Animator at Insomniac Games - Animator at Activision’s Raven Software
Who I am Experience - Animator at Insomniac Games - Animator at Activision’s Raven Software - Wolfenstein
Who I am Experience - Animator at Insomniac Games - Animator at Activision’s Raven Software - Wolfenstein - Singularity
Who I am Experience - Animator at Insomniac Games - Animator at Activision’s Raven Software - Wolfenstein - Singularity
Outline Basics - What is MEL? - How Maya Uses MEL - Script Editor - MEL Commands - Variables - Return Values
Outline Usage and How to Learn MEL - Script Editor - MEL Command Reference - Other People’s Scripts
Outline Usage and How to Learn MEL - Script Editor - MEL Command Reference - Other People’s Scripts
Outline Example Script - How it Works - The Process of Writing It
Outline Helpful Resources
MEL Basics What is MEL?
MEL Basics What is MEL? - Stands for Maya Embedded Language
MEL Basics What is MEL? - Stands for Maya Embedded Language - Scripting language that’s unique to Maya
MEL Basics What is MEL? - Stands for Maya Embedded Language - Scripting language that’s unique to Maya - Easier to learn than programming languages like C++
MEL Basics How Maya Uses MEL
MEL Basics How Maya Uses MEL - Menus - Shelf Buttons - Hotkeys - Expressions - GUI
MEL Basics Script Editor
MEL Basics Script Editor - You get to it by hitting
MEL Basics Script Editor - Top area displays the MEL that Maya just did
MEL Basics Script Editor - Top area displays the MEL that Maya just did - Bottom area is a work area where you type code interactively
MEL Basics Script Editor - Top area displays the MEL that Maya just did - Bottom area is a work area where you type code interactively - Selecting text and hitting ‘ctrl + Enter’ executes code
MEL Basics Script Editor - Top area displays the MEL that Maya just did - Bottom area is a work area where you type code interactively - Selecting text and hitting ‘ctrl + Enter’ executes code - Make a shelf button by selecting text and middle mouse dragging to the shelf
MEL Basics MEL Commands
MEL Basics MEL Commands - Structure
MEL Basics MEL Commands - Structure <command name> -flags values;
MEL Basics MEL Commands - Structure <command name> -flags values;
MEL Basics MEL Commands - Structure <command name> -flags values;
MEL Basics MEL Commands - Structure <command name> -flags values;
MEL Basics MEL Commands - Structure <command name> -flags values; - Example 1 sphere -radius 3;
MEL Basics MEL Commands - Structure <command name> -flags values; - Example 1 sphere -radius 3; - Example 2 polySphere -radius 2.5 -subdivisionsX 10 -subdivisionsY 30 -name "Rambo";
MEL Basics MEL Commands - Structure <command name> -flags values; - Example 1 sphere -radius 3; - Example 2 polySphere -radius 2.5 -subdivisionsX 10 -subdivisionsY 30 -name "Rambo"; - These flags are like the option box settings
MEL Basics MEL Commands - Modes
MEL Basics MEL Commands - Modes Creation Edit Query
MEL Basics MEL Commands - Modes - Creation - by default
MEL Basics MEL Commands - Modes - Creation - by default - Edit - Used to change values of an existing object
MEL Basics MEL Commands - Modes - Creation - by default - Edit - Used to change values of an existing object - Query - Used to get a value from an existing object
MEL Basics MEL Commands - Examples of Modes
MEL Basics MEL Commands - Examples of Modes - Creation polySphere;
MEL Basics MEL Commands - Examples of Modes - Creation polySphere; - Edit polySphere -edit -radius 4 “Rambo”;
MEL Basics MEL Commands - Examples of Modes - Creation polySphere; - Edit polySphere -edit -radius 4 “Rambo”; - Query polySphere -query -radius “Rambo”;
MEL Basics Variables