1 / 112

An Introduction to MEL Scripting for Animators

Presented by: Paul Robbins. An Introduction to MEL Scripting for Animators. Who I am. 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

chaka
Download Presentation

An Introduction to MEL Scripting for Animators

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Presented by: Paul Robbins An Introduction to MEL Scripting for Animators

  2. Who I am

  3. Who I am Education

  4. Who I am Education - BFA in Digital Art/Design from Henderson State University with a minor in Computer Science

  5. 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

  6. Who I am Experience

  7. Who I am Experience - Animator at Insomniac Games

  8. Who I am Experience - Animator at Insomniac Games - Animator at Activision’s Raven Software

  9. Who I am Experience - Animator at Insomniac Games - Animator at Activision’s Raven Software - Wolfenstein

  10. Who I am Experience - Animator at Insomniac Games - Animator at Activision’s Raven Software - Wolfenstein - Singularity

  11. Who I am Experience - Animator at Insomniac Games - Animator at Activision’s Raven Software - Wolfenstein - Singularity

  12. Outline

  13. Outline Basics - What is MEL? - How Maya Uses MEL - Script Editor - MEL Commands - Variables - Return Values

  14. Outline Usage and How to Learn MEL - Script Editor - MEL Command Reference - Other People’s Scripts

  15. Outline Usage and How to Learn MEL - Script Editor - MEL Command Reference - Other People’s Scripts

  16. Outline Example Script - How it Works - The Process of Writing It

  17. Outline Helpful Resources

  18. MEL Basics

  19. MEL Basics What is MEL?

  20. MEL Basics What is MEL? - Stands for Maya Embedded Language

  21. MEL Basics What is MEL? - Stands for Maya Embedded Language - Scripting language that’s unique to Maya

  22. 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++

  23. MEL Basics How Maya Uses MEL

  24. MEL Basics How Maya Uses MEL - Menus - Shelf Buttons - Hotkeys - Expressions - GUI

  25. MEL Basics Script Editor

  26. MEL Basics Script Editor - You get to it by hitting

  27. MEL Basics Script Editor - Top area displays the MEL that Maya just did

  28. MEL Basics Script Editor - Top area displays the MEL that Maya just did - Bottom area is a work area where you type code interactively

  29. 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

  30. 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

  31. MEL Basics MEL Commands

  32. MEL Basics MEL Commands - Structure

  33. MEL Basics MEL Commands - Structure <command name> -flags values;

  34. MEL Basics MEL Commands - Structure <command name> -flags values;

  35. MEL Basics MEL Commands - Structure <command name> -flags values;

  36. MEL Basics MEL Commands - Structure <command name> -flags values;

  37. MEL Basics MEL Commands - Structure <command name> -flags values; - Example 1 sphere -radius 3;

  38. 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";

  39. 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

  40. MEL Basics MEL Commands - Modes

  41. MEL Basics MEL Commands - Modes Creation Edit Query

  42. MEL Basics MEL Commands - Modes - Creation - by default

  43. MEL Basics MEL Commands - Modes - Creation - by default - Edit - Used to change values of an existing object

  44. 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

  45. MEL Basics MEL Commands - Examples of Modes

  46. MEL Basics MEL Commands - Examples of Modes - Creation polySphere;

  47. MEL Basics MEL Commands - Examples of Modes - Creation polySphere; - Edit polySphere -edit -radius 4 “Rambo”;

  48. MEL Basics MEL Commands - Examples of Modes - Creation polySphere; - Edit polySphere -edit -radius 4 “Rambo”; - Query polySphere -query -radius “Rambo”;

  49. MEL Basics Variables

More Related