Re: combining a File-Based LUT Transform and a Display Transform?


dbr/Ben <dbr....@...>
 

On 17/12/2011, at 3:46 AM, Paul Miller wrote:
if (fileTransform)
{
   OCIO::GroupTransformRcPtr group = OCIO::GroupTransform::Create();
   group->push_back(gainTransform);
   group->push_back(swizzle);
   group->push_back(fileTransform);
   group->push_back(expTransform);

   processor = config->getProcessor(group);
}

Was going through old emails and noticed - the swizzle should probably go after the fileTransform, in case the file has channel-crosstalk (e.g desaturating RGB would be very different to desaturating the swizzled "RRR")

Join ocio-dev@lists.aswf.io to automatically receive all group messages.