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


Paul Miller <pa...@...>
 

On 12/15/2011 1:28 PM, Jeremy Selan wrote:
One other alternative implementation.

When in 'Simple Lut' mode, instead of using the displaytransform, just
use a group transform and add the normal view components in the
canonical order.

g = GroupTransform()
g.push_back(linearGainTransform)
g.push_back(channelSwizzleTransform)
g.push_back(FileTransform(src...))
g.push_back(gamma/bp/wpTransform)
This makes sense conceptually, but those operations boil down to a lot of different transforms that are hidden inside the DisplayTransform, each calling some (internal?) functions to build things recursively.

I've borrowed my existing DisplayTransform setup code from ociodisplay. Can you be more specific on how to set up the individual sub-transforms and add them to the Group in the context of what ociodisplay does?

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