Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! C:/Program Files/Nuke11.3v3/nuke-11.3.3.dll -nx
- version 11.3 v3
- define_window_layout_xml {<?xml version="1.0" encoding="UTF-8"?>
- <layout version="1.0">
- <window x="0" y="0" w="2534" h="1309" screen="0">
- <splitter orientation="1">
- <split size="64"/>
- <dock id="" hideTitles="1" activePageId="Toolbar.1">
- <page id="Toolbar.1"/>
- </dock>
- <split size="1847" stretch="1"/>
- <splitter orientation="2">
- <split size="731"/>
- <dock id="" activePageId="Viewer.1">
- <page id="Viewer.1"/>
- </dock>
- <split size="514"/>
- <dock id="" activePageId="DAG.1">
- <page id="DAG.1"/>
- <page id="Curve Editor.1"/>
- <page id="DopeSheet.1"/>
- </dock>
- </splitter>
- <split size="615"/>
- <dock id="" activePageId="Properties.1" focus="true">
- <page id="Properties.1"/>
- <page id="uk.co.thefoundry.backgroundrenderview.1"/>
- </dock>
- </splitter>
- </window>
- </layout>
- }
- Root {
- inputs 0
- name C:/Users/Sam/Desktop/pixel_script.nk
- frame 26
- format "2048 1556 0 0 2048 1556 1 2K_Super_35(full-ap)"
- proxy_type scale
- proxy_format "1024 778 0 0 1024 778 1 1K_Super_35(full-ap)"
- colorManagement Nuke
- workingSpaceLUT linear
- monitorLut sRGB
- int8Lut sRGB
- int16Lut sRGB
- logLut Cineon
- floatLut linear
- }
- ColorWheel {
- inputs 0
- gamma 0.45
- name ColorWheel1
- xpos 263
- ypos -239
- }
- set N3fec3000 [stack 0]
- Group {
- name SD_Pixelate
- xpos 247
- ypos -53
- lock_connections true
- addUserKnob {20 User}
- addUserKnob {7 Pixelate t "Amount of pixel reducing you want (Can't be zero!)." R 1 1500}
- Pixelate 30
- addUserKnob {41 Pixel_type l "Pixel type" t "Pick the pixel filter you prefer to use (generally Impulse)." T Reformat_to_original.filter}
- addUserKnob {6 Affect_alpha l "Affect alpha" t "Choose to pixelate the alpha channel or not." +STARTLINE}
- Affect_alpha true
- addUserKnob {26 ""}
- addUserKnob {26 Author l "" +STARTLINE T "Author - Sacha Danjou - Glassworks"}
- }
- Input {
- inputs 0
- name Input1
- xpos -588
- ypos -173
- }
- set N3fe2ec00 [stack 0]
- Dot {
- name Dot1
- xpos -554
- ypos -106
- }
- Reformat {
- type "to box"
- box_width {{Input1.width/parent.Pixelate}}
- box_height {{Input1.height/parent.Pixelate}}
- box_fixed true
- filter Impulse
- black_outside true
- name Reformat_pixelate
- xpos -588
- ypos -4
- }
- Crop {
- box {0 0 {Reformat_node.box_width} {Reformat_node.box_height}}
- name Crop_aspect_ratio
- xpos -588
- ypos 33
- }
- Reformat {
- type "to box"
- box_width {{Input1.width}}
- box_height {{Input1.height}}
- box_fixed true
- resize distort
- filter Impulse
- black_outside true
- name Reformat_to_original
- xpos -588
- ypos 79
- }
- set N3fe59800 [stack 0]
- push $N3fe2ec00
- Dot {
- name Dot2
- xpos -704
- ypos -170
- }
- Switch {
- inputs 2
- which {{parent.Affect_alpha}}
- name Switch1
- xpos -738
- ypos 175
- }
- push $N3fe59800
- ShuffleCopy {
- inputs 2
- name ShuffleCopy1
- xpos -588
- ypos 175
- }
- Output {
- name Output1
- xpos -588
- ypos 256
- }
- Viewer {
- frame 1122
- frame_range 1001-1233
- fps 25
- name Viewer1
- xpos -833
- ypos 243
- }
- end_group
- push $N3fec3000
- Blocky {
- size 43.5
- name Blocky1
- xpos 671
- ypos -81
- }
- Viewer {
- frame_range 1-100
- name Viewer1
- selected true
- xpos 263
- ypos -167
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement