Advertisement
foofop

pixel_script

Jan 25th, 2020
857
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.52 KB | None | 0 0
  1. #! C:/Program Files/Nuke11.3v3/nuke-11.3.3.dll -nx
  2. version 11.3 v3
  3. define_window_layout_xml {<?xml version="1.0" encoding="UTF-8"?>
  4. <layout version="1.0">
  5. <window x="0" y="0" w="2534" h="1309" screen="0">
  6. <splitter orientation="1">
  7. <split size="64"/>
  8. <dock id="" hideTitles="1" activePageId="Toolbar.1">
  9. <page id="Toolbar.1"/>
  10. </dock>
  11. <split size="1847" stretch="1"/>
  12. <splitter orientation="2">
  13. <split size="731"/>
  14. <dock id="" activePageId="Viewer.1">
  15. <page id="Viewer.1"/>
  16. </dock>
  17. <split size="514"/>
  18. <dock id="" activePageId="DAG.1">
  19. <page id="DAG.1"/>
  20. <page id="Curve Editor.1"/>
  21. <page id="DopeSheet.1"/>
  22. </dock>
  23. </splitter>
  24. <split size="615"/>
  25. <dock id="" activePageId="Properties.1" focus="true">
  26. <page id="Properties.1"/>
  27. <page id="uk.co.thefoundry.backgroundrenderview.1"/>
  28. </dock>
  29. </splitter>
  30. </window>
  31. </layout>
  32. }
  33. Root {
  34. inputs 0
  35. name C:/Users/Sam/Desktop/pixel_script.nk
  36. frame 26
  37. format "2048 1556 0 0 2048 1556 1 2K_Super_35(full-ap)"
  38. proxy_type scale
  39. proxy_format "1024 778 0 0 1024 778 1 1K_Super_35(full-ap)"
  40. colorManagement Nuke
  41. workingSpaceLUT linear
  42. monitorLut sRGB
  43. int8Lut sRGB
  44. int16Lut sRGB
  45. logLut Cineon
  46. floatLut linear
  47. }
  48. ColorWheel {
  49. inputs 0
  50. gamma 0.45
  51. name ColorWheel1
  52. xpos 263
  53. ypos -239
  54. }
  55. set N3fec3000 [stack 0]
  56. Group {
  57. name SD_Pixelate
  58. xpos 247
  59. ypos -53
  60. lock_connections true
  61. addUserKnob {20 User}
  62. addUserKnob {7 Pixelate t "Amount of pixel reducing you want (Can't be zero!)." R 1 1500}
  63. Pixelate 30
  64. addUserKnob {41 Pixel_type l "Pixel type" t "Pick the pixel filter you prefer to use (generally Impulse)." T Reformat_to_original.filter}
  65. addUserKnob {6 Affect_alpha l "Affect alpha" t "Choose to pixelate the alpha channel or not." +STARTLINE}
  66. Affect_alpha true
  67. addUserKnob {26 ""}
  68. addUserKnob {26 Author l "" +STARTLINE T "Author - Sacha Danjou - Glassworks"}
  69. }
  70. Input {
  71. inputs 0
  72. name Input1
  73. xpos -588
  74. ypos -173
  75. }
  76. set N3fe2ec00 [stack 0]
  77. Dot {
  78. name Dot1
  79. xpos -554
  80. ypos -106
  81. }
  82. Reformat {
  83. type "to box"
  84. box_width {{Input1.width/parent.Pixelate}}
  85. box_height {{Input1.height/parent.Pixelate}}
  86. box_fixed true
  87. filter Impulse
  88. black_outside true
  89. name Reformat_pixelate
  90. xpos -588
  91. ypos -4
  92. }
  93. Crop {
  94. box {0 0 {Reformat_node.box_width} {Reformat_node.box_height}}
  95. name Crop_aspect_ratio
  96. xpos -588
  97. ypos 33
  98. }
  99. Reformat {
  100. type "to box"
  101. box_width {{Input1.width}}
  102. box_height {{Input1.height}}
  103. box_fixed true
  104. resize distort
  105. filter Impulse
  106. black_outside true
  107. name Reformat_to_original
  108. xpos -588
  109. ypos 79
  110. }
  111. set N3fe59800 [stack 0]
  112. push $N3fe2ec00
  113. Dot {
  114. name Dot2
  115. xpos -704
  116. ypos -170
  117. }
  118. Switch {
  119. inputs 2
  120. which {{parent.Affect_alpha}}
  121. name Switch1
  122. xpos -738
  123. ypos 175
  124. }
  125. push $N3fe59800
  126. ShuffleCopy {
  127. inputs 2
  128. name ShuffleCopy1
  129. xpos -588
  130. ypos 175
  131. }
  132. Output {
  133. name Output1
  134. xpos -588
  135. ypos 256
  136. }
  137. Viewer {
  138. frame 1122
  139. frame_range 1001-1233
  140. fps 25
  141. name Viewer1
  142. xpos -833
  143. ypos 243
  144. }
  145. end_group
  146. push $N3fec3000
  147. Blocky {
  148. size 43.5
  149. name Blocky1
  150. xpos 671
  151. ypos -81
  152. }
  153. Viewer {
  154. frame_range 1-100
  155. name Viewer1
  156. selected true
  157. xpos 263
  158. ypos -167
  159. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement