Skip to content

Instantly share code, notes, and snippets.

View rafaelperez's full-sized avatar
🏠
Available

Rafael Silva rafaelperez

🏠
Available
View GitHub Profile
set cut_paste_input [stack 0]
version 10.5 v8
push $cut_paste_input
Group {
name DegrainHelper
help "If you need some extra detail to work with, you can use this to reintroduce luminance grain to your degrained plate.\n\nThe degrained plate has to be completely degrained.\n\nThe slider controls how much luminance grain will be present in the output."
tile_color 0x7f7f7fff
xpos -260
ypos -178
addUserKnob {20 User}
#----------------------------------------------------------------------------------------------------------
# Wouter Gilsing
# [email protected]
# May 2016
# v1.1
#----------------------------------------------------------------------------------------------------------
import nuke
import operator

Keybase proof

I hereby claim:

  • I am rafaelperez on github.
  • I am rafaelperez (https://keybase.io/rafaelperez) on keybase.
  • I have a public key ASAtwjZ9s7W16aOcHyb28V1x_KqK-_eRH6-ySW5IiysWaQo

To claim this, I am signing this object:

#! /home/vfx/Nuke11.1v1/libnuke-11.1.1.so -nx
version 11.1 v1
define_window_layout_xml {<?xml version="1.0" encoding="UTF-8"?>
<layout version="1.0">
<window x="1920" y="25" w="1920" h="2107" screen="0">
<splitter orientation="1">
<split size="1214"/>
<splitter orientation="2">
<split size="1102"/>
<dock id="" activePageId="Viewer.1">
#! /home/vfx/Nuke11.1v1/libnuke-11.1.1.so -nx
version 11.1 v1
define_window_layout_xml {<?xml version="1.0" encoding="UTF-8"?>
<layout version="1.0">
<window x="1920" y="25" w="1920" h="2107" screen="0">
<splitter orientation="1">
<split size="1214"/>
<splitter orientation="2">
<split size="1102"/>
<dock id="" activePageId="Viewer.1">
#! /home/vfx/Nuke11.1v1/libnuke-11.1.1.so -nx
version 11.1 v1
define_window_layout_xml {<?xml version="1.0" encoding="UTF-8"?>
<layout version="1.0">
<window x="1920" y="25" w="1920" h="2107" screen="0">
<splitter orientation="1">
<split size="1214"/>
<splitter orientation="2">
<split size="1102"/>
<dock id="" activePageId="Viewer.1">
def TrackerToRoto() :
#CREATES NEW LAYER ON ROTO OR ROTOPAINT WITH TRACKING DATA
import nuke.rotopaint as rp
n = nuke.selectedNodes()
try:
nuke.selectedNode()
except:
print nuke.message("Select a Tracker and a Roto or Rotopaint!")
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY"
--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY
Content-Disposition: attachment; filename=".start"
Content-Type: text/plain
fplayback -i on -r on -f 1 -e on -h on -t on -a on -k on -s 1
tcur 0.91666666666666663
fps 24
set cut_paste_input [stack 0]
version 11.1 v3
push $cut_paste_input
Camera2 {
translate {0 6 -2.587715073e-07}
rotate {-90 0 0}
name Camera1
selected true
xpos 113
ypos 220
Group {
help "aPMatte v1.0 by Adrian Pueyo\n\nGenerate a matte of different shapes, based on a Position pass. Includes options to transform the mask and change its falloff. Also has the option to output or overlay a P-based 3D noise.\n\nadrianpueyo.com, 2017"
name "aPMatte"
knobChanged "n = nuke.thisNode()\nk = nuke.thisKnob()\n\nif k.name() == \"shape\":\n rampOn = k.value() in \['linear ramp', 'radial ramp'];\n n\['radius'].setVisible(not rampOn)\n n.knobs()\[\"black\"].setVisible(rampOn)\n n.knobs()\[\"picker\"].setLabel( \"white\" if rampOn else \"center\" )\n\n\nif k.name() == \"noise\":\n noiseOn = k.value() != 'off';\n n\['noise_rel'].setVisible(noiseOn)\n n\['noise_persistance'].setVisible(noiseOn)\n n\['noise_octaves'].setVisible(noiseOn)\n n\['noise_lacunarity'].setVisible(noiseOn)\n n\['noise_size'].setVisible(noiseOn)\n n\['noise_offset'].setVisible(noiseOn)\n n\['noise_add'].setVisible(noiseOn)\n n\['noise_gain'].setVisible(noiseOn)\n n\['noise_gamma']