2010

Table Of Contents
8 Save the rendered image by clicking the Keep image button . This
lets you compare your rendered image with future rendered images.
A scroll bar at the bottom of the Render View lets you scroll through your
saved rendered images.
In the next steps, you type commands to create three-point lighting in the
scene and record them as script history for later use.
Recording the script history
In order to make a shelf button, you need to create Script Editor history to
copy to the shelf. In this procedure, you create a three-point lighting system
for the current geometry using MEL, copy the script history, and apply the
created three-point lighting to an existing scene.
To create the main lighting
1 Clear Script Editor history by clicking the Clear History button
.
2 Create a directional light for the main lighting by typing the following:
directionalLight -intensity 1;
668 | Chapter 13 Scripting in Maya