Nuke Misc

From Antoine Vienne | Wiki
Jump to navigation Jump to search

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])]