9

1000 G lossa ry
Ray-Trace Acceleration (mental
ray Renderer)
The mental ray renderer (page 3–78) provides three
different ray-tracing methods of accelerating the
process of ray tracing. The methods are:
BSP (Binary Space Partitioning). This method
(the default) performs b est for most purposes.
Grid. This method can perform better on
multiprocessor systems.
Large BSP. This method can perform better
with large scenes and with distributed bucket
rendering.
Yousettheraytraceaccelerationmethodon
the Render Scene Dialog > Renderer panel >
Rendering Algorithms rollout (page 3–116).
Ray-Trace Bias
On the r ig ht, increased map bias makes the dog appear to
float.
A single parameter, Ray-Trace Bias, affects the
generation of ray-traced shadows (page 3–1000).
You set this parameter in the Shadow Parameters
rollout.
The Ra y-Traced bias control in the Shadow
Parameters rollout moves the shadow toward or
away from the shadow-casting object (or objects).
By default, this va lue is 1 unit.
Increasing the bias moves the shadow away from
the object, and decreasing the bias moves t he
shadow closer to the object. The Ray-Trace Bias
value c an be any positive floating-point number.
For example, if a shadow-casting object intersects
another object but its shadow doesn’t meet
properly at the intersect ion, the bias is too high.
This effect varies with the angle of the spotlight
to the object. Extremely shallow spotlight angles
usually require higher bias values.
Another purpose of bias is to avoid problems with
objects that cast shadows onto themselves. If you
see streaks or moiré patterns on the surface of t he
object, the bias value is too low.
Ray-Traced Shadows
Example of ray-traced shadows
Ray-traced shadows are genera ted by tracing
the path of rays sampled from a lig ht source.
Ray-traced shadows are more accurate than
shadow-mapped shadows (page 3–1010).They
always produce a hard edge.
Ray-traced shadows are more realistic for
transparent and translucent objects. Also, only
ray-tracing c an generate shadows for wireframe
objects.
Because ray-traced shadows are calculated without
amap,youdonthavetoadjustresolutionasyou
do for shadow-mapped shadows. The parameters
for ray-traced shadows adjust the shadow’s
position (know n as ray-trace bias (page 3–1000))