OpenColorIO

Blender 自带标准 OpenColorIO 配置,包含多种实用显示设备和视图变换功能。

然而,OpenColorIO 的设计还旨在为多应用程序提供一致的用户体验,为此可采用单一共享配置文件。Blender 将使用标准的 OCIO 环境变量来读取 OpenColorIO 配置,而非默认的 Blender 配置。有关如何设置此类工作流程的更多信息,可访问 OpenColorIO 网站 获取。

此外还提供一个名为 BLENDER_OCIO 的环境变量,专门用于调整 Blender 的配置。建议尽可能使用 OCIO,以确保与其他可能不支持 BLENDER_OCIO 的软件和流程兼容。然而配置文件中偶尔会出现兼容性问题,导致跨应用共享时遇到困难。

ACES

Blender 标准配置包含对 ACES 工作流程的基础支持,支持 ACEScg 工作区、ACES2.0 视图变换,以及以 ACES2065-1 和 ACEScg 色彩空间保存的 OpenEXR 图像。

这涵盖了在 ACES 管道中工作的大部分需求。然而,若需更全面的支持,可通过 OCIO 环境变量手动安装和设置 官方 ACES 配置

作用

scene_linear

用于在内存中渲染,合成和存储所有浮点精度图像的色彩空间。

data

非颜色数据的色彩空间。

aces_interchange

ACES2065-1色彩空间。用于导出 scene_linear 颜色空间的色度,用于黑体发射等效果。

cie_xyz_d65_interchange

Intermediate display linear color space, to connected view transforms to display color spaces.

color_picking

Defines the distribution of colors in color pickers. It is expected to be approximately perceptually linear, have the same gamut as the scene_linear color space, map 0..1 values to 0..1 values in the scene linear color space for predictable editing of materials' albedo.

default_sequencer

序列编辑中使用默认的色彩显示空间。如未指定,则为 scene_linear

default_byte

字节精度图像和文件的默认色彩空间,如果未指定,则为 texture_paint

default_float

浮点精度图像和文件的默认色彩空间,如未指定,则为 scene_linear

为 Blender 编写配置

OpenColorIO 配置文件并未严格规定 Blender 软件实现最佳性能所需的所有参数。本指南有助于确保配置正常运行:

  • 使用 OpenColorIO v2 的 display_colorspacesview_transforms,并设置 cie_xyz_d65_interchange 中间显示线性空间。该功能用于在实际显示器上模拟所选显示效果。在旧版配置中若未启用该功能,显示模拟将被禁用,宽色域和 HDR 显示器将无法正常工作。图像和视频的色彩空间元数据保存也依赖于此。

  • For every display, include a view transform without tone mapping. Blender will look for a view transform named Standard or Un-tone-mapped or the config wide default_view_transform. If not found, the first view transform of the display will be used. This is more important for OpenColorIO v1 configs without display_colorspaces, to determine the color space of an image after applying a view transform.

  • Include the interop ID from the Color Interop Forum for every color space and display color space that you can. This helps save image and video with correct colorspace information. Add the interop ID as an alias of the colorspace. For OpenColor 2.5 configs, additionally set the native interop_id attribute where possible.

  • The icc_profile_name interchange attribute is supported, to embed ICC profiles when saving images.

  • Mark HDR displays by setting encoding: hdr-video on the corresponding colorspace.

  • For HDR view transforms, use HDR 500 nits, HDR 1000 nits, HDR 2000 nits or HDR 4000 nits as part of the name to automatically determine maximum luminance for mastering display metadata.