DanisnotShort

Reduce Quality - Nuke Toolset

Dec 7th, 2018
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.20 KB | None | 0 0
  1. #! /Applications/Nuke11.1v1/Nuke11.1v1.app/Contents/MacOS/libnuke-11.1.1.dylib -nx
  2. version 11.1 v1
  3. define_window_layout_xml {<?xml version="1.0" encoding="UTF-8"?>
  4. <layout version="1.0">
  5. <window x="-1920" y="77" w="1920" h="1035" maximized="1" screen="1">
  6. <splitter orientation="1">
  7. <split size="1111"/>
  8. <splitter orientation="1">
  9. <split size="40"/>
  10. <dock id="" hideTitles="1" activePageId="Toolbar.1">
  11. <page id="Toolbar.1"/>
  12. </dock>
  13. <split size="1067"/>
  14. <splitter orientation="2">
  15. <split size="1014"/>
  16. <dock id="" activePageId="DAG.1" focus="true">
  17. <page id="DAG.1"/>
  18. <page id="Curve Editor.1"/>
  19. <page id="DopeSheet.1"/>
  20. </dock>
  21. </splitter>
  22. </splitter>
  23. <split size="805"/>
  24. <splitter orientation="2">
  25. <split size="833"/>
  26. <dock id="" activePageId="Properties.1">
  27. <page id="Properties.1"/>
  28. <page id="com.ohufx.ToDoList"/>
  29. <page id="Error Console.1"/>
  30. <page id="com.nukepedia.nuBridge"/>
  31. </dock>
  32. <split size="177"/>
  33. <dock id="" activePageId="uk.co.thefoundry.backgroundrenderview.1">
  34. <page id="Progress.1"/>
  35. <page id="uk.co.thefoundry.backgroundrenderview.1"/>
  36. </dock>
  37. </splitter>
  38. </splitter>
  39. </window>
  40. <window x="0" y="23" w="2556" h="1401" maximized="1" screen="0">
  41. <splitter orientation="2">
  42. <split size="1401"/>
  43. <dock id="" activePageId="Viewer.1">
  44. <page id="uk.co.thefoundry.viewer.flipbook.1"/>
  45. <page id="Viewer.1"/>
  46. </dock>
  47. </splitter>
  48. </window>
  49. </layout>
  50. }
  51. Root {
  52. inputs 0
  53. name "/Users/THE_ATOMIC_WONDER/.nuke/ToolSets/Reduce Quality.nk"
  54. colorManagement Nuke
  55. workingSpaceLUT linear
  56. monitorLut sRGB
  57. int8Lut sRGB
  58. int16Lut sRGB
  59. logLut Cineon
  60. floatLut linear
  61. addUserKnob {20 pathmaptab l "Path Map"}
  62. addUserKnob {32 pathmap_ReplacePath l " replace path by it's map " T "set comp \[file dir \[value root.name]]\n\nset nodes \[nodes]\ncatch \{set nodes \[selected_nodes]\}\n\nforeach node \$nodes \{\n catch \{\n foreach pathmaplist \[split \[value root.pathmap] \"\\n\"] \{\n set pathmap \[split \$pathmaplist \"=\"]\n knob \$node.file \[string map -nocase \[list \[lindex \$pathmap 1] \"\\\[map \[lindex \$pathmap 0]\\]\"] \[knob \$node.file]]\n knob \$node.proxy \[string map -nocase \[list \[lindex \$pathmap 1] \"\\\[map \[lindex \$pathmap 0]\\]\"] \[knob \$node.proxy]]\n \}\n knob \$node.file \[string map -nocase \[list \$comp \"\\\[comp\\]\"] \[knob \$node.file]]\n knob \$node.proxy \[string map -nocase \[list \$comp \"\\\[comp\\]\"] \[knob \$node.proxy]]\n \}\n\}\n" +STARTLINE}
  63. addUserKnob {32 pathmap_ReplaceMap l " replace map by it's path " -STARTLINE T "set comp \[file dir \[value root.name]]\n\nset nodes \[nodes]\ncatch \{set nodes \[selected_nodes]\}\n\nforeach node \$nodes \{\n catch \{\n foreach pathmaplist \[split \[value root.pathmap] \"\\n\"] \{\n set pathmap \[split \$pathmaplist \"=\"]\n knob \$node.file \[string map -nocase \[list \"\\\[map \[lindex \$pathmap 0]\\]\" \[lindex \$pathmap 1]] \[knob \$node.file]]\n knob \$node.proxy \[string map -nocase \[list \"\\\[map \[lindex \$pathmap 0]\\]\" \[lindex \$pathmap 1]] \[knob \$node.proxy]]\n \}\n knob \$node.file \[string map -nocase \[list \"\\\[comp\\]\" \$comp] \[knob \$node.file]]\n knob \$node.proxy \[string map -nocase \[list \"\\\[comp\\]\" \$comp] \[knob \$node.proxy]]\n \}\n\}\n"}
  64. }
  65. Group {
  66. inputs 0
  67. name Reduce_Quality
  68. tile_color 0xff5f00ff
  69. xpos 689
  70. ypos -2112
  71. addUserKnob {20 Controls}
  72. addUserKnob {41 Quality T TransformMain.scale}
  73. addUserKnob {41 Filter T TransformEnd.filter}
  74. addUserKnob {41 Mix T Dissolve1.which}
  75. }
  76. Input {
  77. inputs 0
  78. name Input1
  79. xpos 414
  80. ypos -471
  81. }
  82. Dot {
  83. name Dot2
  84. xpos 442
  85. ypos -433
  86. }
  87. set N4148d2f0 [stack 0]
  88. Dot {
  89. name Dot1
  90. xpos 552
  91. ypos -433
  92. }
  93. Dot {
  94. name Dot3
  95. xpos 552
  96. ypos -196
  97. }
  98. push $N4148d2f0
  99. Transform {
  100. scale 0.5
  101. center {1295.5 648}
  102. name TransformMain
  103. xpos 414
  104. ypos -392
  105. }
  106. Grade {
  107. name Grade10
  108. xpos 414
  109. ypos -368
  110. }
  111. Transform {
  112. scale {{parent.TransformMain.scale}}
  113. center {1295.5 648}
  114. invert_matrix true
  115. name Transform11
  116. xpos 414
  117. ypos -344
  118. }
  119. Grade {
  120. name Grade21
  121. xpos 414
  122. ypos -320
  123. }
  124. Transform {
  125. scale {{parent.TransformMain.scale}}
  126. center {1295.5 648}
  127. name Transform12
  128. xpos 414
  129. ypos -296
  130. }
  131. Grade {
  132. name Grade22
  133. xpos 414
  134. ypos -272
  135. }
  136. Transform {
  137. scale {{parent.Transform12.scale}}
  138. center {1295.5 648}
  139. invert_matrix true
  140. filter Mitchell
  141. name TransformEnd
  142. xpos 414
  143. ypos -248
  144. }
  145. Dissolve {
  146. inputs 2
  147. name Dissolve1
  148. selected true
  149. xpos 414
  150. ypos -197
  151. }
  152. Output {
  153. name Output1
  154. xpos 414
  155. ypos -148
  156. }
  157. end_group
Advertisement
Add Comment
Please, Sign In to add comment