Trees | Indices | Help |
|
---|
|
A collection of tools and functions to help manage LUTs and color configuration
|
|||
ColorspaceLookupError an excpetion that should be thrown when looking up the colorspace |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
defaultLUTMappers =
|
|||
__package__ =
|
|
Nuke's default handling of colorspace lookups. Maps applicable dataTypeHint values to knobs on the Preferecne panel Possible values for dataTypeHint are Nuke inbuilt data-type hints (map to knobs) nuke.MONITOR == 0 nuke.VIEWER == 1 nuke.INT8 == 2 nuke.INT16 == 3 nuke.LOG == 4 nuke.FLOAT == 5 Other numeric values which map to those in DDImage/LUT.h 6 == DD::Image::LUT::GAMMA1_8 7 == DD::Image::LUT::GAMMA2_2 8 == DD::Image::LUT::GAMMA2_4 9 == DD::Image::LUT::PANALOG 10 == DD::Image::LUT::REDLOG 11 == DD::Image::LUT::VIPERLOG 12 == DD::Image::LUT::ALEXAV3LOGC 13 == DD::Image::LUT::PLOGLIN 14 == DD::Image::LUT::SLOG 15 == DD::Image::LUT::SLOG1 16 == DD::Image::LUT::SLOG2 17 == DD::Image::LUT::SLOG3 18 == DD::Image::LUT::CLOG 19 == DD::Image::LUT::PROTUNE 20 == DD::Image::LUT::GAMMA2_6 21 == DD::Image::LUT::LOG3G10 22 == DD::Image::LUT::LOG3G12 23 == DD::Image::LUT::BT1886 24 is deprecated and shouldn't be used 25 == DD::Image::LUT::HYBRIDLOGGAMMA 26 == DD::Image::LUT::ST2084 |
Add a function to modify default colorspaces before Nuke passes them to Readers or Writers. Functions should have the same positional argument as in the definition of defaultLUTMapper() All added functions are called in backwards order. |
Called by libnuke. Calls into Node-level callbacks first, then global callbacks Arguments: colorspace - the name string of the initial colorspace dataTypeHint - sometimes Readers/Writer request the default for a particular data-type, i.e. int8, in16, float, etc. Return: The return should be the transformed/modified colorspace name. None is the same as returning the string unchanged. |
Get a list of all colorspaces listed in an enumeration knob. This will strip family names if the knob has the STRIP_CASCADE_PREFIX flag set. |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Jul 17 00:45:42 2020 | http://epydoc.sourceforge.net |