2010

Table Of Contents
When creating three-point lighting in a scene with multiple objects, typically
there is a main light that provides the main lighting for the scene, and each
object in the scene has a linked fill and rim light.
Your three-point lighting script only works for objects of medium scale located
at the origin, but once the lights are created, you can tweak them to better
suit your scene.
Saving the history as a button
You can save Script Editor history as a Shelf button.
To create the shelf button
1 Highlight all the text in the history window by clicking at the beginning
of the history in the upper section of the Script Editor and dragging the
selection to the end of the Script Editor history section.
2 Release the mouse button. The selected text should read:
directionalLight -intensity 1; rename main_light; setAttr
"main_lightShape.useDepthMapShadows" 1; setAttr "main_light
Shape.dmapResolution" 1024; move 0 3 0; rotate -30 0 0; point
Light -intensity 2 -rgb .9 .9 1; rename back_light; move -r -1.5
1 -1.5; pointLight -intensity .5; rename fill_light; move -r 4
6 2;
3 Middle-drag the selected text to the shelf.
A pop-up window asks you which type of shelf button you are saving.
Saving the history as a button | 671