-
Notifications
You must be signed in to change notification settings - Fork 0
/
cm_LightTransfer.nk
387 lines (387 loc) · 7.05 KB
/
cm_LightTransfer.nk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
Group {
inputs 2
name LightTransfer
tile_color 0xdfff8fff
note_font "Verdana"
selected true
xpos 490
ypos -295
addUserKnob {20 settings l LightTransfer}
addUserKnob {6 range_1 l range +STARTLINE}
addUserKnob {41 range T Keyer1.range}
addUserKnob {7 brightness l "brightness multiply" R 0 100}
brightness 50
addUserKnob {7 softness R 0 3}
softness 1
addUserKnob {7 saturation R 0 2}
saturation 1
addUserKnob {6 enableColor l "enable Color" +STARTLINE}
addUserKnob {18 color_rgb l "" -STARTLINE}
color_rgb {1.4 1 1}
addUserKnob {6 color_rgb_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {26 ""}
addUserKnob {6 boolean l "copy bbox" +STARTLINE}
boolean true
addUserKnob {6 boolean_1 l "crop overscan" -STARTLINE}
boolean_1 true
addUserKnob {7 double l overscan R 0 500}
double 50
addUserKnob {26 ""}
addUserKnob {41 mix T Merge2.mix}
addUserKnob {26 ""}
addUserKnob {26 me l "" +STARTLINE T "LightTransfer v1.0 - (c) 2024 - Chris McCrowe - <a href=\"www.chrismccrowe.com\" style=\"color:#00aceb;\">www.chrismccrowe.com</a>"}
}
Input {
inputs 0
name target
xpos -376
ypos -870
}
set N161879c0 [stack 0]
Dot {
name Dot18
note_font "Bitstream Vera Sans"
xpos -348
ypos -646
}
set N1616b800 [stack 0]
Dot {
name Dot19
note_font "Bitstream Vera Sans"
xpos -35
ypos -646
}
Dot {
name Dot20
note_font "Bitstream Vera Sans"
xpos -35
ypos 88
}
Input {
inputs 0
name mask
xpos -209
ypos -128
number 2
}
push $N1616b800
Dot {
name Dot2
note_font "DejaVu Sans"
xpos -348
ypos -459
}
set N18ff5960 [stack 0]
Dot {
name Dot3
note_font "DejaVu Sans"
xpos -675
ypos -459
}
Keyer {
operation "luminance key"
name Keyer1
note_font "DejaVu Sans"
xpos -703
ypos -336
}
Input {
inputs 0
name src
xpos -892
ypos -887
number 1
}
Blur {
channels rgba
size {{parent.softness}}
name Blur
note_font "Bitstream Vera Sans"
xpos -892
ypos -776
}
Blur {
channels rgba
size {{Blur.size*2}}
mix 0.765
name Blur1
note_font "Bitstream Vera Sans"
xpos -892
ypos -750
}
Blur {
channels rgba
size {{Blur1.size*2}}
mix 0.8
name Blur2
note_font "Bitstream Vera Sans"
xpos -892
ypos -724
}
Blur {
channels rgba
size {{Blur2.size*2}}
crop false
mix 0.7
name Blur3
note_font "Bitstream Vera Sans"
xpos -892
ypos -698
}
Blur {
channels rgba
size {{Blur3.size*2}}
crop false
mix 0.6
name Blur4
note_font "Bitstream Vera Sans"
xpos -892
ypos -672
}
Blur {
channels rgba
size {{Blur4.size*2}}
crop false
mix 0.5
name Blur5
note_font "Bitstream Vera Sans"
xpos -892
ypos -646
}
Blur {
channels rgba
size {{Blur5.size*2}}
crop false
mix 0.4
name Blur6
note_font "Bitstream Vera Sans"
xpos -892
ypos -620
}
Blur {
channels rgba
size {{Blur6.size*2}}
crop false
mix 0.3
name Blur7
note_font "Bitstream Vera Sans"
xpos -892
ypos -594
}
Blur {
channels rgba
size {{Blur7.size*2}}
crop false
mix 0.2
name Blur8
note_font "Bitstream Vera Sans"
xpos -892
ypos -568
}
Blur {
channels rgba
size {{Blur8.size*2}}
crop false
mix 0.1
name Blur9
note_font "Bitstream Vera Sans"
xpos -892
ypos -542
}
Blur {
channels rgba
size {{Blur9.size*2}}
crop false
mix 0.05
name Blur10
note_font "Bitstream Vera Sans"
xpos -892
ypos -516
}
Blur {
channels rgba
size {{Blur10.size*2}}
crop false
mix 0.025
name Blur11
note_font "Bitstream Vera Sans"
xpos -892
ypos -490
}
Group {
name cm_CropOverscan
tile_color 0xc641c9ff
note_font_color 0xf5f5f5ff
xpos -892
ypos -440
disable {{parent.cm_CropOverscan1.disable}}
addUserKnob {20 settings l CropOverscan}
addUserKnob {7 overscan_px l "Overscan (px)" R 0 100}
overscan_px {{parent.cm_CropOverscan1.overscan_px}}
addUserKnob {26 ""}
addUserKnob {41 softness T overscan_crop.softness}
addUserKnob {41 reformat T overscan_crop.reformat}
addUserKnob {41 intersect -STARTLINE T overscan_crop.intersect}
addUserKnob {41 crop l "black outside" -STARTLINE T overscan_crop.crop}
addUserKnob {26 ""}
addUserKnob {26 text l "" +STARTLINE T "Chris McCrowe"}
}
Input {
inputs 0
name Input
xpos 0
ypos 2
}
Crop {
box {{0-parent.overscan_px} {0-parent.overscan_px} {"Input.width + parent.overscan_px"} {"Input.height + parent.overscan_px"}}
intersect true
name overscan_crop
selected true
xpos 0
ypos 141
}
Output {
name Output1
xpos 0
ypos 300
}
end_group
Multiply {
channels rgb
value {{parent.brightness}}
name Multiply
note_font "Bitstream Vera Sans"
xpos -892
ypos -399
}
Saturation {
saturation {{parent.saturation}}
name Saturation1
note_font "Bitstream Vera Sans"
xpos -892
ypos -350
}
Grade {
white {{parent.color_rgb} {parent.color_rgb} {parent.color_rgb} {parent.color_rgb}}
black_clamp false
name Grade3
note_font "Bitstream Vera Sans"
xpos -892
ypos -306
disable {{!parent.enableColor}}
}
Remove {
operation keep
channels rgb
name Remove1
note_font "Bitstream Vera Sans"
xpos -892
ypos -261
}
Dot {
name Dot21
note_font "Bitstream Vera Sans"
xpos -864
ypos -198
}
Merge2 {
inputs 2
operation mask
name Merge3
note_font "DejaVu Sans"
xpos -703
ypos -196
disable {{!parent.range_1}}
}
set N18fc47c0 [stack 0]
push $N18ff5960
Dot {
name Dot1
note_font "Bitstream Vera Sans"
xpos -348
ypos -289
}
set N16294730 [stack 0]
Merge2 {
inputs 2
operation multiply
Achannels {rgba.red rgba.green rgba.blue -rgba.alpha}
name Merge1
note_font "Bitstream Vera Sans"
xpos -548
ypos -196
}
push $N16294730
Merge2 {
inputs 2+1
operation plus
Achannels {rgba.red rgba.green rgba.blue -rgba.alpha}
name Merge2
note_font "Bitstream Vera Sans"
xpos -376
ypos -128
}
Group {
name cm_CropOverscan1
tile_color 0xc641c9ff
note_font_color 0xf5f5f5ff
xpos -376
ypos -34
disable {{!parent.boolean_1}}
addUserKnob {20 settings l CropOverscan}
addUserKnob {7 overscan_px l "Overscan (px)" R 0 100}
overscan_px {{parent.double}}
addUserKnob {26 ""}
addUserKnob {41 softness T overscan_crop.softness}
addUserKnob {41 reformat T overscan_crop.reformat}
addUserKnob {41 intersect -STARTLINE T overscan_crop.intersect}
addUserKnob {41 crop l "black outside" -STARTLINE T overscan_crop.crop}
addUserKnob {26 ""}
addUserKnob {26 text l "" +STARTLINE T "Chris McCrowe"}
}
Input {
inputs 0
name Input
xpos 0
ypos 2
}
Crop {
box {{0-parent.overscan_px} {0-parent.overscan_px} {"Input.width + parent.overscan_px"} {"Input.height + parent.overscan_px"}}
intersect true
name overscan_crop
selected true
xpos 0
ypos 141
}
Output {
name Output1
xpos 0
ypos 300
}
end_group
CopyBBox {
inputs 2
name CopyBBox
note_font "Bitstream Vera Sans"
xpos -376
ypos 90
disable {{!parent.boolean}}
}
Output {
name Output1
xpos -376
ypos 378
}
push $N161879c0
push $N18fc47c0
Viewer {
inputs 2
frame 1012
frame_range 1001-1062
center_fstop 0
name Viewer1
note_font "Bitstream Vera Sans"
xpos -1853
ypos 35
}
end_group