Using color management in the Render View: sample workflow
 
 
 

This example scene consists of a city view with buildings and cars, with the mia_physicalsun and mia_physicalsky shaders applied for lighting.

NoteThe mental ray for Maya renderer is used in this example.

This example demonstrates how to:

Using mia_physicalsun and mia_physicalsky with color management

If your scene includes the mia_physicalsun and mia_physicalsky shaders, you must disconnect the mia_physicalsky lens shader from all cameras that you want to render from. Otherwise, your result may appear incorrect.

  1. Select View > Camera Attribute Editor > mental ray and the Lens Shader attribute and select Break Connection to break the connection between the lens shader and each of your cameras.

Setting up your Render View to display HDR images

In order to view 32-bit floating point images in your Render View, you must set your Render View display options accordingly.

Method 1

  1. Select Window > Settings/Preferences > Preferences > Rendering and select 32-bit floating-point (HDR).

Method 2

  1. Select Display > 32-bit floating-point (HDR) in the Render View window.

Render a .exr image

When rendering an image using the .exr file format, you must change your framebuffer type to 32-bit float. Otherwise, your image will be clamped to [0, 1].

  1. Select OpenEXR under Image Format in the Render Settings window, Common tab, File Output section.
  2. In the Quality tab, Framebuffer section, select RGBA (Float) 4x32 bit as your Data type.
NoteA warning appears if you have selected OpenEXR as your image format but your data type is not set correctly.

Enable color management in your Render Settings

  1. In the Render Settings: Common tab, select Enable Color Management under Color Management.
  2. Set the Default Output Profile to Linear. This is the color profile used for your render output.
  3. Render your scene.

Enable color management in your Render view

  1. In the Render View window, select Display > Color Management to display the ViewColorManager node.
  2. Set the Image Color Profile to Linear. This is the color profile for your image source file.
    NoteThis is the same option that you selected for your Default Output Profile in the Render Settings window.
  3. Set the Display Color Profile to sRGB (gamma corrected). This is the recommended option for displaying on computer monitors.

Tweak the exposure and contrast of your Render View image

Tweak the Exposure and Contrast sliders to view details in the over-bright and over-dark regions of the image.

NoteFor more information about these attributes, see Render View color management node.

Save your color managed output

After you have adjusted the Exposure and Contrast settings, you can save your color managed output.

  1. Select File > Save Image > and select Save Color-Managed Image.
NoteYou can also save your raw image (without color management) by selecting the Save Raw Image option.

Render output

The following image is the render output saved using the Save Color-Managed Image option, but with the Display Color Profile set to Linear and the Exposure and Contrast sliders set to 0. This image is best used for compositing as it allows you to apply additional calculations.

The following image is the render output saved using the Save Color-Managed Image option, but with the Display Color Profile set to sRGB (gamma corrected) and with the Exposure and Contrast set to custom values.

The following image was rendered with the lens shader attached to the camera and with color management disabled in the Render Settings window. Use it as a reference and compare it to the previous two images.

Related topics