Skip to content

Instantly share code, notes, and snippets.

@indoorjetpacks
Forked from kit-agawa/grainTemplate
Last active October 24, 2019 20:19
Show Gist options
  • Select an option

  • Save indoorjetpacks/ddeeb94e412a8ecfe5fa99d494ab24c8 to your computer and use it in GitHub Desktop.

Select an option

Save indoorjetpacks/ddeeb94e412a8ecfe5fa99d494ab24c8 to your computer and use it in GitHub Desktop.
removed the cloned grade node, added a write/read for after the denoise
set cut_paste_input [stack 0]
version 11.1 v3
BackdropNode {
inputs 0
name BackdropNode11
tile_color 0x7171c600
label "do all your comping normally here"
note_font_size 42
selected true
xpos -199
ypos -1472
bdwidth 383
bdheight 2620
}
BackdropNode {
inputs 0
name BackdropNode2
tile_color 0x8e388e00
label plate
note_font_size 42
selected true
xpos -79
ypos -2992
bdheight 156
}
BackdropNode {
inputs 0
name BackdropNode3
tile_color 0x71c67100
label "denoisedPlate (preferably using neat video)"
note_font_size 42
selected true
xpos -77
ypos -2612
bdheight 122
}
BackdropNode {
inputs 0
name BackdropNode4
tile_color 0x8e388e00
label "increase this offset until there are no negative values, then look at this to match your grain."
note_font_size 42
selected true
xpos 1909
ypos -1229
bdheight 110
}
BackdropNode {
inputs 0
name BackdropNode5
tile_color 0x71c67100
label offsetAnyNegativeValues
note_font_size 42
selected true
xpos -79
ypos -2761
bdheight 110
}
BackdropNode {
inputs 0
name BackdropNode6
tile_color 0xaaaaaa00
label "compare these two while adjusting grain to match"
note_font_size 42
selected true
xpos 2134
ypos -917
bdwidth 312
bdheight 122
}
BackdropNode {
inputs 0
name BackdropNode7
tile_color 0x71c67100
label "look at this merge while adjusting gamma to flatten out grain as much as possible"
note_font_size 42
selected true
xpos 548
ypos -1600
bdwidth 326
bdheight 108
}
BackdropNode {
inputs 0
name BackdropNode8
tile_color 0x7171c600
label "Roto the areas that couldn't be flattened with the gamma above\n(don't feather the roto)"
note_font_size 42
selected true
xpos 564
ypos 1278
bdwidth 174
bdheight 213
}
Constant {
inputs 0
channels rgb
name Constant1
selected true
xpos -65
ypos -2276
}
Dot {
name Dot1
selected true
xpos -33
ypos -2018
}
set N1fe89500 [stack 0]
Dot {
name Dot25
selected true
xpos 596
ypos -2018
}
set N1fe89180 [stack 0]
Constant {
inputs 0
channels rgb
name Constant2
selected true
xpos -69
ypos -2912
}
Grade {
add 0.01
black_clamp false
enable_mix_luminance false
name Grade16
selected true
xpos -69
ypos -2681
}
set N1fe88a80 [stack 0]
Dot {
name Dot26
selected true
xpos 820
ypos -2679
}
Merge2 {
inputs 2
operation from
name Merge13
selected true
xpos 788
ypos -2022
}
push $N1fe89180
Grade {
name Grade1
selected true
xpos 557
ypos -1520
}
Merge2 {
inputs 2
operation divide
name Merge14
selected true
xpos 784
ypos -1520
}
set N1fe89c00 [stack 0]
Dot {
name Dot31
selected true
xpos 1953
ypos -1518
}
set N1d5ffc00 [stack 0]
Dot {
name Dot28
selected true
xpos 2387
ypos -1518
}
Dot {
name Dot27
selected true
xpos 2387
ypos -837
}
push $N1d5ffc00
Grade {
add 0.05
black_clamp false
enable_mix_luminance false
name Grade20
selected true
xpos 1919
ypos -1149
}
push $N1fe88a80
Denoise2 {
analysisRegion {1868 770 1968 870}
analysisFrame 1001
needsAnalyzing false
profileCurve {profile {curve x0.1000000015 0 x0.1333521456 0 x0.1778279394 0 x0.2371373773 0 x0.3162277639 0 x0.4216965139 0 x0.5623413324 0 x0.7498942018 0 x1 0}}
serializeKnob "1.421859980e+00 3.595109880e-01 6.238960028e-01
5.779659841e-03 4.003010225e-03 4.327590112e-03
5.779659841e-03 4.003010225e-03 4.327590112e-03
5.159089807e-03 3.623970086e-03 3.350659972e-03
0.000000000e+00 0.000000000e+00 0.000000000e+00
2.594149904e-03 1.497579971e-03 1.933239982e-03
2.594149904e-03 1.497579971e-03 1.933239982e-03
1.032419968e-03 1.201870036e-03 1.301649958e-03
0.000000000e+00 0.000000000e+00 0.000000000e+00
6.980429753e-04 5.926400190e-04 8.815660258e-04
6.980429753e-04 5.926400190e-04 8.815660258e-04
3.944060009e-04 4.640250118e-04 5.699910107e-04
0.000000000e+00 0.000000000e+00 0.000000000e+00
3.010020009e-04 3.499420127e-04 2.661210019e-04
3.010020009e-04 3.499420127e-04 2.661210019e-04
1.765539928e-04 2.070880000e-04 2.958319965e-04
0.000000000e+00 0.000000000e+00 0.000000000e+00 0.000000000e+00 0.000000000e+00 0.000000000e+00 0.000000000e+00 0.000000000e+00 0.000000000e+00
15831392949416420624"
name Denoise1
selected true
xpos -69
ypos -2543
}
Write {
in_colorspace linear
out_colorspace linear
name Write1
selected true
xpos -69
ypos -2425
}
push $N1fe89500
Grade {
add {{parent.Grade16.add}}
reverse true
black_clamp false
enable_mix_luminance false
name Grade21
selected true
xpos -65
ypos -1608
}
Dot {
name Dot29
selected true
xpos -62
ypos 1665
}
set N1d5fe380 [stack 0]
Grade {
blackpoint {{parent.Grade1.blackpoint}}
whitepoint {{parent.Grade1.whitepoint}}
black {{parent.Grade1.black}}
white {{parent.Grade1.white}}
multiply {{parent.Grade1.multiply}}
add {{parent.Grade1.add}}
gamma {{parent.Grade1.gamma}}
name Grade2
selected true
xpos 545
ypos 1661
}
push $cut_paste_input
Roto {
output alpha
cliptype none
curves {{{v x3f99999a}
{f 0}
{n
{layer Root
{f 0}
{t x44f30000 x444a8000}
{a pt1x 0 pt1y 0 pt2x 0 pt2y 0 pt3x 0 pt3y 0 pt4x 0 pt4y 0 ptex00 0 ptex01 0 ptex02 0 ptex03 0 ptex10 0 ptex11 0 ptex12 0 ptex13 0 ptex20 0 ptex21 0 ptex22 0 ptex23 0 ptex30 0 ptex31 0 ptex32 0 ptex33 0 ptof1x 0 ptof1y 0 ptof2x 0 ptof2y 0 ptof3x 0 ptof3y 0 ptof4x 0 ptof4y 0 pterr 0 ptrefset 0 ptmot x40800000 ptref 0}}}}}
toolbox {createBezier {
{ createBezier str 1 ssx 1 ssy 1 sf 1 sb 1 tt 4 }
{ createBezierCusped str 1 ssx 1 ssy 1 sf 1 sb 1 }
{ createBSpline str 1 ssx 1 ssy 1 sf 1 sb 1 }
{ createEllipse str 1 ssx 1 ssy 1 sf 1 sb 1 }
{ createRectangle str 1 ssx 1 ssy 1 sf 1 sb 1 }
{ createRectangleCusped str 1 ssx 1 ssy 1 sf 1 sb 1 }
{ brush str 1 ssx 1 ssy 1 sf 1 sb 1 }
{ eraser src 2 str 1 ssx 1 ssy 1 sf 1 sb 1 }
{ clone src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
{ reveal src 3 str 1 ssx 1 ssy 1 sf 1 sb 1 }
{ dodge src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
{ burn src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
{ blur src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
{ sharpen src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
{ smear src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
} }
toolbar_brush_hardness 2.0000000298e-01
toolbar_source_transform_scale {1 1}
toolbar_source_transform_center {1944 810}
name Roto2
selected true
xpos 602
ypos 1432
}
Dot {
name Dot32
selected true
xpos 636
ypos 1554
}
Constant {
inputs 0
color {{parent.Grade20.add}}
name Constant3
selected true
xpos 2165
ypos -1164
}
Grain2 {
name Grain2_1
label "Kodak 5248"
selected true
xpos 2165
ypos -998
red_size 2.1900000000e+00
green_size 1.6000000000e+00
blue_size 2.2000000000e+00
red_m 6.5700000000e-01
green_m 6.0000000000e-01
blue_m 9.3500000000e-01
black {0 0 0}
minimum {0 0 0}
maskgrain false
}
Grade {
add {{parent.Grade20.add}}
reverse true
black_clamp false
enable_mix_luminance false
name Grade37
selected true
xpos 2165
ypos -839
}
PostageStamp {
name PostageStamp15
selected true
xpos 937
ypos 1527
hide_input true
postage_stamp true
}
push $N1fe89c00
PostageStamp {
name PostageStamp14
selected true
xpos 771
ypos 1163
hide_input true
postage_stamp true
}
Keymix {
inputs 3
name Keymix5
selected true
xpos 771
ypos 1546
}
Merge2 {
inputs 2
operation multiply
name Merge65
selected true
xpos 771
ypos 1661
}
Dot {
name Dot30
selected true
xpos 805
ypos 1765
}
push $N1d5fe380
Merge2 {
inputs 2
operation plus
name Merge66
selected true
xpos -96
ypos 1761
}
Dot {
name Dot2
selected true
xpos -64
ypos 2017
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment