Rendering menu > Render > Render Scene dialog > Processing panel > Diagnostics rollout
Main toolbar > Render Scene > Render Scene dialog > Processing panel > Diagnostics rollout
Note: The Processing panel appears only when the mental ray renderer is the currently active renderer.
The tools on the Diagnostics rollout can help you understand why the mental ray renderer is behaving in a certain way. The Sampling Rate tool, in particular, can help explain the renderer's performance.
Each of these tools generates a rendering that is not a photorealistic view, but a schematic representation of the functionality you have chosen to analyze.

Enable—When on, the renderer renders the graphic representation for the tool you have chosen.
Sampling Rate—When chosen, renders an image that shows where samples were collected during rendering; see Sampling (mental ray Renderer). This can help you adjust the contrast and other sampling parameters.
Coordinate Space—Renders an image that shows the coordinate space of objects, the world, or camera.
Size—Sets the size of the grid. Default=1.0.
Tip: To avoid busy moiré patterns in the grid, increase the value of Size.
Photon—Renders the effect of a photon map in the screen. This requires that a photon map be present (to render caustics or global illumination). If no photon map is present, the Photon rendering looks just like the nondiagnostic rendering of the scene: the mental ray renderer first renders the shaded scene, then replaces it with the pseudocolor image.
Density—Renders the photon map as it is projected into the scene. High density is displayed in red, and lower values render in increasingly cooler colors.
Irradiance—Similar to the Density rendering, but shades the photons based on their irradiance. The maximum irradiance is rendered in red, and lower values render in increasingly cooler colors.
BSP—Renders a visualization of the parameters used by the tree in the BSP ray-trace acceleration method. If a message from the renderer reports excessively large depth or size values, or if rendering seems unusually slow, this can help you locate the problem.
Final Gather—Renders the scene with initial final-gather points displayed as green dots, and final final-gather points displayed as red dots.