transform matrix was corrected to use the proper dcip3 white point gain (48 vs.
53)
bitdepth: 32f
description: |
lnf :linear show space
-
isdata: false
allocation: lg2
allocationvars: [-13, 4]
bitdepth: 16f
description: |
lnh :linear show space
-
isdata: false
allocation: lg2
allocationvars: [-13, 4]
bitdepth: 16ui
description: |
lm16 : Log Monitor this space has a log like response and srgb primaries, it is used for color grading
-
isdata: false
allocation: uniform
to_reference: !<FileTransform> {src: lm16.spi1d, interpolation: linear}
bitdepth: 10ui
description: |
lm10 : Log Monitor this space has a log like response and srgb primaries, it is used for color grading
-
isdata: false
allocation: uniform
to_reference: !<FileTransform> {src: lm10.spi1d, interpolation: linear}
bitdepth: 32f
description: |
lmf : Log Monitor this space has a log like response and srgb primaries, it is used as a compositing log
-
isdata: false
allocation: uniform
allocationvars: [-0.2, 2.484]
bitdepth: 16ui
description: |
vd16 : The simple video conversion from a gamma 2.2 srgb space
-
isdata: false
allocation: uniform
to_reference: !<GroupTransform>
bitdepth: 10ui
description: |
vd10 : The simple video conversion from a gamma 2.2 srgb space
-
isdata: false
allocation: uniform
to_reference: !<GroupTransform>
bitdepth: 8ui
description: |
vd8 : The simple video conversion from a gamma 2.2 srgb space
-
isdata: false
allocation: uniform
to_reference: !<GroupTransform>
bitdepth: 10ui
description: |
hd10 : The simple conversion for REC709
-
isdata: false
allocation: uniform
to_reference: !<GroupTransform>
bitdepth: 16ui
description: |
dt16 :diffuse texture conversion
-
isdata: false
allocation: uniform
to_reference: !<GroupTransform>
bitdepth: 16ui
description: |
mp16 : conversion for matte painting
-
isdata: false
allocation: uniform
to_reference: !<GroupTransform>
bitdepth: 32f
description: |
cpf :video like conversion used for color picking
-
isdata: false
allocation: uniform
to_reference: !<FileTransform> {src: cpf.spi1d, interpolation: nearest}
bitdepth: 8ui
description: |
nc8 :nc,Non-color used to store non-color data such as depth or surface normals
-
isdata: true
allocation: uniform
bitdepth: 10ui
description: |
nc10 :nc,Non-color used to store non-color data such as depth or surface normals
-
isdata: true
allocation: uniform
bitdepth: 16ui
description: |
nc16 :nc,Non-color used to store non-color data such as depth or surface normals
-
isdata: true
allocation: uniform
bitdepth: 32f
description: |
ncf :nc,Non-color used to store non-color data such as depth or surface normals
-
isdata: true
allocation: uniform
bitdepth: 8ui
description: |
p3dci8 : 8 Bit int rgb display space for gamma 2.6 P3 projection.
-
isdata: false
allocation: uniform
from_reference: !<GroupTransform>
- !<FileTransform> {src: htr_dlp_tweak.spimtx, interpolation: linear}
- !<ExponentTransform> {value: [2.6, 2.6, 2.6, 1], direction: inverse}
- !<FileTransform> {src: correction.spi1d, cccid: forward, interpolation: linear}
+
+ - !<ColorSpace>
+ name: xyz16
+ family: xyz
+ equalitygroup:
+ bitdepth: 16ui
+ description: |
+ xyz16 : 16 Bit int space for DCP creation.
+ isdata: false
+ allocation: uniform
+ from_reference: !<GroupTransform>
+ children:
+ - !<ColorSpaceTransform> {src: lnf, dst: p3dci8}
+ - !<ExponentTransform> {value: [2.6, 2.6, 2.6, 1]}
+ - !<FileTransform> {src: p3_to_xyz16_corrected_wp.spimtx, interpolation: unknown}
+ - !<ExponentTransform> {value: [2.6, 2.6, 2.6, 1], direction: inverse}
--- /dev/null
+0.408022745 0.254009006 0.157906591 0
+0.192010703 0.661381940 0.0631626363 0
+0.0 0.0431336048 0.831641377 0
-outputfilename = "spi-anim.ocio"
+outputfilename = "config.ocio"
config = OCIO.Config()
## DISPLAY SPACES ##################################################################
#
-# This is not as clean as would be desired
-# THere is a conversion made from srgb to P3
-# then there is a tone range correction that limits the dynamic range of the DLP to
-# be appropaite for material created on the DreamColor display.
+# This is not as clean as would be desired.
+# There is a conversion made from srgb to P3.
+# Then there is a tone range correction that limits the dynamic range of the DLP to
+# be appropriate for material created on the DreamColor display.
#
cs = OCIO.ColorSpace(family='p3dci',name='p3dci8')
cs.setDescription("p3dci8 : 8 Bit int rgb display space for gamma 2.6 P3 projection.")
cs.setTransform(groupTransform, OCIO.Constants.COLORSPACE_DIR_FROM_REFERENCE)
config.addColorSpace(cs)
-"""
cs = OCIO.ColorSpace(family='xyz',name='xyz16')
cs.setDescription("xyz16 : 16 Bit int space for DCP creation.")
cs.setBitDepth(OCIO.Constants.BIT_DEPTH_UINT16)
groupTransform = OCIO.GroupTransform()
-groupTransform.push_back(OCIO.ColorSpaceTransform(src='lnf',dst='vd16'))
-groupTransform.push_back(OCIO.FileTransform('hdOffset.spimtx' ,direction= OCIO.Constants.TRANSFORM_DIR_FORWARD,interpolation=OCIO.Constants.INTERP_LINEAR))
-groupTransform.push_back(OCIO.FileTransform('hd10_to_xyz16.spi3d' ,direction=OCIO.Constants.TRANSFORM_DIR_FORWARD,interpolation=OCIO.Constants.INTERP_LINEAR))
+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_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 ##################################################################
for name,colorspace in [ ['Film','vd16'], ['Log','lm10'],['Raw','nc10']]:
- !<ColorSpace>
name: lnf
family: ln
- equalitygroup: ln
+ equalitygroup:
bitdepth: 32f
description: |
lnf : linear show space
-
isdata: false
allocation: lg2
allocationvars: [-15, 6]
- !<ColorSpace>
name: lnh
family: ln
- equalitygroup: ln
+ equalitygroup:
bitdepth: 16f
description: |
lnh : linear show space
-
isdata: false
allocation: lg2
allocationvars: [-15, 6]
- !<ColorSpace>
name: ln16
family: ln
- equalitygroup: ln
+ equalitygroup:
bitdepth: 16ui
description: |
ln16 : linear show space
-
isdata: false
allocation: lg2
allocationvars: [-15, 0]
- !<ColorSpace>
name: lg16
family: lg
- equalitygroup: lg
+ equalitygroup:
bitdepth: 16ui
description: |
lg16 : conversion from film log
-
isdata: false
allocation: uniform
to_reference: !<FileTransform> {src: lg16.spi1d, interpolation: nearest}
- !<ColorSpace>
name: lg10
family: lg
- equalitygroup: lg
+ equalitygroup:
bitdepth: 10ui
description: |
lg10 : conversion from film log
-
isdata: false
allocation: uniform
to_reference: !<FileTransform> {src: lg10.spi1d, interpolation: nearest}
- !<ColorSpace>
name: lgf
family: lg
- equalitygroup: lg
+ equalitygroup:
bitdepth: 32f
description: |
lgf : conversion from film log
-
isdata: false
allocation: uniform
allocationvars: [-0.25, 1.5]
- !<ColorSpace>
name: gn10
family: gn
- equalitygroup: gn
+ equalitygroup:
bitdepth: 10ui
description: |
- gn10 : The 10bit int conversion from Panalog to linear
-
+ gn10 :conversion from Panalog
isdata: false
allocation: uniform
to_reference: !<FileTransform> {src: gn10.spi1d, interpolation: nearest}
- !<ColorSpace>
name: vd16
family: vd
- equalitygroup: vd
+ equalitygroup:
bitdepth: 16ui
description: |
vd16 :conversion from a gamma 2.2
-
isdata: false
allocation: uniform
to_reference: !<GroupTransform>
- !<ColorSpace>
name: vd10
family: vd
- equalitygroup: vd
+ equalitygroup:
bitdepth: 10ui
description: |
vd10 :conversion from a gamma 2.2
-
isdata: false
allocation: uniform
to_reference: !<GroupTransform>
- !<ColorSpace>
name: vd8
family: vd
- equalitygroup: vd
+ equalitygroup:
bitdepth: 8ui
description: |
vd8 :conversion from a gamma 2.2
-
isdata: false
allocation: uniform
to_reference: !<GroupTransform>
- !<ColorSpace>
name: hd10
family: hd
- equalitygroup: hd
+ equalitygroup:
bitdepth: 10ui
description: |
- hd10 : The simple 10bit int conversion from REC709 to linear
-
+ hd10 : conversion from REC709
isdata: false
allocation: uniform
to_reference: !<GroupTransform>
- !<ColorSpace>
name: dt16
family: dt
- equalitygroup: dt
+ equalitygroup:
bitdepth: 16ui
description: |
dt16 :conversion for diffuse texture
-
isdata: false
allocation: uniform
to_reference: !<GroupTransform>
- !<ColorSpace>
name: cpf
family: cp
- equalitygroup: cp
+ equalitygroup:
bitdepth: 32f
description: |
cpf :video like conversion used for color picking
-
isdata: false
allocation: uniform
to_reference: !<FileTransform> {src: cpf.spi1d, interpolation: linear}
- !<ColorSpace>
name: nc8
family: nc
- equalitygroup: nc
+ equalitygroup:
bitdepth: 8ui
description: |
nc8 :nc,Non-color used to store non-color data such as depth or surface normals
-
isdata: true
allocation: uniform
- !<ColorSpace>
name: nc10
family: nc
- equalitygroup: nc
+ equalitygroup:
bitdepth: 10ui
description: |
nc10 :nc,Non-color used to store non-color data such as depth or surface normals
-
isdata: true
allocation: uniform
- !<ColorSpace>
name: nc16
family: nc
- equalitygroup: nc
+ equalitygroup:
bitdepth: 16ui
description: |
nc16 :nc,Non-color used to store non-color data such as depth or surface normals
-
isdata: true
allocation: uniform
- !<ColorSpace>
name: ncf
family: nc
- equalitygroup: nc
+ equalitygroup:
bitdepth: 32f
description: |
ncf :nc,Non-color used to store non-color data such as depth or surface normals
-
isdata: true
allocation: uniform
- !<ColorSpace>
name: srgb8
family: srgb
- equalitygroup: srgb
+ equalitygroup:
bitdepth: 8ui
description: |
srgb8 :rgb display space for the srgb standard.
-
isdata: false
allocation: uniform
from_reference: !<GroupTransform>
- !<ColorSpace>
name: p3dci8
family: p3dci
- equalitygroup: p3dci
+ equalitygroup:
bitdepth: 8ui
description: |
p3dci8 :rgb display space for gamma 2.6 P3 projection.
-
isdata: false
allocation: uniform
from_reference: !<GroupTransform>
children:
- !<ColorSpaceTransform> {src: lnf, dst: lg10}
- !<FileTransform> {src: colorworks_filmlg_to_p3.3dl, interpolation: linear}
+
+ - !<ColorSpace>
+ name: xyz16
+ family: xyz
+ equalitygroup:
+ bitdepth: 16ui
+ description: |
+ xyz16 :Conversion for DCP creation.
+ isdata: false
+ allocation: uniform
+ from_reference: !<GroupTransform>
+ children:
+ - !<ColorSpaceTransform> {src: lnf, dst: p3dci8}
+ - !<ExponentTransform> {value: [2.6, 2.6, 2.6, 1]}
+ - !<FileTransform> {src: p3_to_xyz16_corrected_wp.spimtx, interpolation: unknown}
+ - !<ExponentTransform> {value: [2.6, 2.6, 2.6, 1], direction: inverse}
--- /dev/null
+0.408022745 0.254009006 0.157906591 0
+0.192010703 0.661381940 0.0631626363 0
+0.0 0.0431336048 0.831641377 0
print "OCIO",OCIO.version
-outputfilename = "spi-vfx.ocio"
+outputfilename = "config.ocio"
config = OCIO.Config()
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 ##################################################################