Difference between revisions of "Nuke Misc"

From Antoine Vienne | Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 12: 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 11: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])]