2010

Table Of Contents
Before proceeding with the next lesson you may want to review the material
presented in this lesson so you are familiar with the concepts and skills. Some
suggested tasks you can try on your own include:
Practice using creation commands through the user interface and observing
the resulting Script Editor history.
Look through the MEL Command Reference to see more common
commands.
Practice copying and pasting commands from the Script Editor history
section to the Script Editor input section.
Lesson 2: Saving scripts to the Shelf
Introduction
In this lesson, you set up a three-point lighting system using MEL and save
those MEL commands as a button on the Shelf. This lets you quickly set up a
three-point lighting system in future scenes. You learn how to:
Enter MEL commands in place of selecting menu items
Create a shelf button to run a series of commands
Three-point lighting uses three different kinds of lights:
A main light to light the subject, cast shadows and produce highlights
A fill light to decrease the contrast caused by the main light
A rim light so the object stands out against the background
666 | Chapter 13 Scripting in Maya