2010

Table Of Contents
To create the fill lighting
1 Create a point light with an intensity of 0.5 by typing the following:
pointLight -intensity 0.5;
2 Rename the light by typing the following:
rename fill_light;
3 Reposition the light above the torus in a way so that the light rays from
the fill light are approximately 90 degrees to those of the main light by
typing the following:
move -relative 4 6 2;
Compare the rendered images
Rendering the image
1 Render the scene in the perspective view by selecting the render scene
button
on the Status Line.
2 Save the rendered image by clicking the Keep Image button
in the
Render View.
3 Compare the two images using the scroll bar at the bottom of the window.
The newly rendered image has a shadow. If there was no fill light, detail would
be lost in the shadowed area, as the shadow would be black. The rim highlights
emphasize the curvature of the torus and help to differentiate the torus from
the background.
670 | Chapter 13 Scripting in Maya