Predict Engine is a path tracer : its algorithm computes the illuminance incoming at every single point on the surface of objects in a 3D scene. Different optical instruments can be used to convert this illuminance into a 2D image : cameras, photometers, radiometers, polarimetric sensors, etc.
In USD Composer, optical instruments are necessarily represented with a primitive of type Camera that defines the model of a digital camera. Predict Engine uses directly the Camera prim's attribute to define its camera.
Depending on the Predict Engine renderer used in the preview (RGB or spectral), the camera will use the following sensor in Predict :
RGB Predict Engine : Still Camera / Photographic. This sensor behaves like the CCD or CMOS sensor of a classic camera. The sensor computes a raw image using the camera’s spectral response curves. The raw image is then converted to a LDR image in the post pipeline function. Be aware that the RGB values do not correspond to any physical quantity as it depends on the post pipeline. This sensor models a measured camera. The sensor requires an RGB spectral response file, it uses the commonly used Preset-CIE-RGB-1931 preset.
Spectral Predict Engine : Human / Photometric. In order to visualize a scene as the human eye would perceive it, the CIE (Commission Internationale de l'Eclairage) has defined several standard "observers" that represent the color perception of an average person. This sensor converts the raw spectral radiance to the CIE XYZ color space using these observers. The observers are characterized by 3 curves commonly named the Color Matching Function (CMF). We use this CMF to convert the spectral radiance to the XYZ color space. After an XYZ to RGB conversion, the resulting image corresponds to what an average person would see. This sensor uses the commonly used Preset-CIE-XYZ-1931 CMF.
The field of view is set by the focal length. For any camera you view through, change it in the Zoom field (in mm) of the viewport's camera toolbar, or pick a lens range from the drop-down. A shorter focal length gives a wider view.
Cameras created in the scene also have Lens settings in the Property panel: Focal Length (same as Zoom) and Horizontal Aperture (sensor width; larger gives a wider view).
The post process is set in the Render Settings panel, not directly on the camera. To access it, open the Render Settings tab, select HdPredictSpectralRendererPlugin as the renderer, then open the Predict Engine tab.
The post-process parameters are in the Predict Engine section:
Images produced by Predict Engine are defined within a dynamic range that cannot be displayed on the screen : values on screen must be contained within [0;255] whereas values in Predict Engine can go up to thousands or be contained in a much smaller interval. In order to adapt this dynamic range, we use a Tone Mapper.
The tone mapper used in Predict Engine is linear : a simple multiplicative factor is applied to the image. This factor is called the Exposure Value. It can be edited directly in the Predict Engine view, in the settings menu.
The Tone Mapping Coefficient controls how the high dynamic range values computed by the engine are compressed into a displayable image.
Scene previewed using different exposures
You can find a good explanation of what the gamma correction is needed for on this page. Here is an extract :
"The need for gamma arises for two main reasons: The first is that screens have a non-linear response to intensity. The other is that the human eye can tell the difference between darker shades better than lighter shades. This means that when images are compressed to save space, we want to have greater accuracy for dark intensities at the expense of lighter intensities. Both of these problems are resolved using gamma correction, which is to say the intensity of every pixel in an image is put through a power function. Specifically, gamma is the name given to the power applied to the image.
Most images are stored with a gamma of 0.45 (1/2.2) applied to them [...]. Images stored like this are in “gamma space” [...]. This is the default behavior of nearly every digital camera, as well as image editing applications and so on. In fact, nearly every image you see on your computer has that gamma applied to it.
You may be wondering why images display correctly, and don’t look too bright. This is where the non-linear response of displays comes in. CRT screens, simply by how they work, apply a gamma of around 2.2, and modern LCD screens are designed to mimic that behavior. A gamma of 2.2, the reciprocal of 0.45, when applied to the brightened images will darken them, leaving the original image."
In order to display on screen an image corrected for your specific screen, Predict Engine needs the exact value of this gamma correction : this is the gamma defined in the settings menu of the Predict Engine view.
The Gamma parameters defines the gamma correction applied to the final image (1.0 = no correction).
Gamma = 0.45
Gamma = 1
Gamma = 2.2