Created
January 9, 2015 11:57
-
-
Save sanfx/3280d9c731e07f0b5614 to your computer and use it in GitHub Desktop.
Nuke NoOp node with expression to sample pixel and x, y coordinates
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set cut_paste_input [stack 0] | |
| version 8.0 v6 | |
| push $cut_paste_input | |
| NoOp { | |
| name NoOp2 | |
| selected true | |
| xpos 824 | |
| ypos -172 | |
| addUserKnob {20 User} | |
| addUserKnob {12 pixelCoordinate} | |
| pixelCoordinate {731 64} | |
| addUserKnob {18 pixelValues} | |
| pixelValues {{"\[sample this red pixelCoordinate.x pixelCoordinate.y]"} {"\[sample this green pixelCoordinate.x pixelCoordinate.y]"} {"\[sample this blue pixelCoordinate.x pixelCoordinate.y]"}} | |
| addUserKnob {6 pixelValues_panelDropped l "panel dropped state" -STARTLINE +HIDDEN} | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment