X-Git-Url: http://users.mur.at/ms/git/gitweb/?p=OpenColorIO-Configs.git;a=blobdiff_plain;f=spi-vfx%2Fmake_vfx_ocio.py;h=d5908049ca2f8c9e1b0bed9ed7c62418662d8f71;hp=f945580de588493bc3dd16e61a5323351ef08269;hb=3aa727e3dd6640a486334d35a0a649156515b5a4;hpb=beabafbcf3719dc941b3bcbf70f3312ae705e028 diff --git a/spi-vfx/make_vfx_ocio.py b/spi-vfx/make_vfx_ocio.py index f945580..d590804 100644 --- a/spi-vfx/make_vfx_ocio.py +++ b/spi-vfx/make_vfx_ocio.py @@ -7,7 +7,7 @@ OCIO = SpImport.SpComp2("PyOpenColorIO",2) print "OCIO",OCIO.version -outputfilename = "spi-vfx.ocio" +outputfilename = "config.ocio" config = OCIO.Config() @@ -203,19 +203,17 @@ groupTransform.push_back(OCIO.ColorSpaceTransform(src='lnf', dst='lg10')) groupTransform.push_back( OCIO.FileTransform('colorworks_filmlg_to_p3.3dl',interpolation=OCIO.Constants.INTERP_LINEAR)) cs.setTransform(groupTransform, OCIO.Constants.COLORSPACE_DIR_FROM_REFERENCE) config.addColorSpace(cs) -""" + cs = OCIO.ColorSpace(family='xyz',name='xyz16') cs.setDescription("xyz16 :Conversion for DCP creation.") cs.setBitDepth(OCIO.Constants.BIT_DEPTH_UINT16) groupTransform = OCIO.GroupTransform() groupTransform.push_back(OCIO.ColorSpaceTransform(src='lnf', dst='p3dci8')) groupTransform.push_back(OCIO.ExponentTransform([2.6,2.6,2.6,1.0])) -groupTransform.push_back(OCIO.FileTransform('p3_to_xyz16.spimtx')) +groupTransform.push_back(OCIO.FileTransform('p3_to_xyz16_corrected_wp.spimtx')) groupTransform.push_back(OCIO.ExponentTransform([2.6,2.6,2.6,1.0],direction=OCIO.Constants.TRANSFORM_DIR_INVERSE)) cs.setTransform(groupTransform, OCIO.Constants.COLORSPACE_DIR_FROM_REFERENCE) config.addColorSpace(cs) -""" - ## DISPLAY SPACES ##################################################################