Difference between revisions of "Nuke Misc"
Jump to navigation
Jump to search
(Created page with "=Compositing Misc= === CMY IDs selection === <pre> // 0 is for Red, 2 for Green, 4 for Blue // 3, 5 and 6 for Cyan, Magenta and Yellow // Replace the number "0" by the number...") |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
=== CMY IDs selection === | === CMY IDs selection === | ||
<pre> | <pre> | ||
− | // | + | // Use with Expression node |
− | |||
− | |||
− | |||
cyan | cyan | ||
Line 15: | Line 12: | ||
yellow | yellow | ||
r*g-b | r*g-b | ||
+ | |||
+ | blue | ||
+ | b-(g+r) | ||
+ | |||
+ | green | ||
+ | g-(b+r) | ||
+ | |||
+ | red | ||
+ | r-(g+b) | ||
+ | |||
+ | </pre> | ||
+ | |||
+ | === Fix Exposure variations === | ||
+ | <pre> | ||
+ | // First calculate Avg Intensities of the zone which needs to be fixed with a CurveTool, then use the value in gain of a ColorCorrect | ||
+ | |||
+ | (1/(parent.CurveTool1.intensitydata))*CUSTOM_VALUE | ||
+ | |||
+ | Adjust Custom value in order to reach 1 | ||
+ | |||
+ | </pre> | ||
+ | |||
+ | === Time in seconds === | ||
+ | <pre> | ||
+ | // Thx Reddit | ||
+ | |||
+ | [expr floor([frame]/[value root.fps])] | ||
</pre> | </pre> |
Latest revision as of 10:53, 12 July 2023
Compositing Misc
CMY IDs selection
// Use with Expression node cyan g*b-r magenta r*b-g yellow r*g-b blue b-(g+r) green g-(b+r) red r-(g+b)
Fix Exposure variations
// First calculate Avg Intensities of the zone which needs to be fixed with a CurveTool, then use the value in gain of a ColorCorrect (1/(parent.CurveTool1.intensitydata))*CUSTOM_VALUE Adjust Custom value in order to reach 1
Time in seconds
// Thx Reddit [expr floor([frame]/[value root.fps])]