8

100 Chapter 17: Rendering
This method supp orts high-dynamic-range
imagery.
Cam era Effec ts Ro llo ut (men tal ray
Renderer)
Rendering menu > Render > Render Scene dialog >
Renderer panel > Camera Effects rollout
Main toolbar > Render Scene > Render Scene dialog >
Renderer panel > Camera Effects rollout
Note: The Renderer panel appears only when the mental
ray renderer is the currently active renderer.
The controls in this rollout are for the camera
effects
depth of field (page 3–89)
and
motion blur
(page 3–88)
,aswellasfor
contour shading (page
3–95)
and adding camera shaders.
Pr ocedur es
To us e depth of f iel d for a Camera view:
1.
On the camera’s Parameters rollout, in the
M ulti-Pass Effect group, turn on Enable and
choose “Depth Of Field (mental ray).
2. Set the camera’s target distance to the range at
which you want objects to be clearly in focus.
For a Target camera, you can select the
cameras target object and move it. For a Free
camera, you adjust the Target Distance on t he
Parameters rollout.
3. On the Camera’s Depth Of Field rollout,
decrease the f-Stop value to narrow the depth
of field, or increase the f-Stop value to broaden
the depth of field.
You mig ht need to experiment with f-Stop
values to get the effect you want.
4. Render the scene.
To us e depth of f ield f or a Per specti ve view:
1.
On the Render Scene dialog, go to the Renderer
panel > Camera Effects rollout, and in the
Depth Of Field (Perspective Views Only) group,
turn on Enable.
2. Set the Focus Plane distance to the range at
which you want objects to be clearly in focus.
3. Decrease the f-Stop value to narrow the depth
of field, or increase the f-Stop value to broaden
the depth of field.
You mig ht need to experiment with f-Stop
values to get the effect you want. If you have
trouble getting good results with f-Stop, use
thedrop-downlisttochangethemethodto
In Focus Limits, then adjust the Near and Far
values to enclose the region of the scene yo u
want to be clearly in focus.
4. Render the scene.
To use motion blur :
1.
Select each object you want to be blurred by
motion, right-click and choose Properties,
then on the Object Properties dialog > General
panel, make sure that in the Motion Blur group,
Enable is turned on and Object is chosen.
The mental ray renderer wont generate motion
blur if Image is the chosen type.
2. On the Render Scene dialog, go to the Renderer
panel > Camera Effects rollout, and in the
Motion Blur group turn on Enable.
Note: With the mental ray renderer, don’t use
Motion Blur under the Multi-Pass Effect g roup
of a camera’s Parameters rollout.
3. Increase the Shutter va lue to increase the
blurriness caused by motion blur.
4. On the Render Scene dialog, go to the
RenderingAlgorithmsrollout,andmakesure
Ray Trace is turned on.
Motion blur is not rendered when the mental
ray renderer uses scanlines only.
5. Render the scene.