2009

Table Of Contents
A rim light so the object stands out against the background
Three-point lighting is used extensively in film, photography and computer
graphics.
Setting up the scene
Here, you create some primitive objects to display lighting and shading .
1 Select File > New Scene to create a new scene.
2 Select Window > General Editors > Script Editor to open the Script Editor.
3 Create a ground plane by typing the following:
polyPlane -height 40 -width 40;
A plane appears at the origin.
The height and width flags specify the dimensions of the plane.
4 Create a NURBS torus by typing the following
torus -axis 0 1 0 -heightRatio 0.5;
A torus appears at the origin.
The axis of the torus specifies the orientation of the major axis of the
torus. The height ratio flag specifies the ratio of the major radius of the
torus to the height of the torus.
5 Reposition the torus so it is not intersecting the plane by typing the
following with the torus selected.
move 0 0.5 0;
The move command takes the argument (x, y, z), specifying how much
and in what direction to move the selected or named object. This above
command moves the torus 0.5 units up on the Y-axis.
6 Bring focus to the selected torus in the scene view by pressing f.
7 Render the scene by clicking the render button
on the Status Line.
The Render View opens with a rendered image of the scene.
Setting up the scene | 607