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


Jeremy Selan <jeremy...@...>
 

Oh!

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)

config.getProcessor(g)

-- Jeremy

On Thu, Dec 15, 2011 at 11:21 AM, Paul Miller <pa...@...> wrote:

On 12/15/2011 1:15 PM, Jeremy Selan wrote:
New thought - one workaround for the moment would be to dynamically add
a new colorspace for the user specified lut.

This is definitely not ideal (I'd much rather extend DisplayTransform),
but this will work in the existing codebase.

Psuedocode:

...


# Add a fake  user display / user view.  (Ugh)

...

Ugh is right.  Maybe I'll just wait until there is way to combine them logically in the API. :-)

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