Graphics Programs Reference
In-Depth Information
4. Create a black Phong E shader to assign to the cylinder.
5. Create a Phong shader for the bulb, and assign it to the NURBS sphere. Set its
Color to a pale, light yellow, and make it about 50 percent transparent.
6. Select the Spot light, and set its Color to the same yellow. You can do this easily
through the Color Chooser. With the shader for the bulb selected, open the Color
Chooser by clicking the pale yellow color you just made. Click the right arrow to
place the yellow color in the swatches to the right of the main color swatch, or right-
click any of the swatches.
7. Pick the Spot light, and click its Color
attribute to set the Color Chooser to
that color. Click the yellow swatch you
created to get the same color on the
light. For detail's sake, make the light's
color less saturated. Click Accept to
close the Color Chooser window.
8. To make the shader glow for the bulb,
open the Hypershade and select the
bulb's Phong material. In the Attribute
Editor's Special Effects section, drag the
Glow Intensity slider from 0 to 1.0 . If
you render the frame, you see that the
glow isn't quite enough to make a con-
vincing light bulb. In the Hypershade,
select the shaderGlow1 node; this node controls all the glows in the scene.
9. Set Quality to 0.1. In the Glow Attributes section, set Glow Intensity to 6.0, set Glow
Spread to 0.5, and set Glow Radial Noise to 0.2.
The scene file still_life_v04.mb on the CD contains the full scene for your reference.
See Figure 10.57 for the final result.
Figure 10.57
The bare light bulb
over the still life
is created with a
shader glow.
Lighting the Decorative Box
In this section, you'll set up the Decorative Box scene with lights so that you can render
them in the next chapter using displacement maps, HDRI, mental ray, and Final Gather
to match the lighting in a photo of the real box. Because most of your “lighting” look
results from using an HDR image, the lighting you'll start with will be basic for now.
The lighting conditions you'll use as a starting point are shown in Figure 10.58 as well
as in the Color Section of this topic. You can see that there is a primary key light coming
from the right side of the image, slightly from the front, with a good fill from the left side
and from top back, which also gives a bit of a rim light. These lights will be easy to set up
Search WWH ::




Custom Search