Date
1 - 2 of 2
clamping difference between OCIO 1 and 2?
I noticed that using linear data with an sRGB view transform, if I adjust the exposure/gain using a Matrix/Offset transform, there seems to be clamping in OCIO 2 that wasn't present in 1. It doesn't clamp if I use a null/raw view transform. (see attached images).
This is using the default GPU processor.
Is this expected behavior?
code basically boils down to:
OCIO::DisplayTransformRcPtr transform = OCIO::DisplayTransform::Create();
transform->setInputColorSpaceName("linear");
transform->setDisplay("default");
transform->setView("sRGB");
OCIO::MatrixTransformRcPtr gainTransform = OCIO::MatrixTransform::Create();
// compute gain matrix/offset
transform->setLinearCC(gainTransform);
OCIO::ConstProcessorRcPtr processor = config->getProcessor(transform);
I am still using CreateLegacyShaderDesc. Could it be that some of this math has moved into the LUT, and it's clamping there?
This is using the default GPU processor.
Is this expected behavior?
code basically boils down to:
OCIO::DisplayTransformRcPtr transform = OCIO::DisplayTransform::Create();
transform->setInputColorSpaceName("linear");
transform->setDisplay("default");
transform->setView("sRGB");
OCIO::MatrixTransformRcPtr gainTransform = OCIO::MatrixTransform::Create();
// compute gain matrix/offset
transform->setLinearCC(gainTransform);
OCIO::ConstProcessorRcPtr processor = config->getProcessor(transform);
I am still using CreateLegacyShaderDesc. Could it be that some of this math has moved into the LUT, and it's clamping there?