import PyOpenColorIO as ocio
-import aces_ocio.generate_lut as genlut
+import aces_ocio.lut as genlut
from aces_ocio.utilities import ColorSpace
__author__ = 'ACES Developers'
def create_v_log(gamut,
transfer_function,
- name,
lut_directory,
lut_resolution_1d,
aliases):
c = 0.241514
d = 0.598206
- if (x <= cut_inv):
+ if x <= cut_inv:
return (x - 0.125) / 5.6
else:
return pow(10, (x - d) / c) - b
v_log_1 = create_v_log(
'V-Gamut',
'V-Log',
- 'V-Log',
lut_directory,
lut_resolution_1d,
['vlog_vgamut'])
v_log_2 = create_v_log(
'',
'V-Log',
- 'V-Log',
lut_directory,
lut_resolution_1d,
['crv_vlog'])
v_log_3 = create_v_log(
'V-Gamut',
'',
- 'V-Log',
lut_directory,
lut_resolution_1d,
['lin_vgamut'])