X-Git-Url: http://users.mur.at/ms/git/gitweb/?p=OpenColorIO-Configs.git;a=blobdiff_plain;f=aces_1.0.0%2Fpython%2Faces_ocio%2Fcreate_red_colorspaces.py;h=aaf4ce4c1a3a82383b24d47f253cf2cb2ec90d7f;hp=b87eb4abe0ed7bf5ec01e56dd1f62e511c1c176d;hb=f3a69608e9a350bd245e0578c196470b622af28d;hpb=2158c15470d514412974585e84210cbc2c909011 diff --git a/aces_1.0.0/python/aces_ocio/create_red_colorspaces.py b/aces_1.0.0/python/aces_ocio/create_red_colorspaces.py index b87eb4a..aaf4ce4 100644 --- a/aces_1.0.0/python/aces_ocio/create_red_colorspaces.py +++ b/aces_1.0.0/python/aces_ocio/create_red_colorspaces.py @@ -6,6 +6,7 @@ Implements support for *RED* colorspaces conversions and transfer functions. """ import array +import os import aces_ocio.generate_lut as genlut from aces_ocio.utilities import ColorSpace, mat44_from_mat33 @@ -75,12 +76,13 @@ def create_RED_log_film(gamut, data[c] = cineon_to_linear(1023.0 * c / (lut_resolution_1d - 1)) lut = 'CineonLog_to_linear.spi1d' - genlut.write_SPI_1d(lut_directory + '/' + lut, - 0.0, - 1.0, - data, - lut_resolution_1d, - 1) + genlut.write_SPI_1d( + os.path.join(lut_directory, lut), + 0.0, + 1.0, + data, + lut_resolution_1d, + 1) cs.to_reference_transforms.append({ 'type': 'lutFile',