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


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

On 12/15/2011 4:47 PM, Paul Miller wrote:
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 recursivel
Ah, this was easier than it looked. Note I skipped the display, view, and input color-space options when a simple LUT is selected. Is that the preferred way to do it?

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