Skip to content

Instantly share code, notes, and snippets.

@Nvizible
Forked from julik/stmap.nk
Created August 1, 2010 16:31
Show Gist options
  • Save Nvizible/503514 to your computer and use it in GitHub Desktop.
Save Nvizible/503514 to your computer and use it in GitHub Desktop.
Nuke UV Image Generator
set cut_paste_input [stack 0]
version 6.0 v5
push $cut_paste_input
Remove {
name Remove1
selected true
xpos -271
ypos -64
}
set N29f1fd0 [stack 0]
Ramp {
cliptype bbox
replace true
p0 {0 0}
p1 {0 {height i}}
color {0 1 0 0}
name Ramp1
selected true
xpos -319
ypos -5
}
push $N29f1fd0
Ramp {
p0 {0 0}
p1 {{width i x1 2048} 0}
color {1 0 0 0}
name Ramp2
selected true
xpos -209
ypos -8
}
Merge2 {
inputs 2
operation plus
name Merge1
selected true
xpos -274
ypos 49
}
@Nvizible
Copy link
Author

Nvizible commented Aug 1, 2010

I modified this to allow it to have another image plugged in above to define the resolution...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment