opencolorio_config_aces.conversion_path#
- opencolorio_config_aces.conversion_path(graph, source, target)[source]#
Return the conversion path from the source node to the target node in the aces-dev conversion graph.
- Parameters:
graph (DiGraph) – aces-dev conversion graph.
source (unicode) – Source node.
target (unicode) – Target node.
- Returns:
Conversion path from the source node to the target node.
- Return type:
Examples
>>> ctl_transforms = classify_aces_ctl_transforms( ... discover_aces_ctl_transforms()) >>> graph = build_aces_conversion_graph(ctl_transforms) >>> conversion_path(graph, 'IDT/Venice_SLog3_SGamut3', 'ODT/P3D60_48nits') [('IDT/Venice_SLog3_SGamut3', 'ACES2065-1'), ('ACES2065-1', 'OCES'), ('OCES', 'ODT/P3D60_48nits')]