Skip to content

imageio

WorkfileImageIOModel

Bases: BaseSettingsModel

Workfile settings help.

Empty values will be skipped, allowing any existing env vars to pass through as defined.

Note: The render space in Houdini is always set to the 'scene_linear' role.

Source code in server/settings/imageio.py
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
class WorkfileImageIOModel(BaseSettingsModel):
    """Workfile settings help.

    Empty values will be skipped, allowing any existing env vars to
    pass through as defined.

    Note: The render space in Houdini is
    always set to the 'scene_linear' role."""

    enabled: bool = SettingsField(False, title="Enabled")
    default_display: str = SettingsField(
        title="Default active displays",
        description="It behaves like the 'OCIO_ACTIVE_DISPLAYS' env var,"
                    " Colon-separated list of displays, e.g ACES:P3"
    )
    default_view: str = SettingsField(
        title="Default active views",
        description="It behaves like the 'OCIO_ACTIVE_VIEWS' env var,"
                    " Colon-separated list of views, e.g sRGB:DCDM"
    )
    review_color_space: str = SettingsField(
        title="Review colorspace",
        description="It exposes OCIO Colorspace parameter in opengl nodes."
                    "if left empty, Ayon will figure out the default "
                    "colorspace using your default display and default view."
    )