Share

AcGiMrDiagnosticMode

C++

typedef enum {
  krOff = 0,
  krGrid,
  krPhoton,
  krSamples,
  krBSP
} AcGiMrDiagnosticMode;

File

AcGiEnvironment.h

Members

Members Description
krOff Render normally (no diagnostic output).
krGrid Render a grid on top of all objects in the scene, in the coordinate system specified with AcGiMrDiagnosticGridMode.
krPhoton Render a false-color image of photon density or photon irradiance on all surfaces, as specified with AcGiMrDiagnosticPhotonMode. Higher density or irradiance is shown red, and lower values are represented with blue.
krSamples Render a grayscale image illustrating sample density, which is controlled with the setSampling() function. Higher levels of sampling are shown with brighter shades of gray.
krBSP Render a false-color image illustrating the cost of creating and traversing the BSP tree used for ray-tracing. Both the depth and the leaf size can be visualized, as specified with DiagnosticBSPMode.

Description

The available diagnostic visualization modes.

Was this information helpful?