9

98 Chapter 17: Rendering
Another technique would be to use the mental
ray material (page 2–1544), and assign shaders
to both the Surface and Contour componen ts.
Tip: The Simple contour shader renders uniform
lines whose color and width you can control.
Theothercontourshadersprovidevariant
contour styles with more direct user controls.
4. On the Render Scene dia log , go to t he Renderer
panel. On the Camera Effects rollout, turn on
Enable in the Contours group.
To s i m p ly a d d c o nto u r l i n e s t o a render i n g ,
leave the shaders in the Camera Effects rollout
set to their defaults. For other options, see
Camera Effects Rollout (mental ray Renderer)
(page 3–101).
menta l r ay R en der er
Rollouts
Sampling Quality Rollout (menta l
ray Renderer)
Rendering menu > Render > Render Scene dial og >
Renderer panel > Sampling Quality rollout
Main toolbar > Render Scene > Render Scene dialog >
Renderer panel > Sampling Quality rollout
Note: The Renderer panel appears o nly when the mental
ray renderer is the cur rently active renderer.
The controls in this rollout affect how the mental
ray renderer performs sampling (page 3–1005).
Pr ocedur es
To use low sa mpling for previews:
Leave the Minimum and Maximum values at
their default settings of 1/4 and 4, or reduce
them to 1/16 and 1/4.
Tip: Do not assig n Minimum and Maximum
thesamevalue.
To use high sampling for f inal renderings:
Increase the Minimum and Maximum values to
4and16,respectively,ortohighervalues.
Tip: Do not assign the same value to both
Minimum and Maximum.
To view the pattern of sampling:
•OntheDiagnostics rollout (page 3–123), choose
Sampling Rate, t hen render the scene.
Instead of rendering the image, mental ray
draws a diagram that shows the range of applied
sampling values. White lines indicate edges in
the scene, where the mental ray renderer took
the max imum number of samples. If f ractional
sample limits are used (sampling down), lighter
dots indicate the higher value while darker dots
indicate the lower value.
To assist with analysis, View Samples also draws
red lines around each bucket, or separately
rendered block.
When the Minimum and Maximum number
of samples are equal, the diagram shows all
buckets as white.
Interfa ce