The GenerateLUT node does not have any way to specify the pre-LUT part of the CSP file, the "1D preLUT" options only apply to certain output formats (e.g .cms)

In the past I've used the GenerateLUT to create the 3D part of the LUT, then added in the preLUT section manually (with a Python script)

Not exactly what you need, but this should give you the basic idea:
https://gist.github.com/4543134
This only samples the ColorLookup between 0-1, and it writes a 1D CSP file (which has an identical prelut section)

> I'm not sure if the Nuke node requires that I have a config.ocio file

Nope, the current GenerateLUT node pre-dates the OCIO integration.

If you have an suitable config, you can use OCIO's ociobakelut command,
http://opencolorio.org/userguide/baking_luts.html
This can write a preLUT allowing linear input

It would be nice if OCIO had it's own OCIOGenerateLUT node, there's a ticket for this:
https://github.com/imageworks/OpenColorIO/issues/8

On 16/01/13 06:55, Dan Rosen wrote:
Hello,

I am trying to use GenerateLUT to author csp files for linear light
images to display conversion. We also have a custom LogLin so I'd like
to set the shaper lut to something custom with a file or values there.
I'm not sure if the Nuke node requires that I have a config.ocio file or
not, but I cannot seem to figure it out. I've looked in the docs and
don't see it there either. Any help is much appreciated.

Thanks,
Dan


_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

--
ben dickson
2D TD | [email protected]
rising sun pictures | www.rsp.com.au
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to