ソースを参照

Initial commit.

コミット
8d28dbe1a3
100個のファイルの変更113543行の追加0行の削除
  1. 19
    0
      .gitattributes
  2. 3
    0
      .gitignore
  3. 3
    0
      .idea/.gitignore
  4. 12
    0
      .idea/12.iml
  5. 15
    0
      .idea/inspectionProfiles/Project_Default.xml
  6. 7
    0
      .idea/inspectionProfiles/profiles_settings.xml
  7. 10
    0
      .idea/misc.xml
  8. 8
    0
      .idea/modules.xml
  9. 11
    0
      .idea/vcs.xml
  10. 1
    0
      README.md
  11. 1297
    0
      cryptomatte_utilities.py
  12. 1531
    0
      cryptomatte_utilities_tests.py
  13. バイナリ
      dcraw.exe
  14. 91
    0
      gimmicks/Gimmicks/Alexa_Flare.gimmick
  15. 161
    0
      gimmicks/Gimmicks/DayForNight.gimmick
  16. 72
    0
      gimmicks/Gimmicks/FatterFrameLines.gimmick
  17. 33
    0
      gimmicks/Gimmicks/GradeCompensate.gimmick
  18. 1478
    0
      gimmicks/Gimmicks/KF_GRAIN.gimmick
  19. 71
    0
      gimmicks/Gimmicks/KF_Handles.gimmick
  20. 55
    0
      gimmicks/Gimmicks/MergeDepthChannels.gimmick
  21. 34
    0
      gimmicks/Gimmicks/OnlyColor.gimmick
  22. 42
    0
      gimmicks/Gimmicks/OnlyLuma.gimmick
  23. 335
    0
      gimmicks/Gimmicks/OpticalZDefocus.gimmick
  24. 48
    0
      gimmicks/Gimmicks/Our_RGB.gimmick
  25. 706
    0
      gimmicks/Gimmicks/Our_RangeSelector.gimmick
  26. 120
    0
      gimmicks/Gimmicks/Our_ValueRange.gimmick
  27. 30
    0
      gimmicks/Gimmicks/ProtoMotionBlend.gimmick
  28. 2013
    0
      gimmicks/Gimmicks/VectorExtendEdge.gimmick
  29. 66
    0
      gimmicks/Gimmicks/graincheck_ppo.gimmick
  30. 52
    0
      gimmicks/Gimmicks/ndg_Radial.gimmick
  31. 476
    0
      gimmicks/Gimmicks/ndg_STMapper.gimmick
  32. 15
    0
      gimmicks/Gimmicks/ndg_Shuffle.gimmick
  33. 35
    0
      gimmicks/Gimmicks/ndg_Whitebalance.gimmick
  34. 225
    0
      gimmicks/Gimmicks/pixelFehlerChecker.gimmick
  35. 1515
    0
      gimmicks/Templates/DasGrain.gimmick
  36. 697
    0
      gimmicks/Templates/HandCameraTrackedClips.gimmick
  37. 2565
    0
      gimmicks/Templates/IBK_Black_Edges.gimmick
  38. 84
    0
      gimmicks/Templates/KF_Bokeh.gimmick
  39. 51
    0
      gimmicks/Templates/KF_Thumbnails_first.gimmick
  40. 51
    0
      gimmicks/Templates/KF_Thumbnails_last.gimmick
  41. 51
    0
      gimmicks/Templates/KF_Thumbnails_middle.gimmick
  42. 495
    0
      gimmicks/Templates/SHA_Dummy.gimmick
  43. 77
    0
      gimmicks/Templates/removenoise_prep.gimmick
  44. 298
    0
      gizmos/A_DisparityGenerator.gizmo
  45. 673
    0
      gizmos/Aberration.gizmo
  46. 852
    0
      gizmos/AdvancedGrain.gizmo
  47. 25
    0
      gizmos/AlexaLUT.gizmo
  48. 30
    0
      gizmos/Alexa_NeutralLUT.gizmo
  49. 30
    0
      gizmos/Alexa_primLUT.gizmo
  50. 358
    0
      gizmos/ArriLensDistortion.gizmo
  51. 105
    0
      gizmos/BlendCamera.gizmo
  52. 104
    0
      gizmos/Bloom.gizmo
  53. 83
    0
      gizmos/ChromaticAberration.gizmo
  54. 314
    0
      gizmos/Cryptomatte.gizmo
  55. 228
    0
      gizmos/DespillMadness.gizmo
  56. 39
    0
      gizmos/DummyCam.gizmo
  57. 51
    0
      gizmos/EdgeExtend2.gizmo
  58. 1144
    0
      gizmos/Encryptomatte.gizmo
  59. 709
    0
      gizmos/EnvConvolve.gizmo
  60. 27
    0
      gizmos/ExpressionWaveGenerator.gizmo
  61. 2255
    0
      gizmos/Flare_Rig.gizmo
  62. 36
    0
      gizmos/Gamma_2.2.gizmo
  63. 949
    0
      gizmos/Glint_hit.gizmo
  64. 361
    0
      gizmos/Grain_ARRI_Alexa.gizmo
  65. 1481
    0
      gizmos/HeatWave.gizmo
  66. 12358
    0
      gizmos/K_BokehBuilder.gizmo
  67. 1638
    0
      gizmos/K_Chromatic.gizmo
  68. 53521
    0
      gizmos/K_LensEngine.gizmo
  69. 240
    0
      gizmos/L_AlphaClean_v03.gizmo
  70. 281
    0
      gizmos/LensKernelFFT_v01.gizmo
  71. 448
    0
      gizmos/LensSim.gizmo
  72. 34
    0
      gizmos/NeutralGrade.gizmo
  73. 103
    0
      gizmos/Position_to_Mask.gizmo
  74. 46
    0
      gizmos/RealChromaticAberration.gizmo
  75. 818
    0
      gizmos/RealHeatDist.gizmo
  76. 238
    0
      gizmos/TX_Bloom.gizmo
  77. 1883
    0
      gizmos/TX_Fog.gizmo
  78. 360
    0
      gizmos/Wipe.gizmo
  79. 291
    0
      gizmos/WipeIt.gizmo
  80. 242
    0
      gizmos/blackpromist.gizmo
  81. 576
    0
      gizmos/bm_CameraShake.gizmo
  82. 792
    0
      gizmos/bm_Lightwrap.gizmo
  83. 697
    0
      gizmos/bm_OpticalGlow.gizmo
  84. 162
    0
      gizmos/dg_Vignette.gizmo
  85. 969
    0
      gizmos/expoglow.gizmo
  86. 558
    0
      gizmos/iblur_hub.gizmo
  87. 5393
    0
      gizmos/mmColorTarget.gizmo
  88. バイナリ
      gizmos/mmColorTarget.png
  89. 4642
    0
      gizmos/mmColorTarget_colorspaces.json
  90. 31
    0
      gizmos/ndo_aspectCrop.gizmo
  91. 43
    0
      gizmos/ndo_cacheLines.gizmo
  92. 96
    0
      gizmos/ourAnaglyph.gizmo
  93. 76
    0
      gizmos/ourInterlacedStereo.gizmo
  94. 91
    0
      gizmos/ourOptimizedAnaglyph.gizmo
  95. 423
    0
      gizmos/sb_glow.gizmo
  96. 469
    0
      gizmos/sb_haze.gizmo
  97. 690
    0
      gizmos/sb_lensReflections.gizmo
  98. 30
    0
      gizmos/sb_lensReflections_callbacks.py
  99. 485
    0
      gizmos/sb_lightWrap.gizmo
  100. 0
    0
      gizmos/vignette_v2.gizmo

+ 19
- 0
.gitattributes ファイルの表示

@@ -0,0 +1,19 @@
1
+
2
+# Raw Content file types.
3
+*.abc filter=lfs diff=lfs merge=lfs -text
4
+*.fbx filter=lfs diff=lfs merge=lfs -text
5
+*.3ds filter=lfs diff=lfs merge=lfs -text
6
+*.psd filter=lfs diff=lfs merge=lfs -text
7
+*.png filter=lfs diff=lfs merge=lfs -text
8
+*.mp3 filter=lfs diff=lfs merge=lfs -text
9
+*.wav filter=lfs diff=lfs merge=lfs -text
10
+*.xcf filter=lfs diff=lfs merge=lfs -text
11
+*.jpg filter=lfs diff=lfs merge=lfs -text
12
+*.obj filter=lfs diff=lfs merge=lfs -text
13
+*.dxf filter=lfs diff=lfs merge=lfs -text
14
+*.dll filter=lfs diff=lfs merge=lfs -text
15
+*.tif filter=lfs diff=lfs merge=lfs -text
16
+*.exe filter=lfs diff=lfs merge=lfs -text
17
+*.ofx filter=lfs diff=lfs merge=lfs -text
18
+*.pdf filter=lfs diff=lfs merge=lfs -text
19
+*.nfp filter=lfs diff=lfs merge=lfs -text

+ 3
- 0
.gitignore ファイルの表示

@@ -0,0 +1,3 @@
1
+*.rar
2
+*.pyc
3
+*.bak

+ 3
- 0
.idea/.gitignore ファイルの表示

@@ -0,0 +1,3 @@
1
+# Default ignored files
2
+/shelf/
3
+/workspace.xml

+ 12
- 0
.idea/12.iml ファイルの表示

@@ -0,0 +1,12 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<module type="PYTHON_MODULE" version="4">
3
+  <component name="NewModuleRootManager">
4
+    <content url="file://$MODULE_DIR$" />
5
+    <orderEntry type="jdk" jdkName="Python 2.7" jdkType="Python SDK" />
6
+    <orderEntry type="sourceFolder" forTests="false" />
7
+  </component>
8
+  <component name="PyDocumentationSettings">
9
+    <option name="format" value="PLAIN" />
10
+    <option name="myDocStringFormat" value="Plain" />
11
+  </component>
12
+</module>

+ 15
- 0
.idea/inspectionProfiles/Project_Default.xml ファイルの表示

@@ -0,0 +1,15 @@
1
+<component name="InspectionProjectProfileManager">
2
+  <profile version="1.0">
3
+    <option name="myName" value="Project Default" />
4
+    <inspection_tool class="PyCompatibilityInspection" enabled="true" level="WARNING" enabled_by_default="true">
5
+      <option name="ourVersions">
6
+        <value>
7
+          <list size="2">
8
+            <item index="0" class="java.lang.String" itemvalue="2.7" />
9
+            <item index="1" class="java.lang.String" itemvalue="3.7" />
10
+          </list>
11
+        </value>
12
+      </option>
13
+    </inspection_tool>
14
+  </profile>
15
+</component>

+ 7
- 0
.idea/inspectionProfiles/profiles_settings.xml ファイルの表示

@@ -0,0 +1,7 @@
1
+<component name="InspectionProjectProfileManager">
2
+  <settings>
3
+    <option name="PROJECT_PROFILE" value="Default" />
4
+    <option name="USE_PROJECT_PROFILE" value="false" />
5
+    <version value="1.0" />
6
+  </settings>
7
+</component>

+ 10
- 0
.idea/misc.xml ファイルの表示

@@ -0,0 +1,10 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ProjectRootManager" version="2" project-jdk-name="Python 2.7" project-jdk-type="Python SDK" />
4
+  <component name="PyPackaging">
5
+    <option name="earlyReleasesAsUpgrades" value="true" />
6
+  </component>
7
+  <component name="PythonCompatibilityInspectionAdvertiser">
8
+    <option name="version" value="3" />
9
+  </component>
10
+</project>

+ 8
- 0
.idea/modules.xml ファイルの表示

@@ -0,0 +1,8 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ProjectModuleManager">
4
+    <modules>
5
+      <module fileurl="file://$PROJECT_DIR$/.idea/12.iml" filepath="$PROJECT_DIR$/.idea/12.iml" />
6
+    </modules>
7
+  </component>
8
+</project>

+ 11
- 0
.idea/vcs.xml ファイルの表示

@@ -0,0 +1,11 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="GitSharedSettings">
4
+    <option name="FORCE_PUSH_PROHIBITED_PATTERNS">
5
+      <list />
6
+    </option>
7
+  </component>
8
+  <component name="VcsDirectoryMappings">
9
+    <mapping directory="$PROJECT_DIR$" vcs="Git" />
10
+  </component>
11
+</project>

+ 1
- 0
README.md ファイルの表示

@@ -0,0 +1 @@
1
+Nuke Workgroup 12.2

+ 1297
- 0
cryptomatte_utilities.py
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 1531
- 0
cryptomatte_utilities_tests.py
ファイル差分が大きすぎるため省略します
ファイルの表示


バイナリ
dcraw.exe (Git LFSで保管されています) ファイルの表示

2
+oid sha256:7765e0cf377ad846259ef41c646c64938498784981eac8dee4e366caa3596f79
3
+size 382464

+ 91
- 0
gimmicks/Gimmicks/Alexa_Flare.gimmick ファイルの表示

@@ -0,0 +1,91 @@
1
+set cut_paste_input [stack 0]
2
+version 7.0 v10
3
+push $cut_paste_input
4
+Group {
5
+ name Alexa_Flare
6
+ selected true
7
+ xpos -290
8
+ ypos -64
9
+ addUserKnob {20 User}
10
+ addUserKnob {4 flare l "alexa flare" M {Add Remove}}
11
+}
12
+ Input {
13
+  inputs 0
14
+  name Input1
15
+  xpos -547
16
+  ypos -157
17
+ }
18
+set N19c491a0 [stack 0]
19
+ Group {
20
+  name Alexa_FlareSubstract
21
+  xpos -481
22
+  ypos -98
23
+ }
24
+  Input {
25
+   inputs 0
26
+   name Input1
27
+   xpos 340
28
+   ypos -248
29
+  }
30
+  Expression {
31
+   expr0 r-8/65535
32
+   expr1 g-8/65535
33
+   expr2 b-8/65535
34
+   name Alexa_FlareSubstract
35
+   xpos 340
36
+   ypos -208
37
+  }
38
+  Output {
39
+   name Output1
40
+   xpos 340
41
+   ypos -108
42
+  }
43
+ end_group
44
+push $N19c491a0
45
+ Group {
46
+  name Alexa_FlareAdd
47
+  xpos -595
48
+  ypos -97
49
+ }
50
+  Input {
51
+   inputs 0
52
+   name Input1
53
+   xpos 80
54
+   ypos -293
55
+  }
56
+  Expression {
57
+   expr0 r+8/65535
58
+   expr1 g+8/65535
59
+   expr2 b+8/65535
60
+   name Expression
61
+   selected true
62
+   xpos 80
63
+   ypos -233
64
+  }
65
+  Output {
66
+   name Output1
67
+   xpos 80
68
+   ypos -153
69
+  }
70
+ end_group
71
+ Switch {
72
+  inputs 2
73
+  which {{flare==0?0:1}}
74
+  name Switch1
75
+  xpos -541
76
+  ypos -43
77
+ }
78
+ Output {
79
+  name Output1
80
+  xpos -541
81
+  ypos 57
82
+ }
83
+ Viewer {
84
+  input_process false
85
+  name Viewer1
86
+  xpos -541
87
+  ypos 81
88
+ }
89
+end_group
90
+# Creation Time=Fri Mar 07 18:15:09 2014
91
+# Creator=nils

+ 161
- 0
gimmicks/Gimmicks/DayForNight.gimmick ファイルの表示

@@ -0,0 +1,161 @@
1
+set cut_paste_input [stack 0]
2
+version 7.0 v10
3
+push $cut_paste_input
4
+Group {
5
+ name DayForNight
6
+ selected true
7
+ xpos 162
8
+ ypos -210
9
+ addUserKnob {20 User}
10
+ addUserKnob {7 stops l daylight}
11
+ stops 1
12
+ addUserKnob {7 red l "red exponent"}
13
+ red 3
14
+ addUserKnob {7 green l "green exponent"}
15
+ green 2
16
+ addUserKnob {7 blue l "blue exponent"}
17
+ blue 1
18
+ addUserKnob {7 desaturate}
19
+ desaturate 0.25
20
+ addUserKnob {6 preserveHighlights l "preserve highlights" +STARTLINE}
21
+ preserveHighlights true
22
+ addUserKnob {7 lights l highlights R 1 32}
23
+ lights 1
24
+ addUserKnob {7 exposure R -16 16}
25
+}
26
+ Input {
27
+  inputs 0
28
+  name Input1
29
+  xpos 290
30
+  ypos -464
31
+ }
32
+set N192a4530 [stack 0]
33
+ Multiply {
34
+  value {{"1/(pow(lights, 2))" i}}
35
+  name Multiply5
36
+  xpos 61
37
+  ypos -357
38
+ }
39
+push $N192a4530
40
+ Multiply {
41
+  value {{1/lights i}}
42
+  name Multiply4
43
+  xpos 186
44
+  ypos -358
45
+ }
46
+set N192a4c10 [stack 0]
47
+ Keyer {
48
+  operation "luminance key"
49
+  name Keyer1
50
+  xpos 108
51
+  ypos -275
52
+ }
53
+push 0
54
+ Switch {
55
+  inputs 2
56
+  which {{parent.preserveHighlights i}}
57
+  name Switch1
58
+  xpos 108
59
+  ypos -187
60
+ }
61
+push $N192a4530
62
+ Multiply {
63
+  value {{stops i}}
64
+  name Multiply1
65
+  xpos 290
66
+  ypos -360
67
+ }
68
+set N192a52f0 [stack 0]
69
+ Expression {
70
+  temp_name0 value
71
+  temp_expr0 stops
72
+  expr0 r*pow(value,(parent.red+parent.green+parent.blue)/3)
73
+  expr1 g*pow(value,(parent.red+parent.green+parent.blue)/3)
74
+  expr2 b*pow(value,(parent.red+parent.green+parent.blue)/3)
75
+  name Expression1
76
+  xpos 277
77
+  ypos -268
78
+ }
79
+push $N192a52f0
80
+ Multiply {
81
+  value {{(1/stops)/(1/desaturate) i}}
82
+  name Multiply3
83
+  xpos 487
84
+  ypos -156
85
+  disable true
86
+ }
87
+ Expression {
88
+  expr3 (g+b)/2
89
+  name Expression3
90
+  xpos 487
91
+  ypos -120
92
+ }
93
+ Invert {
94
+  name Invert1
95
+  xpos 487
96
+  ypos -96
97
+ }
98
+ Multiply {
99
+  value {{desaturate i}}
100
+  name Multiply2
101
+  xpos 487
102
+  ypos -60
103
+ }
104
+push $N192a52f0
105
+ Expression {
106
+  temp_name0 value
107
+  temp_expr0 stops
108
+  expr0 r*pow(value,parent.red)
109
+  expr1 g*pow(value,parent.green)
110
+  expr2 b*pow(value,parent.blue)
111
+  name Expression2
112
+  xpos 362
113
+  ypos -266
114
+ }
115
+set N1d48c530 [stack 0]
116
+ Expression {
117
+  expr0 (r*stops+g+b)/3
118
+  expr1 (r*stops+g+b)/3
119
+  expr2 (r*stops+g+b)/3
120
+  expr3 (r*stops+g+b)/3
121
+  name Expression4
122
+  xpos 372
123
+  ypos -84
124
+ }
125
+push $N1d48c530
126
+ Keymix {
127
+  inputs 3
128
+  name Keymix1
129
+  xpos 293
130
+  ypos 22
131
+ }
132
+ Keymix {
133
+  inputs 3
134
+  name Keymix2
135
+  xpos 207
136
+  ypos 86
137
+ }
138
+ Multiply {
139
+  value {{pow(2,parent.exposure)}}
140
+  name Multiply6
141
+  xpos 207
142
+  ypos 137
143
+ }
144
+set N1d48d2f0 [stack 0]
145
+ Output {
146
+  name Output1
147
+  xpos 207
148
+  ypos 210
149
+ }
150
+push $N192a4c10
151
+push $N1d48d2f0
152
+ Viewer {
153
+  inputs 2
154
+  input_process false
155
+  name Viewer1
156
+  xpos 487
157
+  ypos 170
158
+ }
159
+end_group
160
+# Creation Time=Fri Mar 07 12:42:52 2014
161
+# Creator=nils

+ 72
- 0
gimmicks/Gimmicks/FatterFrameLines.gimmick ファイルの表示

@@ -0,0 +1,72 @@
1
+set cut_paste_input [stack 0]
2
+version 10.5 v3
3
+push $cut_paste_input
4
+Group {
5
+ name FatterFrameLines
6
+ selected true
7
+ xpos -398
8
+ ypos 26
9
+ addUserKnob {20 User}
10
+ addUserKnob {41 saturation T Saturation1.saturation}
11
+}
12
+ Input {
13
+  inputs 0
14
+  name Input1
15
+  xpos 489
16
+  ypos 62
17
+ }
18
+ Dot {
19
+  name Dot1
20
+  xpos 523
21
+  ypos 102
22
+ }
23
+set N3c89c800 [stack 0]
24
+ Saturation {
25
+  name Saturation1
26
+  selected true
27
+  xpos 588
28
+  ypos 139
29
+ }
30
+set N3c89c400 [stack 0]
31
+ Transform {
32
+  translate {0 1}
33
+  center {1600 900}
34
+  name Transform2
35
+  xpos 631
36
+  ypos 181
37
+ }
38
+push 0
39
+push $N3c89c400
40
+ Transform {
41
+  translate {0 -1}
42
+  center {1600 900}
43
+  name Transform1
44
+  xpos 545
45
+  ypos 181
46
+ }
47
+push $N3c89c800
48
+ Merge2 {
49
+  inputs 3+1
50
+  name Merge1
51
+  xpos 489
52
+  ypos 331
53
+ }
54
+ Dot {
55
+  name Dot2
56
+  xpos 523
57
+  ypos 375
58
+ }
59
+ Output {
60
+  name Output1
61
+  xpos 489
62
+  ypos 409
63
+ }
64
+ Viewer {
65
+  frame_range 1-100
66
+  name Viewer1
67
+  xpos 489
68
+  ypos 435
69
+ }
70
+end_group
71
+# Creation Time=Wed Apr 26 11:19:48 2017
72
+# Creator=ne

+ 33
- 0
gimmicks/Gimmicks/GradeCompensate.gimmick ファイルの表示

@@ -0,0 +1,33 @@
1
+set cut_paste_input [stack 0]
2
+version 7.0 v10
3
+push $cut_paste_input
4
+Group {
5
+ name GradeCompensate
6
+ selected true
7
+ xpos 76
8
+ ypos -96
9
+ addUserKnob {20 User}
10
+ addUserKnob {41 channels T Grade1.channels}
11
+ addUserKnob {41 multiply T Grade1.multiply}
12
+ addUserKnob {41 unpremult l "(un)premult by" T Grade1.unpremult}
13
+}
14
+ Input {
15
+  inputs 0
16
+  name Input1
17
+  xpos 356
18
+  ypos -73
19
+ }
20
+ Grade {
21
+  white {{1/((this.multiply.r+this.multiply.g+this.multiply.b)/3)}}
22
+  name Grade1
23
+  xpos 356
24
+  ypos -33
25
+ }
26
+ Output {
27
+  name Output1
28
+  xpos 356
29
+  ypos 67
30
+ }
31
+end_group
32
+# Creation Time=Fri Mar 07 18:16:45 2014
33
+# Creator=nils

+ 1478
- 0
gimmicks/Gimmicks/KF_GRAIN.gimmick
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 71
- 0
gimmicks/Gimmicks/KF_Handles.gimmick ファイルの表示

@@ -0,0 +1,71 @@
1
+set cut_paste_input [stack 0]
2
+version 10.5 v3
3
+push $cut_paste_input
4
+Group {
5
+name KF_Handles1
6
+selected true
7
+xpos -198
8
+ypos 523
9
+addUserKnob {20 User}
10
+addUserKnob {3 Handles}
11
+Handles 24
12
+}
13
+Input {
14
+inputs 0
15
+name Input1
16
+xpos -476
17
+ypos 213
18
+}
19
+set N3b3f800 [stack 0]
20
+push $N3b3f800
21
+Text2 {
22
+font_size_toolbar 100
23
+font_width_toolbar 100
24
+font_height_toolbar 100
25
+cliptype none
26
+message Handles
27
+old_message {{72 97 110 100 108 101 115}
28
+  }
29
+box {{width/2} 100 {width/2} 10}
30
+xjustify center
31
+yjustify center
32
+transforms {{0 2}
33
+  }
34
+font_size_values {{0 100 1 100 2 100 3 100 4 100 5 100 6 100 0 25 1 25 2 25 3 25 4 25 5 25 6 25}
35
+  }
36
+scale {1 1}
37
+center {1024 778}
38
+cursor_initialised true
39
+autofit_bbox false
40
+initial_cursor_position {{756 102.5}
41
+  }
42
+group_animations {{0} imported: 0 selected: 0 items: "root transform/"}
43
+animation_layers {{1 11 1024 778 0 0 1 1 0 0 0 0}
44
+  }
45
+name Text1
46
+xpos -405
47
+ypos 271
48
+}
49
+set N9d5fc800 [stack 0]
50
+Switch {
51
+inputs 2
52
+which {{frame>root.first_frame+(parent.Handles-1)?frame<root.last_frame-(parent.Handles-1)?1:0:0}}
53
+name Switch1
54
+xpos -476
55
+ypos 325
56
+}
57
+Output {
58
+name Output1
59
+xpos -476
60
+ypos 377
61
+}
62
+push $N9d5fc800
63
+Viewer {
64
+frame_range 1001-1101
65
+name Viewer1
66
+xpos -291
67
+ypos 384
68
+}
69
+end_group
70
+# Creation Time=Thu Jun 07 17:42:55 2018
71
+# Creator=ne

+ 55
- 0
gimmicks/Gimmicks/MergeDepthChannels.gimmick ファイルの表示

@@ -0,0 +1,55 @@
1
+set cut_paste_input [stack 0]
2
+version 10.5 v3
3
+push 0
4
+push $cut_paste_input
5
+Group {
6
+ inputs 2
7
+ name MergeDepthChannels
8
+ selected true
9
+ xpos -67
10
+ ypos 96
11
+ addUserKnob {20 User}
12
+ addUserKnob {7 low R 0 0}
13
+ addUserKnob {7 offset R 100 1000}
14
+ offset 1000
15
+}
16
+ Input {
17
+  inputs 0
18
+  name Input2
19
+  xpos -21
20
+  ypos 66
21
+  number 1
22
+ }
23
+ Input {
24
+  inputs 0
25
+  name Input1
26
+  xpos -21
27
+  ypos 66
28
+ }
29
+ MergeExpression {
30
+  inputs 2
31
+  temp_name2 freshA
32
+  temp_expr2 "A.depth.Z<=low ? offset : A.depth.Z"
33
+  temp_name3 freshB
34
+  temp_expr3 "B.depth.Z<=low ? offset : B.depth.Z"
35
+  expr0 "freshA < freshB ? freshA : freshB"
36
+  channel3 depth
37
+  expr3 "freshA < freshB ? freshA : freshB"
38
+  name MergeDepth
39
+  xpos -21
40
+  ypos 106
41
+ }
42
+ Output {
43
+  name Output1
44
+  xpos -21
45
+  ypos 205
46
+ }
47
+ Viewer {
48
+  frame_range 1-100
49
+  name Viewer1
50
+  xpos -21
51
+  ypos 231
52
+ }
53
+end_group
54
+# Creation Time=Mon Jan 21 18:30:54 2019
55
+# Creator=ne

+ 34
- 0
gimmicks/Gimmicks/OnlyColor.gimmick ファイルの表示

@@ -0,0 +1,34 @@
1
+set cut_paste_input [stack 0]
2
+version 10.5 v3
3
+push $cut_paste_input
4
+Group {
5
+ name OnlyColor
6
+ selected true
7
+ xpos -93
8
+ ypos 20
9
+ addUserKnob {20 User}
10
+ addUserKnob {26 clr l "rgb color contribution only"}
11
+}
12
+ Input {
13
+  inputs 0
14
+  name Input1
15
+  xpos 25
16
+  ypos -40
17
+ }
18
+ Expression {
19
+  expr0 (r/(r+g+b)/3)
20
+  expr1 (g/(r+g+b)/3)
21
+  expr2 (b/(r+g+b)/3)
22
+  name ColorOnly
23
+  selected true
24
+  xpos 25
25
+  ypos 25
26
+ }
27
+ Output {
28
+  name Output1
29
+  xpos 25
30
+  ypos 100
31
+ }
32
+end_group
33
+# Creation Time=Sat Jul 01 19:04:49 2017
34
+# Creator=ne

+ 42
- 0
gimmicks/Gimmicks/OnlyLuma.gimmick ファイルの表示

@@ -0,0 +1,42 @@
1
+set cut_paste_input [stack 0]
2
+version 10.5 v3
3
+push $cut_paste_input
4
+Group {
5
+ name OnlyLuma
6
+ selected true
7
+ xpos -777
8
+ ypos 63
9
+ addUserKnob {20 User}
10
+ addUserKnob {26 luma l "rgb luma contribution only"}
11
+}
12
+ Input {
13
+  inputs 0
14
+  name Input1
15
+  xpos 53
16
+  ypos -93
17
+ }
18
+set N90153800 [stack 0]
19
+push $N90153800
20
+ Expression {
21
+  expr0 (r/(r+g+b)/3)
22
+  expr1 (g/(r+g+b)/3)
23
+  expr2 (b/(r+g+b)/3)
24
+  name ColorContribution
25
+  xpos 53
26
+  ypos -53
27
+ }
28
+ Merge2 {
29
+  inputs 2
30
+  operation divide
31
+  name Merge1
32
+  xpos 110
33
+  ypos 50
34
+ }
35
+ Output {
36
+  name Output1
37
+  xpos 110
38
+  ypos 150
39
+ }
40
+end_group
41
+# Creation Time=Mon Jul 03 20:26:30 2017
42
+# Creator=ne

+ 335
- 0
gimmicks/Gimmicks/OpticalZDefocus.gimmick ファイルの表示

@@ -0,0 +1,335 @@
1
+set cut_paste_input [stack 0]
2
+version 10.5 v3
3
+push $cut_paste_input
4
+Group {
5
+ name OpticalZDefocus1
6
+ help "<b>OpticalZDefocus</b> is a physically accurate ZDefocus, which controls circle of confusion (coc) size based on lens geometry using the depth of field equation. \n\nSet your lens and film-back characteristics, your focus distance, and adjust the size of your bokeh with the aperture size, just like a real lens."
7
+ tile_color 0xcc804eef
8
+ selected true
9
+ xpos 1219
10
+ ypos 73
11
+ addUserKnob {20 OpticalZDefocus}
12
+ addUserKnob {41 channels T _ZDEFOCUS_.channels}
13
+ addUserKnob {41 useGPUIfAvailable l "Use GPU if available" T _ZDEFOCUS_.useGPUIfAvailable}
14
+ addUserKnob {26 ""}
15
+ addUserKnob {41 depth_channel l "depth channel" t "Choose the channel that contains your Z-Depth" T CHANNEL_CHOOSER_DEPTH.Zchan}
16
+ addUserKnob {26 spacer l " &nbsp;  &nbsp;  " -STARTLINE T " "}
17
+ addUserKnob {6 unpremult_z l " &nbsp;  &nbsp; <b>unpremult</b> by" t "Unpremultiply the depth layer by the selected channel" -STARTLINE}
18
+ addUserKnob {41 depth_alpha l "" -STARTLINE T CHANNEL_CHOOSER_ALPHA.Zchan}
19
+ addUserKnob {22 set_z l "Sample Z" t "Sets the focal distance to the Z channel value at the current focal point on the current frame." T "from __future__ import with_statement\n\nn = nuke.thisNode()\ns = n\['s']\nz_coord = n\['sample_z']\n\nwith n:\n    ds = nuke.toNode('DepthSampler')\n    zsample = ds.sample('red', z_coord.getValue(0), z_coord.getValue(1))\n\nif s.isAnimated():\n    s.setValueAt(zsample, nuke.frame())\nelse:\n    s.setValue(zsample)" +STARTLINE}
20
+ addUserKnob {12 sample_z l "&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sample position: " t "Allows you to sample the Z channel at a specific 2d position." -STARTLINE}
21
+ sample_z {3418 1254}
22
+ addUserKnob {4 depth_unit l "depth unit" t "Set the unit of your zdepth." M {mm cm dm m inch ft}}
23
+ depth_unit m
24
+ addUserKnob {26 spacer2 l "" t " " -STARTLINE T "  "}
25
+ addUserKnob {6 show_coc l "show coc" t "Output the calculated direct circle of confusion size map that is used to drive the ZDefocus in direct mode.\n\nUseful for troubleshooting." -STARTLINE}
26
+ addUserKnob {6 invert_depth l depth=1/z t "Invert the depth if your input is Nuke ScanlineRender style 1/Z" -STARTLINE}
27
+ addUserKnob {26 divider l " " T "  "}
28
+ addUserKnob {26 ""}
29
+ addUserKnob {26 dof_control_label l " " T "<font color=#ddd><b>Depth of Field Control"}
30
+ addUserKnob {41 constant_defocus l "constant defocus" t "If enabled, depth-varying defocus is disabled and defocus amount is controlled directly by the max defocus slider." T _ghost_whisper_.constant_defocus}
31
+ addUserKnob {7 s l "focus distance" t "Set the focus distance" R 10 1000}
32
+ s 15
33
+ addUserKnob {7 N l f-stop t "Controls the aperture of your lens.\n\nBigger number = greater depth of field. \n\nSmaller numbers = shallower depth of field." R 0.8 44}
34
+ N 4
35
+ addUserKnob {41 max_size l "max defocus" t "Set the max defocus size allowed" T _ZDEFOCUS_.max_size}
36
+ addUserKnob {26 ""}
37
+ addUserKnob {26 lens_geometry_label l " " T "<font color=#ddd><b>Lens Geometry"}
38
+ addUserKnob {22 get_selected_camera l "Get Selected Camera" t "Set the parameters using the selected camera." T "from __future__ import with_statement\n\ndef get_camera():\n    ozdef = nuke.thisNode()\n    with nuke.root():\n        root_par = nuke.root().format().pixelAspect()\n        cam = nuke.selectedNodes()\n        if len(cam) != 1:\n            nuke.message('Please select a single camera node.')\n            return\n        elif len(cam) == 0:\n            nuke.message('Please select a single camera node.')\n            return\n        else:\n            cam = cam\[0]\n        if 'Camera2' not in cam.Class():\n            nuke.message('Please select a camera node.')\n            return\n        ozdef\['f'].setValue(cam\['focal'].getValue())\n        ozdef\['N'].setValue(cam\['fstop'].getValue())\n        # Assuming anamorphic shows have physical haperture*2\n        ozdef\['haperture'].setValue(cam\['haperture'].getValue()/root_par)\n\nif __name__ == \"__main__\":\n    get_camera()" +STARTLINE}
39
+ addUserKnob {41 use_camera_input l "use camera input" -STARTLINE T _ghost_whisper_.use_camera_input}
40
+ addUserKnob {7 f l "focal length" t "Set the focal length of the camera" R 0 500}
41
+ addUserKnob {7 haperture t "Horizontal aperture of the film-back / sensor" R 0 50}
42
+ addUserKnob {26 ""}
43
+ addUserKnob {7 min_zdepth l "min zdepth" t "If ZDepth = 0, ZDepth will be set to the specified value.\n\nThe ZDefocus node can be very slow to calculate if you have zero values in your zdepth, for example if you have areas that have transparent alpha. \n\nSet min zdepth to a value slightly smaller than the nearest object in your scene to speed up processing time." R 0 20}
44
+ min_zdepth 1
45
+ addUserKnob {41 autoLayerSpacing l "automatic layer spacing" T _ZDEFOCUS_.autoLayerSpacing}
46
+ addUserKnob {41 layers l "depth layers" T _ZDEFOCUS_.layers}
47
+ addUserKnob {41 layerCurve l "layer curve" T _ZDEFOCUS_.layerCurve}
48
+ addUserKnob {26 ""}
49
+ addUserKnob {20 Filter}
50
+ addUserKnob {41 filter_type_1 l "filter type" T _ZDEFOCUS_.filter_type}
51
+ addUserKnob {7 aspect_ratio R 0 2}
52
+ aspect_ratio 1
53
+ addUserKnob {7 filter_shape}
54
+ filter_shape 1
55
+ addUserKnob {3 blades}
56
+ blades 9
57
+ addUserKnob {7 roundness}
58
+ roundness 0.2
59
+}
60
+ ZBlur {
61
+  inputs 0
62
+  channels rgba
63
+  shape 1
64
+  name CHANNEL_CHOOSER_DEPTH
65
+  xpos -442
66
+  ypos 230
67
+  disable true
68
+ }
69
+ ZBlur {
70
+  channels rgba
71
+  Zchan rgba.alpha
72
+  shape 1
73
+  name CHANNEL_CHOOSER_ALPHA
74
+  xpos -442
75
+  ypos 270
76
+  disable true
77
+ }
78
+ Input {
79
+  inputs 0
80
+  name Input
81
+  label "\[value number]"
82
+  xpos -308
83
+  ypos -16
84
+ }
85
+ Dot {
86
+  name _ghost_whisper_
87
+  knobChanged "\n\n\nthisknob = nuke.thisKnob()\nnode = nuke.thisNode()\nnuke.root().begin()\nparent_node = nuke.toNode(node.fullName().split('.')\[0])\nparent_node.begin()\n\ndef enable_knobs(enabled=True, caminput=False):\n    if caminput:\n        knobs = \['get_selected_camera', 'f', 'haperture']\n    else:\n        knobs = \['min_zdepth', 'get_selected_camera', 'f', 's', 'N', 'haperture']\n    for knob in knobs:\n        parent_node\[knob].setEnabled(enabled)\n\nif thisknob.name() == 'constant_defocus':\n    is_const = node\['constant_defocus'].getValue()\n    if is_const:\n        enable_knobs(False)\n    else:\n        enable_knobs()\n\nif thisknob.name() == 'use_camera_input':\n    if thisknob.getValue():\n        enable_knobs(False, True)\n        cam_input = nuke.nodes.Input(name='InputCamera', xpos=228, ypos=-16)\n        parent_node\['f'].setExpression('\[topnode input2].focal')\n        parent_node\['haperture'].setExpression('\[topnode input2].haperture')\n    if not thisknob.getValue():\n        if not parent_node\['constant_defocus'].getValue():\n            enable_knobs(True, True)\n        parent_node.setInput(2, None)\n        nuke.delete(nuke.toNode('InputCamera'))\n        parent_node\['f'].clearAnimated()\n        parent_node\['haperture'].clearAnimated()\n\n\n"
88
+  tile_color 0x129000ff
89
+  note_font_size 42
90
+  note_font_color 0x7f7f7f01
91
+  xpos -274
92
+  ypos 114
93
+  addUserKnob {20 User}
94
+  addUserKnob {6 constant_defocus t "Disables depth-varying defocus. \nBokeh size is directly controlled by max defocus." +STARTLINE}
95
+  addUserKnob {6 use_camera_input l "use camera input" t "Creates a camera input pipe instead so that no user action is required." +STARTLINE}
96
+ }
97
+set N2ff66400 [stack 0]
98
+ Dot {
99
+  name Dot7
100
+  note_font_size 42
101
+  note_font_color 0x7f7f7f01
102
+  xpos -542
103
+  ypos 114
104
+ }
105
+ AddChannels {
106
+  channels depth
107
+  channels2 rgba
108
+  name AddChannels1
109
+  xpos -576
110
+  ypos 144
111
+ }
112
+set N713efc00 [stack 0]
113
+push $N713efc00
114
+ Copy {
115
+  inputs 2
116
+  from0 {{{CHANNEL_CHOOSER_DEPTH.Zchan}}}
117
+  to0 rgba.red
118
+  from1 {{{CHANNEL_CHOOSER_ALPHA.Zchan}}}
119
+  to1 rgba.alpha
120
+  bbox B
121
+  name _CHOOSE_CHANNELS_
122
+  xpos -576
123
+  ypos 218
124
+  disable {{hasError}}
125
+ }
126
+ Unpremult {
127
+  name _UNPREMULT_Z_
128
+  xpos -576
129
+  ypos 310
130
+  disable {{!parent.unpremult_z}}
131
+ }
132
+ Expression {
133
+  temp_name3 max_dist
134
+  temp_expr3 100000
135
+  expr0 "r == 0 ? max_dist : 1/r"
136
+  channel1 none
137
+  channel2 none
138
+  name DepthInvert
139
+  xpos -576
140
+  ypos 350
141
+  disable {{!parent.invert_depth}}
142
+ }
143
+set N713ef000 [stack 0]
144
+ Multiply {
145
+  channels rgb
146
+  value {{"parent.depth_unit == 1 ? 10 : parent.depth_unit == 2 ? 100 : parent.depth_unit == 3 ? 1000 : parent.depth_unit == 4 ? 25.4 : parent.depth_unit == 5 ? 304.8 : 1"}}
147
+  name _UNIT_MULTIPLIER_
148
+  xpos -576
149
+  ypos 390
150
+  addUserKnob {20 User}
151
+  addUserKnob {7 depth_unit_divider R 0 500}
152
+  depth_unit_divider {{"parent.depth_unit == 1 ? 10 : parent.depth_unit == 2 ? 100 : parent.depth_unit == 3 ? 1000 : parent.depth_unit == 4 ? 25.4 : parent.depth_unit == 5 ? 304.8 : 1"}}
153
+ }
154
+ Expression {
155
+  temp_name0 zdepth
156
+  temp_expr0 "r < parent.min_zdepth* _UNIT_MULTIPLIER_.value ? parent.min_zdepth* _UNIT_MULTIPLIER_.value : r"
157
+  temp_name1 focus_dist
158
+  temp_expr1 "s * _UNIT_MULTIPLIER_.value"
159
+  temp_name2 coc
160
+  temp_expr2 "(fabs(focus_dist - zdepth) * pow(f,2) / (N * zdepth * (focus_dist - f)))"
161
+  temp_name3 coc_px
162
+  temp_expr3 "fabs(coc / haperture * input.width / 2)"
163
+  channel0 rgba
164
+  expr0 "parent.constant_defocus ? parent.max_size : coc_px"
165
+  channel1 none
166
+  name Generate_Direct_Z
167
+  xpos -576
168
+  ypos 430
169
+  addUserKnob {20 Optical l "Optical Characteristics"}
170
+  addUserKnob {7 f l "focal length" R 0 500}
171
+  f {{parent.f}}
172
+  addUserKnob {7 N l f-stop R 0 44}
173
+  N {{parent.N}}
174
+  addUserKnob {7 haperture R 0 50}
175
+  haperture {{parent.haperture}}
176
+  addUserKnob {7 s l "focus distance" R 0 1000}
177
+  s {{parent.s}}
178
+ }
179
+ Dot {
180
+  name Dot3
181
+  note_font_size 42
182
+  note_font_color 0x7f7f7f01
183
+  xpos -542
184
+  ypos 514
185
+ }
186
+set Nc0f8fc00 [stack 0]
187
+ Dot {
188
+  name Dot2
189
+  note_font_size 42
190
+  note_font_color 0x7f7f7f01
191
+  xpos -542
192
+  ypos 1034
193
+ }
194
+ Input {
195
+  inputs 0
196
+  name InputFilter
197
+  label "\[value number]"
198
+  xpos 94
199
+  ypos -16
200
+  number 1
201
+ }
202
+ Reformat {
203
+  type scale
204
+  scale {1 {1/parent.aspect_ratio}}
205
+  resize distort
206
+  name _aspect_ratio_1
207
+  xpos 94
208
+  ypos 390
209
+ }
210
+ Dot {
211
+  inputs 0
212
+  name Dot1
213
+  label " Default Filter Input"
214
+  note_font "Helvetica Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold"
215
+  note_font_size 24
216
+  note_font_color 0xff000000
217
+  xpos 262
218
+  ypos 314
219
+ }
220
+ Reformat {
221
+  type "to box"
222
+  box_fixed true
223
+  name Reformat1
224
+  xpos 228
225
+  ypos 390
226
+ }
227
+ Flare {
228
+  position {{width/2} {height/2}}
229
+  radius {75 88 91}
230
+  inner_color 1
231
+  name Flare3
232
+  xpos 228
233
+  ypos 430
234
+ }
235
+ Reformat {
236
+  type scale
237
+  scale {1 {1/parent.aspect_ratio}}
238
+  resize distort
239
+  name _aspect_ratio_2
240
+  xpos 228
241
+  ypos 470
242
+ }
243
+ Shuffle {
244
+  alpha red
245
+  name Shuffle1
246
+  label "\[value in]"
247
+  xpos 228
248
+  ypos 504
249
+ }
250
+ Switch {
251
+  inputs 2
252
+  which {{"\[exists parent.input1]"}}
253
+  name Switch3
254
+  xpos 94
255
+  ypos 510
256
+ }
257
+ Dot {
258
+  name Dot6
259
+  label " "
260
+  note_font "Helvetica Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold"
261
+  note_font_size 24
262
+  note_font_color 0xff000000
263
+  xpos 128
264
+  ypos 594
265
+ }
266
+push $Nc0f8fc00
267
+push $N2ff66400
268
+ Dot {
269
+  name Dot4
270
+  label " "
271
+  note_font "Helvetica Bold Bold Bold Bold Bold"
272
+  note_font_size 24
273
+  note_font_color 0xa5a5a501
274
+  xpos -274
275
+  ypos 434
276
+ }
277
+add_layer {opticalzdefocus opticalzdefocus.Z}
278
+ Copy {
279
+  inputs 2
280
+  from0 rgba.red
281
+  to0 opticalzdefocus.Z
282
+  bbox B
283
+  name _Copy_ZDepth_
284
+  xpos -308
285
+  ypos 504
286
+ }
287
+ ZDefocus2 {
288
+  inputs 2
289
+  channels rgba
290
+  z_channel opticalzdefocus.Z
291
+  math direct
292
+  focal_point {16540 12700}
293
+  size 1
294
+  max_size 100
295
+  legacy_resize_mode false
296
+  show_legacy_resize_mode false
297
+  use_input_channels true
298
+  aspect {{parent.aspect_ratio}}
299
+  blades {{parent.blades}}
300
+  roundness {{parent.roundness}}
301
+  inner_feather 0.28
302
+  catadioptric_size 0.375
303
+  name _ZDEFOCUS_
304
+  xpos -308
305
+  ypos 584
306
+ }
307
+ Remove {
308
+  channels opticalzdefocus
309
+  name Remove1
310
+  xpos -308
311
+  ypos 659
312
+ }
313
+ Switch {
314
+  inputs 2
315
+  which {{parent.show_coc}}
316
+  name _SHOW_COC_
317
+  xpos -308
318
+  ypos 1030
319
+ }
320
+ Output {
321
+  name Output1
322
+  xpos -308
323
+  ypos 1230
324
+ }
325
+push $N713ef000
326
+ NoOp {
327
+  name DepthSampler
328
+  xpos -710
329
+  ypos 350
330
+  addUserKnob {20 User}
331
+  addUserKnob {7 sval R 0 1000}
332
+ }
333
+end_group
334
+# Creation Time=Wed Jun 27 13:26:46 2018
335
+# Creator=ne

+ 48
- 0
gimmicks/Gimmicks/Our_RGB.gimmick ファイルの表示

@@ -0,0 +1,48 @@
1
+set cut_paste_input [stack 0]
2
+version 11.3 v5
3
+push $cut_paste_input
4
+Group {
5
+ name Our_RGB
6
+ selected true
7
+ xpos -188
8
+ ypos -152
9
+ addUserKnob {20 User}
10
+ addUserKnob {7 rOut l "r out"}
11
+ rOut 1
12
+ addUserKnob {7 gOut l "g out"}
13
+ gOut 1
14
+ addUserKnob {7 bOut l "b out"}
15
+ bOut 1
16
+}
17
+ Input {
18
+  inputs 0
19
+  name Input1
20
+  xpos -914
21
+  ypos -134
22
+ }
23
+ Expression {
24
+  expr0 r>g?r>b?rOut:0:0
25
+  expr1 g>r?g>b?gOut:0:0
26
+  expr2 b>r?b>g?bOut:0:0
27
+  name Expression3
28
+  selected true
29
+  xpos -914
30
+  ypos 57
31
+ }
32
+set Nc21ae800 [stack 0]
33
+ Output {
34
+  name Output1
35
+  xpos -895
36
+  ypos 272
37
+ }
38
+push $Nc21ae800
39
+ Viewer {
40
+  frame 1016
41
+  frame_range 1001-1071
42
+  name Viewer1
43
+  xpos -350
44
+  ypos 67
45
+ }
46
+end_group
47
+# Creation Time=Fri Jul 17 15:15:50 2020
48
+# Creator=ne

+ 706
- 0
gimmicks/Gimmicks/Our_RangeSelector.gimmick ファイルの表示

@@ -0,0 +1,706 @@
1
+set cut_paste_input [stack 0]
2
+version 11.3 v5
3
+push $cut_paste_input
4
+Group {
5
+ name Our_RangeSelector
6
+ selected true
7
+ xpos -81
8
+ ypos -153
9
+ addUserKnob {20 RGB l rgb}
10
+ addUserKnob {19 value}
11
+ value {1 0.5 0.25 1}
12
+ addUserKnob {6 value_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
13
+ addUserKnob {6 value_panelDropped_1 l "panel dropped state" -STARTLINE +HIDDEN}
14
+ addUserKnob {6 value_panelDropped_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
15
+ addUserKnob {26 info l average T "output in alpha cahannel uses red value"}
16
+ addUserKnob {19 range}
17
+ range {0.5 0.5 0.5 0.5}
18
+ addUserKnob {6 range_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
19
+ addUserKnob {6 range_panelDropped_1 l "panel dropped state" -STARTLINE +HIDDEN}
20
+ addUserKnob {6 range_panelDropped_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
21
+ addUserKnob {19 gamma}
22
+ gamma {1 1 1 1}
23
+ addUserKnob {6 gamma_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
24
+ addUserKnob {6 gamma_panelDropped_1 l "panel dropped state" -STARTLINE +HIDDEN}
25
+ addUserKnob {6 gamma_panelDropped_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
26
+ addUserKnob {6 clamp t "\n" +STARTLINE}
27
+ clamp true
28
+ addUserKnob {20 lumaPage l luma}
29
+ addUserKnob {6 luma l "use luma" +STARTLINE}
30
+ addUserKnob {7 valueLuma l value R -1 5}
31
+ valueLuma 1
32
+ addUserKnob {19 rangeLuma l range}
33
+ rangeLuma {0.5 0.25 0.125 0.06125}
34
+ addUserKnob {6 rangeLuma_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
35
+ addUserKnob {6 rangeLuma_panelDropped_1 l "panel dropped state" -STARTLINE +HIDDEN}
36
+ addUserKnob {6 rangeLuma_panelDropped_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
37
+ addUserKnob {19 gammaLuma l gamma}
38
+ gammaLuma {1 0.5 0.25 0.125}
39
+ addUserKnob {6 gammaLuma_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
40
+ addUserKnob {6 gammaLuma_panelDropped_1 l "panel dropped state" -STARTLINE +HIDDEN}
41
+ addUserKnob {6 gammaLuma_panelDropped_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
42
+ addUserKnob {6 clampLuma l clamp +STARTLINE}
43
+ clampLuma true
44
+}
45
+ BackdropNode {
46
+  inputs 0
47
+  name BackdropNode1
48
+  label A
49
+  note_font_size 42
50
+  xpos 1773
51
+  ypos -409
52
+  bdwidth 268
53
+  bdheight 572
54
+ }
55
+ BackdropNode {
56
+  inputs 0
57
+  name BackdropNode2
58
+  tile_color 0x8e7273ff
59
+  label R
60
+  note_font_size 42
61
+  xpos 733
62
+  ypos -421
63
+  bdwidth 251
64
+  bdheight 575
65
+ }
66
+ BackdropNode {
67
+  inputs 0
68
+  name BackdropNode3
69
+  tile_color 0x728e6eff
70
+  label G
71
+  note_font_size 42
72
+  xpos 1054
73
+  ypos -422
74
+  bdwidth 257
75
+  bdheight 582
76
+ }
77
+ BackdropNode {
78
+  inputs 0
79
+  name BackdropNode4
80
+  tile_color 0x6a818eff
81
+  label B
82
+  note_font_size 42
83
+  xpos 1405
84
+  ypos -418
85
+  bdwidth 254
86
+  bdheight 580
87
+ }
88
+ BackdropNode {
89
+  inputs 0
90
+  name BackdropNode5
91
+  tile_color 0xddddddff
92
+  label "L R"
93
+  note_font_size 42
94
+  xpos -1058
95
+  ypos -418
96
+  bdwidth 270
97
+  bdheight 580
98
+ }
99
+ BackdropNode {
100
+  inputs 0
101
+  name BackdropNode6
102
+  tile_color 0xddddddff
103
+  label "L G"
104
+  note_font_size 42
105
+  xpos -721
106
+  ypos -413
107
+  bdwidth 270
108
+  bdheight 580
109
+ }
110
+ BackdropNode {
111
+  inputs 0
112
+  name BackdropNode7
113
+  tile_color 0xddddddff
114
+  label "L B"
115
+  note_font_size 42
116
+  xpos -404
117
+  ypos -416
118
+  bdwidth 270
119
+  bdheight 580
120
+ }
121
+ BackdropNode {
122
+  inputs 0
123
+  name BackdropNode8
124
+  tile_color 0xddddddff
125
+  label "L A\n"
126
+  note_font_size 42
127
+  xpos -80
128
+  ypos -416
129
+  bdwidth 270
130
+  bdheight 580
131
+ }
132
+ Input {
133
+  inputs 0
134
+  name Input1
135
+  xpos 431
136
+  ypos -926
137
+ }
138
+set Nf5d3400 [stack 0]
139
+ Colorspace {
140
+  colorspace_out HSL
141
+  name Colorspace1
142
+  xpos -323
143
+  ypos -593
144
+ }
145
+set Nf5d3000 [stack 0]
146
+ Expression {
147
+  temp_name0 low
148
+  temp_expr0 parent.valueLuma-parent.rangeLuma.a
149
+  temp_name1 high
150
+  temp_expr1 parent.valueLuma+parent.rangeLuma.a
151
+  temp_name2 highRamp
152
+  temp_expr2 1-((b-parent.valueLuma)*(1/parent.rangeLuma.a))
153
+  temp_name3 lowRamp
154
+  temp_expr3 1-((b-parent.valueLuma)*(1/parent.rangeLuma.a))*-1
155
+  expr0 (b>parent.valueLuma?highRamp:0)
156
+  expr1 (b<parent.valueLuma?lowRamp:0)
157
+  expr2 0
158
+  expr3 0
159
+  name GenerateRangeRamps8
160
+  xpos 1
161
+  ypos -250
162
+ }
163
+ Expression {
164
+  expr0 r+g
165
+  expr1 r+g
166
+  expr2 r+g
167
+  expr3 r+g
168
+  name ReorderRangeRamps7
169
+  xpos 1
170
+  ypos -199
171
+ }
172
+set Nf5d2800 [stack 0]
173
+ Clamp {
174
+  name Clamp8
175
+  xpos 77
176
+  ypos -127
177
+ }
178
+push $Nf5d2800
179
+ Switch {
180
+  inputs 2
181
+  which {{parent.clampLuma}}
182
+  name Switch9
183
+  xpos 1
184
+  ypos -55
185
+ }
186
+ Expression {
187
+  expr0 0
188
+  expr1 0
189
+  expr2 0
190
+  expr3 a
191
+  name Expression8
192
+  xpos 1
193
+  ypos 48
194
+ }
195
+ Dot {
196
+  name Dot10
197
+  xpos 35
198
+  ypos 207
199
+ }
200
+push $Nf5d3000
201
+ Expression {
202
+  temp_name0 low
203
+  temp_expr0 parent.valueLuma-parent.rangeLuma.r
204
+  temp_name1 high
205
+  temp_expr1 parent.valueLuma+parent.rangeLuma.r
206
+  temp_name2 highRamp
207
+  temp_expr2 1-((b-parent.valueLuma)*(1/parent.rangeLuma.r))
208
+  temp_name3 lowRamp
209
+  temp_expr3 1-((b-parent.valueLuma)*(1/parent.rangeLuma.r))*-1
210
+  expr0 (b>parent.valueLuma?highRamp:0)
211
+  expr1 (b<parent.valueLuma?lowRamp:0)
212
+  expr2 0
213
+  expr3 0
214
+  name GenerateRangeRamps4
215
+  xpos -977
216
+  ypos -256
217
+ }
218
+ Expression {
219
+  expr0 r+g
220
+  expr1 r+g
221
+  expr2 r+g
222
+  expr3 r+g
223
+  name ReorderRangeRamps4
224
+  xpos -977
225
+  ypos -198
226
+ }
227
+set Nebda5000 [stack 0]
228
+ Clamp {
229
+  name Clamp5
230
+  xpos -902
231
+  ypos -131
232
+ }
233
+push $Nebda5000
234
+ Switch {
235
+  inputs 2
236
+  which {{parent.clampLuma}}
237
+  name Switch5
238
+  xpos -977
239
+  ypos -58
240
+ }
241
+ Expression {
242
+  expr0 r
243
+  expr1 0
244
+  expr2 0
245
+  expr3 0
246
+  name Expression1
247
+  xpos -977
248
+  ypos 25
249
+ }
250
+ Dot {
251
+  name Dot11
252
+  xpos -943
253
+  ypos 223
254
+ }
255
+push 0
256
+push $Nf5d3000
257
+ Expression {
258
+  temp_name0 low
259
+  temp_expr0 parent.valueLuma-parent.rangeLuma.g
260
+  temp_name1 high
261
+  temp_expr1 parent.valueLuma+parent.rangeLuma.g
262
+  temp_name2 highRamp
263
+  temp_expr2 1-((b-parent.valueLuma)*(1/parent.rangeLuma.g))
264
+  temp_name3 lowRamp
265
+  temp_expr3 1-((b-parent.valueLuma)*(1/parent.rangeLuma.g))*-1
266
+  expr0 (b>parent.valueLuma?highRamp:0)
267
+  expr1 (b<parent.valueLuma?lowRamp:0)
268
+  expr2 0
269
+  expr3 0
270
+  name GenerateRangeRamps6
271
+  xpos -640
272
+  ypos -251
273
+ }
274
+ Expression {
275
+  expr0 r+g
276
+  expr1 r+g
277
+  expr2 r+g
278
+  expr3 r+g
279
+  name ReorderRangeRamps5
280
+  xpos -640
281
+  ypos -193
282
+ }
283
+set Na0beb000 [stack 0]
284
+ Clamp {
285
+  name Clamp6
286
+  xpos -564
287
+  ypos -124
288
+ }
289
+push $Na0beb000
290
+ Switch {
291
+  inputs 2
292
+  which {{parent.clampLuma}}
293
+  name Switch7
294
+  xpos -640
295
+  ypos -53
296
+ }
297
+ Expression {
298
+  expr0 0
299
+  expr1 g
300
+  expr2 0
301
+  expr3 0
302
+  name Expression6
303
+  xpos -640
304
+  ypos 21
305
+ }
306
+ Dot {
307
+  name Dot12
308
+  xpos -606
309
+  ypos 186
310
+ }
311
+push $Nf5d3000
312
+ Expression {
313
+  temp_name0 low
314
+  temp_expr0 parent.valueLuma-parent.rangeLuma.b
315
+  temp_name1 high
316
+  temp_expr1 parent.valueLuma+parent.rangeLuma.b
317
+  temp_name2 highRamp
318
+  temp_expr2 1-((b-parent.valueLuma)*(1/parent.rangeLuma.b))
319
+  temp_name3 lowRamp
320
+  temp_expr3 1-((b-parent.valueLuma)*(1/parent.rangeLuma.b))*-1
321
+  expr0 (b>parent.valueLuma?highRamp:0)
322
+  expr1 (b<parent.valueLuma?lowRamp:0)
323
+  expr2 0
324
+  expr3 0
325
+  name GenerateRangeRamps7
326
+  xpos -323
327
+  ypos -251
328
+ }
329
+ Expression {
330
+  expr0 r+g
331
+  expr1 r+g
332
+  expr2 r+g
333
+  expr3 r+g
334
+  name ReorderRangeRamps6
335
+  xpos -323
336
+  ypos -196
337
+ }
338
+set Na0be8800 [stack 0]
339
+ Clamp {
340
+  name Clamp7
341
+  xpos -247
342
+  ypos -127
343
+ }
344
+push $Na0be8800
345
+ Switch {
346
+  inputs 2
347
+  which {{parent.clampLuma}}
348
+  name Switch8
349
+  xpos -323
350
+  ypos -55
351
+ }
352
+ Expression {
353
+  expr0 0
354
+  expr1 0
355
+  expr2 b
356
+  expr3 0
357
+  name Expression7
358
+  xpos -323
359
+  ypos 21
360
+ }
361
+ Merge2 {
362
+  inputs 4+1
363
+  operation plus
364
+  name Plus2
365
+  xpos -323
366
+  ypos 257
367
+ }
368
+ Gamma {
369
+  value {{parent.gammaLuma.r} {parent.gammaLuma.g} {parent.gammaLuma.b} {parent.gammaLuma.a}}
370
+  name Gamma4
371
+  selected true
372
+  xpos -323
373
+  ypos 306
374
+ }
375
+ Dot {
376
+  name Dot8
377
+  xpos -289
378
+  ypos 508
379
+ }
380
+push $Nf5d3400
381
+ NoOp {
382
+  name NoOp1
383
+  xpos 1106
384
+  ypos -650
385
+ }
386
+set Na0be6400 [stack 0]
387
+ Dot {
388
+  name Dot2
389
+  xpos 1841
390
+  ypos -453
391
+ }
392
+ Expression {
393
+  expr0 a
394
+  expr1 a
395
+  expr2 a
396
+  name Red1
397
+  xpos 1807
398
+  ypos -304
399
+  disable true
400
+ }
401
+ Expression {
402
+  temp_name0 low
403
+  temp_expr0 parent.value.a-parent.range.a
404
+  temp_name1 high
405
+  temp_expr1 parent.value.a+parent.range.a
406
+  temp_name2 highRamp
407
+  temp_expr2 1-((r-parent.value.a)*(1/parent.range.a))
408
+  temp_name3 lowRamp
409
+  temp_expr3 1-((r-parent.value.a)*(1/parent.range.a))*-1
410
+  expr0 (r>parent.value.r?highRamp:0)
411
+  expr1 (r<parent.value.r?lowRamp:0)
412
+  expr2 0
413
+  expr3 (r>parent.value.a?highRamp:0)
414
+  name GenerateRangeRamps5
415
+  xpos 1807
416
+  ypos -251
417
+ }
418
+ Expression {
419
+  temp_name0 low
420
+  temp_expr0 parent.value-range
421
+  temp_name1 high
422
+  temp_expr1 parent.value+range
423
+  temp_name2 highRamp
424
+  temp_expr2 1-((r-parent.value)*(1/range))
425
+  temp_name3 lowRamp
426
+  temp_expr3 1-((r-parent.value)*(1/range))*-1
427
+  expr0 (r>parent.value?highRamp:0)
428
+  expr1 (r<parent.value?lowRamp:0)
429
+  expr2 0
430
+  expr3 (r>parent.value?highRamp:0)
431
+  name GenerateRangeRamps
432
+  xpos 1807
433
+  ypos -202
434
+  disable true
435
+ }
436
+ Expression {
437
+  expr0 r+g
438
+  expr1 r+g
439
+  expr2 r+g
440
+  expr3 r+g
441
+  name ReorderRangeRamps
442
+  xpos 1807
443
+  ypos -161
444
+ }
445
+set Na0be7800 [stack 0]
446
+ Clamp {
447
+  name Clamp1
448
+  xpos 1883
449
+  ypos -98
450
+ }
451
+push $Na0be7800
452
+ Switch {
453
+  inputs 2
454
+  which {{parent.clamp}}
455
+  name Switch1
456
+  xpos 1807
457
+  ypos -20
458
+ }
459
+ Expression {
460
+  expr0 0
461
+  expr1 0
462
+  expr2 0
463
+  expr3 r
464
+  name Expression5
465
+  xpos 1807
466
+  ypos 86
467
+ }
468
+ Dot {
469
+  name Dot6
470
+  xpos 1841
471
+  ypos 208
472
+ }
473
+push $Na0be6400
474
+ Dot {
475
+  name Dot1
476
+  xpos 1140
477
+  ypos -509
478
+ }
479
+set Na0be4c00 [stack 0]
480
+ Dot {
481
+  name Dot3
482
+  xpos 1492
483
+  ypos -446
484
+ }
485
+ Expression {
486
+  expr0 b
487
+  expr1 b
488
+  expr2 b
489
+  name Blue
490
+  xpos 1458
491
+  ypos -325
492
+ }
493
+ Expression {
494
+  temp_name0 low
495
+  temp_expr0 parent.value.b-parent.range.b
496
+  temp_name1 high
497
+  temp_expr1 parent.value.b+parent.range.b
498
+  temp_name2 highRamp
499
+  temp_expr2 1-((r-parent.value.b)*(1/parent.range.b))
500
+  temp_name3 lowRamp
501
+  temp_expr3 1-((r-parent.value.b)*(1/parent.range.b))*-1
502
+  expr0 (r>parent.value.b?highRamp:0)
503
+  expr1 (r<parent.value.b?lowRamp:0)
504
+  expr2 0
505
+  expr3 0
506
+  name GenerateRangeRamps3
507
+  xpos 1458
508
+  ypos -268
509
+ }
510
+ Expression {
511
+  expr0 r+g
512
+  expr1 r+g
513
+  expr2 r+g
514
+  expr3 r+g
515
+  name ReorderRangeRamps3
516
+  xpos 1458
517
+  ypos -213
518
+ }
519
+set Na0be5c00 [stack 0]
520
+ Clamp {
521
+  name Clamp4
522
+  xpos 1550
523
+  ypos -157
524
+ }
525
+push $Na0be5c00
526
+ Switch {
527
+  inputs 2
528
+  which {{parent.clamp}}
529
+  name Switch4
530
+  xpos 1458
531
+  ypos -96
532
+ }
533
+ Expression {
534
+  expr0 0
535
+  expr1 0
536
+  expr2 b
537
+  expr3 0
538
+  name Expression4
539
+  xpos 1458
540
+  ypos 69
541
+ }
542
+ Dot {
543
+  name Dot5
544
+  xpos 1492
545
+  ypos 185
546
+ }
547
+push 0
548
+push $Na0be4c00
549
+ Dot {
550
+  name Dot4
551
+  xpos 816
552
+  ypos -452
553
+ }
554
+ Expression {
555
+  expr0 r
556
+  expr1 r
557
+  expr2 r
558
+  name Red
559
+  xpos 782
560
+  ypos -311
561
+ }
562
+ Expression {
563
+  temp_name0 low
564
+  temp_expr0 parent.value.r-parent.range.r
565
+  temp_name1 high
566
+  temp_expr1 parent.value.r+parent.range.r
567
+  temp_name2 highRamp
568
+  temp_expr2 1-((r-parent.value.r)*(1/parent.range.r))
569
+  temp_name3 lowRamp
570
+  temp_expr3 1-((r-parent.value)*(1/parent.range.r))*-1
571
+  expr0 (r>parent.value.r?highRamp:0)
572
+  expr1 (r<parent.value.r?lowRamp:0)
573
+  expr2 0
574
+  expr3 0
575
+  name GenerateRangeRamps1
576
+  xpos 782
577
+  ypos -222
578
+ }
579
+ Expression {
580
+  expr0 r+g
581
+  expr1 r+g
582
+  expr2 r+g
583
+  expr3 r+g
584
+  name ReorderRangeRamps1
585
+  xpos 782
586
+  ypos -153
587
+ }
588
+set Na0a45800 [stack 0]
589
+ Clamp {
590
+  name Clamp2
591
+  xpos 874
592
+  ypos -95
593
+ }
594
+push $Na0a45800
595
+ Switch {
596
+  inputs 2
597
+  which {{parent.clamp}}
598
+  name Switch2
599
+  xpos 782
600
+  ypos -34
601
+ }
602
+ Expression {
603
+  expr0 r
604
+  expr1 0
605
+  expr2 0
606
+  expr3 0
607
+  name Expression2
608
+  xpos 782
609
+  ypos 70
610
+ }
611
+ Dot {
612
+  name Dot7
613
+  xpos 816
614
+  ypos 166
615
+ }
616
+push $Na0be4c00
617
+ Expression {
618
+  expr0 g
619
+  expr1 g
620
+  expr2 g
621
+  name Green
622
+  xpos 1106
623
+  ypos -308
624
+ }
625
+ Expression {
626
+  temp_name0 low
627
+  temp_expr0 parent.value.g-parent.range.g
628
+  temp_name1 high
629
+  temp_expr1 parent.value.g+parent.range.g
630
+  temp_name2 highRamp
631
+  temp_expr2 1-((r-parent.value.g)*(1/parent.range.g))
632
+  temp_name3 lowRamp
633
+  temp_expr3 1-((r-parent.value.g)*(1/parent.range.g))*-1
634
+  expr0 (r>parent.value.g?highRamp:0)
635
+  expr1 (r<parent.value.g?lowRamp:0)
636
+  expr2 0
637
+  expr3 0
638
+  name GenerateRangeRamps2
639
+  xpos 1106
640
+  ypos -224
641
+ }
642
+ Expression {
643
+  expr0 r+g
644
+  expr1 r+g
645
+  expr2 r+g
646
+  expr3 r+g
647
+  name ReorderRangeRamps2
648
+  xpos 1106
649
+  ypos -180
650
+ }
651
+set Na0a43400 [stack 0]
652
+ Clamp {
653
+  name Clamp3
654
+  xpos 1198
655
+  ypos -135
656
+ }
657
+push $Na0a43400
658
+ Switch {
659
+  inputs 2
660
+  which {{parent.clamp}}
661
+  name Switch3
662
+  xpos 1106
663
+  ypos -71
664
+ }
665
+ Expression {
666
+  expr0 0
667
+  expr1 g
668
+  expr2 0
669
+  expr3 0
670
+  name Expression3
671
+  xpos 1106
672
+  ypos 68
673
+ }
674
+ Merge2 {
675
+  inputs 4+1
676
+  operation plus
677
+  name Plus
678
+  xpos 1106
679
+  ypos 268
680
+ }
681
+ Gamma {
682
+  value {{parent.gamma.r} {parent.gamma.g} {parent.gamma.b} {parent.gamma.a}}
683
+  name Gamma2
684
+  xpos 1106
685
+  ypos 337
686
+ }
687
+ Dot {
688
+  name Dot9
689
+  xpos 1140
690
+  ypos 508
691
+ }
692
+ Switch {
693
+  inputs 2
694
+  which {{parent.luma}}
695
+  name Switch6
696
+  xpos 491
697
+  ypos 504
698
+ }
699
+ Output {
700
+  name Output2
701
+  xpos 491
702
+  ypos 701
703
+ }
704
+end_group
705
+# Creation Time=Fri Jul 17 15:15:38 2020
706
+# Creator=ne

+ 120
- 0
gimmicks/Gimmicks/Our_ValueRange.gimmick ファイルの表示

@@ -0,0 +1,120 @@
1
+set cut_paste_input [stack 0]
2
+version 11.3 v5
3
+push $cut_paste_input
4
+Group {
5
+ name Our_ValueRange
6
+ selected true
7
+ xpos 18
8
+ ypos -154
9
+ addUserKnob {20 User}
10
+ addUserKnob {7 value}
11
+ value 0.5
12
+ addUserKnob {7 range}
13
+ range 0.125
14
+ addUserKnob {7 gamma R 0 5}
15
+ gamma 1
16
+ addUserKnob {6 clamp t "\n" +STARTLINE}
17
+}
18
+ Constant {
19
+  inputs 0
20
+  channels rgb
21
+  color {{parent.value-range}}
22
+  name Constant1
23
+  xpos 58
24
+  ypos -277
25
+ }
26
+ Constant {
27
+  inputs 0
28
+  channels rgb
29
+  color {{parent.value+range}}
30
+  name Constant2
31
+  xpos 856
32
+  ypos -270
33
+ }
34
+ Input {
35
+  inputs 0
36
+  name Input1
37
+  xpos 520
38
+  ypos -387
39
+ }
40
+ Expression {
41
+  expr0 (r+g+b)/3
42
+  expr1 (r+g+b)/3
43
+  expr2 (r+g+b)/3
44
+  name Desaturate
45
+  xpos 520
46
+  ypos -301
47
+ }
48
+set Ne15c1400 [stack 0]
49
+ Expression {
50
+  temp_name0 low
51
+  temp_expr0 parent.value-range
52
+  temp_name1 high
53
+  temp_expr1 parent.value+range
54
+  expr0 r>low?r<high?1:1:0
55
+  name Expression1
56
+  xpos 338
57
+  ypos -233
58
+ }
59
+push $Ne15c1400
60
+ Expression {
61
+  temp_name0 low
62
+  temp_expr0 parent.value-range
63
+  temp_name1 high
64
+  temp_expr1 parent.value+range
65
+  temp_name2 highRamp
66
+  temp_expr2 1-((r-parent.value)*(1/range))
67
+  temp_name3 lowRamp
68
+  temp_expr3 1-((r-parent.value)*(1/range))*-1
69
+  expr0 (r>parent.value?highRamp:0)
70
+  expr1 (r<parent.value?lowRamp:0)
71
+  expr2 0
72
+  expr3 (r>parent.value?highRamp:0)
73
+  name GenerateRangeRamps
74
+  xpos 520
75
+  ypos -245
76
+ }
77
+ Expression {
78
+  expr0 r+g
79
+  expr1 r+g
80
+  expr2 r+g
81
+  expr3 r+g
82
+  name ReorderRangeRamps
83
+  xpos 520
84
+  ypos -192
85
+ }
86
+set Ne15c0800 [stack 0]
87
+ Viewer {
88
+  frame_range 1025-1065
89
+  name Viewer1
90
+  xpos 378
91
+  ypos -67
92
+ }
93
+push $Ne15c0800
94
+ Clamp {
95
+  name Clamp1
96
+  xpos 596
97
+  ypos -129
98
+ }
99
+push $Ne15c0800
100
+ Switch {
101
+  inputs 2
102
+  which {{parent.clamp}}
103
+  name Switch1
104
+  xpos 520
105
+  ypos -52
106
+ }
107
+ Gamma {
108
+  value {{parent.gamma}}
109
+  name Gamma1
110
+  xpos 520
111
+  ypos -10
112
+ }
113
+ Output {
114
+  name Output1
115
+  xpos 520
116
+  ypos 28
117
+ }
118
+end_group
119
+# Creation Time=Fri Jul 17 15:15:29 2020
120
+# Creator=ne

+ 30
- 0
gimmicks/Gimmicks/ProtoMotionBlend.gimmick ファイルの表示

@@ -0,0 +1,30 @@
1
+set cut_paste_input [stack 0]
2
+version 9.0 v7
3
+push $cut_paste_input
4
+Transform {
5
+translate {{"lerp(Position1.x, Position2.x, Mix)"} {"lerp(Position1.y, Position2.y, Mix)"}}
6
+rotate {{"lerp(Rotation1, Rotation2, Mix)"}}
7
+center {1024 576}
8
+black_outside false
9
+name Transform3
10
+selected true
11
+xpos 3881
12
+ypos 3135
13
+addUserKnob {20 User}
14
+addUserKnob {12 Position1}
15
+Position1 {{Tracker9.translate} {Tracker9.translate}}
16
+addUserKnob {7 Scale1}
17
+Scale1 1
18
+addUserKnob {7 Rotation1 R -180 180}
19
+addUserKnob {26 "" +STARTLINE}
20
+addUserKnob {12 Position2}
21
+Position2 {{Tracker5.translate} {Tracker5.translate}}
22
+addUserKnob {7 Scale2}
23
+Scale2 1
24
+addUserKnob {7 Rotation2 R -180 180}
25
+addUserKnob {26 "" +STARTLINE}
26
+addUserKnob {7 Mix}
27
+Mix {{curve x1110 0 x1123 1}}
28
+}
29
+# Creation Time=Wed Mar 16 16:50:30 2016
30
+# Creator=stz

+ 2013
- 0
gimmicks/Gimmicks/VectorExtendEdge.gimmick
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 66
- 0
gimmicks/Gimmicks/graincheck_ppo.gimmick ファイルの表示

@@ -0,0 +1,66 @@
1
+set cut_paste_input [stack 0]
2
+version 11.2 v3
3
+push $cut_paste_input
4
+Group {
5
+name graincheck_ppo
6
+tile_color 0xcbff00ff
7
+selected true
8
+xpos -351
9
+ypos 905
10
+addUserKnob {20 User}
11
+addUserKnob {41 size l blursize T Blur2.size}
12
+addUserKnob {41 white l gain T Grade2.white}
13
+addUserKnob {26 ""}
14
+addUserKnob {26 ccc l "" +STARTLINE T "Grainchecker\n\nPlug it at the end of your comp. Dark areas showing missing grain.\n\np.poetsch @ 2014"}
15
+}
16
+Input {
17
+inputs 0
18
+name Input1
19
+xpos 462
20
+ypos 109
21
+}
22
+Dot {
23
+name Dot3
24
+xpos 494
25
+ypos 149
26
+}
27
+set N87f29880 [stack 0]
28
+Blur {
29
+size 1.5
30
+name Blur2
31
+xpos 401
32
+ypos 184
33
+}
34
+push $N87f29880
35
+Merge2 {
36
+inputs 2
37
+operation divide
38
+name Merge1
39
+xpos 462
40
+ypos 239
41
+}
42
+Grade {
43
+add -1
44
+name Grade1
45
+xpos 462
46
+ypos 265
47
+}
48
+Grade {
49
+white 100
50
+name Grade2
51
+xpos 462
52
+ypos 291
53
+}
54
+Dot {
55
+name Dot6
56
+xpos 494
57
+ypos 317
58
+}
59
+Output {
60
+name Output1
61
+xpos 494
62
+ypos 417
63
+}
64
+end_group
65
+# Creation Time=Wed Sep  4 10:24:17 2019
66
+# Creator=tmt

+ 52
- 0
gimmicks/Gimmicks/ndg_Radial.gimmick ファイルの表示

@@ -0,0 +1,52 @@
1
+set cut_paste_input [stack 0]
2
+version 10.5 v3
3
+push $cut_paste_input
4
+Group {
5
+ name ndg_Radial
6
+ selected true
7
+ xpos -2104
8
+ ypos 10080
9
+ addUserKnob {20 User}
10
+ addUserKnob {41 output T Radial3.output}
11
+ addUserKnob {41 replace T Radial3.replace}
12
+ addUserKnob {41 invert -STARTLINE T Radial3.invert}
13
+ addUserKnob {26 ""}
14
+ addUserKnob {41 radialCenter l "radial center" T Radial3.radialCenter}
15
+ addUserKnob {41 offset l "  radial offset" -STARTLINE +INVISIBLE T Radial3.offset}
16
+ addUserKnob {41 widthHeight l "  size" -STARTLINE T Radial3.widthHeight}
17
+ addUserKnob {26 ""}
18
+ addUserKnob {41 area2 l INVISIBLE +INVISIBLE T Radial3.area2}
19
+ addUserKnob {26 ""}
20
+ addUserKnob {41 softness T Radial3.softness}
21
+}
22
+ Input {
23
+  inputs 0
24
+  name Input1
25
+  xpos -369
26
+  ypos -99
27
+ }
28
+ Radial {
29
+  area {{(radialCenter.x+offset.x)-(bboxSize.x/2)*widthHeight.0 x1031 1993} {(radialCenter.y+offset.y)-(bboxSize.y/2)*widthHeight.1 x1028 1294 x1031 851.5} {(radialCenter.x+offset.x)+(bboxSize.x/2)*widthHeight.0 x1028 3290 x1031 3128} {(radialCenter.y+offset.y)+(bboxSize.y/2)*widthHeight.1 x1028 2206 x1031 1804.5}}
30
+  softness {1}
31
+  name Radial3
32
+  xpos -369
33
+  ypos -55
34
+  addUserKnob {20 User}
35
+  addUserKnob {12 offset l "" +STARTLINE}
36
+  addUserKnob {14 widthHeight l size R 0 100}
37
+  widthHeight {1}
38
+  addUserKnob {12 radialCenter l "radial center"}
39
+  radialCenter {1584 968}
40
+  addUserKnob {15 area2}
41
+  area2 {4218 104 3474 736}
42
+  addUserKnob {12 bboxSize l INVISIBLE +INVISIBLE}
43
+  bboxSize {{abs(area2.r-area2.x)} {abs(area2.t-area2.y)}}
44
+ }
45
+ Output {
46
+  name Output1
47
+  xpos -369
48
+  ypos 41
49
+ }
50
+end_group
51
+# Creation Time=Thu Jul 20 17:11:07 2017
52
+# Creator=Andy

+ 476
- 0
gimmicks/Gimmicks/ndg_STMapper.gimmick ファイルの表示

@@ -0,0 +1,476 @@
1
+set cut_paste_input [stack 0]
2
+version 10.5 v3
3
+push $cut_paste_input
4
+Group {
5
+ name ndg_STMapper
6
+ selected true
7
+ xpos -94
8
+ ypos -196
9
+ hide_input true
10
+ addUserKnob {20 User l STMapper}
11
+ addUserKnob {1 distortionName l "Distortion node"}
12
+ distortionName name
13
+ addUserKnob {41 mode T settings.mode}
14
+ addUserKnob {41 refFrame l "  reference frame" -STARTLINE T settings.refFrame}
15
+ addUserKnob {41 setCurrFrame l "set current" -STARTLINE T settings.setCurrFrame}
16
+ addUserKnob {26 ""}
17
+ addUserKnob {41 typeDist l "distortion type" T settings.typeDist}
18
+ addUserKnob {26 ""}
19
+ addUserKnob {41 overscan T settings.overscan}
20
+ addUserKnob {26 ""}
21
+ addUserKnob {41 STMap l "output STMap" T settings.STMap}
22
+ addUserKnob {26 Prerender}
23
+ addUserKnob {41 usePrerender l "Use pre-rendered ST map" T settings.usePrerender}
24
+ addUserKnob {41 file l "exr file" T WriteSTMap.file}
25
+ addUserKnob {41 Render T WriteSTMap.Render}
26
+ addUserKnob {26 ""}
27
+ addUserKnob {26 camNote l Note: T "Please connect cam directly without nodes inbetween."}
28
+}
29
+ BackdropNode {
30
+  inputs 0
31
+  name BackdropNode1
32
+  tile_color 0x1f1f1fff
33
+  label matchmove
34
+  note_font_size 22
35
+  xpos -101
36
+  ypos 1332
37
+  bdwidth 324
38
+  bdheight 469
39
+ }
40
+ BackdropNode {
41
+  inputs 0
42
+  name BackdropNode2
43
+  tile_color 0x1f1f1fff
44
+  label stabilize
45
+  note_font_size 22
46
+  xpos 317
47
+  ypos 1331
48
+  bdwidth 348
49
+  bdheight 470
50
+ }
51
+ BackdropNode {
52
+  inputs 0
53
+  name BackdropNode3
54
+  tile_color 0x1f1f1fff
55
+  label "get data"
56
+  note_font_size 42
57
+  xpos -473
58
+  ypos 472
59
+  bdwidth 1593
60
+  bdheight 164
61
+ }
62
+ Input {
63
+  inputs 0
64
+  name Cam
65
+  xpos 627
66
+  ypos 580
67
+ }
68
+ Camera2 {
69
+  matrix {
70
+      {{settings.mode?Cam.parent.input.matrix(refFrame):Cam.parent.input.matrix} {settings.mode?Cam.parent.input.matrix(refFrame):Cam.parent.input.matrix} {settings.mode?Cam.parent.input.matrix(refFrame):Cam.parent.input.matrix} {settings.mode?Cam.parent.input.matrix(refFrame):Cam.parent.input.matrix}}
71
+      {{settings.mode?Cam.parent.input.matrix(refFrame):Cam.parent.input.matrix} {settings.mode?Cam.parent.input.matrix(refFrame):Cam.parent.input.matrix} {settings.mode?Cam.parent.input.matrix(refFrame):Cam.parent.input.matrix} {settings.mode?Cam.parent.input.matrix(refFrame):Cam.parent.input.matrix}}
72
+      {{settings.mode?Cam.parent.input.matrix(refFrame):Cam.parent.input.matrix} {settings.mode?Cam.parent.input.matrix(refFrame):Cam.parent.input.matrix} {settings.mode?Cam.parent.input.matrix(refFrame):Cam.parent.input.matrix} {settings.mode?Cam.parent.input.matrix(refFrame):Cam.parent.input.matrix}}
73
+      {{settings.mode?Cam.parent.input.matrix(refFrame):Cam.parent.input.matrix} {settings.mode?Cam.parent.input.matrix(refFrame):Cam.parent.input.matrix} {settings.mode?Cam.parent.input.matrix(refFrame):Cam.parent.input.matrix} {settings.mode?Cam.parent.input.matrix(refFrame):Cam.parent.input.matrix}}
74
+    }
75
+  focal {{"\[value Cam.parent.input.focal]"}}
76
+  haperture {{"\[value Cam.parent.input.haperture]*settings.overscan"}}
77
+  vaperture {{"\[value Cam.parent.input.vaperture]*settings.overscan"}}
78
+  name masterCam
79
+  xpos 555
80
+  ypos 784
81
+ }
82
+set N2c5f800 [stack 0]
83
+ Dot {
84
+  name Dot2
85
+  xpos 579
86
+  ypos 1407
87
+ }
88
+set N2c5f400 [stack 0]
89
+ FrameHold {
90
+  first_frame {{settings.refFrame}}
91
+  name FrameHold2
92
+  xpos 545
93
+  ypos 1561
94
+ }
95
+ Dot {
96
+  name Dot7
97
+  xpos 579
98
+  ypos 1635
99
+ }
100
+push $N2c5f400
101
+push $N2c5f800
102
+ Input {
103
+  inputs 0
104
+  name Source
105
+  xpos -407
106
+  ypos 553
107
+  number 1
108
+ }
109
+set N2c5ec00 [stack 0]
110
+ Shuffle {
111
+  red black
112
+  green black
113
+  blue black
114
+  alpha black
115
+  name Shuffle1
116
+  xpos -227
117
+  ypos 719
118
+ }
119
+ Reformat {
120
+  type scale
121
+  scale {{settings.overscan}}
122
+  resize none
123
+  black_outside true
124
+  name Reformat1
125
+  xpos -227
126
+  ypos 772
127
+ }
128
+set N2c5e400 [stack 0]
129
+ Expression {
130
+  expr0 (x+0.5)/(width)
131
+  expr1 (y+0.5)/(height)
132
+  name Expression2
133
+  xpos -29
134
+  ypos 837
135
+ }
136
+ NoOp {
137
+  name UNDISTORT
138
+  xpos -29
139
+  ypos 910
140
+ }
141
+set N3f817800 [stack 0]
142
+ Dot {
143
+  name Dot11
144
+  xpos -139
145
+  ypos 914
146
+ }
147
+ Dot {
148
+  name Dot10
149
+  xpos -139
150
+  ypos 1035
151
+ }
152
+push $N3f817800
153
+ LensDistortion {
154
+  serializeKnob ""
155
+  serialiseKnob "22 serialization::archive 9 0 0 0 0 0 0 0 0 0 0 0 0"
156
+  invertDistortion true
157
+  name nukeLensDistortion
158
+  xpos 143
159
+  ypos 938
160
+ }
161
+push $N3f817800
162
+ LD_3DE4_Radial_Standard_Degree_4 {
163
+  channels {rgba.red rgba.green -rgba.blue none}
164
+  field_of_view_xa_unit {{"\[value \[value parent.distortionName].field_of_view_xa_unit]"}}
165
+  field_of_view_ya_unit {{"\[value \[value parent.distortionName].field_of_view_ya_unit]"}}
166
+  field_of_view_xb_unit {{"\[value \[value parent.distortionName].field_of_view_xb_unit]"}}
167
+  field_of_view_yb_unit {{"\[value \[value parent.distortionName].field_of_view_yb_unit]"}}
168
+  tde4_focal_length_cm {{"\[value \[value parent.distortionName].tde4_focal_length_cm]"}}
169
+  tde4_custom_focus_distance_cm {{"\[value \[value parent.distortionName].tde4_custom_focus_distance_cm]"}}
170
+  tde4_filmback_width_cm {{"\[value \[value parent.distortionName].tde4_filmback_width_cm]"}}
171
+  tde4_filmback_height_cm {{"\[value \[value parent.distortionName].tde4_filmback_height_cm]"}}
172
+  tde4_lens_center_offset_x_cm {{"\[value \[value parent.distortionName].tde4_lens_center_offset_x_cm]"}}
173
+  tde4_lens_center_offset_y_cm {{"\[value \[value parent.distortionName].tde4_lens_center_offset_y_cm]"}}
174
+  tde4_pixel_aspect {{"\[value \[value parent.distortionName].tde4_pixel_aspect]"}}
175
+  Distortion_Degree_2 {{"\[value \[value parent.distortionName].Distortion_Degree_2]"}}
176
+  U_Degree_2 {{"\[value \[value parent.distortionName].U_Degree_2]"}}
177
+  V_Degree_2 {{"\[value \[value parent.distortionName].V_Degree_2]"}}
178
+  Quartic_Distortion_Degree_4 {{"\[value \[value parent.distortionName].Quartic_Distortion_Degree_4]"}}
179
+  U_Degree_4 {{"\[value \[value parent.distortionName].U_Degree_4]"}}
180
+  V_Degree_4 {{"\[value \[value parent.distortionName].V_Degree_4]"}}
181
+  Phi_Cylindric_Direction {{"\[value \[value parent.distortionName].Phi_Cylindric_Direction]"}}
182
+  B_Cylindric_Bending {{"\[value \[value parent.distortionName].B_Cylindric_Bending]"}}
183
+  name threeDEqualizerDistortion
184
+  xpos -29
185
+  ypos 936
186
+ }
187
+ Switch {
188
+  inputs 3
189
+  which {{typeDist}}
190
+  name Switch3
191
+  xpos -29
192
+  ypos 1031
193
+ }
194
+set N2c46900 [stack 0]
195
+ Project3D2 {
196
+  inputs 2
197
+  name Project3D1
198
+  xpos 405
199
+  ypos 1031
200
+ }
201
+ Project3D2 {
202
+  inputs 2
203
+  name Project3D3
204
+  xpos 405
205
+  ypos 1442
206
+ }
207
+ Input {
208
+  inputs 0
209
+  name Geo
210
+  xpos 1025
211
+  ypos 586
212
+  number 2
213
+ }
214
+ Dot {
215
+  name Dot4
216
+  xpos 1059
217
+  ypos 1499
218
+ }
219
+set N3f857800 [stack 0]
220
+ Dot {
221
+  name Dot5
222
+  xpos 1059
223
+  ypos 1549
224
+ }
225
+ ApplyMaterial {
226
+  inputs 2
227
+  name ApplyMaterial2
228
+  selected true
229
+  xpos 405
230
+  ypos 1545
231
+ }
232
+push $N2c5e400
233
+ Dot {
234
+  name Dot6
235
+  xpos -193
236
+  ypos 1635
237
+ }
238
+set N3f856c00 [stack 0]
239
+ Dot {
240
+  name Dot1
241
+  xpos -193
242
+  ypos 1739
243
+ }
244
+ ScanlineRender {
245
+  inputs 3
246
+  conservative_shader_sampling false
247
+  motion_vectors_type distance
248
+  name ScanlineRender1
249
+  xpos 405
250
+  ypos 1735
251
+ }
252
+push $N2c5f400
253
+ Dot {
254
+  name Dot16
255
+  xpos 267
256
+  ypos 1407
257
+ }
258
+set N40669c00 [stack 0]
259
+ Dot {
260
+  name Dot17
261
+  xpos 267
262
+  ypos 1635
263
+ }
264
+push $N40669c00
265
+ FrameHold {
266
+  first_frame {{settings.refFrame}}
267
+  name FrameHold1
268
+  xpos 90
269
+  ypos 1397
270
+ }
271
+push $N2c46900
272
+ Project3D2 {
273
+  inputs 2
274
+  name Project3D2
275
+  xpos -29
276
+  ypos 1403
277
+ }
278
+push $N3f857800
279
+ ApplyMaterial {
280
+  inputs 2
281
+  name ApplyMaterial1
282
+  xpos -29
283
+  ypos 1495
284
+ }
285
+push $N3f856c00
286
+ ScanlineRender {
287
+  inputs 3
288
+  conservative_shader_sampling false
289
+  motion_vectors_type distance
290
+  name ScanlineRender2
291
+  xpos -29
292
+  ypos 1631
293
+ }
294
+ Switch {
295
+  inputs 2
296
+  which {{settings.mode}}
297
+  name Switch1
298
+  xpos -29
299
+  ypos 1883
300
+ }
301
+ NoOp {
302
+  name DISTORT
303
+  xpos -29
304
+  ypos 2129
305
+ }
306
+set N4026f400 [stack 0]
307
+ Dot {
308
+  name Dot12
309
+  xpos -139
310
+  ypos 2131
311
+ }
312
+ Dot {
313
+  name Dot13
314
+  xpos -139
315
+  ypos 2252
316
+ }
317
+push $N4026f400
318
+ Dot {
319
+  name Dot15
320
+  xpos 160
321
+  ypos 2133
322
+ }
323
+ LensDistortion {
324
+  serializeKnob ""
325
+  serialiseKnob "22 serialization::archive 9 0 0 0 0 0 0 0 0 0 0 0 0"
326
+  name nukeLensDistortion1
327
+  xpos 126
328
+  ypos 2248
329
+ }
330
+push $N4026f400
331
+ LD_3DE4_Radial_Standard_Degree_4 {
332
+  channels {rgba.red rgba.green -rgba.blue none}
333
+  direction distort
334
+  field_of_view_xa_unit {{"\[value \[value parent.distortionName].field_of_view_xa_unit]"}}
335
+  field_of_view_ya_unit {{"\[value \[value parent.distortionName].field_of_view_ya_unit]"}}
336
+  field_of_view_xb_unit {{"\[value \[value parent.distortionName].field_of_view_xb_unit]"}}
337
+  field_of_view_yb_unit {{"\[value \[value parent.distortionName].field_of_view_yb_unit]"}}
338
+  tde4_focal_length_cm {{"\[value \[value parent.distortionName].tde4_focal_length_cm]"}}
339
+  tde4_custom_focus_distance_cm {{"\[value \[value parent.distortionName].tde4_custom_focus_distance_cm]"}}
340
+  tde4_filmback_width_cm {{"\[value \[value parent.distortionName].tde4_filmback_width_cm]"}}
341
+  tde4_filmback_height_cm {{"\[value \[value parent.distortionName].tde4_filmback_height_cm]"}}
342
+  tde4_lens_center_offset_x_cm {{"\[value \[value parent.distortionName].tde4_lens_center_offset_x_cm]"}}
343
+  tde4_lens_center_offset_y_cm {{"\[value \[value parent.distortionName].tde4_lens_center_offset_y_cm]"}}
344
+  tde4_pixel_aspect {{"\[value \[value parent.distortionName].tde4_pixel_aspect]"}}
345
+  Distortion_Degree_2 {{"\[value \[value parent.distortionName].Distortion_Degree_2]"}}
346
+  U_Degree_2 {{"\[value \[value parent.distortionName].U_Degree_2]"}}
347
+  V_Degree_2 {{"\[value \[value parent.distortionName].V_Degree_2]"}}
348
+  Quartic_Distortion_Degree_4 {{"\[value \[value parent.distortionName].Quartic_Distortion_Degree_4]"}}
349
+  U_Degree_4 {{"\[value \[value parent.distortionName].U_Degree_4]"}}
350
+  V_Degree_4 {{"\[value \[value parent.distortionName].V_Degree_4]"}}
351
+  Phi_Cylindric_Direction {{"\[value \[value parent.distortionName].Phi_Cylindric_Direction]"}}
352
+  B_Cylindric_Bending {{"\[value \[value parent.distortionName].B_Cylindric_Bending]"}}
353
+  name threeDEqualizerDistortion1
354
+  xpos -29
355
+  ypos 2155
356
+ }
357
+ Switch {
358
+  inputs 3
359
+  which {{typeDist}}
360
+  name Switch4
361
+  xpos -29
362
+  ypos 2248
363
+ }
364
+set N2c47680 [stack 0]
365
+ Dot {
366
+  name Dot14
367
+  xpos 5
368
+  ypos 2481
369
+ }
370
+set N402bdc00 [stack 0]
371
+ Reformat {
372
+  type "to box"
373
+  format "3200 1800 0 0 3200 1800 1 3200_1800"
374
+  box_width {{Source.width}}
375
+  box_height {{Source.height}}
376
+  resize none
377
+  pbb true
378
+  name Reformat2
379
+  xpos -29
380
+  ypos 2645
381
+ }
382
+ Dot {
383
+  name Dot8
384
+  label "ST map out"
385
+  note_font_size 22
386
+  xpos 5
387
+  ypos 3002
388
+ }
389
+ Dot {
390
+  name Dot3
391
+  xpos 5
392
+  ypos 3080
393
+ }
394
+push $N402bdc00
395
+push $N2c5ec00
396
+ Reformat {
397
+  type scale
398
+  scale {{settings.overscan}}
399
+  resize none
400
+  pbb true
401
+  name Reformat7
402
+  xpos -407
403
+  ypos 776
404
+ }
405
+ STMap {
406
+  inputs 2
407
+  channels rgba
408
+  uv rgb
409
+  name STMap2
410
+  xpos -407
411
+  ypos 2477
412
+ }
413
+ Reformat {
414
+  type "to box"
415
+  format "3200 1800 0 0 3200 1800 1 3200_1800"
416
+  box_width {{Source.width}}
417
+  box_height {{Source.height}}
418
+  resize none
419
+  pbb true
420
+  name Reformat8
421
+  xpos -407
422
+  ypos 2652
423
+ }
424
+ Dot {
425
+  name Dot9
426
+  label "RGBA out"
427
+  note_font_size 22
428
+  xpos -373
429
+  ypos 2997
430
+ }
431
+ Switch {
432
+  inputs 2
433
+  which {{settings.STMap}}
434
+  name Switch2
435
+  xpos -407
436
+  ypos 3076
437
+ }
438
+ Output {
439
+  name Output1
440
+  xpos -407
441
+  ypos 3248
442
+ }
443
+ NoOp {
444
+  inputs 0
445
+  name settings
446
+  xpos 98
447
+  ypos 590
448
+  hide_input true
449
+  addUserKnob {20 User}
450
+  addUserKnob {6 usePrerender l "Use prerender" +STARTLINE}
451
+  addUserKnob {6 STMap l "output STMap" +STARTLINE}
452
+  addUserKnob {22 setCurrFrame l "set current" T "frame = nuke.frame()\n\nnuke.thisNode()\['refFrame'].setValue(frame)" +STARTLINE}
453
+  addUserKnob {4 mode M {matchmove stabilize}}
454
+  mode stabilize
455
+  addUserKnob {4 typeDist l "distortion type" M {3de nuke none}}
456
+  typeDist none
457
+  addUserKnob {3 refFrame l "reference frame"}
458
+  refFrame 1015
459
+  addUserKnob {7 overscan}
460
+  overscan 1.1
461
+ }
462
+push $N2c47680
463
+ Write {
464
+  file_type exr
465
+  reading {{settings.usePrerender}}
466
+  checkHashOnRead false
467
+  version 6
468
+  beforeRender createWriteDir.createWriteDir()
469
+  name WriteSTMap
470
+  xpos 78
471
+  ypos 2299
472
+  postage_stamp true
473
+ }
474
+end_group
475
+# Creation Time=Thu Jul 27 10:12:05 2017
476
+# Creator=Andy

+ 15
- 0
gimmicks/Gimmicks/ndg_Shuffle.gimmick ファイルの表示

@@ -0,0 +1,15 @@
1
+set cut_paste_input [stack 0]
2
+version 10.5 v3
3
+push $cut_paste_input
4
+ShuffleCopy {
5
+ red red
6
+ green green
7
+ blue blue
8
+ name ShuffleCopy
9
+ label "\[value in] to \[value out]\n\[value in2] to \[value out2]"
10
+ selected true
11
+ xpos -165
12
+ ypos 46
13
+}
14
+# Creation Time=Thu Aug 10 12:54:43 2017
15
+# Creator=Andy

+ 35
- 0
gimmicks/Gimmicks/ndg_Whitebalance.gimmick ファイルの表示

@@ -0,0 +1,35 @@
1
+set cut_paste_input [stack 0]
2
+version 10.5 v3
3
+push $cut_paste_input
4
+Group {
5
+ name ndg_Whitebalance
6
+ selected true
7
+ xpos -22
8
+ ypos -40
9
+ addUserKnob {20 User}
10
+ addUserKnob {41 whitepoint T whiteBalance.whitepoint}
11
+ addUserKnob {26 ""}
12
+ addUserKnob {41 reverse T whiteBalance.reverse}
13
+}
14
+ Input {
15
+  inputs 0
16
+  name Input1
17
+  xpos 290
18
+  ypos 334
19
+ }
20
+ Grade {
21
+  whitepoint {1 1 1 0}
22
+  white {{(whitepoint.r+whitepoint.g+whitepoint.b)/3}}
23
+  name whiteBalance
24
+  selected true
25
+  xpos 290
26
+  ypos 413
27
+ }
28
+ Output {
29
+  name Output1
30
+  xpos 290
31
+  ypos 515
32
+ }
33
+end_group
34
+# Creation Time=Thu Aug 03 17:12:43 2017
35
+# Creator=Andy

+ 225
- 0
gimmicks/Gimmicks/pixelFehlerChecker.gimmick ファイルの表示

@@ -0,0 +1,225 @@
1
+set cut_paste_input [stack 0]
2
+version 12.2 v5
3
+push $cut_paste_input
4
+Group {
5
+ name pixelFehlerChecker
6
+ selected true
7
+ xpos 241
8
+ ypos 474
9
+ addUserKnob {20 User}
10
+ addUserKnob {7 median t "\t\t\t" R 0 10}
11
+ median 1
12
+ addUserKnob {26 ""}
13
+ addUserKnob {20 thresholds n 1}
14
+ addUserKnob {7 thresholdr l "threshold r" R 0 10}
15
+ thresholdr 0.5
16
+ addUserKnob {7 thresholdg l "threshold g" R 0 10}
17
+ thresholdg 0.5
18
+ addUserKnob {7 thresholdb l "threshold b" R 0 10}
19
+ thresholdb 0.5
20
+ addUserKnob {20 endGroup n -1}
21
+ addUserKnob {6 valueToOne l "value or 1" +STARTLINE}
22
+ valueToOne true
23
+ addUserKnob {26 ""}
24
+ addUserKnob {19 color}
25
+ color {1 0.6 0.3 0}
26
+ addUserKnob {6 color_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
27
+ addUserKnob {6 clamped +STARTLINE}
28
+ addUserKnob {26 ""}
29
+ addUserKnob {7 size R 0 10}
30
+ size 2
31
+ addUserKnob {7 blur l "blur mask" R 0 10}
32
+ blur 2
33
+ addUserKnob {26 ""}
34
+ addUserKnob {7 dissolve l mix}
35
+ addUserKnob {26 ""}
36
+ addUserKnob {6 fixPixelError l "fix pixel error" +STARTLINE}
37
+}
38
+ Input {
39
+  inputs 0
40
+  name Input1
41
+  xpos -490
42
+  ypos -345
43
+ }
44
+set Nc0d70400 [stack 0]
45
+push $Nc0d70400
46
+ Median {
47
+  size {{parent.median i}}
48
+  ignore_top_line false
49
+  name Median1
50
+  xpos -341
51
+  ypos -197
52
+ }
53
+set Nc2097c00 [stack 0]
54
+ Merge2 {
55
+  inputs 2
56
+  operation minus
57
+  name Merge1
58
+  xpos -107
59
+  ypos -144
60
+ }
61
+ Multiply {
62
+  value 8
63
+  name Multiply1
64
+  xpos -107
65
+  ypos -111
66
+ }
67
+set Nc2097400 [stack 0]
68
+ Expression {
69
+  temp_name0 value
70
+  temp_expr0 thresholdb
71
+  expr3 b>value?1:0
72
+  name Expression6
73
+  xpos 300
74
+  ypos -10
75
+ }
76
+push 0
77
+push $Nc2097400
78
+ Expression {
79
+  temp_name0 value
80
+  temp_expr0 thresholdr
81
+  expr3 r>value?1:0
82
+  name Expression7
83
+  xpos 120
84
+  ypos -9
85
+ }
86
+push $Nc2097400
87
+ Expression {
88
+  temp_name0 value
89
+  temp_expr0 parent.thresholdg
90
+  expr3 g>value?1:0
91
+  name Expression5
92
+  xpos 212
93
+  ypos -9
94
+ }
95
+ Merge2 {
96
+  inputs 3+1
97
+  operation plus
98
+  name Merge2
99
+  xpos 148
100
+  ypos 28
101
+ }
102
+push $Nc2097400
103
+ Expression {
104
+  temp_name0 value
105
+  temp_expr0 thresholdb
106
+  expr3 b>value?b:0
107
+  name Expression3
108
+  xpos -18
109
+  ypos -8
110
+ }
111
+push 0
112
+push $Nc2097400
113
+ Expression {
114
+  temp_name0 value
115
+  temp_expr0 thresholdr
116
+  expr3 r>value?r:0
117
+  name Expression1
118
+  xpos -198
119
+  ypos -8
120
+ }
121
+push $Nc2097400
122
+ Expression {
123
+  temp_name0 value
124
+  temp_expr0 parent.thresholdg
125
+  expr3 g>value?g:0
126
+  name Expression2
127
+  xpos -107
128
+  ypos -8
129
+ }
130
+ Merge2 {
131
+  inputs 3+1
132
+  operation plus
133
+  name Merge3
134
+  xpos -100
135
+  ypos 26
136
+ }
137
+ Switch {
138
+  inputs 2
139
+  which {{parent.valueToOne}}
140
+  name Switch2
141
+  xpos 81
142
+  ypos 68
143
+ }
144
+ Expression {
145
+  expr0 a
146
+  expr1 a
147
+  expr2 a
148
+  name Expression4
149
+  xpos -100
150
+  ypos 68
151
+ }
152
+ Dilate {
153
+  size {{parent.size}}
154
+  name Dilate1
155
+  xpos -100
156
+  ypos 92
157
+ }
158
+set Nc2094800 [stack 0]
159
+ Clamp {
160
+  name Clamp1
161
+  xpos 12
162
+  ypos 150
163
+ }
164
+push $Nc2094800
165
+ Multiply {
166
+  value {{parent.color.r} {parent.color.g} {parent.color.b} 1}
167
+  name Multiply2
168
+  xpos -100
169
+  ypos 147
170
+ }
171
+ Switch {
172
+  inputs 2
173
+  which {{parent.clamped}}
174
+  name Switch1
175
+  xpos -100
176
+  ypos 223
177
+ }
178
+ Blur {
179
+  size {{parent.blur}}
180
+  name Blur1
181
+  selected true
182
+  xpos -100
183
+  ypos 266
184
+ }
185
+set Nc2783400 [stack 0]
186
+push $Nc2097c00
187
+push $Nc0d70400
188
+ Keymix {
189
+  inputs 3
190
+  name Keymix1
191
+  xpos -246
192
+  ypos 349
193
+ }
194
+push $Nc0d70400
195
+push $Nc2783400
196
+ Dissolve {
197
+  inputs 2
198
+  which {{parent.dissolve}}
199
+  name Dissolve1
200
+  xpos -365
201
+  ypos 217
202
+ }
203
+push $Nc0d70400
204
+ Merge2 {
205
+  inputs 2
206
+  operation screen
207
+  name Merge4
208
+  xpos -475
209
+  ypos 309
210
+ }
211
+ Switch {
212
+  inputs 2
213
+  which {{parent.fixPixelError}}
214
+  name Switch3
215
+  xpos -475
216
+  ypos 486
217
+ }
218
+ Output {
219
+  name Output2
220
+  xpos -475
221
+  ypos 584
222
+ }
223
+end_group
224
+# Creation Time=Tue Apr 27 08:56:19 2021
225
+# Creator=Nils

+ 1515
- 0
gimmicks/Templates/DasGrain.gimmick
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 697
- 0
gimmicks/Templates/HandCameraTrackedClips.gimmick
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 2565
- 0
gimmicks/Templates/IBK_Black_Edges.gimmick
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 84
- 0
gimmicks/Templates/KF_Bokeh.gimmick ファイルの表示

@@ -0,0 +1,84 @@
1
+set cut_paste_input [stack 0]
2
+version 10.5 v3
3
+BackdropNode {
4
+ inputs 0
5
+ name BackdropNode1
6
+ tile_color 0x388e8e00
7
+ note_font_size 42
8
+ selected true
9
+ xpos -224
10
+ ypos -68
11
+ bdwidth 269
12
+ bdheight 196
13
+}
14
+push $cut_paste_input
15
+Dot {
16
+ name IMAGE_INPUT
17
+ label IMAGE_INPUT
18
+ note_font Verdana
19
+ note_font_size 15
20
+ note_font_color 0xffffffff
21
+ selected true
22
+ xpos -180
23
+ ypos -129
24
+}
25
+Copy {
26
+ from0 rgba.red
27
+ to0 depth.Z
28
+ name Copy1
29
+ selected true
30
+ xpos -214
31
+ ypos 10
32
+}
33
+pgBokeh {
34
+ focalPlane {{LensMetaData.LensFocus+LensMetaData.FocusOffset}}
35
+ realWorldLens true
36
+ focalLength {{LensMetaData.LensFocalLength}}
37
+ fStop {{LensMetaData.LensIris+LensMetaData.IrisOffset}}
38
+ worldScale m
39
+ filmFormat Custom
40
+ apertureWidth 54.12
41
+ apertureHeight 25.58
42
+ name pgBokeh1
43
+ selected true
44
+ xpos -214
45
+ ypos 96
46
+}
47
+Dot {
48
+ name IMAGE_OUTPUT
49
+ label IMAGE_OUTPUT
50
+ note_font Verdana
51
+ note_font_size 15
52
+ note_font_color 0xffffffff
53
+ selected true
54
+ xpos -180
55
+ ypos 175
56
+}
57
+Dot {
58
+ inputs 0
59
+ name METADATA_INPUT
60
+ label METADATA_INPUT
61
+ note_font Verdana
62
+ note_font_size 15
63
+ note_font_color 0xffffffff
64
+ selected true
65
+ xpos 23
66
+ ypos -91
67
+}
68
+Dot {
69
+ name LensMetaData
70
+ selected true
71
+ xpos 23
72
+ ypos 101
73
+ addUserKnob {20 User}
74
+ addUserKnob {7 LensFocalLength l "Lens Focal Length"}
75
+ LensFocalLength {{"\[metadata \"ext/Lens Focal Length\"]"}}
76
+ addUserKnob {7 LensFocus l "Lens Focus Distance"}
77
+ LensFocus {{"\[metadata \"ext/Lens Focus Distance\"]"}}
78
+ addUserKnob {7 LensIris l "Lens Iris"}
79
+ LensIris {{"\[metadata \"ext/Lens Iris\"]"}}
80
+ addUserKnob {7 FocusOffset l "Lens Focus Distance Offset"}
81
+ addUserKnob {7 IrisOffset l "Lens Iris Offset"}
82
+}
83
+# Creation Time=Mon Jun 11 15:40:27 2018
84
+# Creator=ne

+ 51
- 0
gimmicks/Templates/KF_Thumbnails_first.gimmick ファイルの表示

@@ -0,0 +1,51 @@
1
+set cut_paste_input [stack 0]
2
+version 10.5 v3
3
+BackdropNode {
4
+ inputs 0
5
+ name BackdropNode1
6
+ tile_color 0x999999ff
7
+ gl_color 0x999999ff
8
+ label "first_frame\n"
9
+ note_font_size 15
10
+ selected true
11
+ xpos -181
12
+ ypos -131
13
+ bdheight 200
14
+}
15
+push $cut_paste_input
16
+Reformat {
17
+ type "to box"
18
+ box_width 500
19
+ name Reformat1
20
+ selected true
21
+ xpos -171
22
+ ypos -51
23
+}
24
+Vectorfield {
25
+ vfield_file O:/LUTs/K1S1_3D_Neutral.cube
26
+ version 3
27
+ file_type cube
28
+ colorspaceIn AlexaV3LogC
29
+ name Vectorfield1
30
+ selected true
31
+ xpos -171
32
+ ypos -25
33
+}
34
+Write {
35
+ channels rgba
36
+ file "//calculon/o/_projekte/KalteFuesse/000_A_TrelloThumbs/\[file tail \[lrange \[split \[file rootname \[value root.name]] ] 0 1]].####.jpg"
37
+ raw true
38
+ file_type jpeg
39
+ first {{root.first_frame}}
40
+ last {{root.first_frame}}
41
+ use_limit true
42
+ checkHashOnRead false
43
+ version 1
44
+ beforeRender createWriteDir.createWriteDir()
45
+ name Write1
46
+ selected true
47
+ xpos -171
48
+ ypos 11
49
+}
50
+# Creation Time=Tue Jun 05 18:16:39 2018
51
+# Creator=ne

+ 51
- 0
gimmicks/Templates/KF_Thumbnails_last.gimmick ファイルの表示

@@ -0,0 +1,51 @@
1
+set cut_paste_input [stack 0]
2
+version 10.5 v3
3
+BackdropNode {
4
+ inputs 0
5
+ name BackdropNode3
6
+ tile_color 0x999999ff
7
+ gl_color 0x999999ff
8
+ label "last frame\n"
9
+ note_font_size 15
10
+ selected true
11
+ xpos 147
12
+ ypos -134
13
+ bdheight 202
14
+}
15
+push $cut_paste_input
16
+Reformat {
17
+ type "to box"
18
+ box_width 500
19
+ name Reformat3
20
+ selected true
21
+ xpos 157
22
+ ypos -54
23
+}
24
+Vectorfield {
25
+ vfield_file O:/LUTs/K1S1_3D_Neutral.cube
26
+ version 4
27
+ file_type cube
28
+ colorspaceIn AlexaV3LogC
29
+ name Vectorfield3
30
+ selected true
31
+ xpos 157
32
+ ypos -28
33
+}
34
+Write {
35
+ channels rgba
36
+ file "//calculon/o/_projekte/KalteFuesse/000_A_TrelloThumbs/\[file tail \[lrange \[split \[file rootname \[value root.name]] ] 0 1]].####.jpg"
37
+ raw true
38
+ file_type jpeg
39
+ first {{root.last_frame}}
40
+ last {{root.last_frame}}
41
+ use_limit true
42
+ checkHashOnRead false
43
+ version 1
44
+ beforeRender createWriteDir.createWriteDir()
45
+ name Write3
46
+ selected true
47
+ xpos 157
48
+ ypos 11
49
+}
50
+# Creation Time=Tue Jun 05 18:17:13 2018
51
+# Creator=ne

+ 51
- 0
gimmicks/Templates/KF_Thumbnails_middle.gimmick ファイルの表示

@@ -0,0 +1,51 @@
1
+set cut_paste_input [stack 0]
2
+version 10.5 v3
3
+BackdropNode {
4
+ inputs 0
5
+ name BackdropNode2
6
+ tile_color 0x999999ff
7
+ gl_color 0x999999ff
8
+ label "mid_frame\n"
9
+ note_font_size 15
10
+ selected true
11
+ xpos -22
12
+ ypos -132
13
+ bdheight 198
14
+}
15
+push $cut_paste_input
16
+Reformat {
17
+ type "to box"
18
+ box_width 500
19
+ name Reformat2
20
+ selected true
21
+ xpos -12
22
+ ypos -52
23
+}
24
+Vectorfield {
25
+ vfield_file O:/LUTs/K1S1_3D_Neutral.cube
26
+ version 4
27
+ file_type cube
28
+ colorspaceIn AlexaV3LogC
29
+ name Vectorfield2
30
+ selected true
31
+ xpos -12
32
+ ypos -26
33
+}
34
+Write {
35
+ channels rgba
36
+ file "//calculon/o/_projekte/KalteFuesse/000_A_TrelloThumbs/\[file tail \[lrange \[split \[file rootname \[value root.name]] ] 0 1]].####.jpg"
37
+ raw true
38
+ file_type jpeg
39
+ first {{int((root.first_frame+root.last_frame)/2)}}
40
+ last {{int((root.first_frame+root.last_frame)/2)}}
41
+ use_limit true
42
+ checkHashOnRead false
43
+ version 1
44
+ beforeRender createWriteDir.createWriteDir()
45
+ name Write2
46
+ selected true
47
+ xpos -12
48
+ ypos 10
49
+}
50
+# Creation Time=Tue Jun 05 18:17:00 2018
51
+# Creator=ne

+ 495
- 0
gimmicks/Templates/SHA_Dummy.gimmick ファイルの表示

@@ -0,0 +1,495 @@
1
+set cut_paste_input [stack 0]
2
+version 11.3 v5
3
+push $cut_paste_input
4
+Dot {
5
+ name Dot1
6
+ label BG
7
+ note_font_size 24
8
+ selected true
9
+ xpos 1315
10
+ ypos -317
11
+}
12
+Retime {
13
+ input.first 1001
14
+ input.last 1221
15
+ output.first 1001
16
+ output.last 1111
17
+ speed 2
18
+ shutter 0
19
+ time ""
20
+ name Retime3
21
+ selected true
22
+ xpos 1281
23
+ ypos -253
24
+}
25
+Reformat {
26
+ format "3200 1800 0 0 3200 1800 1 "
27
+ name Reformat2
28
+ selected true
29
+ xpos 1281
30
+ ypos -218
31
+}
32
+Transform {
33
+ translate {1128 -470}
34
+ scale {{FOV_Calculator2.factor x1001 0 x1018 0}}
35
+ center {1580 916}
36
+ name Transform2
37
+ selected true
38
+ xpos 1281
39
+ ypos -160
40
+}
41
+set Nc5e51400 [stack 0]
42
+push 0
43
+push 0
44
+Dot {
45
+ name Dot2
46
+ label FG
47
+ note_font_size 24
48
+ selected true
49
+ xpos 1654
50
+ ypos -309
51
+}
52
+Group {
53
+ name LensMeta1
54
+ selected true
55
+ xpos 1620
56
+ ypos -202
57
+ addUserKnob {20 User}
58
+ addUserKnob {7 focallength l "focal length"}
59
+ focallength {{"\[metadata \"ext/Lens Focal Length\"]"}}
60
+ addUserKnob {7 focusdistance l "focus distance"}
61
+ focusdistance {{"\[metadata \"ext/Lens Focus Distance\"]"}}
62
+}
63
+ Input {
64
+  inputs 0
65
+  name Input1
66
+  xpos 0
67
+ }
68
+ Output {
69
+  name Output1
70
+  xpos 0
71
+  ypos 300
72
+ }
73
+end_group
74
+Group {
75
+ name FOV_Calculator2
76
+ selected true
77
+ xpos 1620
78
+ ypos -157
79
+ addUserKnob {20 User}
80
+ addUserKnob {26 BG_info l "Panasonic GH5s" T "has a sensor size of 17.3 x 13 mm"}
81
+ addUserKnob {7 lengthBG l "length BG" R 0 100}
82
+ lengthBG 17.3
83
+ addUserKnob {7 focallengthBG l "focal length BG" R 0 200}
84
+ focallengthBG 10
85
+ addUserKnob {7 angleBG l "angle BG" t "\t\t\t\t\t\t" R 0 180}
86
+ angleBG {{"2 * atan (lengthBG / 2 / focallengthBG) * 180 / pi"}}
87
+ addUserKnob {26 ""}
88
+ addUserKnob {26 FG_Info l "Alexa Mini" T "has a sensor size of 26.4 x 14.85 mm"}
89
+ addUserKnob {26 Lens_Info l "Vantage One" T "Lenses: 17.5   21   25   32   40   50   65   90   120"}
90
+ addUserKnob {7 lengthFG l "length FG" R 0 100}
91
+ lengthFG 26.4
92
+ addUserKnob {7 focallengthFG l "focal length FG" R 0 200}
93
+ focallengthFG {{"\[metadata \"ext/Lens Focal Length\"]"}}
94
+ addUserKnob {7 angleFG l "angle FG" R 0 180}
95
+ angleFG {{"2 * atan (lengthFG / 2 / focallengthFG) * 180 / pi"}}
96
+ addUserKnob {26 ""}
97
+ addUserKnob {7 factor l "scaling factor for BG" R 0 5}
98
+ factor {{angleBG/angleFG}}
99
+}
100
+ Input {
101
+  inputs 0
102
+  name Input1
103
+  selected true
104
+  xpos 1
105
+  ypos 237
106
+ }
107
+ Output {
108
+  name Output1
109
+  xpos 1
110
+  ypos 299
111
+ }
112
+end_group
113
+IBKGizmoV3 {
114
+ inputs 3
115
+ name IBKGizmoV3_2
116
+ xpos 1620
117
+ ypos 111
118
+ st pick
119
+ colour {0.02357788756 0.03127772361 0.1555380225}
120
+}
121
+Constant {
122
+ inputs 0
123
+ color 100
124
+ format "3200 1800 0 0 3200 1800 1 "
125
+ name Constant1
126
+ selected true
127
+ xpos 980
128
+ ypos -314
129
+}
130
+Dot {
131
+ name Dot4
132
+ label Depth
133
+ note_font_size 24
134
+ selected true
135
+ xpos 1014
136
+ ypos -121
137
+}
138
+Dot {
139
+ name Dot3
140
+ selected true
141
+ xpos 1014
142
+ ypos 78
143
+}
144
+push $Nc5e51400
145
+Copy {
146
+ inputs 2
147
+ from0 rgba.alpha
148
+ to0 depth.Z
149
+ name Copy2
150
+ selected true
151
+ xpos 1281
152
+ ypos 68
153
+}
154
+Group {
155
+ name OpticalZDefocus2
156
+ help "<b>OpticalZDefocus</b> is a physically accurate ZDefocus, which controls circle of confusion (coc) size based on lens geometry using the depth of field equation. \n\nSet your lens and film-back characteristics, your focus distance, and adjust the size of your bokeh with the aperture size, just like a real lens."
157
+ tile_color 0xcc804eef
158
+ selected true
159
+ xpos 1281
160
+ ypos 127
161
+ addUserKnob {20 OpticalZDefocus}
162
+ addUserKnob {41 channels T _ZDEFOCUS_.channels}
163
+ addUserKnob {41 useGPUIfAvailable l "Use GPU if available" T _ZDEFOCUS_.useGPUIfAvailable}
164
+ addUserKnob {26 ""}
165
+ addUserKnob {41 depth_channel l "depth channel" t "Choose the channel that contains your Z-Depth" T CHANNEL_CHOOSER_DEPTH.Zchan}
166
+ addUserKnob {26 spacer l " &nbsp;  &nbsp;  " -STARTLINE T " "}
167
+ addUserKnob {6 unpremult_z l " &nbsp;  &nbsp; <b>unpremult</b> by" t "Unpremultiply the depth layer by the selected channel" -STARTLINE}
168
+ addUserKnob {41 depth_alpha l "" -STARTLINE T CHANNEL_CHOOSER_ALPHA.Zchan}
169
+ addUserKnob {22 set_z l "Sample Z" t "Sets the focal distance to the Z channel value at the current focal point on the current frame." T "from __future__ import with_statement\n\nn = nuke.thisNode()\ns = n\['s']\nz_coord = n\['sample_z']\n\nwith n:\n    ds = nuke.toNode('DepthSampler')\n    zsample = ds.sample('red', z_coord.getValue(0), z_coord.getValue(1))\n\nif s.isAnimated():\n    s.setValueAt(zsample, nuke.frame())\nelse:\n    s.setValue(zsample)" +STARTLINE}
170
+ addUserKnob {12 sample_z l "&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sample position: " t "Allows you to sample the Z channel at a specific 2d position." -STARTLINE}
171
+ sample_z {3418 1254}
172
+ addUserKnob {4 depth_unit l "depth unit" t "Set the unit of your zdepth." M {mm cm dm m inch ft}}
173
+ depth_unit m
174
+ addUserKnob {26 spacer2 l "" t " " -STARTLINE T "  "}
175
+ addUserKnob {6 show_coc l "show coc" t "Output the calculated direct circle of confusion size map that is used to drive the ZDefocus in direct mode.\n\nUseful for troubleshooting." -STARTLINE}
176
+ addUserKnob {6 invert_depth l depth=1/z t "Invert the depth if your input is Nuke ScanlineRender style 1/Z" -STARTLINE}
177
+ addUserKnob {26 divider l " " T "  "}
178
+ addUserKnob {26 ""}
179
+ addUserKnob {26 dof_control_label l " " T "<font color=#ddd><b>Depth of Field Control"}
180
+ addUserKnob {41 constant_defocus l "constant defocus" t "If enabled, depth-varying defocus is disabled and defocus amount is controlled directly by the max defocus slider." T _ghost_whisper_.constant_defocus}
181
+ addUserKnob {7 s l "focus distance" t "Set the focus distance" R 10 1000}
182
+ s {{LensMeta1.focusdistance}}
183
+ addUserKnob {7 N l f-stop t "Controls the aperture of your lens.\n\nBigger number = greater depth of field. \n\nSmaller numbers = shallower depth of field." R 0.8 44}
184
+ N 2.8
185
+ addUserKnob {41 max_size l "max defocus" t "Set the max defocus size allowed" T _ZDEFOCUS_.max_size}
186
+ addUserKnob {26 ""}
187
+ addUserKnob {26 lens_geometry_label l " " T "<font color=#ddd><b>Lens Geometry"}
188
+ addUserKnob {22 get_selected_camera l "Get Selected Camera" t "Set the parameters using the selected camera." T "from __future__ import with_statement\n\ndef get_camera():\n    ozdef = nuke.thisNode()\n    with nuke.root():\n        root_par = nuke.root().format().pixelAspect()\n        cam = nuke.selectedNodes()\n        if len(cam) != 1:\n            nuke.message('Please select a single camera node.')\n            return\n        elif len(cam) == 0:\n            nuke.message('Please select a single camera node.')\n            return\n        else:\n            cam = cam\[0]\n        if 'Camera2' not in cam.Class():\n            nuke.message('Please select a camera node.')\n            return\n        ozdef\['f'].setValue(cam\['focal'].getValue())\n        ozdef\['N'].setValue(cam\['fstop'].getValue())\n        # Assuming anamorphic shows have physical haperture*2\n        ozdef\['haperture'].setValue(cam\['haperture'].getValue()/root_par)\n\nif __name__ == \"__main__\":\n    get_camera()" +STARTLINE}
189
+ addUserKnob {41 use_camera_input l "use camera input" -STARTLINE T _ghost_whisper_.use_camera_input}
190
+ addUserKnob {7 f l "focal length" t "Set the focal length of the camera" R 0 500}
191
+ f {{LensMeta1.focallength}}
192
+ addUserKnob {7 haperture t "Horizontal aperture of the film-back / sensor" R 0 50}
193
+ haperture 26.4
194
+ addUserKnob {26 ""}
195
+ addUserKnob {7 min_zdepth l "min zdepth" t "If ZDepth = 0, ZDepth will be set to the specified value.\n\nThe ZDefocus node can be very slow to calculate if you have zero values in your zdepth, for example if you have areas that have transparent alpha. \n\nSet min zdepth to a value slightly smaller than the nearest object in your scene to speed up processing time." R 0 20}
196
+ min_zdepth 1
197
+ addUserKnob {41 autoLayerSpacing l "automatic layer spacing" T _ZDEFOCUS_.autoLayerSpacing}
198
+ addUserKnob {41 layers l "depth layers" T _ZDEFOCUS_.layers}
199
+ addUserKnob {41 layerCurve l "layer curve" T _ZDEFOCUS_.layerCurve}
200
+ addUserKnob {26 ""}
201
+ addUserKnob {20 Filter}
202
+ addUserKnob {41 filter_type_1 l "filter type" T _ZDEFOCUS_.filter_type}
203
+ addUserKnob {7 aspect_ratio R 0 2}
204
+ aspect_ratio 1
205
+ addUserKnob {7 filter_shape}
206
+ filter_shape 1
207
+ addUserKnob {3 blades}
208
+ blades 9
209
+ addUserKnob {7 roundness}
210
+ roundness 0.2
211
+}
212
+ ZBlur {
213
+  inputs 0
214
+  channels rgba
215
+  shape 1
216
+  name CHANNEL_CHOOSER_DEPTH
217
+  xpos -442
218
+  ypos 230
219
+  disable true
220
+ }
221
+ ZBlur {
222
+  channels rgba
223
+  Zchan rgba.alpha
224
+  shape 1
225
+  name CHANNEL_CHOOSER_ALPHA
226
+  xpos -442
227
+  ypos 270
228
+  disable true
229
+ }
230
+ Input {
231
+  inputs 0
232
+  name Input
233
+  label "\[value number]"
234
+  xpos -308
235
+  ypos -16
236
+ }
237
+ Dot {
238
+  name _ghost_whisper_
239
+  knobChanged "\n\n\nthisknob = nuke.thisKnob()\nnode = nuke.thisNode()\nnuke.root().begin()\nparent_node = nuke.toNode(node.fullName().split('.')\[0])\nparent_node.begin()\n\ndef enable_knobs(enabled=True, caminput=False):\n    if caminput:\n        knobs = \['get_selected_camera', 'f', 'haperture']\n    else:\n        knobs = \['min_zdepth', 'get_selected_camera', 'f', 's', 'N', 'haperture']\n    for knob in knobs:\n        parent_node\[knob].setEnabled(enabled)\n\nif thisknob.name() == 'constant_defocus':\n    is_const = node\['constant_defocus'].getValue()\n    if is_const:\n        enable_knobs(False)\n    else:\n        enable_knobs()\n\nif thisknob.name() == 'use_camera_input':\n    if thisknob.getValue():\n        enable_knobs(False, True)\n        cam_input = nuke.nodes.Input(name='InputCamera', xpos=228, ypos=-16)\n        parent_node\['f'].setExpression('\[topnode input2].focal')\n        parent_node\['haperture'].setExpression('\[topnode input2].haperture')\n    if not thisknob.getValue():\n        if not parent_node\['constant_defocus'].getValue():\n            enable_knobs(True, True)\n        parent_node.setInput(2, None)\n        nuke.delete(nuke.toNode('InputCamera'))\n        parent_node\['f'].clearAnimated()\n        parent_node\['haperture'].clearAnimated()\n\n\n"
240
+  tile_color 0x129000ff
241
+  note_font_size 42
242
+  note_font_color 0x7f7f7f01
243
+  xpos -274
244
+  ypos 114
245
+  addUserKnob {20 User}
246
+  addUserKnob {6 constant_defocus t "Disables depth-varying defocus. \nBokeh size is directly controlled by max defocus." +STARTLINE}
247
+  addUserKnob {6 use_camera_input l "use camera input" t "Creates a camera input pipe instead so that no user action is required." +STARTLINE}
248
+ }
249
+set Nc5eb6000 [stack 0]
250
+ Dot {
251
+  name Dot7
252
+  note_font_size 42
253
+  note_font_color 0x7f7f7f01
254
+  xpos -542
255
+  ypos 114
256
+ }
257
+ AddChannels {
258
+  channels depth
259
+  channels2 rgba
260
+  name AddChannels1
261
+  xpos -576
262
+  ypos 144
263
+ }
264
+set Nc5ef3800 [stack 0]
265
+push $Nc5ef3800
266
+ Copy {
267
+  inputs 2
268
+  from0 {{{CHANNEL_CHOOSER_DEPTH.Zchan}}}
269
+  to0 rgba.red
270
+  from1 {{{CHANNEL_CHOOSER_ALPHA.Zchan}}}
271
+  to1 rgba.alpha
272
+  bbox B
273
+  name _CHOOSE_CHANNELS_
274
+  xpos -576
275
+  ypos 218
276
+  disable {{hasError}}
277
+ }
278
+ Unpremult {
279
+  name _UNPREMULT_Z_
280
+  xpos -576
281
+  ypos 310
282
+  disable {{!parent.unpremult_z}}
283
+ }
284
+ Expression {
285
+  temp_name3 max_dist
286
+  temp_expr3 100000
287
+  expr0 "r == 0 ? max_dist : 1/r"
288
+  channel1 none
289
+  channel2 none
290
+  name DepthInvert
291
+  xpos -576
292
+  ypos 350
293
+  disable {{!parent.invert_depth}}
294
+ }
295
+set Nc5ef2c00 [stack 0]
296
+ Multiply {
297
+  channels rgb
298
+  value {{"parent.depth_unit == 1 ? 10 : parent.depth_unit == 2 ? 100 : parent.depth_unit == 3 ? 1000 : parent.depth_unit == 4 ? 25.4 : parent.depth_unit == 5 ? 304.8 : 1"}}
299
+  name _UNIT_MULTIPLIER_
300
+  xpos -576
301
+  ypos 390
302
+  addUserKnob {20 User}
303
+  addUserKnob {7 depth_unit_divider R 0 500}
304
+  depth_unit_divider {{"parent.depth_unit == 1 ? 10 : parent.depth_unit == 2 ? 100 : parent.depth_unit == 3 ? 1000 : parent.depth_unit == 4 ? 25.4 : parent.depth_unit == 5 ? 304.8 : 1"}}
305
+ }
306
+ Expression {
307
+  temp_name0 zdepth
308
+  temp_expr0 "r < parent.min_zdepth* _UNIT_MULTIPLIER_.value ? parent.min_zdepth* _UNIT_MULTIPLIER_.value : r"
309
+  temp_name1 focus_dist
310
+  temp_expr1 "s * _UNIT_MULTIPLIER_.value"
311
+  temp_name2 coc
312
+  temp_expr2 "(fabs(focus_dist - zdepth) * pow(f,2) / (N * zdepth * (focus_dist - f)))"
313
+  temp_name3 coc_px
314
+  temp_expr3 "fabs(coc / haperture * input.width / 2)"
315
+  channel0 rgba
316
+  expr0 "parent.constant_defocus ? parent.max_size : coc_px"
317
+  channel1 none
318
+  name Generate_Direct_Z
319
+  selected true
320
+  xpos -576
321
+  ypos 429
322
+  addUserKnob {20 Optical l "Optical Characteristics"}
323
+  addUserKnob {7 f l "focal length" R 0 500}
324
+  f {{parent.f}}
325
+  addUserKnob {7 N l f-stop R 0 44}
326
+  N {{parent.N}}
327
+  addUserKnob {7 haperture R 0 50}
328
+  haperture {{parent.haperture}}
329
+  addUserKnob {7 s l "focus distance" R 0 1000}
330
+  s {{parent.s}}
331
+ }
332
+ Dot {
333
+  name Dot3
334
+  note_font_size 42
335
+  note_font_color 0x7f7f7f01
336
+  xpos -542
337
+  ypos 514
338
+ }
339
+set Nc5ef2000 [stack 0]
340
+ Dot {
341
+  name Dot2
342
+  note_font_size 42
343
+  note_font_color 0x7f7f7f01
344
+  xpos -542
345
+  ypos 1034
346
+ }
347
+ Input {
348
+  inputs 0
349
+  name InputFilter
350
+  label "\[value number]"
351
+  xpos 94
352
+  ypos -16
353
+  number 1
354
+ }
355
+ Reformat {
356
+  type scale
357
+  scale {1 {1/parent.aspect_ratio}}
358
+  resize distort
359
+  name _aspect_ratio_1
360
+  xpos 94
361
+  ypos 390
362
+ }
363
+ Dot {
364
+  inputs 0
365
+  name Dot1
366
+  label " Default Filter Input"
367
+  note_font "Helvetica Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold"
368
+  note_font_size 24
369
+  note_font_color 0xff000000
370
+  xpos 262
371
+  ypos 314
372
+ }
373
+ Reformat {
374
+  type "to box"
375
+  box_fixed true
376
+  name Reformat1
377
+  xpos 228
378
+  ypos 390
379
+ }
380
+ Flare {
381
+  position {{width/2} {height/2}}
382
+  radius {75 88 91}
383
+  inner_color 1
384
+  name Flare3
385
+  xpos 228
386
+  ypos 430
387
+ }
388
+ Reformat {
389
+  type scale
390
+  scale {1 {1/parent.aspect_ratio}}
391
+  resize distort
392
+  name _aspect_ratio_2
393
+  xpos 228
394
+  ypos 470
395
+ }
396
+ Shuffle {
397
+  alpha red
398
+  name Shuffle1
399
+  label "\[value in]"
400
+  xpos 228
401
+  ypos 504
402
+ }
403
+ Switch {
404
+  inputs 2
405
+  which {{"\[exists parent.input1]"}}
406
+  name Switch3
407
+  xpos 94
408
+  ypos 510
409
+ }
410
+ Dot {
411
+  name Dot6
412
+  label " "
413
+  note_font "Helvetica Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold Bold"
414
+  note_font_size 24
415
+  note_font_color 0xff000000
416
+  xpos 128
417
+  ypos 594
418
+ }
419
+push $Nc5ef2000
420
+push $Nc5eb6000
421
+ Dot {
422
+  name Dot4
423
+  label " "
424
+  note_font "Helvetica Bold Bold Bold Bold Bold Bold Bold Bold Bold"
425
+  note_font_size 24
426
+  note_font_color 0xa5a5a501
427
+  xpos -274
428
+  ypos 434
429
+ }
430
+add_layer {opticalzdefocus opticalzdefocus.Z}
431
+ Copy {
432
+  inputs 2
433
+  from0 rgba.red
434
+  to0 opticalzdefocus.Z
435
+  bbox B
436
+  name _Copy_ZDepth_
437
+  xpos -308
438
+  ypos 504
439
+ }
440
+ ZDefocus2 {
441
+  inputs 2
442
+  channels rgba
443
+  z_channel opticalzdefocus.Z
444
+  math direct
445
+  focal_point {16540 12700}
446
+  size 1
447
+  max_size 100
448
+  legacy_resize_mode false
449
+  show_legacy_resize_mode false
450
+  use_input_channels true
451
+  aspect {{parent.aspect_ratio}}
452
+  blades {{parent.blades}}
453
+  roundness {{parent.roundness}}
454
+  inner_feather 0.28
455
+  catadioptric_size 0.375
456
+  name _ZDEFOCUS_
457
+  xpos -308
458
+  ypos 584
459
+ }
460
+ Remove {
461
+  channels opticalzdefocus
462
+  name Remove1
463
+  xpos -308
464
+  ypos 659
465
+ }
466
+ Switch {
467
+  inputs 2
468
+  which {{parent.show_coc}}
469
+  name _SHOW_COC_
470
+  xpos -308
471
+  ypos 1030
472
+ }
473
+ Output {
474
+  name Output1
475
+  xpos -308
476
+  ypos 1230
477
+ }
478
+push $Nc5ef2c00
479
+ NoOp {
480
+  name DepthSampler
481
+  xpos -710
482
+  ypos 350
483
+  addUserKnob {20 User}
484
+  addUserKnob {7 sval R 0 1000}
485
+ }
486
+end_group
487
+Merge2 {
488
+ inputs 2
489
+ name Merge2
490
+ selected true
491
+ xpos 1281
492
+ ypos 334
493
+}
494
+# Creation Time=Tue May  5 12:19:08 2020
495
+# Creator=ne

+ 77
- 0
gimmicks/Templates/removenoise_prep.gimmick
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 298
- 0
gizmos/A_DisparityGenerator.gizmo ファイルの表示

@@ -0,0 +1,298 @@
1
+Group {
2
+ name A_DisparityGenerator
3
+ icon As5.png
4
+ tile_color 0x5f9ad1ff
5
+ addUserKnob {20 User}
6
+ addUserKnob {41 dblur l "Disparity Preblur" T Blur34.size}
7
+ addUserKnob {41 Ddetail l "Disparity Detail" T VectorGenerator2.vectorDetail}
8
+ addUserKnob {41 Dsmoothness l "Disparity Smoothness" T VectorGenerator2.smoothness}
9
+ addUserKnob {26 ""}
10
+ addUserKnob {6 frmhold l "Frame Hold" +STARTLINE}
11
+ addUserKnob {6 LOG l "Analyze LOG" t "check this box to analyze the stereo disparity in LOG space. Can yield better results for plates with high and low float values" -STARTLINE}
12
+ addUserKnob {3 heldfrm l "Hold Frame"}
13
+ heldfrm 1154
14
+}
15
+ Input {
16
+  inputs 0
17
+  name FG
18
+  xpos 520
19
+  ypos 337
20
+ }
21
+set N53726b00 [stack 0]
22
+ Colorspace {
23
+  colorspace_out Cineon
24
+  name Colorspace6
25
+  xpos 520
26
+  ypos 388
27
+ }
28
+push $N53726b00
29
+ Dot {
30
+  name Dot1
31
+  xpos 441
32
+  ypos 383
33
+ }
34
+set N537271e0 [stack 0]
35
+ Switch {
36
+  inputs 2
37
+  which {{LOG}}
38
+  name Switch2
39
+  xpos 520
40
+  ypos 434
41
+ }
42
+set N535287e0 [stack 0]
43
+ OneView {
44
+  name OneView36
45
+  xpos 680
46
+  ypos 434
47
+ }
48
+set N53727550 [stack 0]
49
+ Colorspace {
50
+  colorspace_in Cineon
51
+  name Colorspace8
52
+  xpos 835
53
+  ypos 434
54
+ }
55
+push $N537271e0
56
+ Shuffle {
57
+  name Shuffle3
58
+  xpos 407
59
+  ypos 1488
60
+ }
61
+push $N53727550
62
+ Retime {
63
+  input.first 1001
64
+  input.last 1168
65
+  output.first 1001
66
+  output.last 1336
67
+  speed 0.5
68
+  filter nearest
69
+  name Retime5
70
+  xpos 680
71
+  ypos 505
72
+ }
73
+set N53727fa0 [stack 0]
74
+ Dot {
75
+  name Dot3
76
+  xpos 980
77
+  ypos 509
78
+ }
79
+push $N535287e0
80
+ OneView {
81
+  name OneView35
82
+  xpos 520
83
+  ypos 507
84
+ }
85
+ Retime {
86
+  input.first 1001
87
+  input.last 1168
88
+  output.first 1001
89
+  output.last 1336
90
+  speed 0.5
91
+  filter nearest
92
+  name Retime4
93
+  xpos 520
94
+  ypos 575
95
+ }
96
+set N537289f0 [stack 0]
97
+ Dot {
98
+  name Dot4
99
+  xpos 554
100
+  ypos 630
101
+ }
102
+ Switch {
103
+  inputs 2
104
+  which {{curve(((frame-1017)%(1018-1017+1))+1017) x1017 0 1}}
105
+  name Switch5
106
+  xpos 946
107
+  ypos 626
108
+ }
109
+set N53528b70 [stack 0]
110
+ VectorGenerator {
111
+  serializeKnob ""
112
+  vectorDetail {{parent.VectorGenerator2.vectorDetail.left}}
113
+  smoothness {{parent.VectorGenerator2.smoothness.left}}
114
+  computedVectorFlag 33
115
+  output Background
116
+  Advanced 1
117
+  flickerCompensation true
118
+  Tolerances 1
119
+  weightRed 0.2
120
+  weightGreen 0.8
121
+  weightBlue 0
122
+  name VectorGenerator1
123
+  xpos 946
124
+  ypos 717
125
+ }
126
+ Retime {
127
+  input.first 1001
128
+  input.last 1336
129
+  output.first 1001
130
+  output.last 1168
131
+  speed 2
132
+  filter nearest
133
+  name Retime1
134
+  xpos 946
135
+  ypos 793
136
+ }
137
+add_layer {motion motion.u motion.v motion.w}
138
+ Shuffle {
139
+  in motion
140
+  blue black
141
+  alpha black
142
+  name Shuffle1
143
+  xpos 946
144
+  ypos 830
145
+ }
146
+push $N537289f0
147
+push $N53727fa0
148
+ Switch {
149
+  inputs 2
150
+  which {{curve(((frame-1017)%(1018-1017+1))+1017) x1017 0 1}}
151
+  name Switch3
152
+  xpos 680
153
+  ypos 575
154
+ }
155
+set N53528f00 [stack 0]
156
+ VectorGenerator {
157
+  serializeKnob ""
158
+  vectorDetail 1
159
+  smoothness 0.6
160
+  computedVectorFlag 32
161
+  Advanced 1
162
+  flickerCompensation true
163
+  Tolerances 1
164
+  weightRed 0.2
165
+  weightGreen 0.8
166
+  weightBlue 0
167
+  name VectorGenerator2
168
+  xpos 680
169
+  ypos 717
170
+ }
171
+ Retime {
172
+  input.first 1001
173
+  input.last 1336
174
+  output.first 1001
175
+  output.last 1168
176
+  speed 2
177
+  filter nearest
178
+  name Retime6
179
+  xpos 680
180
+  ypos 802
181
+ }
182
+set N53729e90 [stack 0]
183
+ Shuffle {
184
+  in motion
185
+  blue black
186
+  alpha black
187
+  name Shuffle14
188
+  xpos 829
189
+  ypos 802
190
+ }
191
+push $N53729e90
192
+ Shuffle {
193
+  in2 disparity
194
+  name Shuffle2
195
+  xpos 680
196
+  ypos 837
197
+ }
198
+ Copy {
199
+  inputs 2
200
+  from0 rgba.red
201
+  to0 disparityR.x
202
+  from1 rgba.green
203
+  to1 disparityR.y
204
+  name Copy2
205
+  xpos 680
206
+  ypos 935
207
+ }
208
+ Copy {
209
+  inputs 2
210
+  from0 rgba.red
211
+  to0 disparityL.x
212
+  from1 rgba.green
213
+  to1 disparityL.y
214
+  name Copy1
215
+  xpos 680
216
+  ypos 1055
217
+ }
218
+ Remove {
219
+  operation keep
220
+  channels rgba
221
+  channels2 alpha
222
+  channels3 disparity
223
+  name Remove1
224
+  xpos 680
225
+  ypos 1163
226
+ }
227
+set N5372afc0 [stack 0]
228
+ FrameHold {
229
+  first_frame {{heldfrm}}
230
+  name FrameHold8
231
+  xpos 539
232
+  ypos 1157
233
+ }
234
+push $N5372afc0
235
+ Switch {
236
+  inputs 2
237
+  which {{frmhold}}
238
+  name Switch1
239
+  xpos 680
240
+  ypos 1201
241
+ }
242
+ Blur {
243
+  channels disparity
244
+  size 8
245
+  name Blur34
246
+  xpos 680
247
+  ypos 1266
248
+ }
249
+set N5372b330 [stack 0]
250
+ Colorspace {
251
+  colorspace_in Cineon
252
+  name Colorspace1
253
+  xpos 680
254
+  ypos 1349
255
+ }
256
+push $N5372b330
257
+ Dot {
258
+  name Dot2
259
+  xpos 827
260
+  ypos 1337
261
+ }
262
+ Switch {
263
+  inputs 2
264
+  which {{LOG}}
265
+  name Switch4
266
+  xpos 680
267
+  ypos 1402
268
+ }
269
+ Copy {
270
+  inputs 2
271
+  from0 rgba.red
272
+  to0 rgba.red
273
+  from1 rgba.green
274
+  to1 rgba.green
275
+  from2 rgba.blue
276
+  to2 rgba.blue
277
+  from3 rgba.alpha
278
+  to3 rgba.alpha
279
+  name Copy3
280
+  xpos 680
281
+  ypos 1464
282
+ }
283
+ Output {
284
+  name Output1
285
+  xpos 680
286
+  ypos 1577
287
+ }
288
+push $N53528b70
289
+push $N53528f00
290
+ Viewer {
291
+  inputs 2
292
+  frame 1041
293
+  viewerProcess rec709
294
+  name Viewer1
295
+  xpos 220
296
+  ypos 1147
297
+ }
298
+end_group

+ 673
- 0
gizmos/Aberration.gizmo ファイルの表示

@@ -0,0 +1,673 @@
1
+# Aberration v1.3
2
+# By Jason Bidwell
3
+# Updated 03-29-2016
4
+
5
+Gizmo {
6
+ name Aberration
7
+ tile_color 0xff7b2cff
8
+ selected true
9
+ xpos 161
10
+ ypos -96
11
+ addUserKnob {20 aberration l "Chromatic Aberration"}
12
+ addUserKnob {7 colorBalance l "Aberration Multiplier" R -1 1}
13
+ colorBalance 0.1
14
+ addUserKnob {7 blu l INVISIBLE +INVISIBLE}
15
+ blu {{colorBalance+(grn*2)}}
16
+ addUserKnob {26 ""}
17
+ addUserKnob {7 grn l INVISIBLE +INVISIBLE}
18
+ grn {{colorBalance R x1 -0}}
19
+ addUserKnob {7 red l INVISIBLE +INVISIBLE}
20
+ red {{-1*blu}}
21
+ addUserKnob {20 Axial l "Axial Controls" n 1}
22
+ addUserKnob {7 abbrRad l Radial R 0 5}
23
+ abbrRad 0.25
24
+ addUserKnob {7 abbrRot l Rotational R -10 10}
25
+ abbrRot 0.25
26
+ addUserKnob {20 endGroup n -1}
27
+ addUserKnob {26 ""}
28
+ addUserKnob {20 Transverse l "Transverse Controls" n 1}
29
+ addUserKnob {7 abbrX l "Offset X" R -10 10}
30
+ abbrX 1
31
+ addUserKnob {7 abbrY l "Offset  Y" R -10 10}
32
+ abbrY 1
33
+ addUserKnob {7 abrTop l Top R -0.01 0.01}
34
+ addUserKnob {7 abrBtm l Bottom R -0.01 0.01}
35
+ addUserKnob {20 endGroup_1 l endGroup n -1}
36
+ addUserKnob {26 ""}
37
+ addUserKnob {20 channels_1 l "Channel Filters" n 1}
38
+ addUserKnob {7 blend l Blend R 0 100}
39
+ blend 70
40
+ addUserKnob {7 soft l Soften R 0 100}
41
+ soft 10
42
+ addUserKnob {41 channels l INVISIBLE +INVISIBLE T channelSelectOffst.channels}
43
+ addUserKnob {6 redBypass l "<font color=red> Red <font color=lightgrey> Bypass" t "Bypass red channel" +STARTLINE}
44
+ addUserKnob {6 greenBypass l "<font color=green> Green <font color=lightgrey> Bypass" t "Bypass green channel" -STARTLINE}
45
+ addUserKnob {6 blueBypass l "<font color=blue> Blue <font color=lightgrey> Bypass" t "Bypass blue channel" -STARTLINE}
46
+ addUserKnob {20 endGroup_2 l endGroup n -1}
47
+ addUserKnob {26 ""}
48
+ addUserKnob {20 mask l "Mask Controls" n 1}
49
+ addUserKnob {6 cntrMask l "Use Center Mask" +STARTLINE}
50
+ cntrMask true
51
+ addUserKnob {7 maskErode l Shape R -300 300}
52
+ maskErode 40
53
+ addUserKnob {7 maskSoft l Soften R 0 1000.3}
54
+ maskSoft 265
55
+ addUserKnob {7 scaleMask l Scale R 0.1 2}
56
+ scaleMask 0.9
57
+ addUserKnob {6 showMask l "Show Mask" +STARTLINE}
58
+ addUserKnob {18 maskcolorrgb l "Mask Color"}
59
+ maskcolorrgb {1 0 0}
60
+ addUserKnob {6 maskcolorrgb_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
61
+ addUserKnob {41 MaskColor l INVISIBLE +INVISIBLE T Multiply1.value}
62
+ addUserKnob {6 mask_1_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
63
+ addUserKnob {20 endGroup_3 l endGroup n -1}
64
+ addUserKnob {26 ""}
65
+ addUserKnob {41 which l Mix T DissolveMask.which}
66
+ addUserKnob {6 invrt l "Use Mask" -STARTLINE}
67
+ addUserKnob {26 "" +STARTLINE}
68
+ addUserKnob {26 ver l "" +STARTLINE T "<font color=gray>Aberration by Jason Bidwell v1.3"}
69
+}
70
+ Input {
71
+  inputs 0
72
+  name Image
73
+  xpos 828
74
+  ypos -326
75
+ }
76
+set N5eac5270 [stack 0]
77
+ Dot {
78
+  name Dot3
79
+  xpos 939
80
+  ypos 428
81
+ }
82
+set N5eac91d0 [stack 0]
83
+push $N5eac91d0
84
+push $N5eac91d0
85
+ Input {
86
+  inputs 0
87
+  name Mask
88
+  xpos 263
89
+  ypos 274
90
+  number 1
91
+ }
92
+ Roto {
93
+  curves {{{v x3f99999a}
94
+  {f 0}
95
+  {n
96
+   {layer Root
97
+    {f 512}
98
+    {t x44700000 x44070000}
99
+    {a}}}}}
100
+  toolbox {createBezier {
101
+  { createBezier str 1 ssx 1 ssy 1 sf 1 sb 1 tt 4 }
102
+  { createBezierCusped str 1 ssx 1 ssy 1 sf 1 sb 1 }
103
+  { createBSpline str 1 ssx 1 ssy 1 sf 1 sb 1 }
104
+  { createEllipse str 1 ssx 1 ssy 1 sf 1 sb 1 }
105
+  { createRectangle str 1 ssx 1 ssy 1 sf 1 sb 1 }
106
+  { createRectangleCusped str 1 ssx 1 ssy 1 sf 1 sb 1 }
107
+  { brush str 1 ssx 1 ssy 1 sf 1 sb 1 }
108
+  { eraser src 2 str 1 ssx 1 ssy 1 sf 1 sb 1 }
109
+  { clone src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
110
+  { reveal src 3 str 1 ssx 1 ssy 1 sf 1 sb 1 }
111
+  { dodge src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
112
+  { burn src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
113
+  { blur src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
114
+  { sharpen src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
115
+  { smear src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
116
+} }
117
+  toolbar_brush_hardness 0.200000003
118
+  toolbar_source_transform_scale {1 1}
119
+  toolbar_source_transform_center {320 240}
120
+  view {}
121
+  motionblur_on true
122
+  name Roto1
123
+  xpos 263
124
+  ypos 300
125
+ }
126
+ Invert {
127
+  channels rgba
128
+  clamp true
129
+  name Invert1
130
+  xpos 263
131
+  ypos 326
132
+  disable {{invrt==0}}
133
+ }
134
+push $N5eac5270
135
+push $N5eac5270
136
+ Radial {
137
+  cliptype none
138
+  replace true
139
+  area {{curve i} {curve i} {input0.width i} {input0.height i}}
140
+  name Radial1
141
+  xpos -540
142
+  ypos -278
143
+ }
144
+ Invert {
145
+  channels rgba
146
+  name Invert2
147
+  xpos -540
148
+  ypos -252
149
+ }
150
+set N5f3093b0 [stack 0]
151
+ Dot {
152
+  name Dot2
153
+  xpos -506
154
+  ypos 402
155
+ }
156
+push $N5eac5270
157
+ Radial {
158
+  cliptype none
159
+  replace true
160
+  area {{curve} {curve} {input0.width} {input0.height}}
161
+  name Radial2
162
+  xpos 102
163
+  ypos -185
164
+ }
165
+ Transform {
166
+  scale {{scaleMask}}
167
+  center {{input0.width/2} {input.height/2}}
168
+  name scale_mask
169
+  xpos 102
170
+  ypos -159
171
+ }
172
+ Clamp {
173
+  channels rgba
174
+  name Clamp1
175
+  xpos 102
176
+  ypos -133
177
+ }
178
+ FilterErode {
179
+  channels rgba
180
+  size {{-1*maskErode}}
181
+  name FilterErode1
182
+  xpos 102
183
+  ypos -102
184
+ }
185
+ Blur {
186
+  channels rgba
187
+  size {{maskSoft}}
188
+  name Blur4
189
+  xpos 102
190
+  ypos -76
191
+ }
192
+set N5f2373a0 [stack 0]
193
+push $N5eac5270
194
+ Shuffle {
195
+  alpha white
196
+  name Shuffle1
197
+  label "\[knob in]"
198
+  xpos 276
199
+  ypos -105
200
+ }
201
+set N5f2429f0 [stack 0]
202
+ Shuffle {
203
+  green red
204
+  blue red
205
+  alpha white
206
+  name ShuffleRed1
207
+  xpos 153
208
+  ypos 22
209
+ }
210
+ Merge2 {
211
+  inputs 2
212
+  operation mask
213
+  name Merge7
214
+  xpos 102
215
+  ypos 73
216
+ }
217
+push $N5f3093b0
218
+ Transform {
219
+  translate {{curve R 0 1} {curve R 0 1}}
220
+  rotate {{curve R 0 1}}
221
+  center {960 540}
222
+  motionblur 1
223
+  shutteroffset centred
224
+  name vectorGen
225
+  xpos -482
226
+  ypos 147
227
+ }
228
+set N5f269ae0 [stack 0]
229
+push $N5f3093b0
230
+push $N5eac5270
231
+ Grade {
232
+  multiply {{1/parent.channelSelectOffst.multiply}}
233
+  black_clamp false
234
+  name Grade1
235
+  xpos -202
236
+  ypos -216
237
+ }
238
+ Grade {
239
+  multiply 34516
240
+  black_clamp false
241
+  name channelSelectOffst
242
+  xpos -202
243
+  ypos -190
244
+ }
245
+set N44cb9e0 [stack 0]
246
+ Shuffle {
247
+  green red
248
+  blue red
249
+  alpha red
250
+  name ShuffleRed
251
+  xpos -352
252
+  ypos -120
253
+ }
254
+ Transform {
255
+  translate {{abbrX*red} {abbrY*red}}
256
+  rotate {{abbrRot*(red/10)}}
257
+  center {{input0.width/2} {input0.height/2}}
258
+  filter Mitchell
259
+  clamp true
260
+  black_outside false
261
+  name abbr_red
262
+  xpos -352
263
+  ypos -94
264
+ }
265
+ Transform {
266
+  skewX {{abrTop*red}}
267
+  center {{input0.width/2} 0}
268
+  name abrTop2
269
+  xpos -352
270
+  ypos -68
271
+ }
272
+ Transform {
273
+  skewX {{abrBtm*red}}
274
+  center {{input0.width/2} {input0.height}}
275
+  name abrBottom2
276
+  xpos -352
277
+  ypos -42
278
+ }
279
+ GodRays {
280
+  channels rgb
281
+  scale {{1+abbrRad*(red/100)}}
282
+  center {{input0.width/2} {input0.height/2}}
283
+  steps 10
284
+  name RadialAbbr1
285
+  xpos -352
286
+  ypos 62
287
+ }
288
+ Blur {
289
+  inputs 1+1
290
+  channels rgb
291
+  size {{soft*red i}}
292
+  name Blur1
293
+  xpos -352
294
+  ypos 88
295
+  disable {{usmask==0 i}}
296
+ }
297
+ MotionBlur2D {
298
+  inputs 2
299
+  shutteroffset centred
300
+  name MotionBlur2D1
301
+  xpos -352
302
+  ypos 219
303
+ }
304
+ VectorBlur {
305
+  channels rgb
306
+  uv forward
307
+  scale {{blend*(red/100)}}
308
+  name OpticalBlur1
309
+  xpos -352
310
+  ypos 245
311
+ }
312
+ Merge2 {
313
+  inputs 2
314
+  name Merge4
315
+  xpos -352
316
+  ypos 302
317
+  disable {{cntrMask==0}}
318
+ }
319
+ Dot {
320
+  name Dot1
321
+  xpos -318
322
+  ypos 335
323
+ }
324
+push $N5f2373a0
325
+push $N5f2429f0
326
+ Shuffle {
327
+  red green
328
+  blue green
329
+  alpha white
330
+  name ShuffleGreen1
331
+  tile_color 0x2e7435ff
332
+  xpos 240
333
+  ypos 95
334
+ }
335
+ Merge2 {
336
+  inputs 2
337
+  operation mask
338
+  name Merge6
339
+  xpos 203
340
+  ypos 133
341
+ }
342
+push $N5f269ae0
343
+push $N5f3093b0
344
+push $N44cb9e0
345
+ Shuffle {
346
+  red green
347
+  blue green
348
+  alpha green
349
+  name ShuffleGreen
350
+  tile_color 0x2e7435ff
351
+  xpos -202
352
+  ypos -100
353
+ }
354
+ Transform {
355
+  translate {{abbrX*grn} {abbrY*grn}}
356
+  rotate {{abbrRot*(grn/10)}}
357
+  center {{input0.width/2} {input0.height2}}
358
+  filter Mitchell
359
+  clamp true
360
+  black_outside false
361
+  name abbr_green
362
+  xpos -202
363
+  ypos -74
364
+ }
365
+ Transform {
366
+  skewX {{abrTop*grn}}
367
+  center {{input0.width/2} 0}
368
+  name abrTop1
369
+  xpos -202
370
+  ypos -48
371
+ }
372
+ Transform {
373
+  skewX {{abrBtm*grn}}
374
+  center {{input0.width/2} {input0.height}}
375
+  name abrBottom1
376
+  xpos -202
377
+  ypos -22
378
+ }
379
+ GodRays {
380
+  channels rgb
381
+  scale {{1+abbrRad*(grn/100)}}
382
+  center {{input0.width/2} {input0.height/2}}
383
+  steps 10
384
+  name RadialAbbr2
385
+  xpos -202
386
+  ypos 68
387
+ }
388
+ Blur {
389
+  inputs 1+1
390
+  channels rgb
391
+  size {{soft*grn}}
392
+  name Blur2
393
+  xpos -202
394
+  ypos 217
395
+  disable {{usmask==0}}
396
+ }
397
+ MotionBlur2D {
398
+  inputs 2
399
+  shutteroffset centred
400
+  name MotionBlur2D2
401
+  xpos -202
402
+  ypos 241
403
+ }
404
+ VectorBlur {
405
+  channels rgb
406
+  uv forward
407
+  scale {{blend*(grn/100)}}
408
+  name OpticalBlur2
409
+  xpos -202
410
+  ypos 265
411
+ }
412
+ Merge2 {
413
+  inputs 2
414
+  name Merge3
415
+  xpos -202
416
+  ypos 305
417
+  disable {{cntrMask==0}}
418
+ }
419
+ ShuffleCopy {
420
+  inputs 2
421
+  red red
422
+  blue black
423
+  alpha black
424
+  name ShuffleCopy1
425
+  xpos -202
426
+  ypos 331
427
+ }
428
+push $N5f2373a0
429
+push $N5f2429f0
430
+ Shuffle {
431
+  red blue
432
+  green blue
433
+  alpha white
434
+  name ShuffleBlue1
435
+  tile_color 0x1b4274ff
436
+  xpos 356
437
+  ypos 82
438
+ }
439
+ Merge2 {
440
+  inputs 2
441
+  operation mask
442
+  name Merge1
443
+  xpos 356
444
+  ypos 126
445
+ }
446
+push $N5f269ae0
447
+push $N5f3093b0
448
+push $N44cb9e0
449
+ Shuffle {
450
+  red blue
451
+  green blue
452
+  alpha blue
453
+  name ShuffleBlue
454
+  tile_color 0x1b4274ff
455
+  xpos -26
456
+  ypos -96
457
+ }
458
+ Transform {
459
+  translate {{abbrX*blu} {abbrY*blu}}
460
+  rotate {{abbrRot*(blu/10)}}
461
+  center {{input0.width/2} {input0.height/2}}
462
+  filter Rifman
463
+  clamp true
464
+  black_outside false
465
+  name abbr_blue
466
+  xpos -26
467
+  ypos -70
468
+ }
469
+ Transform {
470
+  skewX {{abrTop*blu}}
471
+  center {{input0.width/2} 0}
472
+  name abrTop
473
+  xpos -26
474
+  ypos -44
475
+ }
476
+ Transform {
477
+  skewX {{abrBtm*blu}}
478
+  center {{input0.width/2} {input0.height}}
479
+  name abrBottom
480
+  xpos -26
481
+  ypos -18
482
+ }
483
+ GodRays {
484
+  channels rgb
485
+  scale {{1+abbrRad*(blu/100)}}
486
+  center {{input0.width/2} {input0.height/2}}
487
+  steps 10
488
+  name RadialAbbr3
489
+  xpos -26
490
+  ypos 66
491
+ }
492
+ Blur {
493
+  inputs 1+1
494
+  channels rgb
495
+  size {{soft*blu x1 11.55}}
496
+  name Blur3
497
+  xpos -26
498
+  ypos 92
499
+  disable {{usmask==0}}
500
+ }
501
+ MotionBlur2D {
502
+  inputs 2
503
+  shutteroffset centred
504
+  name MotionBlur2D3
505
+  xpos -26
506
+  ypos 219
507
+ }
508
+ VectorBlur {
509
+  channels rgb
510
+  uv forward
511
+  scale {{blend*(blu/100)}}
512
+  name OpticalBlur3
513
+  xpos -26
514
+  ypos 245
515
+ }
516
+ Merge2 {
517
+  inputs 2
518
+  name Merge2
519
+  xpos -26
520
+  ypos 305
521
+  disable {{cntrMask==0}}
522
+ }
523
+ ShuffleCopy {
524
+  inputs 2
525
+  red red
526
+  green green
527
+  alpha black
528
+  name ShuffleCopy2
529
+  xpos -26
530
+  ypos 331
531
+ }
532
+ Sharpen {
533
+  inputs 1+1
534
+  channels rgb
535
+  amount 5
536
+  size {{soft*grn/2}}
537
+  crop false
538
+  mix 0.5
539
+  name Sharpen1
540
+  xpos -26
541
+  ypos 399
542
+  disable {{usmask==0 x1 1 1}}
543
+ }
544
+ Crop {
545
+  box {0 0 {Image.width} {Image.height}}
546
+  reformat true
547
+  crop false
548
+  name Crop6
549
+  xpos -26
550
+  ypos 423
551
+ }
552
+ Dissolve {
553
+  inputs 2+1
554
+  which 1
555
+  name Dissolve1
556
+  xpos 341
557
+  ypos 394
558
+ }
559
+push $N5eac5270
560
+ Dissolve {
561
+  inputs 2
562
+  channels rgba
563
+  which 1
564
+  name DissolveMask
565
+  xpos 502
566
+  ypos 398
567
+ }
568
+set N5f5f5e70 [stack 0]
569
+push $N5f2373a0
570
+ Multiply {
571
+  channels rgba
572
+  value {{parent.maskcolorrgb.r} {parent.maskcolorrgb.g} {parent.maskcolorrgb.b} 1}
573
+  name Multiply1
574
+  xpos 559
575
+  ypos 160
576
+ }
577
+push $N5eac5270
578
+ Merge2 {
579
+  inputs 2
580
+  name Merge5
581
+  xpos 707
582
+  ypos 199
583
+ }
584
+push $N5f5f5e70
585
+ Switch {
586
+  inputs 2
587
+  which {{showMask}}
588
+  name showMask
589
+  label "\[value which]"
590
+  xpos 648
591
+  ypos 388
592
+  disable {{"\$gui==0"}}
593
+ }
594
+ Switch {
595
+  inputs 2
596
+  which {{cntrMask==0}}
597
+  name Switch1
598
+  label "\[value which]"
599
+  xpos 648
600
+  ypos 439
601
+ }
602
+ ShuffleCopy {
603
+  inputs 2
604
+  in rgb
605
+  in2 rgb
606
+  red red
607
+  alpha black
608
+  name red_bypass
609
+  xpos 796
610
+  ypos 501
611
+  disable {{parent.redBypass==0}}
612
+ }
613
+ ShuffleCopy {
614
+  inputs 2
615
+  in rgb
616
+  in2 rgb
617
+  blue blue
618
+  alpha black
619
+  name blue_bypass
620
+  tile_color 0x3f5493ff
621
+  xpos 796
622
+  ypos 525
623
+  disable {{parent.blueBypass==0}}
624
+ }
625
+ ShuffleCopy {
626
+  inputs 2
627
+  in rgb
628
+  in2 rgb
629
+  green green
630
+  alpha black
631
+  name green_bypass
632
+  tile_color 0x128502ff
633
+  xpos 796
634
+  ypos 549
635
+  disable {{parent.greenBypass==0}}
636
+ }
637
+push $N5eac91d0
638
+ Copy {
639
+  inputs 2
640
+  from0 rgba.red
641
+  to0 rgba.red
642
+  from1 rgba.green
643
+  to1 rgba.green
644
+  from2 rgba.blue
645
+  to2 rgba.blue
646
+  name Copy1
647
+  selected true
648
+  xpos 917
649
+  ypos 549
650
+ }
651
+set N5f650d80 [stack 0]
652
+ Crop {
653
+  box {{curve} {curve} {input0.width} {input0.height}}
654
+  reformat true
655
+  crop false
656
+  name Crop1
657
+  xpos 1054
658
+  ypos 645
659
+ }
660
+ Output {
661
+  name Output1
662
+  xpos 1054
663
+  ypos 726
664
+ }
665
+push $N5f650d80
666
+ Viewer {
667
+  frame_range 1-100
668
+  colour_sample_bbox {0.134375006 -1.293750048 0.137500003 -1.290624976}
669
+  name Viewer1
670
+  xpos 1201
671
+  ypos 595
672
+ }
673
+end_group

+ 852
- 0
gizmos/AdvancedGrain.gizmo ファイルの表示

@@ -0,0 +1,852 @@
1
+#! C:/Program Files/Nuke6.1v1/Nuke6.1.exe -nx
2
+version 6.1 v1
3
+Gizmo {
4
+ inputs 2
5
+ help "Advanced Grain Gizmo by Andreas Frickinger\n\nAdds funcionality to the standard Nuke Grain Node to cope all aspects for matching film grain.\n\nIntensity over luminance: Use the red, green and blue curve to adjust how much grain shoudl be put in certain brightness levels in the channels.\n\nBlur or sharpen the grain seperately in the different channels, or adjust the saturation of the grain."
6
+ addUserKnob {20 Grain}
7
+ addUserKnob {26 title l "" +STARTLINE T "Advanced Grain by Andreas Frickinger"}
8
+ addUserKnob {26 ""}
9
+ addUserKnob {41 output T ControlGizmo.output}
10
+ addUserKnob {26 ""}
11
+ addUserKnob {41 seed l seed/preset T Grain2_1.seed}
12
+ addUserKnob {41 presets l "" -STARTLINE T Grain2_1.presets}
13
+ addUserKnob {26 spacer3 l " " T " "}
14
+ addUserKnob {26 "" l "@b;Size"}
15
+ addUserKnob {41 red_size l red T Grain2_1.red_size}
16
+ addUserKnob {41 green_size l green T Grain2_1.green_size}
17
+ addUserKnob {41 blue_size l blue T Grain2_1.blue_size}
18
+ addUserKnob {26 "" l "@b;Irregularity"}
19
+ addUserKnob {41 red_i l red T Grain2_1.red_i}
20
+ addUserKnob {41 green_i l green T Grain2_1.green_i}
21
+ addUserKnob {41 blue_i l blue T Grain2_1.blue_i}
22
+ addUserKnob {26 "" l "@b;Intensity"}
23
+ addUserKnob {41 red_m l red T Grain2_1.red_m}
24
+ addUserKnob {41 green_m l green T Grain2_1.green_m}
25
+ addUserKnob {41 blue_m l blue T Grain2_1.blue_m}
26
+ addUserKnob {41 black_1 l black T Grain2_1.black}
27
+ addUserKnob {26 ""}
28
+ addUserKnob {26 intensity l "@b;Film Response" T "(use ONLY rgb to adjust, leave Master untouched!)"}
29
+ addUserKnob {26 spacer5 l "  " T "  "}
30
+ addUserKnob {41 lut l "" +STARTLINE T ColorLookupKey.lut}
31
+ addUserKnob {20 advancedSettings l "Advanced Settings"}
32
+ addUserKnob {26 blur l "@b;Blur"}
33
+ addUserKnob {41 size l red T BlurRed.size}
34
+ addUserKnob {41 size_1 l green T BlurGreen.size}
35
+ addUserKnob {41 size_2 l blue T BlurBlue.size}
36
+ addUserKnob {26 sharpen l "@b;Sharpen"}
37
+ addUserKnob {41 amount_2 l red T SharpenRed.amount}
38
+ addUserKnob {41 amount_1 l green T SharpenGreen.amount}
39
+ addUserKnob {41 amount l blue T SharpenBlue.amount}
40
+ addUserKnob {26 ""}
41
+ addUserKnob {41 saturation l Saturation T SaturationGrain.saturation}
42
+ addUserKnob {26 spacer l " " T " "}
43
+ addUserKnob {26 lin2log l "@b;LinLog/LogLin"}
44
+ addUserKnob {41 disable_1 l disable T Lin2Log_in.disable}
45
+ addUserKnob {41 black T Lin2Log_in.black}
46
+ addUserKnob {41 white T Lin2Log_in.white}
47
+ addUserKnob {41 gamma T Lin2Log_in.gamma}
48
+ addUserKnob {26 ""}
49
+ addUserKnob {41 maskChannel l Mask +INVISIBLE T MergeMaskl.maskChannel}
50
+ addUserKnob {41 maskFrom l from +INVISIBLE T MergeMaskl.maskFrom}
51
+ addUserKnob {41 invertMask l "invert mask" T ControlGizmo.invertMask}
52
+ addUserKnob {41 which l mix T MixOrig.which}
53
+ addUserKnob {41 alpha l "(un)premult by" T Unpremult1.alpha}
54
+}
55
+ Input {
56
+  inputs 0
57
+  name Image
58
+  xpos -147
59
+  ypos -288
60
+ }
61
+ Dot {
62
+  name Dot2
63
+  xpos -113
64
+  ypos 139
65
+ }
66
+set N93df610 [stack 0]
67
+ Dot {
68
+  name Dot6
69
+  xpos -470
70
+  ypos 139
71
+ }
72
+set N93e3300 [stack 0]
73
+ ColorLookup {
74
+  channels rgb
75
+  lut {master {}
76
+    red {curve C 0.6 x0.75 0.17 x1 0.07}
77
+    green {curve C 0.6 x0.75 0.17 x1 0.07}
78
+    blue {curve C 0.7 x0.75 0.2 x1 0.1}
79
+    alpha {}}
80
+  name ColorLookupKey
81
+  xpos -744
82
+  ypos 135
83
+ }
84
+ Shuffle {
85
+  alpha black
86
+  name Shuffle4
87
+  xpos -744
88
+  ypos 230
89
+ }
90
+set N93e37e0 [stack 0]
91
+ Dot {
92
+  name Dot13
93
+  xpos -848
94
+  ypos 234
95
+ }
96
+set N90b2570 [stack 0]
97
+ Dot {
98
+  name Dot15
99
+  xpos -1088
100
+  ypos 234
101
+ }
102
+ Dot {
103
+  name Dot14
104
+  xpos -1088
105
+  ypos 497
106
+ }
107
+push $N93e3300
108
+ Dot {
109
+  name Dot9
110
+  xpos -470
111
+  ypos 365
112
+ }
113
+ Expression {
114
+  expr0 0.18
115
+  expr1 0.18
116
+  expr2 0.18
117
+  expr3 0
118
+  name Expression2
119
+  xpos -678
120
+  ypos 361
121
+ }
122
+ Shuffle {
123
+  alpha white
124
+  name Shuffle2
125
+  xpos -678
126
+  ypos 426
127
+ }
128
+set N90b1940 [stack 0]
129
+ Dot {
130
+  name Dot1
131
+  xpos -747
132
+  ypos 430
133
+ }
134
+set N90b58a0 [stack 0]
135
+ Dot {
136
+  name Dot11
137
+  xpos -924
138
+  ypos 430
139
+ }
140
+set N90b5630 [stack 0]
141
+ Dot {
142
+  name Dot16
143
+  xpos -1191
144
+  ypos 430
145
+ }
146
+ Copy {
147
+  inputs 2
148
+  from0 rgba.blue
149
+  to0 rgba.alpha
150
+  name Copy3
151
+  xpos -1225
152
+  ypos 487
153
+ }
154
+ Group {
155
+  name Grain2_3
156
+  help "Adds synthetic grain. Push \"presets\" to get predefined types of grain, these are the correct size for 2K scans.\n\nYou can also adjust the sliders to match a sample piece of grain. Find a sample with a rather constant background, blur it to remove the grain, and use as input to this. View with a wipe in the viewer so you can make a match. It helps to view and match each of the red, green, blue separately."
157
+  label "Kodak 5248"
158
+  xpos -1225
159
+  ypos 544
160
+  addUserKnob {20 "" l User}
161
+  addUserKnob {3 seed t "Change this value to make different instances of this operator produce different noise"}
162
+  seed 134
163
+  addUserKnob {35 presets l "" -STARTLINE M {"presets/Kodak 5248" "knobs this \{red_size 3.30 green_size 2.90 blue_size 2.5 red_i 0.60 green_i 0.60 blue_i 0.60 red_m 0.42 green_m 0.46 blue_m 0.85 black 0.00 label \{Kodak 5248\}\}" "presets/Kodak 5279" "knobs this \{red_size 2.70 green_size 2.60 blue_size 2.40 red_i 1.00 green_i 0.76 blue_i 0.65 red_m 0.37 green_m 0.60 blue_m 1.65 black 0.00 label \{Kodak 5279\}\}" "presets/Kodak FX214" "knobs this \{red_size 1.87 green_size 2.60 blue_size 2.44 red_i 1 green_i 0.76 blue_i 0.79 red_m 0.41 green_m 0.60 blue_m 1.80 black 0.00 label \{Kodak FX214\}\}" "presets/Kodak GT5274" "knobs this \{red_size 0.04 green_size 0.10 blue_size 0.90 red_i 0.90 green_i 0.76 blue_i 0.81 red_m 0.49 green_m 0.50 blue_m 1.55 black 0.00 label \{Kodak GT5274\}\}" "presets/Kodak 5217" "knobs this \{red_size 0.23 green_size 1.20 blue_size 1.40 red_i 0.60 green_i 0.86 blue_i 0.60 red_m 0.48 green_m 0.42 blue_m 0.87 black 0.00 label \{Kodak 5217\}\}" "presets/Kodak 5218" "knobs this \{red_size 0.10 green_size 1.60 blue_size 1.91 red_i 0.60 green_i 0.86 blue_i 0.73 red_m 0.38 green_m 0.17 blue_m 0.87 black 0.00 label \{Kodak 5218\}\}" presets/other "knobs this \{label other\}"}}
164
+  addUserKnob {26 "" l "@b;Size"}
165
+  addUserKnob {14 red_size l red R 0 100}
166
+  red_size {{parent.Grain2_1.red_size.main i}}
167
+  addUserKnob {14 green_size l green R 0 100}
168
+  green_size {{parent.Grain2_1.green_size.main i}}
169
+  addUserKnob {14 blue_size l blue R 0 100}
170
+  blue_size {{parent.Grain2_1.blue_size.main i}}
171
+  addUserKnob {26 "" l "@b;Irregularity"}
172
+  addUserKnob {7 red_i l red}
173
+  red_i {{parent.Grain2_1.red_i.main i}}
174
+  addUserKnob {7 green_i l green}
175
+  green_i {{parent.Grain2_1.green_i.main i}}
176
+  addUserKnob {7 blue_i l blue}
177
+  blue_i {{parent.Grain2_1.blue_i.main i}}
178
+  addUserKnob {26 "" l "@b;Intensity"}
179
+  addUserKnob {7 red_m l red t "Amount of grain to add to a white pixel"}
180
+  red_m {{parent.Grain2_1.red_m.main i}}
181
+  addUserKnob {7 green_m l green}
182
+  green_m {{parent.Grain2_1.green_m.main i}}
183
+  addUserKnob {7 blue_m l blue}
184
+  blue_m {{parent.Grain2_1.blue_m.main i}}
185
+  addUserKnob {18 black t "Amount of grain to add everywhere"}
186
+  black {{parent.Grain2_1.black i} {parent.Grain2_1.black i} {parent.Grain2_1.black i}}
187
+  addUserKnob {18 minimum t "Minimum black level" R 0 0.01}
188
+  minimum {{parent.Grain2_1.minimum i} {parent.Grain2_1.minimum i} {parent.Grain2_1.minimum i}}
189
+  addUserKnob {26 "" l "@b;Mask"}
190
+  addUserKnob {6 maskgrain l "Apply only through alpha" -STARTLINE}
191
+  maskgrain true
192
+  addUserKnob {41 maskinvert l "Invert alpha" -STARTLINE T Copy1.invert_mask}
193
+ }
194
+  Input {
195
+   inputs 0
196
+   name Input1
197
+   xpos 0
198
+  }
199
+set N90b4a00 [stack 0]
200
+  Noise {
201
+   output {rgba.red -rgba.green -rgba.blue -rgba.alpha}
202
+   cliptype none
203
+   replace true
204
+   size {{parent.red_size.w} {parent.red_size.h}}
205
+   zoffset {{frame+seed+red_i/2}}
206
+   octaves 2
207
+   gamma 1
208
+   xrotate {{red_i*45}}
209
+   yrotate {{red_i*45}}
210
+   name red
211
+   xpos 220
212
+  }
213
+  Noise {
214
+   output {-rgba.red rgba.green -rgba.blue -rgba.alpha}
215
+   cliptype none
216
+   replace true
217
+   size {{parent.green_size.w} {parent.green_size.h}}
218
+   zoffset {{frame+2*seed+green_i/2}}
219
+   octaves 2
220
+   gamma 1
221
+   xrotate {{green_i*45}}
222
+   yrotate {{green_i*45}}
223
+   name green
224
+   xpos 220
225
+   ypos 43
226
+  }
227
+  Noise {
228
+   output {-rgba.red -rgba.green rgba.blue -rgba.alpha}
229
+   cliptype none
230
+   replace true
231
+   size {{parent.blue_size.w} {parent.blue_size.h}}
232
+   zoffset {{frame+3*seed+blue_i/2}}
233
+   octaves 2
234
+   gamma 1
235
+   xrotate {{blue_i*45}}
236
+   yrotate {{blue_i*45}}
237
+   name blue
238
+   xpos 220
239
+   ypos 86
240
+  }
241
+push $N90b4a00
242
+  MergeExpression {
243
+   inputs 2
244
+   expr0 max(minimum.r,r+(2*Ar-1)*(r*red_m+black.r))
245
+   expr1 max(minimum.g,g+(2*Ag-1)*(g*green_m+black.g))
246
+   expr2 max(minimum.b,b+(2*Ab-1)*(b*blue_m+black.b))
247
+   name MergeExpression1
248
+   xpos 220
249
+   ypos 168
250
+  }
251
+set N90bf720 [stack 0]
252
+push $N90b4a00
253
+  Copy {
254
+   inputs 2
255
+   channels rgb
256
+   maskChannelInput rgba.alpha
257
+   name Copy1
258
+   xpos 0
259
+   ypos 154
260
+  }
261
+push $N90bf720
262
+  Switch {
263
+   inputs 2
264
+   which {{maskgrain}}
265
+   name Switch1
266
+   selected true
267
+   xpos 0
268
+   ypos 241
269
+  }
270
+  Output {
271
+   name Output1
272
+   xpos 0
273
+   ypos 286
274
+  }
275
+ end_group
276
+ Dot {
277
+  name Dot18
278
+  xpos -1191
279
+  ypos 688
280
+ }
281
+set N90c00e0 [stack 0]
282
+ Shuffle {
283
+  red alpha
284
+  green alpha
285
+  blue alpha
286
+  name Shuffle1
287
+  xpos -1225
288
+  ypos 1199
289
+ }
290
+ Dot {
291
+  name Dot22
292
+  label blue
293
+  xpos -1191
294
+  ypos 1355
295
+ }
296
+push $N90b2570
297
+ Dot {
298
+  name Dot12
299
+  xpos -848
300
+  ypos 497
301
+ }
302
+push $N90b5630
303
+ Copy {
304
+  inputs 2
305
+  from0 rgba.green
306
+  to0 rgba.alpha
307
+  name Copy1
308
+  xpos -958
309
+  ypos 487
310
+ }
311
+ Group {
312
+  name Grain2_2
313
+  help "Adds synthetic grain. Push \"presets\" to get predefined types of grain, these are the correct size for 2K scans.\n\nYou can also adjust the sliders to match a sample piece of grain. Find a sample with a rather constant background, blur it to remove the grain, and use as input to this. View with a wipe in the viewer so you can make a match. It helps to view and match each of the red, green, blue separately."
314
+  label "Kodak 5248"
315
+  xpos -958
316
+  ypos 544
317
+  addUserKnob {20 "" l User}
318
+  addUserKnob {3 seed t "Change this value to make different instances of this operator produce different noise"}
319
+  seed 134
320
+  addUserKnob {35 presets l "" -STARTLINE M {"presets/Kodak 5248" "knobs this \{red_size 3.30 green_size 2.90 blue_size 2.5 red_i 0.60 green_i 0.60 blue_i 0.60 red_m 0.42 green_m 0.46 blue_m 0.85 black 0.00 label \{Kodak 5248\}\}" "presets/Kodak 5279" "knobs this \{red_size 2.70 green_size 2.60 blue_size 2.40 red_i 1.00 green_i 0.76 blue_i 0.65 red_m 0.37 green_m 0.60 blue_m 1.65 black 0.00 label \{Kodak 5279\}\}" "presets/Kodak FX214" "knobs this \{red_size 1.87 green_size 2.60 blue_size 2.44 red_i 1 green_i 0.76 blue_i 0.79 red_m 0.41 green_m 0.60 blue_m 1.80 black 0.00 label \{Kodak FX214\}\}" "presets/Kodak GT5274" "knobs this \{red_size 0.04 green_size 0.10 blue_size 0.90 red_i 0.90 green_i 0.76 blue_i 0.81 red_m 0.49 green_m 0.50 blue_m 1.55 black 0.00 label \{Kodak GT5274\}\}" "presets/Kodak 5217" "knobs this \{red_size 0.23 green_size 1.20 blue_size 1.40 red_i 0.60 green_i 0.86 blue_i 0.60 red_m 0.48 green_m 0.42 blue_m 0.87 black 0.00 label \{Kodak 5217\}\}" "presets/Kodak 5218" "knobs this \{red_size 0.10 green_size 1.60 blue_size 1.91 red_i 0.60 green_i 0.86 blue_i 0.73 red_m 0.38 green_m 0.17 blue_m 0.87 black 0.00 label \{Kodak 5218\}\}" presets/other "knobs this \{label other\}"}}
321
+  addUserKnob {26 "" l "@b;Size"}
322
+  addUserKnob {14 red_size l red R 0 100}
323
+  red_size {{parent.Grain2_1.red_size.main i}}
324
+  addUserKnob {14 green_size l green R 0 100}
325
+  green_size {{parent.Grain2_1.green_size.main i}}
326
+  addUserKnob {14 blue_size l blue R 0 100}
327
+  blue_size {{parent.Grain2_1.blue_size.main i}}
328
+  addUserKnob {26 "" l "@b;Irregularity"}
329
+  addUserKnob {7 red_i l red}
330
+  red_i {{parent.Grain2_1.red_i.main i}}
331
+  addUserKnob {7 green_i l green}
332
+  green_i {{parent.Grain2_1.green_i.main i}}
333
+  addUserKnob {7 blue_i l blue}
334
+  blue_i {{parent.Grain2_1.blue_i.main i}}
335
+  addUserKnob {26 "" l "@b;Intensity"}
336
+  addUserKnob {7 red_m l red t "Amount of grain to add to a white pixel"}
337
+  red_m {{parent.Grain2_1.red_m.main i}}
338
+  addUserKnob {7 green_m l green}
339
+  green_m {{parent.Grain2_1.green_m.main i}}
340
+  addUserKnob {7 blue_m l blue}
341
+  blue_m {{parent.Grain2_1.blue_m.main i}}
342
+  addUserKnob {18 black t "Amount of grain to add everywhere"}
343
+  black {{parent.Grain2_1.black i} {parent.Grain2_1.black i} {parent.Grain2_1.black i}}
344
+  addUserKnob {18 minimum t "Minimum black level" R 0 0.01}
345
+  minimum {{parent.Grain2_1.minimum i} {parent.Grain2_1.minimum i} {parent.Grain2_1.minimum i}}
346
+  addUserKnob {26 "" l "@b;Mask"}
347
+  addUserKnob {6 maskgrain l "Apply only through alpha" -STARTLINE}
348
+  maskgrain true
349
+  addUserKnob {41 maskinvert l "Invert alpha" -STARTLINE T Copy1.invert_mask}
350
+ }
351
+  Input {
352
+   inputs 0
353
+   name Input1
354
+   xpos 0
355
+  }
356
+set N90c27e0 [stack 0]
357
+  Noise {
358
+   output {rgba.red -rgba.green -rgba.blue -rgba.alpha}
359
+   cliptype none
360
+   replace true
361
+   size {{parent.red_size.w} {parent.red_size.h}}
362
+   zoffset {{frame+seed+red_i/2}}
363
+   octaves 2
364
+   gamma 1
365
+   xrotate {{red_i*45}}
366
+   yrotate {{red_i*45}}
367
+   name red
368
+   xpos 220
369
+  }
370
+  Noise {
371
+   output {-rgba.red rgba.green -rgba.blue -rgba.alpha}
372
+   cliptype none
373
+   replace true
374
+   size {{parent.green_size.w} {parent.green_size.h}}
375
+   zoffset {{frame+2*seed+green_i/2}}
376
+   octaves 2
377
+   gamma 1
378
+   xrotate {{green_i*45}}
379
+   yrotate {{green_i*45}}
380
+   name green
381
+   xpos 220
382
+   ypos 43
383
+  }
384
+  Noise {
385
+   output {-rgba.red -rgba.green rgba.blue -rgba.alpha}
386
+   cliptype none
387
+   replace true
388
+   size {{parent.blue_size.w} {parent.blue_size.h}}
389
+   zoffset {{frame+3*seed+blue_i/2}}
390
+   octaves 2
391
+   gamma 1
392
+   xrotate {{blue_i*45}}
393
+   yrotate {{blue_i*45}}
394
+   name blue
395
+   xpos 220
396
+   ypos 86
397
+  }
398
+push $N90c27e0
399
+  MergeExpression {
400
+   inputs 2
401
+   expr0 max(minimum.r,r+(2*Ar-1)*(r*red_m+black.r))
402
+   expr1 max(minimum.g,g+(2*Ag-1)*(g*green_m+black.g))
403
+   expr2 max(minimum.b,b+(2*Ab-1)*(b*blue_m+black.b))
404
+   name MergeExpression1
405
+   xpos 220
406
+   ypos 168
407
+  }
408
+set N7cedde0 [stack 0]
409
+push $N90c27e0
410
+  Copy {
411
+   inputs 2
412
+   channels rgb
413
+   maskChannelInput rgba.alpha
414
+   name Copy1
415
+   xpos 0
416
+   ypos 154
417
+  }
418
+push $N7cedde0
419
+  Switch {
420
+   inputs 2
421
+   which {{maskgrain}}
422
+   name Switch1
423
+   selected true
424
+   xpos 0
425
+   ypos 241
426
+  }
427
+  Output {
428
+   name Output1
429
+   xpos 0
430
+   ypos 286
431
+  }
432
+ end_group
433
+ Dot {
434
+  name Dot17
435
+  xpos -924
436
+  ypos 631
437
+ }
438
+set N7cee7a0 [stack 0]
439
+ Shuffle {
440
+  red alpha
441
+  green alpha
442
+  blue alpha
443
+  name Shuffle5
444
+  xpos -964
445
+  ypos 1199
446
+ }
447
+ Dot {
448
+  name Dot21
449
+  label green
450
+  xpos -930
451
+  ypos 1355
452
+ }
453
+push $N93e37e0
454
+ Dot {
455
+  name Dot4
456
+  xpos -710
457
+  ypos 497
458
+ }
459
+push $N90b1940
460
+ Copy {
461
+  inputs 2
462
+  from0 rgba.red
463
+  to0 rgba.alpha
464
+  name Copy5
465
+  xpos -678
466
+  ypos 487
467
+ }
468
+set N94570a0 [stack 0]
469
+ Group {
470
+  name Grain2_1
471
+  help "Adds synthetic grain. Push \"presets\" to get predefined types of grain, these are the correct size for 2K scans.\n\nYou can also adjust the sliders to match a sample piece of grain. Find a sample with a rather constant background, blur it to remove the grain, and use as input to this. View with a wipe in the viewer so you can make a match. It helps to view and match each of the red, green, blue separately."
472
+  label "Kodak 5248"
473
+  xpos -678
474
+  ypos 542
475
+  addUserKnob {20 "" l User}
476
+  addUserKnob {3 seed t "Change this value to make different instances of this operator produce different noise"}
477
+  seed 134
478
+  addUserKnob {35 presets l "" -STARTLINE M {"presets/Kodak 5248" "knobs this \{red_size 3.30 green_size 2.90 blue_size 2.5 red_i 0.60 green_i 0.60 blue_i 0.60 red_m 0.42 green_m 0.46 blue_m 0.85 black 0.00 label \{Kodak 5248\}\}" "presets/Kodak 5279" "knobs this \{red_size 2.70 green_size 2.60 blue_size 2.40 red_i 1.00 green_i 0.76 blue_i 0.65 red_m 0.37 green_m 0.60 blue_m 1.65 black 0.00 label \{Kodak 5279\}\}" "presets/Kodak FX214" "knobs this \{red_size 1.87 green_size 2.60 blue_size 2.44 red_i 1 green_i 0.76 blue_i 0.79 red_m 0.41 green_m 0.60 blue_m 1.80 black 0.00 label \{Kodak FX214\}\}" "presets/Kodak GT5274" "knobs this \{red_size 0.04 green_size 0.10 blue_size 0.90 red_i 0.90 green_i 0.76 blue_i 0.81 red_m 0.49 green_m 0.50 blue_m 1.55 black 0.00 label \{Kodak GT5274\}\}" "presets/Kodak 5217" "knobs this \{red_size 0.23 green_size 1.20 blue_size 1.40 red_i 0.60 green_i 0.86 blue_i 0.60 red_m 0.48 green_m 0.42 blue_m 0.87 black 0.00 label \{Kodak 5217\}\}" "presets/Kodak 5218" "knobs this \{red_size 0.10 green_size 1.60 blue_size 1.91 red_i 0.60 green_i 0.86 blue_i 0.73 red_m 0.38 green_m 0.17 blue_m 0.87 black 0.00 label \{Kodak 5218\}\}" presets/other "knobs this \{label other\}"}}
479
+  addUserKnob {26 "" l "@b;Size"}
480
+  addUserKnob {14 red_size l red R 0 100}
481
+  red_size 3.3
482
+  addUserKnob {14 green_size l green R 0 100}
483
+  green_size 2.9
484
+  addUserKnob {14 blue_size l blue R 0 100}
485
+  blue_size 2.5
486
+  addUserKnob {26 "" l "@b;Irregularity"}
487
+  addUserKnob {7 red_i l red}
488
+  red_i 0.6
489
+  addUserKnob {7 green_i l green}
490
+  green_i 0.6
491
+  addUserKnob {7 blue_i l blue}
492
+  blue_i 0.6
493
+  addUserKnob {26 "" l "@b;Intensity"}
494
+  addUserKnob {7 red_m l red t "Amount of grain to add to a white pixel"}
495
+  red_m 0.42
496
+  addUserKnob {7 green_m l green}
497
+  green_m 0.46
498
+  addUserKnob {7 blue_m l blue}
499
+  blue_m 0.85
500
+  addUserKnob {18 black t "Amount of grain to add everywhere"}
501
+  black 0.01
502
+  addUserKnob {18 minimum t "Minimum black level" R 0 0.01}
503
+  minimum {0 0 0}
504
+  addUserKnob {26 "" l "@b;Mask"}
505
+  addUserKnob {6 maskgrain l "Apply only through alpha" -STARTLINE}
506
+  maskgrain true
507
+  addUserKnob {41 maskinvert l "Invert alpha" -STARTLINE T Copy1.invert_mask}
508
+ }
509
+  Input {
510
+   inputs 0
511
+   name Input1
512
+   xpos 0
513
+  }
514
+set N94577f0 [stack 0]
515
+  Noise {
516
+   output {rgba.red -rgba.green -rgba.blue -rgba.alpha}
517
+   cliptype none
518
+   replace true
519
+   size {{parent.red_size.w} {parent.red_size.h}}
520
+   zoffset {{frame+seed+red_i/2}}
521
+   octaves 2
522
+   gamma 1
523
+   xrotate {{red_i*45}}
524
+   yrotate {{red_i*45}}
525
+   name red
526
+   xpos 220
527
+  }
528
+  Noise {
529
+   output {-rgba.red rgba.green -rgba.blue -rgba.alpha}
530
+   cliptype none
531
+   replace true
532
+   size {{parent.green_size.w} {parent.green_size.h}}
533
+   zoffset {{frame+2*seed+green_i/2}}
534
+   octaves 2
535
+   gamma 1
536
+   xrotate {{green_i*45}}
537
+   yrotate {{green_i*45}}
538
+   name green
539
+   xpos 220
540
+   ypos 43
541
+  }
542
+  Noise {
543
+   output {-rgba.red -rgba.green rgba.blue -rgba.alpha}
544
+   cliptype none
545
+   replace true
546
+   size {{parent.blue_size.w} {parent.blue_size.h}}
547
+   zoffset {{frame+3*seed+blue_i/2}}
548
+   octaves 2
549
+   gamma 1
550
+   xrotate {{blue_i*45}}
551
+   yrotate {{blue_i*45}}
552
+   name blue
553
+   xpos 220
554
+   ypos 86
555
+  }
556
+push $N94577f0
557
+  MergeExpression {
558
+   inputs 2
559
+   expr0 max(minimum.r,r+(2*Ar-1)*(r*red_m+black.r))
560
+   expr1 max(minimum.g,g+(2*Ag-1)*(g*green_m+black.g))
561
+   expr2 max(minimum.b,b+(2*Ab-1)*(b*blue_m+black.b))
562
+   name MergeExpression1
563
+   xpos 220
564
+   ypos 168
565
+  }
566
+set N94597a0 [stack 0]
567
+push $N94577f0
568
+  Copy {
569
+   inputs 2
570
+   channels rgb
571
+   maskChannelInput rgba.alpha
572
+   name Copy1
573
+   xpos 0
574
+   ypos 154
575
+  }
576
+push $N94597a0
577
+  Switch {
578
+   inputs 2
579
+   which {{maskgrain}}
580
+   name Switch1
581
+   selected true
582
+   xpos 0
583
+   ypos 241
584
+  }
585
+  Output {
586
+   name Output1
587
+   xpos 0
588
+   ypos 286
589
+  }
590
+ end_group
591
+set N7c2ba70 [stack 0]
592
+ Dot {
593
+  name Dot19
594
+  xpos -800
595
+  ypos 552
596
+ }
597
+ Shuffle {
598
+  red alpha
599
+  green alpha
600
+  blue alpha
601
+  name Shuffle6
602
+  xpos -834
603
+  ypos 1199
604
+ }
605
+ Dot {
606
+  name Dot20
607
+  label red
608
+  xpos -800
609
+  ypos 1355
610
+ }
611
+push $N93df610
612
+ Expression {
613
+  channel0 {-rgba.red -rgba.green -rgba.blue}
614
+  channel1 {-rgba.red -rgba.green -rgba.blue}
615
+  channel2 {-rgba.red -rgba.green -rgba.blue}
616
+  expr3 a==0?0:a
617
+  name Expression3
618
+  xpos -147
619
+  ypos 807
620
+ }
621
+ Unpremult {
622
+  alpha -rgba.alpha
623
+  name Unpremult1
624
+  xpos -147
625
+  ypos 866
626
+  disable {{alpha==0?1:0 i x163 0}}
627
+ }
628
+set N945c110 [stack 0]
629
+ Dot {
630
+  name Dot3
631
+  xpos -4
632
+  ypos 870
633
+ }
634
+ Dot {
635
+  name Dot10
636
+  xpos -4
637
+  ypos 1311
638
+ }
639
+ Input {
640
+  inputs 0
641
+  name Mask
642
+  xpos -377
643
+  ypos 502
644
+  number 1
645
+ }
646
+ Invert {
647
+  name Invert1
648
+  xpos -377
649
+  ypos 647
650
+  disable {{ControlGizmo.invertMask i}}
651
+ }
652
+ Expression {
653
+  expr0 r==0?0:r
654
+  expr1 g==0?0:g
655
+  expr2 b==0?0:b
656
+  expr3 a==0?0:a
657
+  name Expression4
658
+  xpos -377
659
+  ypos 698
660
+ }
661
+ Invert {
662
+  name Invert2
663
+  xpos -377
664
+  ypos 735
665
+ }
666
+push $N90b58a0
667
+ Dot {
668
+  name Dot5
669
+  xpos -747
670
+  ypos 745
671
+ }
672
+push $N90c00e0
673
+push $N7cee7a0
674
+push $N7c2ba70
675
+ Copy {
676
+  inputs 2
677
+  from0 rgba.green
678
+  to0 rgba.green
679
+  name Copy4
680
+  xpos -678
681
+  ypos 621
682
+ }
683
+ Copy {
684
+  inputs 2
685
+  from0 rgba.blue
686
+  to0 rgba.blue
687
+  name Copy6
688
+  xpos -678
689
+  ypos 678
690
+ }
691
+ Merge2 {
692
+  inputs 2+1
693
+  invert_mask true
694
+  name MergeMaskl
695
+  xpos -678
696
+  ypos 741
697
+ }
698
+set N945dbe0 [stack 0]
699
+ Shuffle {
700
+  alpha white
701
+  name Shuffle3
702
+  xpos -678
703
+  ypos 792
704
+ }
705
+ Blur {
706
+  channels {rgba.red -rgba.green -rgba.blue}
707
+  name BlurRed
708
+  xpos -678
709
+  ypos 850
710
+ }
711
+ Blur {
712
+  channels {-rgba.red rgba.green -rgba.blue}
713
+  name BlurGreen
714
+  xpos -678
715
+  ypos 885
716
+ }
717
+ Blur {
718
+  channels {-rgba.red -rgba.green rgba.blue}
719
+  name BlurBlue
720
+  xpos -678
721
+  ypos 920
722
+ }
723
+ Sharpen {
724
+  channels {rgba.red -rgba.green -rgba.blue}
725
+  amount 0
726
+  name SharpenRed
727
+  xpos -678
728
+  ypos 994
729
+ }
730
+ Sharpen {
731
+  channels {-rgba.red rgba.green -rgba.blue}
732
+  amount 0
733
+  name SharpenGreen
734
+  xpos -678
735
+  ypos 1033
736
+ }
737
+ Sharpen {
738
+  channels {-rgba.red -rgba.green rgba.blue}
739
+  amount 0
740
+  name SharpenBlue
741
+  xpos -678
742
+  ypos 1072
743
+ }
744
+ Saturation {
745
+  name SaturationGrain
746
+  xpos -678
747
+  ypos 1138
748
+ }
749
+push $N945c110
750
+ Log2Lin {
751
+  operation lin2log
752
+  name Lin2Log_in
753
+  xpos -147
754
+  ypos 976
755
+ }
756
+ Merge2 {
757
+  inputs 2
758
+  operation multiply
759
+  name Merge13
760
+  xpos -147
761
+  ypos 1138
762
+ }
763
+push $N94570a0
764
+ Dot {
765
+  name Dot7
766
+  xpos -560
767
+  ypos 497
768
+ }
769
+ Dot {
770
+  name Dot8
771
+  xpos -560
772
+  ypos 1254
773
+ }
774
+ Merge2 {
775
+  inputs 2
776
+  operation divide
777
+  name Merge14
778
+  xpos -147
779
+  ypos 1250
780
+ }
781
+ Copy {
782
+  inputs 2
783
+  from0 rgba.alpha
784
+  to0 rgba.alpha
785
+  name Copy2
786
+  xpos -147
787
+  ypos 1301
788
+ }
789
+ Log2Lin {
790
+  black {{parent.Lin2Log_in.black i}}
791
+  white {{parent.Lin2Log_in.white i}}
792
+  gamma {{parent.Lin2Log_in.gamma i}}
793
+  name Log2Lin_out
794
+  xpos -147
795
+  ypos 1353
796
+  disable {{Lin2Log_in.disable i}}
797
+ }
798
+ Premult {
799
+  name Premult1
800
+  xpos -147
801
+  ypos 1390
802
+  disable {{Unpremult1.disable}}
803
+ }
804
+push $N93df610
805
+ Dot {
806
+  name Dot24
807
+  xpos 254
808
+  ypos 139
809
+ }
810
+ Dot {
811
+  name Dot23
812
+  xpos 254
813
+  ypos 1479
814
+ }
815
+ Dissolve {
816
+  inputs 2
817
+  which 1
818
+  name MixOrig
819
+  xpos -147
820
+  ypos 1469
821
+ }
822
+ Switch {
823
+  inputs 4
824
+  which {{ControlGizmo.output i}}
825
+  name SwitchGrainAlpha
826
+  xpos -147
827
+  ypos 1537
828
+ }
829
+ Output {
830
+  name Output1
831
+  xpos -147
832
+  ypos 1829
833
+ }
834
+ NoOp {
835
+  inputs 0
836
+  name ControlGizmo
837
+  xpos -450
838
+  ypos 1641
839
+  addUserKnob {20 User}
840
+  addUserKnob {6 invertMask l "invert mask" +STARTLINE}
841
+  addUserKnob {26 version l v2.1}
842
+  addUserKnob {4 output M {"final result" "red matte" "green matte" "blue matte"}}
843
+ }
844
+push $N945dbe0
845
+ Viewer {
846
+  gain 0.8
847
+  input_process false
848
+  name Viewer1
849
+  xpos 115
850
+  ypos 836
851
+ }
852
+end_group

+ 25
- 0
gizmos/AlexaLUT.gizmo ファイルの表示

@@ -0,0 +1,25 @@
1
+#! C:/Program Files/Nuke10.5v3/nuke-10.5.3.dll -nx
2
+version 10.5 v3
3
+Gizmo {
4
+}
5
+ Input {
6
+  inputs 0
7
+  name Input1
8
+  xpos 821
9
+  ypos 30
10
+ }
11
+ Vectorfield {
12
+  vfield_file //calculon/o/LUTs/AlexaV3_K1S1_LogC2Video_Rec709_EE_filmlight3d.cube
13
+  version 2
14
+  file_type cube
15
+  colorspaceIn AlexaV3LogC
16
+  name Alexa_LogC_Rec709_Cube
17
+  xpos 821
18
+  ypos 70
19
+ }
20
+ Output {
21
+  name Output1
22
+  xpos 821
23
+  ypos 170
24
+ }
25
+end_group

+ 30
- 0
gizmos/Alexa_NeutralLUT.gizmo ファイルの表示

@@ -0,0 +1,30 @@
1
+#! C:/Program Files/Nuke6.3v4/Nuke6.3.exe -nx
2
+version 6.3 v4
3
+Gizmo {
4
+ label "viewerLUT for alexa logC primaries"
5
+}
6
+ Input {
7
+  inputs 0
8
+  name Input1
9
+  xpos 657
10
+  ypos -368
11
+ }
12
+ Colorspace {
13
+  colorspace_out AlexaV3LogC
14
+  primary_out AlexaV3LogC
15
+  name Colorspace1
16
+  xpos 657
17
+  ypos -328
18
+ }
19
+ Vectorfield {
20
+  vfield_file //calculon/o/LUTs/K1S1_3D_Neutral.cube
21
+  name Vectorfield1
22
+  xpos 657
23
+  ypos -291
24
+ }
25
+ Output {
26
+  name Output1
27
+  xpos 657
28
+  ypos -191
29
+ }
30
+end_group

+ 30
- 0
gizmos/Alexa_primLUT.gizmo ファイルの表示

@@ -0,0 +1,30 @@
1
+#! C:/Program Files/Nuke6.3v4/Nuke6.3.exe -nx
2
+version 6.3 v4
3
+Gizmo {
4
+ label "viewerLUT for alexa logC primaries"
5
+}
6
+ Input {
7
+  inputs 0
8
+  name Input1
9
+  xpos 657
10
+  ypos -368
11
+ }
12
+ Colorspace {
13
+  colorspace_out AlexaV3LogC
14
+  primary_out AlexaV3LogC
15
+  name Colorspace1
16
+  xpos 657
17
+  ypos -328
18
+ }
19
+ Vectorfield {
20
+  vfield_file //calculon/o/LUTs/AlexaV3_K1S1_LogC2Video_Rec709_EE_filmlight3d.cube
21
+  name Vectorfield1
22
+  xpos 657
23
+  ypos -291
24
+ }
25
+ Output {
26
+  name Output1
27
+  xpos 657
28
+  ypos -191
29
+ }
30
+end_group

+ 358
- 0
gizmos/ArriLensDistortion.gizmo ファイルの表示

@@ -0,0 +1,358 @@
1
+# ArriLensDistortion by Constantin Rukavitsin
2
+# v1.1 2012-11-30
3
+# rukavitsin@gmail.com
4
+#! /mnt/bigbro/apps/Nuke7/Nuke7.0
5
+version 7.0 v1
6
+Gizmo {
7
+ help "ARRI's 35 mm format lenses have become the standard against which others are measured. Precisely designed and engineered, yet highly durable, these lenses offer exceptional performance across a wide range of applications."
8
+ tile_color 0xa479aaff
9
+ addUserKnob {20 ARRI}
10
+ addUserKnob {26 "" l "<b><u>Ultra Primes</u></b>"}
11
+ addUserKnob {4 lensModel l "Focal Lenght" M {12mm 16mm 20mm 24mm 32mm 40mm 50mm 85mm 100mm 135mm 180mm ""}}
12
+ addUserKnob {26 "" +STARTLINE}
13
+ addUserKnob {6 undistort l Undistort +STARTLINE}
14
+ addUserKnob {68 overscanSelect l Overscan M {None Automatic User-Defined ""}}
15
+ overscanSelect Automatic
16
+ addUserKnob {3 overscanX l X}
17
+ addUserKnob {3 overscanY l Y}
18
+ addUserKnob {26 ""}
19
+ addUserKnob {26 copyright l "" +STARTLINE T "ArriLenses v1.1 by Constantin Rukavitsin"}
20
+ addUserKnob {26 expectation l "" +STARTLINE T "Expects overscanned input."}
21
+}
22
+ Input {
23
+  inputs 0
24
+  name Source
25
+  xpos -403
26
+  ypos -804
27
+ }
28
+ Crop {
29
+  box {0 0 {width} {height}}
30
+  name Crop1
31
+  xpos -403
32
+  ypos -717
33
+ }
34
+ Dot {
35
+  name Dot12
36
+  xpos -369
37
+  ypos -631
38
+ }
39
+set N509abcb0 [stack 0]
40
+ Dot {
41
+  name Dot14
42
+  xpos -293
43
+  ypos -631
44
+ }
45
+set N509ac010 [stack 0]
46
+ Dot {
47
+  name Dot13
48
+  xpos -195
49
+  ypos -631
50
+ }
51
+ Reformat {
52
+  type "to box"
53
+  box_width {{width+(2*parent.overscanX)}}
54
+  box_height {{height+(2*parent.overscanY)}}
55
+  box_fixed true
56
+  resize none
57
+  pbb true
58
+  name Reformat2
59
+  label "Overscan2\nUser-Defined"
60
+  xpos -229
61
+  ypos -532
62
+  disable {{!parent.overscan}}
63
+ }
64
+push $N509ac010
65
+ Reformat {
66
+  type "to box"
67
+  box_width {{width*1.0606}}
68
+  box_height {{height*1.0606}}
69
+  box_fixed true
70
+  resize none
71
+  pbb true
72
+  name Reformat1
73
+  label "Overscan1\nAutomatic"
74
+  xpos -327
75
+  ypos -532
76
+  disable {{!parent.overscan}}
77
+ }
78
+push $N509abcb0
79
+ Switch {
80
+  inputs 3
81
+  which {{parent.overscanSelect}}
82
+  name Switch2
83
+  xpos -403
84
+  ypos -399
85
+  disable {{!parent.undistort}}
86
+ }
87
+ Dot {
88
+  name Dot1
89
+  xpos -369
90
+  ypos -309
91
+ }
92
+set N505e4f00 [stack 0]
93
+ Dot {
94
+  name Dot10
95
+  xpos -283
96
+  ypos -309
97
+ }
98
+set N505e5fe0 [stack 0]
99
+ Dot {
100
+  name Dot9
101
+  xpos -197
102
+  ypos -309
103
+ }
104
+set N505e5260 [stack 0]
105
+ Dot {
106
+  name Dot8
107
+  xpos -111
108
+  ypos -309
109
+ }
110
+set N505e5920 [stack 0]
111
+ Dot {
112
+  name Dot7
113
+  xpos -25
114
+  ypos -309
115
+ }
116
+set N505e6a00 [stack 0]
117
+ Dot {
118
+  name Dot6
119
+  xpos 61
120
+  ypos -309
121
+ }
122
+set N505e5c80 [stack 0]
123
+ Dot {
124
+  name Dot5
125
+  xpos 147
126
+  ypos -309
127
+ }
128
+set N505e66a0 [stack 0]
129
+ Dot {
130
+  name Dot4
131
+  xpos 233
132
+  ypos -309
133
+ }
134
+set N50806a50 [stack 0]
135
+ Dot {
136
+  name Dot3
137
+  xpos 319
138
+  ypos -309
139
+ }
140
+set N50809cf0 [stack 0]
141
+ Dot {
142
+  name Dot2
143
+  xpos 405
144
+  ypos -309
145
+ }
146
+set N50806db0 [stack 0]
147
+ Dot {
148
+  name Dot11
149
+  xpos 491
150
+  ypos -309
151
+ }
152
+ LensDistortion {
153
+  serializeKnob ""
154
+  serialiseKnob "22 serialization::archive 9 0 0 0 0 0 0 0 0 0 0 0 0"
155
+  distortion1 -0.00251428
156
+  distortion2 -0.00119706
157
+  invertDistortion {{!parent.undistort}}
158
+  cardScale {1.003725171 1.003725171 1}
159
+  a -0.002819081768
160
+  b -0.0008154451498
161
+  c 6.188752195e-006
162
+  alignmentCorrection {1.003050804 0.0001755959092 2.926668969e-007 -0.0001938510686 1.002609372 5.412244377e-007 -1.778698921 -0.8748891354 1}
163
+  name Arri_UP_180
164
+  xpos 457
165
+  ypos -168
166
+ }
167
+push $N50806db0
168
+ LensDistortion {
169
+  serializeKnob ""
170
+  serialiseKnob "22 serialization::archive 9 0 0 0 0 0 0 0 0 0 0 0 0"
171
+  distortion1 -0.00702408
172
+  distortion2 0.00059331
173
+  invertDistortion {{!parent.undistort}}
174
+  cardScale {1.006472349 1.006472349 1}
175
+  a 0.0002294504375
176
+  b -0.004969264846
177
+  c -0.002121845726
178
+  alignmentCorrection {1 0 0 0 1 0 0 0 1}
179
+  name Arri_UP_135
180
+  xpos 371
181
+  ypos -168
182
+ }
183
+push $N50809cf0
184
+ LensDistortion {
185
+  serializeKnob ""
186
+  serialiseKnob "22 serialization::archive 9 0 0 0 0 0 0 0 0 0 0 0 0"
187
+  distortion1 -0.0048225
188
+  distortion2 0.0005712484126
189
+  invertDistortion {{!parent.undistort}}
190
+  "Card Parameters" 1
191
+  cardScale {1.004269242 1.004269242 1}
192
+  a 0.0002932957432
193
+  b -0.003240938997
194
+  c -0.001712754834
195
+  alignmentCorrection {-3466.026123 -0.7582190037 -0.003171856981 -0.242942512 2.143562779e-005 1.881177158e-011 1092816.375 239.0601501 1}
196
+  name Arri_UP_100
197
+  xpos 285
198
+  ypos -168
199
+ }
200
+push $N50806a50
201
+ LensDistortion {
202
+  serializeKnob ""
203
+  serialiseKnob "22 serialization::archive 9 0 0 0 0 0 0 0 0 0 0 0 0"
204
+  distortion1 0.00281112
205
+  distortion2 -0.0002835910127
206
+  invertDistortion {{!parent.undistort}}
207
+  cardScale {0.9974789023 0.9974789023 1}
208
+  a -3.166417446e-005
209
+  b 0.001695228741
210
+  c 0.001100380556
211
+  alignmentCorrection {1 0 0 0 1 0 0 0 1}
212
+  name Arri_UP_85
213
+  xpos 199
214
+  ypos -168
215
+ }
216
+push $N505e66a0
217
+ LensDistortion {
218
+  serializeKnob ""
219
+  serialiseKnob "22 serialization::archive 9 0 0 0 0 0 0 0 0 0 0 0 0"
220
+  distortion1 0.01122802
221
+  distortion2 0.00095375
222
+  invertDistortion {{!parent.undistort}}
223
+  cardScale {0.9879648685 0.9879648685 1}
224
+  a 0.004541669041
225
+  b 0.004737302195
226
+  c 0.00242894236
227
+  alignmentCorrection {0.9994665384 -0.000428260857 -8.16650811e-007 -8.757611067e-005 1.000195861 2.117951254e-007 0.0615593195 0.01775036566 1}
228
+  name Arri_UP_50
229
+  xpos 113
230
+  ypos -168
231
+ }
232
+push $N505e5c80
233
+ LensDistortion {
234
+  serializeKnob ""
235
+  serialiseKnob "22 serialization::archive 9 0 0 0 0 0 0 0 0 0 0 0 0"
236
+  distortion1 0.00410296
237
+  distortion2 0.0008633330581
238
+  invertDistortion {{!parent.undistort}}
239
+  cardScale {0.9950585365 0.9950585365 1}
240
+  a 0.002829845296
241
+  b 0.001378101646
242
+  c 0.0003656337503
243
+  alignmentCorrection {1 0 0 0 1 0 0 0 1}
244
+  name Arri_UP_40
245
+  xpos 27
246
+  ypos -168
247
+ }
248
+push $N505e6a00
249
+ LensDistortion {
250
+  serializeKnob ""
251
+  serialiseKnob "22 serialization::archive 9 0 0 0 0 0 0 0 0 0 0 0 0"
252
+  distortion1 0.00876533
253
+  distortion2 -0.0002950285852
254
+  invertDistortion {{!parent.undistort}}
255
+  cardScale {0.9916007519 0.9916007519 1}
256
+  a 0.0009098150185
257
+  b 0.005376677494
258
+  c 0.002532978309
259
+  alignmentCorrection {0.9992177486 0.0003987204982 -4.991379683e-007 -0.0004754100519 0.9982125163 -7.202143593e-007 0.08562261611 -0.5607672334 1}
260
+  name Arri_UP_32
261
+  xpos -59
262
+  ypos -168
263
+ }
264
+push $N505e5920
265
+ LensDistortion {
266
+  serializeKnob ""
267
+  serialiseKnob "22 serialization::archive 9 0 0 0 0 0 0 0 0 0 0 0 0"
268
+  distortion1 0.02676017
269
+  distortion2 -0.007557946257
270
+  invertDistortion {{!parent.undistort}}
271
+  cardScale {0.9811594486 0.9811594486 1}
272
+  a -0.0121318493
273
+  b 0.02249652147
274
+  c 0.0126739163
275
+  alignmentCorrection {1.002369404 0.0003539303725 2.333083131e-007 -0.0008470157627 0.9980030656 -8.66483731e-007 -0.6613090038 0.01397165749 1}
276
+  name Arri_UP_24
277
+  xpos -145
278
+  ypos -167
279
+ }
280
+push $N505e5260
281
+ LensDistortion {
282
+  serializeKnob ""
283
+  serialiseKnob "22 serialization::archive 9 0 0 0 0 0 0 0 0 0 0 0 0"
284
+  distortion1 0.02987668
285
+  distortion2 -0.00947697
286
+  invertDistortion {{!parent.undistort}}
287
+  cardScale {0.9800080061 0.9800080061 1}
288
+  a -0.01205980778
289
+  b 0.01811115257
290
+  c 0.01837520115
291
+  alignmentCorrection {1.001197457 0.0002682334743 -4.404707568e-007 0.0005500753759 1.00081265 3.036672922e-007 -1.52293992 -0.3853323758 1}
292
+  name Arri_UP_20
293
+  xpos -231
294
+  ypos -167
295
+ }
296
+push $N505e5fe0
297
+ LensDistortion {
298
+  serializeKnob ""
299
+  serialiseKnob "22 serialization::archive 9 0 0 0 0 0 0 0 0 0 0 0 0"
300
+  distortion1 0.03605628
301
+  distortion2 -0.0179321
302
+  invertDistortion {{!parent.undistort}}
303
+  cardScale {0.9821985364 0.9821985364 1}
304
+  a -0.02899587899
305
+  b 0.02838465385
306
+  c 0.02681010216
307
+  alignmentCorrection {1 0 0 0 1 0 0 0 1}
308
+  name Arri_UP_16
309
+  xpos -317
310
+  ypos -167
311
+ }
312
+push $N505e4f00
313
+ LensDistortion {
314
+  serializeKnob ""
315
+  serialiseKnob "22 serialization::archive 9 0 0 0 0 0 0 0 0 0 0 0 0"
316
+  distortion1 0.08263374
317
+  distortion2 -0.03051648
318
+  invertDistortion {{!parent.undistort}}
319
+  "Card Parameters" 1
320
+  cardScale {0.9504643083 0.9504643083 1}
321
+  a -0.03984513134
322
+  b 0.0390272215
323
+  c 0.07468524575
324
+  alignmentCorrection {1 0 0 0 1 0 0 0 1}
325
+  name Arri_UP_12
326
+  xpos -403
327
+  ypos -167
328
+ }
329
+ Switch {
330
+  inputs 11
331
+  which {{parent.lensModel}}
332
+  name Switch1
333
+  xpos -403
334
+  ypos -24
335
+ }
336
+ Crop {
337
+  box {0 0 {width} {height}}
338
+  reformat true
339
+  crop false
340
+  name Crop2
341
+  xpos -403
342
+  ypos 90
343
+ }
344
+set N509ad0f0 [stack 0]
345
+ Output {
346
+  name Output1
347
+  xpos -403
348
+  ypos 235
349
+ }
350
+push $N509ad0f0
351
+ Viewer {
352
+  fps 25
353
+  input_process false
354
+  name Viewer1
355
+  xpos -225
356
+  ypos 173
357
+ }
358
+end_group

+ 105
- 0
gizmos/BlendCamera.gizmo ファイルの表示

@@ -0,0 +1,105 @@
1
+#! C:/Program Files/Nuke6.1v1/Nuke6.1.exe -nx
2
+version 6.1 v1
3
+Gizmo {
4
+ inputs 0
5
+ help "Blends two CameraFileInputs using the weight parameter."
6
+ note_font Verdana
7
+ note_font_color 0xff
8
+ addUserKnob {20 "" l File}
9
+ addUserKnob {41 weight T Camera3.weight}
10
+ addUserKnob {26 "" l " "}
11
+ addUserKnob {20 CameraFileInput1 n 1}
12
+ addUserKnob {41 file T Camera1.file}
13
+ addUserKnob {41 display_1 l display T Camera1.display}
14
+ addUserKnob {20 CameraFileInputParams1 n 1}
15
+ CameraFileInputParams1 0
16
+ addUserKnob {41 reload T Camera1.reload}
17
+ addUserKnob {41 fbx_take_name l "take name" T Camera1.fbx_take_name}
18
+ addUserKnob {41 fbx_node_name l "node name" T Camera1.fbx_node_name}
19
+ addUserKnob {41 fbx_load_take_node_names l "load take node names" T Camera1.fbx_load_take_node_names}
20
+ addUserKnob {41 frame_rate l "frame rate" T Camera1.frame_rate}
21
+ addUserKnob {41 use_frame_rate l "use frame rate" T Camera1.use_frame_rate}
22
+ addUserKnob {41 compute_rotation l "compute rotation" T Camera1.compute_rotation}
23
+ addUserKnob {20 endGroup_3 l endGroup n -1}
24
+ addUserKnob {26 "" l " "}
25
+ addUserKnob {20 endGroup_2 l endGroup n -1}
26
+ addUserKnob {20 endGroup n -1}
27
+ addUserKnob {20 CameraFileInput2 n 1}
28
+ addUserKnob {41 file_1 l file T Camera2.file}
29
+ addUserKnob {41 display_2 l display T Camera2.display}
30
+ addUserKnob {20 CameraFileInputParams2 n 1}
31
+ CameraFileInputParams2 0
32
+ addUserKnob {41 reload_1 l reload T Camera2.reload}
33
+ addUserKnob {41 fbx_take_name_1 l "take name" T Camera2.fbx_take_name}
34
+ addUserKnob {41 fbx_node_name_1 l "node name" T Camera2.fbx_node_name}
35
+ addUserKnob {41 fbx_load_take_node_names_1 l "load take node names" T Camera2.fbx_load_take_node_names}
36
+ addUserKnob {41 frame_rate_1 l "frame rate" T Camera2.frame_rate}
37
+ addUserKnob {41 use_frame_rate_1 l "use frame rate" T Camera2.use_frame_rate}
38
+ addUserKnob {41 compute_rotation_1 l "compute rotation" T Camera2.compute_rotation}
39
+ addUserKnob {20 endGroup_4 l endGroup n -1}
40
+ addUserKnob {20 endGroup_1 l endGroup n -1}
41
+}
42
+ Camera2 {
43
+  inputs 0
44
+  file_menu Axis/File
45
+  snap_menu Axis/Snap
46
+  translate {{(Camera1.translate.x-Camera1.translate.x*weight)+(Camera2.translate.x-Camera2.translate.x*(1-weight))} {(Camera1.translate.y-Camera1.translate.y*weight)+(Camera2.translate.y-Camera2.translate.y*(1-weight))} {(Camera1.translate.z-Camera1.translate.z*weight)+(Camera2.translate.z-Camera2.translate.z*(1-weight))}}
47
+  rotate {{(Camera1.rotate.x-Camera1.rotate.x*weight)+(Camera2.rotate.x-Camera2.rotate.x*(1-weight))} {(Camera1.rotate.y-Camera1.rotate.y*weight)+(Camera2.rotate.y-Camera2.rotate.y*(1-weight))} {(Camera1.rotate.z-Camera1.rotate.z*weight)+(Camera2.rotate.z-Camera2.rotate.z*(1-weight))}}
48
+  scaling {{(Camera1.scaling.x-Camera1.scaling.x*weight)+(Camera2.scaling.x-Camera2.scaling.x*(1-weight))} {(Camera1.scaling.y-Camera1.scaling.y*weight)+(Camera2.scaling.y-Camera2.scaling.y*(1-weight))} {(Camera1.scaling.z-Camera1.scaling.z*weight)+(Camera2.scaling.z-Camera2.scaling.z*(1-weight))}}
49
+  uniform_scale {{(Camera1.uniform_scale-Camera1.uniform_scale*weight)+(Camera2.uniform_scale-Camera2.uniform_scale*(1-weight))}}
50
+  skew {{(Camera1.skew.x-Camera1.skew.x*weight)+(Camera2.skew.x-Camera2.skew.x*(1-weight))} {(Camera1.skew.y-Camera1.skew.y*weight)+(Camera2.skew.y-Camera2.skew.y*(1-weight))} {(Camera1.skew.z-Camera1.skew.z*weight)+(Camera2.skew.z-Camera2.skew.z*(1-weight))}}
51
+  pivot {{(Camera1.pivot.x-Camera1.pivot.x*weight)+(Camera2.pivot.x-Camera2.pivot.x*(1-weight))} {(Camera1.pivot.y-Camera1.pivot.y*weight)+(Camera2.pivot.y-Camera2.pivot.y*(1-weight))} {(Camera1.pivot.y-Camera1.pivot.y*weight)+(Camera2.pivot.y-Camera2.pivot.y*(1-weight))}}
52
+  focal {{(Camera1.focal-Camera1.focal*weight)+(Camera2.focal-Camera2.focal*(1-weight))}}
53
+  haperture {{(Camera1.haperture-Camera1.haperture*weight)+(Camera2.haperture-Camera2.haperture*(1-weight))}}
54
+  vaperture {{(Camera1.vaperture-Camera1.vaperture*weight)+(Camera2.vaperture-Camera2.vaperture*(1-weight))}}
55
+  near {{(Camera1.near-Camera1.near*weight)+(Camera2.near-Camera2.near*(1-weight))}}
56
+  far {{(Camera1.far-Camera1.far*weight)+(Camera2.far-Camera2.far*(1-weight))}}
57
+  win_translate {{(Camera1.win_translate.u-Camera1.win_translate.u*weight)+(Camera2.win_translate.u-Camera2.win_translate.u*(1-weight))} {(Camera1.win_translate.v-Camera1.win_translate.v*weight)+(Camera2.win_translate.v-Camera2.win_translate.v*(1-weight))}}
58
+  win_scale {{(Camera1.win_scale.u-Camera1.win_scale.u*weight)+(Camera2.win_scale.u-Camera2.win_scale.u*(1-weight))} {(Camera1.win_scale.v-Camera1.win_scale.v*weight)+(Camera2.win_scale.v-Camera2.win_scale.v*(1-weight))}}
59
+  winroll {{(Camera1.winroll-Camera1.winroll.u*weight)+(Camera2.winroll-Camera2.winroll*(1-weight))}}
60
+  focal_point {{(Camera1.focal_point-Camera1.focal_point*weight)+(Camera2.focal_point-Camera2.focal_point*(1-weight))}}
61
+  name Camera3
62
+  xpos 440
63
+  ypos -89
64
+  addUserKnob {20 User}
65
+  addUserKnob {7 weight}
66
+  weight 0.5
67
+ }
68
+ Output {
69
+  name Output1
70
+  xpos 430
71
+  ypos 58
72
+ }
73
+ Camera2 {
74
+  inputs 0
75
+  read_from_file true
76
+  display off
77
+  selectable false
78
+  file_menu Axis/File
79
+  snap_menu Axis/Snap
80
+  focal 24.72358704
81
+  haperture 24.89999962
82
+  vaperture 14.01840782
83
+  near 0.009999999776
84
+  fbx_take_name {{1} Default "Take 001"}
85
+  name Camera1
86
+  xpos 364
87
+  ypos -174
88
+ }
89
+ Camera2 {
90
+  inputs 0
91
+  read_from_file true
92
+  display off
93
+  selectable false
94
+  file_menu Axis/File
95
+  snap_menu Axis/Snap
96
+  focal 24.34143066
97
+  haperture 24.89999962
98
+  vaperture 14.01840782
99
+  near 0.009999999776
100
+  fbx_take_name {{1} Default "Take 001"}
101
+  name Camera2
102
+  xpos 509
103
+  ypos -175
104
+ }
105
+end_group

+ 104
- 0
gizmos/Bloom.gizmo ファイルの表示

@@ -0,0 +1,104 @@
1
+#! C:/Program Files/Nuke8.0v2/nuke-8.0.v2.dll -nx
2
+version 8.0 v2
3
+Gizmo {
4
+ inputs 3
5
+ addUserKnob {20 User}
6
+ addUserKnob {6 HighLightMap l "High Light Map" +STARTLINE}
7
+ addUserKnob {41 size T Blur1.size}
8
+ addUserKnob {41 filter T Blur1.filter}
9
+ addUserKnob {41 mix T Blur1.mix}
10
+}
11
+ Input {
12
+  inputs 0
13
+  name Keyer
14
+  xpos 60
15
+  ypos -407
16
+  number 2
17
+ }
18
+ Dot {
19
+  name Dot3
20
+  xpos 94
21
+  ypos -279
22
+ }
23
+set N2ab6b6c0 [stack 0]
24
+ Blur {
25
+  name Blur1
26
+  xpos 60
27
+  ypos -245
28
+ }
29
+ Premult {
30
+  name Premult1
31
+  xpos 60
32
+  ypos -193
33
+ }
34
+ Dot {
35
+  name Dot5
36
+  xpos 95
37
+  ypos -141
38
+ }
39
+set N2ab6ced0 [stack 0]
40
+ Dot {
41
+  name Dot6
42
+  xpos 311
43
+  ypos -141
44
+ }
45
+ Input {
46
+  inputs 0
47
+  name Mask
48
+  xpos 202
49
+  ypos -91
50
+  number 1
51
+ }
52
+push $N2ab6ced0
53
+ Input {
54
+  inputs 0
55
+  name Src
56
+  xpos 228
57
+  ypos -407
58
+ }
59
+ Dot {
60
+  name Dot1
61
+  xpos 262
62
+  ypos -198
63
+ }
64
+ Merge2 {
65
+  inputs 2+1
66
+  operation plus
67
+  name Merge1
68
+  xpos 60
69
+  ypos -91
70
+ }
71
+ Dot {
72
+  name Dot7
73
+  xpos 94
74
+  ypos -47
75
+ }
76
+ Switch {
77
+  inputs 2
78
+  which {{HighLightMap}}
79
+  name Switch1
80
+  xpos 277
81
+  ypos -50
82
+ }
83
+ Output {
84
+  name Output1
85
+  xpos 277
86
+  ypos 15
87
+ }
88
+push $N2ab6b6c0
89
+ Dot {
90
+  name Dot2
91
+  xpos 431
92
+  ypos -279
93
+ }
94
+ Premult {
95
+  name Premult2
96
+  xpos 397
97
+  ypos -189
98
+ }
99
+ Dot {
100
+  name Dot4
101
+  xpos 431
102
+  ypos -102
103
+ }
104
+end_group

+ 83
- 0
gizmos/ChromaticAberration.gizmo ファイルの表示

@@ -0,0 +1,83 @@
1
+#! C:/Program Files/Nuke9.0v6/nuke-9.0.6.dll -nx
2
+version 9.0 v6
3
+Gizmo {
4
+ tile_color 0xc15f28ff
5
+ note_font Verdana
6
+ note_font_size 12
7
+ note_font_color 0x1cefd6ff
8
+ addUserKnob {20 ChromaticAberrationSimple l "Chromatic Aberration"}
9
+ addUserKnob {41 aberrationamount l "Fringing amount" T Dot4.aberrationamount}
10
+ addUserKnob {26 ""}
11
+ addUserKnob {26 description l "" +STARTLINE T "Positive values will lead with red out, \nnegative leads with blue.\n\nGizmo by Ben Sumner\nben.m.sumner@gmail.com"}
12
+}
13
+ Input {
14
+  inputs 0
15
+  name Input1
16
+  xpos 557
17
+  ypos -128
18
+ }
19
+ Dot {
20
+  name Dot4
21
+  xpos 591
22
+  ypos -88
23
+  addUserKnob {20 User}
24
+  addUserKnob {26 description l "" +STARTLINE T "Positive values will lead with red out, negative leads with blue."}
25
+  addUserKnob {7 aberrationamount l "Chromatic aberration amount" R -0.01 0.01}
26
+  aberrationamount 0.01
27
+ }
28
+set N66e07400 [stack 0]
29
+ TransformMasked {
30
+  channels {-rgba.red -rgba.green rgba.blue none}
31
+  scale {{1-parent.Dot4.aberrationamount}}
32
+  center {{width/2} {height/2}}
33
+  name Transform6
34
+  xpos 609
35
+  ypos -40
36
+ }
37
+ TransformMasked {
38
+  channels {-rgba.red rgba.green -rgba.blue none}
39
+  scale {{(parent.Transform6.scale+1)/2}}
40
+  center {{parent.Transform6.center.x} {parent.Transform6.center.y}}
41
+  name Transform10
42
+  xpos 609
43
+  ypos 9
44
+ }
45
+push $N66e07400
46
+ TransformMasked {
47
+  channels {rgba.red -rgba.green -rgba.blue none}
48
+  scale {{1+parent.Dot4.aberrationamount}}
49
+  center {{width/2} {height/2}}
50
+  name Transform1
51
+  xpos 501
52
+  ypos -39
53
+ }
54
+ TransformMasked {
55
+  channels {-rgba.red rgba.green -rgba.blue none}
56
+  scale {{(parent.Transform1.scale+1)/2}}
57
+  center {{parent.Transform1.center.x} {parent.Transform1.center.y}}
58
+  name Transform5
59
+  xpos 501
60
+  ypos 10
61
+ }
62
+ Switch {
63
+  inputs 2
64
+  which {{abs(floor(parent.Dot4.aberrationamount))}}
65
+  name Switch1
66
+  xpos 557
67
+  ypos 73
68
+ }
69
+set N66e06000 [stack 0]
70
+ Output {
71
+  name Output1
72
+  xpos 557
73
+  ypos 168
74
+ }
75
+push $N66e06000
76
+ Viewer {
77
+  frame_range 1001-1047
78
+  name Viewer1
79
+  selected true
80
+  xpos 131
81
+  ypos 216
82
+ }
83
+end_group

+ 314
- 0
gizmos/Cryptomatte.gizmo ファイルの表示

@@ -0,0 +1,314 @@
1
+#
2
+#  Copyright (c) 2014, 2015, 2016, 2017 Psyop Media Company, LLC
3
+#  See license.txt
4
+#
5
+
6
+version 7.0 v1
7
+#! C:/Temp/psyop_cache/apps/nuke/win64/10.0v6/nuke-10.0.6.dll -nx
8
+Gizmo {
9
+ addUserKnob {20 cryptomatte l "Psyop Cryptomatte"}
10
+
11
+ addUserKnob {36 pickerAdd l "Picker Add" t "Key objects to add to the Matte List here. " +STARTLINE +DO_NOT_WRITE}
12
+ pickerAdd {0 0 0 0 0 0 0 0}
13
+ addUserKnob {26 pickerAddLabel l "Picker Add" -STARTLINE T " "}
14
+
15
+ addUserKnob {36 pickerRemove l "Picker Remove" t "Key objects to remove from the Matte List here. " +STARTLINE +DO_NOT_WRITE}
16
+ pickerRemove {0 0 0 0 0 0 0 0}
17
+ addUserKnob {26 pickerRemoveLabel l "Picker Remove" -STARTLINE T " "}
18
+
19
+ addUserKnob {26 ""}
20
+
21
+ addUserKnob {6 previewEnabled l "Preview" +STARTLINE}
22
+ previewEnabled true
23
+ addUserKnob {4 previewMode l "" t "Choose how Cryptomatte will visualize keyable regions." -STARTLINE M {Colors Edges None ""}}
24
+ 
25
+ addUserKnob {6 matteOnly l "Matte Only" t "Extracted matte is copied to RGB channels as well. This disables keying. " +STARTLINE}
26
+ addUserKnob {6 singleSelection l "Single Selection" t "Picker only selects matte at a time, rather than selecting a list. " -STARTLINE}
27
+ addUserKnob {6 RemoveChannels l "Remove Channels" t "Removes all non-RGBA channels for the output. This will leave the downstream cleaner. " -STARTLINE}
28
+
29
+ addUserKnob {26 ""}
30
+
31
+ addUserKnob {41 matteOutput l "Matte Output" t "Set the channel(s) the matte will write to in \"Matte Only\" mode.  For example, you can use this to store the matte in a custom channel called \"Matte\" and use it for color-correction downstream." T ShuffleCopy_embedMask.out}
32
+ addUserKnob {6 unpremultiply l Unpremultiply -STARTLINE}
33
+
34
+ addUserKnob {1 matteList l "Matte List" t "The list of names the mattes are built from. Color picking values with the color fields above works by populating this field. "}
35
+ addUserKnob {22 clear l Clear t "Clears the selection in this Gizmo" T "try: \n   import cryptomatte_utilities as cu\n   cu.clear_cryptomatte_gizmo(nuke.thisNode())\nexcept Exception, err:\n   import traceback\n   nuke.message('''Unable to run Cryptomatte Gizmo update script. This script is necessary for the Cryptomatte system to work properly. Please check with Pipeline that the Cryptomatte python plugin is available on this project. \n\nError Traceback (send this to Pipeline): \n\n%s''' % traceback.format_exc())" +STARTLINE}
36
+ addUserKnob {22 forceUpdate l "Force Update" t "Updates the Gizmo based on which channels are available in the input. \n\nThis happens automatically when input changes, when loading the nuke script, or when a new gizmo is created. This is how it deals with differently named channels in the different Cryptomatte layers, and different depths that it's possible to render at. " -STARTLINE T "try: \n   import cryptomatte_utilities as cu\nexcept Exception, err:\n   import traceback\n   nuke.message('''Unable to run Cryptomatte Gizmo update script. This script is necessary for the Cryptomatte system to work properly. \n\nError Traceback: \n\n%s''' % traceback.format_exc())"}
37
+ addUserKnob {6 stopAutoUpdate l "Stop Auto Update" t "Stops the automatic update of this copy of the Gizmo." -STARTLINE}
38
+
39
+ addUserKnob {26 ""}
40
+ addUserKnob {4 cryptoLayerChoice l "Layer Selection" t "Choose which Cryptomatte layer to key." M {"                               " ""} +DO_NOT_WRITE}
41
+ addUserKnob {1 cryptoLayer l INVISIBLE t "Internal storage of selection between multiple cryptomattes." -STARTLINE +INVISIBLE}
42
+ addUserKnob {1 metadataCache l INVISIBLE t "Internal storage of selection between multiple cryptomatte metadata keys." -STARTLINE +INVISIBLE +DO_NOT_WRITE}
43
+ addUserKnob {6 cryptoLayerLock l "Lock Layer Selection" t "Stops the automatic update of the layer selection." -STARTLINE}
44
+ addUserKnob {41 expression l "Keyer Expression" t "The built expression. This knob is set automatically and is only left exposed as information for the user. " T Expression_key.expr0}
45
+
46
+ addUserKnob {20 Advanced}
47
+
48
+ addUserKnob {36 ColorKey l "" t "Key an object here to check its name. It will not effect your mattes. " -STARTLINE +HIDDEN}
49
+ ColorKey {0 0 0 0 0 0 0 0}
50
+ addUserKnob {6 ColorKey_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
51
+ addUserKnob {26 ColorKeyLabel l "Name Checker" -STARTLINE T " " +HIDDEN}
52
+ addUserKnob {1 keyedName l "Keyed Name" t "This field is for information only." +HIDDEN}
53
+ addUserKnob {26 "" +HIDDEN}
54
+
55
+ addUserKnob {26 cryptomatteVersion l "Cryptomatte Version" T 1.2.8 +DO_NOT_WRITE}
56
+ addUserKnob {22 troubleshoot l "Troubleshoot"  +STARTLINE
57
+ t "'Force Update All' will run 'Force Update' on all Cryptomatte gizmos in the Nuke script. 'Force Update' orders the gizmos to re-configure themselves based on available metadata, Cryptomatte depth, and the matte list. This updates all aspects of thier operation, from the preview modes to the extraction expression. Usually these updates occur automatically on certain actions, such as 'keying' the image, changing layer selection, or reconnecting images. However if changes occur upstream of the gizmos that require manually invoked updates, 'Force Update' and 'Force Update All' may be used. "
58
+ T "
59
+try: 
60
+  import cryptomatte_utilities as cu
61
+  cu.troubleshoot_gizmo(nuke.thisNode())
62
+except ImportError, err:
63
+  nuke.message('''Could not import cryptomatte_utilities.py, the python files are not available. \n\nError Traceback: \n\n%s''' % traceback.format_exc())
64
+except Exception, err:
65
+  import traceback
66
+  nuke.message('''Something went wrong. If you would like to report this, please the text in this window: \n\nError Traceback: \n\n%s''' % traceback.format_exc())
67
+"}
68
+ addUserKnob {26 ""}
69
+
70
+ addUserKnob {22 decryptomatte l "Decryptomatte (Replace with Expression)" +STARTLINE
71
+  t "Replaces this gizmo with an expression node that does the extraction. This will replicate the matte extraction, but not the preview modes. "
72
+  T "
73
+try: 
74
+  import cryptomatte_utilities as cu
75
+  cu.decryptomatte_button(nuke.thisNode())
76
+except Exception, err:
77
+  import traceback
78
+  nuke.message('''Unable to run a Cryptomatte script. This script is necessary for the Cryptomatte system to work properly. \n\nError Traceback: \n\n%s''' % traceback.format_exc())
79
+"}
80
+ 
81
+ addUserKnob {22 unloadManifest l "Unload Manifest (Extract all Mattes)" +STARTLINE
82
+    t  "Unload Manifest will create a separate gizmo for every named matte in the Cryptomatte manifest. This can potentially be thousands of nodes, though if the number is high a warning will be displayed before creating them. " 
83
+    T "
84
+try: 
85
+  import cryptomatte_utilities as cu
86
+  cu.unload_manifest(nuke.thisNode())
87
+except Exception, err:
88
+  import traceback
89
+  nuke.message('''Unable to run a Cryptomatte script. This script is necessary for the Cryptomatte system to work properly. \n\nError Traceback: \n\n%s''' % traceback.format_exc())
90
+"}
91
+
92
+ addUserKnob {22 forceUpdateAll l "Force Update All (Update all Gizmos)"  +STARTLINE
93
+ t "'Force Update All' will run 'Force Update' on all Cryptomatte gizmos in the Nuke script. 'Force Update' orders the gizmos to re-configure themselves based on available metadata, Cryptomatte depth, and the matte list. This updates all aspects of thier operation, from the preview modes to the extraction expression. Usually these updates occur automatically on certain actions, such as 'keying' the image, changing layer selection, or reconnecting images. However if changes occur upstream of the gizmos that require manually invoked updates, 'Force Update' and 'Force Update All' may be used. "
94
+ T "
95
+try: 
96
+  import cryptomatte_utilities as cu
97
+  cu.update_all_cryptomatte_gizmos()
98
+except Exception, err:
99
+  import traceback
100
+  nuke.message('''Unable to run Cryptomatte Gizmo update script. This script is necessary for the Cryptomatte system to work properly. \n\nError Traceback: \n\n%s''' % traceback.format_exc())
101
+"}
102
+
103
+ addUserKnob {41 previewExpression0 l INVISIBLE +INVISIBLE T Expression_preview.expr0}
104
+ addUserKnob {41 previewExpression1 l INVISIBLE +INVISIBLE T Expression_preview.expr1}
105
+ addUserKnob {41 previewExpression2 l INVISIBLE +INVISIBLE T Expression_preview.expr2}
106
+ addUserKnob {41 previewExpression3 l INVISIBLE +INVISIBLE T Expression_preview.expr3}
107
+
108
+ addUserKnob {11 previewChannel +HIDDEN}
109
+ previewChannel none
110
+ addUserKnob {11 in00 +HIDDEN}
111
+ addUserKnob {11 in01 +HIDDEN}
112
+ addUserKnob {11 in02 +HIDDEN}
113
+ addUserKnob {11 in03 +HIDDEN}
114
+ addUserKnob {11 in04 +HIDDEN}
115
+ addUserKnob {11 in05 +HIDDEN}
116
+ addUserKnob {11 in06 +HIDDEN}
117
+ addUserKnob {11 in07 +HIDDEN}
118
+ addUserKnob {11 in08 +HIDDEN}
119
+ addUserKnob {11 in09 +HIDDEN}
120
+ addUserKnob {11 in10 +HIDDEN}
121
+ addUserKnob {11 in11 +HIDDEN}
122
+ addUserKnob {26 "" +HIDDEN}
123
+
124
+}
125
+ Input {
126
+  inputs 0
127
+  name Input1
128
+  xpos -1361
129
+  ypos -499
130
+ }
131
+ Dot {
132
+  name Dot4
133
+  xpos -1327
134
+  ypos -439
135
+ }
136
+set N13c4bc00 [stack 0]
137
+ Dot {
138
+  name Dot15
139
+  xpos -1093
140
+  ypos -439
141
+ }
142
+set N13c4b800 [stack 0]
143
+ Dot {
144
+  name Dot1
145
+  xpos -960
146
+  ypos -439
147
+ }
148
+ Shuffle {
149
+  red black
150
+  green black
151
+  blue black
152
+  name Shuffle_blackRGB
153
+  xpos -994
154
+  ypos -398
155
+ }
156
+ Expression {
157
+  channel1 none
158
+  channel2 none
159
+  channel3 none
160
+  name Expression_key
161
+  xpos -994
162
+  ypos -372
163
+ }
164
+ Unpremult {
165
+  channels {rgba.red -rgba.green -rgba.blue none}
166
+  name Unpremult_matte
167
+  xpos -994
168
+  ypos -340
169
+  disable {{!parent.unpremultiply}}
170
+ }
171
+set N13c4a400 [stack 0]
172
+ Dot {
173
+  name Dot11
174
+  xpos -960
175
+  ypos -142
176
+ }
177
+set N13c4a000 [stack 0]
178
+ Dot {
179
+  name Dot2
180
+  xpos -960
181
+  ypos -65
182
+ }
183
+push $N13c4a000
184
+push $N13c4bc00
185
+ Dot {
186
+  name Dot8
187
+  xpos -1327
188
+  ypos -395
189
+ }
190
+set N12b01800 [stack 0]
191
+ Dot {
192
+  name Dot9
193
+  xpos -1227
194
+  ypos -395
195
+ }
196
+ Remove {
197
+  operation keep
198
+  channels rgba
199
+  name Remove_channels
200
+  xpos -1261
201
+  ypos -360
202
+ }
203
+push $N12b01800
204
+ Switch {
205
+  inputs 2
206
+  which {{parent.RemoveChannels}}
207
+  name Switch_removeChannels
208
+  xpos -1361
209
+  ypos -312
210
+ }
211
+ Dot {
212
+  name Dot17
213
+  xpos -1327
214
+  ypos -235
215
+ }
216
+set N12b00c00 [stack 0]
217
+ Dot {
218
+  name Dot10
219
+  xpos -1327
220
+  ypos -193
221
+ }
222
+set N12b00800 [stack 0]
223
+ ShuffleCopy {
224
+  inputs 2
225
+  red red
226
+  green red
227
+  blue red
228
+  alpha red
229
+  name ShuffleCopy_matteOnly
230
+  xpos -1361
231
+  ypos -146
232
+ }
233
+ Dot {
234
+  name Dot16
235
+  xpos -1327
236
+  ypos -91
237
+ }
238
+push $N13c4a400
239
+push $N13c4b800
240
+ Shuffle {
241
+  alpha black
242
+  name Shuffle_blackAlpha
243
+  xpos -1127
244
+  ypos -394
245
+ }
246
+ Expression {
247
+  name Expression_preview
248
+  xpos -1127
249
+  ypos -368
250
+ }
251
+ Grade {
252
+  inputs 1+1
253
+  channels {rgba.red rgba.green -rgba.blue none}
254
+  multiply 0
255
+  add 1
256
+  black_clamp false
257
+  maskChannelMask rgba.red
258
+  name Grade_selection
259
+  xpos -1127
260
+  ypos -340
261
+ }
262
+ Grade {
263
+  channels {-rgba.red rgba.green rgba.blue none}
264
+  multiply 0
265
+  add 1
266
+  black_clamp false
267
+  maskChannelInput rgba.alpha
268
+  name Grade_highlight
269
+  xpos -1127
270
+  ypos -302
271
+ }
272
+push $N12b00c00
273
+ ShuffleCopy {
274
+  inputs 2
275
+  red red
276
+  green green
277
+  blue blue
278
+  alpha alpha2
279
+  name ShuffleCopy_restoreAlpha
280
+  xpos -1127
281
+  ypos -239
282
+ }
283
+push $N12b00800
284
+ Switch {
285
+  inputs 2
286
+  which {{parent.previewEnabled}}
287
+  name Switch_preview
288
+  xpos -1127
289
+  ypos -197
290
+ }
291
+ Switch {
292
+  inputs 2
293
+  which {{parent.matteOnly}}
294
+  name Switch_matteOnly
295
+  xpos -1127
296
+  ypos -95
297
+ }
298
+ ShuffleCopy {
299
+  inputs 2
300
+  red red
301
+  green red
302
+  blue red
303
+  alpha red
304
+  out alpha
305
+  name ShuffleCopy_embedMask
306
+  xpos -1127
307
+  ypos -69
308
+ }
309
+ Output {
310
+  name Output
311
+  xpos -1127
312
+  ypos -21
313
+ }
314
+end_group

+ 228
- 0
gizmos/DespillMadness.gizmo ファイルの表示

@@ -0,0 +1,228 @@
1
+#! C:/Program Files/Nuke6.1v1/Nuke6.1.exe -nx
2
+version 6.1 v1
3
+Gizmo {
4
+ addUserKnob {20 DespillMadness l "Despill Settings"}
5
+ addUserKnob {26 text l "" +STARTLINE T "DespillMadness by Andreas Frickinger"}
6
+ addUserKnob {26 ""}
7
+ addUserKnob {41 screenType l "screen type" T GizmoControl.screenType}
8
+ addUserKnob {41 algorithm l "despill algorithm" T GizmoControl.algorithm}
9
+ addUserKnob {41 LimitPercentage l "fine tune" T RedLimitsGreen.LimitPercentage}
10
+ addUserKnob {26 ""}
11
+ addUserKnob {26 text_2 l "" +STARTLINE T "spill area correction"}
12
+ addUserKnob {41 saturation T CC_SpillMap.saturation}
13
+ addUserKnob {41 gamma T CC_SpillMap.gamma}
14
+ addUserKnob {41 offset T CC_SpillMap.offset}
15
+ addUserKnob {26 ""}
16
+ addUserKnob {41 spillMatteOut l "output spill matte in alpha" T GizmoControl.spillMatteOut}
17
+}
18
+ NoOp {
19
+  inputs 0
20
+  name GizmoControl
21
+  xpos 875
22
+  ypos 414
23
+  addUserKnob {20 User}
24
+  addUserKnob {26 version l v1.0}
25
+  addUserKnob {4 screenType l "screen type" M {green blue}}
26
+  addUserKnob {4 algorithm l "despill algorithm" M {average "red limit" "green/blue limit" ""}}
27
+  addUserKnob {6 spillMatteOut l "output spill matte in alpha" +STARTLINE}
28
+ }
29
+ Input {
30
+  inputs 0
31
+  name Input1
32
+  xpos 262
33
+  ypos -336
34
+ }
35
+ Dot {
36
+  name Dot6
37
+  selected true
38
+  xpos 296
39
+  ypos -186
40
+ }
41
+set N7b15fe0 [stack 0]
42
+ Dot {
43
+  name Dot2
44
+  xpos 296
45
+  ypos -71
46
+ }
47
+set N7b15d70 [stack 0]
48
+ Dot {
49
+  name Dot3
50
+  xpos 426
51
+  ypos -71
52
+ }
53
+set N7b153b0 [stack 0]
54
+ Expression {
55
+  expr2 b>g*LimitPercentage?g*LimitPercentage:b
56
+  expr3 b-g*LimitPercentage
57
+  name GreenLimitsBlue1
58
+  xpos 528
59
+  ypos 44
60
+  addUserKnob {20 User}
61
+  addUserKnob {7 LimitPercentage l "fine tune" R 0.5 1.5}
62
+  LimitPercentage {{RedLimitsGreen.LimitPercentage i}}
63
+ }
64
+push $N7b153b0
65
+ Expression {
66
+  expr2 b>r*LimitPercentage?r*LimitPercentage:b
67
+  expr3 b-r*LimitPercentage
68
+  name RedLimitsBlue
69
+  xpos 392
70
+  ypos 44
71
+  addUserKnob {20 User}
72
+  addUserKnob {7 LimitPercentage l "fine tune" R 0.5 1.5}
73
+  LimitPercentage {{RedLimitsGreen.LimitPercentage i}}
74
+ }
75
+push $N7b153b0
76
+ Expression {
77
+  expr2 b>(g+r)/2*LimitPercentage?(g+r)/2*LimitPercentage:b
78
+  expr3 b-(r+g)*LimitPercentage/2
79
+  name RedAndGreenLimitBlue
80
+  xpos 662
81
+  ypos 44
82
+  addUserKnob {20 User}
83
+  addUserKnob {7 LimitPercentage l "fine tune" R 0.5 1.5}
84
+  LimitPercentage {{RedLimitsGreen.LimitPercentage i}}
85
+ }
86
+ Switch {
87
+  inputs 3
88
+  which {{GizmoControl.algorithm i}}
89
+  name SwitchBlue
90
+  xpos 528
91
+  ypos 190
92
+ }
93
+ Dot {
94
+  name Dot5
95
+  xpos 562
96
+  ypos 370
97
+ }
98
+push $N7b15d70
99
+ Dot {
100
+  name Dot1
101
+  xpos 164
102
+  ypos -71
103
+ }
104
+set N7b8dfd0 [stack 0]
105
+ Expression {
106
+  expr1 g>b*LimitPercentage?b*LimitPercentage:g
107
+  expr3 g-b*LimitPercentage
108
+  name BlueLimitsGreen
109
+  xpos -15
110
+  ypos 44
111
+  addUserKnob {20 User}
112
+  addUserKnob {7 LimitPercentage l "fine tune" R 0.5 1.5}
113
+  LimitPercentage {{RedLimitsGreen.LimitPercentage i}}
114
+ }
115
+push $N7b8dfd0
116
+ Expression {
117
+  expr1 g>r*LimitPercentage?r*LimitPercentage:g
118
+  expr3 g-r*LimitPercentage
119
+  name RedLimitsGreen
120
+  xpos -160
121
+  ypos 44
122
+  addUserKnob {20 User}
123
+  addUserKnob {7 LimitPercentage l "fine tune" R 0.5 1.5}
124
+  LimitPercentage 0.94
125
+ }
126
+push $N7b8dfd0
127
+ Expression {
128
+  expr1 g>(b+r)/2*LimitPercentage?(b+r)/2*LimitPercentage:g
129
+  expr3 g-(r+b)*LimitPercentage/2
130
+  name RedAveBlueLimitsGreen
131
+  xpos 130
132
+  ypos 44
133
+  addUserKnob {20 User}
134
+  addUserKnob {7 LimitPercentage l "fine tune" R 0.5 1.5}
135
+  LimitPercentage {{RedLimitsGreen.LimitPercentage i}}
136
+ }
137
+ Switch {
138
+  inputs 3
139
+  which {{GizmoControl.algorithm i}}
140
+  name SwitchGreen
141
+  xpos -15
142
+  ypos 199
143
+ }
144
+ Dot {
145
+  name Dot4
146
+  xpos 19
147
+  ypos 370
148
+ }
149
+ Switch {
150
+  inputs 2
151
+  which {{GizmoControl.screenType i}}
152
+  name SwitchMain
153
+  xpos 257
154
+  ypos 366
155
+ }
156
+ Clamp {
157
+  channels alpha
158
+  name Clamp1
159
+  xpos 257
160
+  ypos 408
161
+ }
162
+ ColorCorrect {
163
+  maskChannelInput rgba.alpha
164
+  name CC_SpillMap
165
+  note_font Verdana
166
+  xpos 257
167
+  ypos 468
168
+ }
169
+set N7b8ee70 [stack 0]
170
+ Dot {
171
+  name Dot9
172
+  xpos 440
173
+  ypos 478
174
+ }
175
+ Dot {
176
+  name Dot10
177
+  xpos 440
178
+  ypos 649
179
+ }
180
+push $N7b15fe0
181
+ Dot {
182
+  name Dot7
183
+  xpos -345
184
+  ypos -186
185
+ }
186
+ Dot {
187
+  name Dot8
188
+  xpos -345
189
+  ypos 551
190
+ }
191
+ Expression {
192
+  channel0 {-rgba.red -rgba.green -rgba.blue}
193
+  expr0 0
194
+  channel1 {-rgba.red -rgba.green -rgba.blue}
195
+  expr1 0
196
+  channel2 {-rgba.red -rgba.green -rgba.blue}
197
+  expr2 0
198
+  channel3 {rgba.alpha none none rgba.alpha}
199
+  expr3 a==0?0:a
200
+  name AlphaError
201
+  label "To avid Gizmo being in state of\nerror without something plugged in input."
202
+  xpos -27
203
+  ypos 534
204
+ }
205
+push $N7b8ee70
206
+ Copy {
207
+  inputs 2
208
+  from0 rgba.alpha
209
+  to0 rgba.alpha
210
+  from3 rgba.alpha
211
+  to3 rgba.alpha
212
+  name CopyAlpha
213
+  xpos 257
214
+  ypos 534
215
+ }
216
+ Switch {
217
+  inputs 2
218
+  which {{GizmoControl.spillMatteOut i}}
219
+  name SwitchSpillMap
220
+  xpos 257
221
+  ypos 645
222
+ }
223
+ Output {
224
+  name Output1
225
+  xpos 257
226
+  ypos 745
227
+ }
228
+end_group

+ 39
- 0
gizmos/DummyCam.gizmo ファイルの表示

@@ -0,0 +1,39 @@
1
+Camera {
2
+ projection_mode {{"\[value the_cam]projection_mode"}}
3
+ focal {{"\[value \[value the_cam]focal]"}}
4
+ haperture {{"\[value \[value the_cam]haperture]"}}
5
+ vaperture {{"\[value \[value the_cam]vaperture]"}}
6
+ near {{"\[value \[value the_cam]near]"}}
7
+ far {{"\[value \[value the_cam]far]"}}
8
+ win_translate {{"\[lindex \[value \[value the_cam]win_translate] 0]"} {"\[lindex \[value \[value the_cam]win_translate] 1]"}}
9
+ win_scale {{"\[lindex \[value \[value the_cam]win_scale] 0]"} {"\[lindex \[value \[value the_cam]win_scale] 1]"}}
10
+ winroll {{"\[value \[value the_cam]winroll]"}}
11
+ focal_point {{"\[value \[value the_cam]focal_point]"}}
12
+ fstop {{"\[value \[value the_cam]fstop]"}}
13
+ name DummyCam
14
+ help "DummyCam by Adrian Pueyo\n\nCamera that apart from the matrices also grabs all the \"Projection\" values from the upstream camera that it's connected to. Turns into a default Camera if not Camera connected.\n\nCan also be used inside of groups and gizmos, as many levels deep as you want :D\n\nAll using live and super fast TCL.\n\nadrianpueyo.com, 2019"
15
+ onCreate "n = nuke.thisNode()\nfor k in \[\"projection_mode\",\"focal\",\"haperture\",\"vaperture\",\"near\",\"far\",\"win_translate\",\"win_scale\",\"winroll\",\"focal_point\",\"fstop\"]:\n    n\[k].setFlag(0x0000000010000000)"
16
+ addUserKnob {20 DummyCam l Defaults}
17
+ addUserKnob {43 the_cam +INVISIBLE}
18
+ the_cam "\[\nset the_knob \"focal\"\nset knob_index 0\nset starting_point \"this.input0\"\nset default \"this\"\nset default \[append default \".d_\"]\n\n# If cam has no inputs, return the default...\nif \{\[exists \$starting_point]\} \{\n    set x \[node \$starting_point]\n\} \{ \n    return \$default\n\}\n\nset finished 0\nwhile \{\$finished != 1\} \{\n\n    # First look for a Cam or Input or topnode.\n    while \{\[class \$x] != \"Camera2\" && \[class \$x] != \"Camera\" && \[class \$x] != \"Input\" && \$x != \[topnode \$x]\} \{\n        set x \[node \$x.input0]\n    \}\n\n    # Then, check if node is a cam (and return), and otherwise, if it's an input, see if the parent exists and move to it.\n    if \{\[class \$x]==\"Camera2\"||\[class \$x]==\"Camera\"\} \{\n        set x \[append x \".\"]\n        return \$x\n    \} \{ \n        if \{\[class \$x]==\"Input\"\} \{ \n            set inp \"\$x.parent.input\"\n            set inputNum \[value \$x.number]\n            set inp \[append inp \$inputNum]\n            if \{\[exists \$inp]\} \{\n                set x \[node \$inp]\n            \} \{ \n                set finished 1\n            \}\n        \} \{ \n            set finished 1\n        \}\n    \}\n\}\nreturn \$default\n]"
19
+ addUserKnob {4 d_projection_mode l projection M {perspective orthographic uv spherical ""}}
20
+ addUserKnob {7 d_focal l focal R 0 100}
21
+ d_focal 60
22
+ addUserKnob {7 d_haperture l "horiz aperture" R 0 50}
23
+ d_haperture 24.576
24
+ addUserKnob {7 d_vaperture l "vert aperture" R 0 50}
25
+ d_vaperture 18.672
26
+ addUserKnob {7 d_near l near R 0 10}
27
+ d_near 0.1
28
+ addUserKnob {7 d_far l far R 0 10000}
29
+ d_far 10000
30
+ addUserKnob {12 d_win_translate l "window translate"}
31
+ addUserKnob {12 d_win_scale l "window scale"}
32
+ d_win_scale {1 1}
33
+ addUserKnob {7 d_winroll l "window roll" R 0 45}
34
+ addUserKnob {7 d_focal_point l "focal distance" R 0 10}
35
+ d_focal_point 2
36
+ addUserKnob {7 d_fstop l fstop R 0 30}
37
+ d_fstop 16
38
+ addUserKnob {26 text l " " T "<span style=\"color:#666\"><br/><b>DummyCam v1.0</b> - <a href=\"http://www.adrianpueyo.com\" style=\"color:#666;text-decoration: none;\">adrianpueyo.com</a>, 2019</span>"}
39
+}

+ 51
- 0
gizmos/EdgeExtend2.gizmo ファイルの表示

@@ -0,0 +1,51 @@
1
+#! /s/apps/lin/nuke/Nuke6.2v4/Nuke6.2 -nx
2
+version 6.2 v4
3
+Gizmo {
4
+ addUserKnob {20 User l EdgeExtend2}
5
+ addUserKnob {41 threshold T LevelSet1.threshold}
6
+ addUserKnob {7 Size R 0 50}
7
+ Size 20
8
+ addUserKnob {41 gradient_extrapolate l "gradient extrapolate" T LevelSet1.gradient_extrapolate}
9
+ addUserKnob {41 size l PreBlur T EdgeBlur1.size}
10
+}
11
+ Input {
12
+  inputs 0
13
+  name Input1
14
+  xpos -223
15
+  ypos -359
16
+ }
17
+ EdgeBlur {
18
+  channels rgba
19
+  size 0
20
+  edge_mult 4
21
+  name EdgeBlur1
22
+  xpos -223
23
+  ypos -319
24
+ }
25
+ Unpremult {
26
+  name Unpremult2
27
+  xpos -223
28
+  ypos -279
29
+ }
30
+ AdjBBox {
31
+  numpixels {{parent.LevelSet1.matte_limit i}}
32
+  name AdjBBox1
33
+  xpos -223
34
+  ypos -215
35
+ }
36
+ LevelSet {
37
+  output none
38
+  gradient none
39
+  create_matte true
40
+  matte_limit {{parent.Size}}
41
+  extrapolated rgba
42
+  name LevelSet1
43
+  xpos -223
44
+  ypos -189
45
+ }
46
+ Output {
47
+  name Output1
48
+  xpos -223
49
+  ypos -89
50
+ }
51
+end_group

+ 1144
- 0
gizmos/Encryptomatte.gizmo
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 709
- 0
gizmos/EnvConvolve.gizmo ファイルの表示

@@ -0,0 +1,709 @@
1
+#! ./Contents/MacOS/Nuke6.1v2b5 -nx
2
+version 6.1 v2b5
3
+Gizmo {
4
+ help "A fast (FFT-based) approximation of brute force environment map convolution a la HDR Shop, using a Phong BRDF.  The output image is seamless and can be diffuse or specular.\n\nFor a diffuse surface, a 512*256 map will hold enough detail.  Higher resolution is required depending on how specular the surface is."
5
+ addUserKnob {20 EnvConvolve l "Env Convolve"}
6
+ addUserKnob {7 phexp l exponent t "Set to 1 is a diffuse surface.  Anything higher exponentially increases glossiness/specularity." R 1 200}
7
+ phexp 1
8
+}
9
+ BackdropNode {
10
+  inputs 0
11
+  name BackdropNode18
12
+  tile_color 0x7171c600
13
+  label "Phong BRDF"
14
+  note_font_size 24
15
+  xpos -1331
16
+  ypos -177
17
+  bdwidth 197
18
+  bdheight 176
19
+ }
20
+ BackdropNode {
21
+  inputs 0
22
+  name BackdropNode4
23
+  tile_color 0x8e8e3800
24
+  label -Z
25
+  note_font_size 24
26
+  xpos -925
27
+  ypos -494
28
+  bdwidth 216
29
+  bdheight 142
30
+ }
31
+ BackdropNode {
32
+  inputs 0
33
+  name BackdropNode12
34
+  tile_color 0x8e8e3800
35
+  label +Z
36
+  note_font_size 24
37
+  xpos -586
38
+  ypos -495
39
+  bdwidth 216
40
+  bdheight 142
41
+ }
42
+ Input {
43
+  inputs 0
44
+  name Input
45
+  xpos -1033
46
+  ypos -1072
47
+ }
48
+set N1bf4fdc0 [stack 0]
49
+ Dot {
50
+  name Dot4
51
+  xpos -1492
52
+  ypos -958
53
+ }
54
+ Dot {
55
+  name Dot6
56
+  xpos -1492
57
+  ypos 856
58
+ }
59
+push $N1bf4fdc0
60
+ Shuffle {
61
+  red black
62
+  green black
63
+  blue black
64
+  alpha white
65
+  name Shuffle1
66
+  xpos -1033
67
+  ypos -763
68
+ }
69
+set N2d59780 [stack 0]
70
+ Reformat {
71
+  type scale
72
+  name Reformat3
73
+  label "Pass through"
74
+  xpos -723
75
+  ypos -741
76
+ }
77
+ Expression {
78
+  expr0 cos(2*PI*x/size.w+PI/2)*sin(PI*(y/size.h))
79
+  expr1 cos(PI*(1-y/size.h))
80
+  expr2 cos(2*PI*x/size.w)*sin(PI*(y/size.h))
81
+  name Expression3
82
+  label "latlong unit sphere"
83
+  selected true
84
+  xpos -723
85
+  ypos -701
86
+  postage_stamp true
87
+  addUserKnob {20 User}
88
+  addUserKnob {14 size R 0 100}
89
+  size {{!proxy?input.width:(input.width/proxy_scale) i} {!proxy?input.height:(input.height/proxy_scale) i}}
90
+ }
91
+set N23ae86b0 [stack 0]
92
+ Dot {
93
+  name Dot3
94
+  xpos -262
95
+  ypos -666
96
+ }
97
+ Dot {
98
+  name Dot2
99
+  xpos -276
100
+  ypos 397
101
+ }
102
+ Dot {
103
+  name Dot1
104
+  xpos -809
105
+  ypos 397
106
+ }
107
+set N2d6db10 [stack 0]
108
+ Shuffle {
109
+  alpha blue
110
+  name Shuffle4
111
+  label "Z direction to alpha"
112
+  xpos -843
113
+  ypos 704
114
+ }
115
+ Grade {
116
+  channels alpha
117
+  whitepoint 0.98
118
+  gamma 0.8
119
+  white_clamp true
120
+  name Grade1
121
+  xpos -843
122
+  ypos 744
123
+ }
124
+push $N2d6db10
125
+ Group {
126
+  name RotationMatrix3
127
+  help "Use this for rotating xyz vector data such as P and N."
128
+  xpos -776
129
+  ypos 476
130
+  addUserKnob {20 RotationMatrix}
131
+  addUserKnob {13 rot l rotation t "Link to say axis' or camera's rotate.\nYaw = y axis.\nPitch = x axis.\nRoll = z axis."}
132
+  rot {0 180 0}
133
+ }
134
+  Input {
135
+   inputs 0
136
+   name Input
137
+   xpos -304
138
+   ypos -17
139
+  }
140
+  ColorMatrix {
141
+   matrix {
142
+       {{cos(radians(yrot)) i} 0 {-sin(radians(yrot)) i}}
143
+       {0 1 0}
144
+       {{sin(radians(yrot)) i} 0 {cos(radians(yrot)) i}}
145
+     }
146
+   name ColorMatrix14
147
+   label "yrot (yaw)"
148
+   xpos -304
149
+   ypos 89
150
+   addUserKnob {20 "" l User}
151
+   addUserKnob {7 yrot l "y rotation" R -90 90}
152
+   yrot {{parent.rot.y i}}
153
+  }
154
+  ColorMatrix {
155
+   matrix {
156
+       {1 0 0}
157
+       {0 {cos(radians(xrot)) i} {sin(radians(xrot)) i}}
158
+       {0 {-sin(radians(xrot)) i} {cos(radians(xrot)) i}}
159
+     }
160
+   name ColorMatrix15
161
+   label "xrot (pitch)\n"
162
+   xpos -304
163
+   ypos 127
164
+   addUserKnob {20 "" l User}
165
+   addUserKnob {7 xrot l "x rotation" R -90 90}
166
+   xrot {{parent.rot.x i}}
167
+  }
168
+  ColorMatrix {
169
+   matrix {
170
+       {{cos(radians(zrot)) i} {sin(radians(zrot)) i} 0}
171
+       {{-sin(radians(zrot)) i} {cos(radians(zrot)) i} 0}
172
+       {0 0 1}
173
+     }
174
+   name ColorMatrix13
175
+   label "zrot (roll)"
176
+   xpos -304
177
+   ypos 165
178
+   addUserKnob {20 "" l User}
179
+   addUserKnob {7 zrot l "z rotation" R -90 90}
180
+   zrot {{parent.rot.z i}}
181
+  }
182
+  Output {
183
+   name Output1
184
+   xpos -304
185
+   ypos 280
186
+  }
187
+ end_group
188
+ Expression {
189
+  temp_name0 radius
190
+  temp_expr0 ".5/pi*acos(-b)/sqrt(r*r + g*g)"
191
+  expr0 "0.5 + (r*radius)"
192
+  expr1 "0.5 + (g*radius)"
193
+  expr2 0
194
+  name AngularMapProjection3
195
+  xpos -776
196
+  ypos 502
197
+ }
198
+push $N2d59780
199
+ Reformat {
200
+  type scale
201
+  scale {1 2}
202
+  resize none
203
+  name Reformat2
204
+  xpos -1033
205
+  ypos -335
206
+ }
207
+ Expression {
208
+  expr0 (pi+atan(cx,cy))/(2*pi)
209
+  expr1 sqrt((cx**2)+(cy**2))
210
+  expr2 0
211
+  name st2polar1
212
+  xpos -1033
213
+  ypos -291
214
+ }
215
+set N1bf5aa60 [stack 0]
216
+push $N1bf5aa60
217
+push $N2d59780
218
+ Reformat {
219
+  type scale
220
+  scale 2
221
+  name Reformat1
222
+  xpos -1230
223
+  ypos -523
224
+ }
225
+ Expression {
226
+  expr0 cos(2*PI*x/size.w+PI/2)*sin(PI*(y/size.h))
227
+  expr1 cos(PI*(1-y/size.h))
228
+  expr2 cos(2*PI*x/size.w)*sin(PI*(y/size.h))
229
+  name Expression1
230
+  label "latlong unit sphere"
231
+  xpos -1230
232
+  ypos -497
233
+  postage_stamp true
234
+  addUserKnob {20 User}
235
+  addUserKnob {14 size R 0 100}
236
+  size {{!proxy?input.width:(input.width/proxy_scale) i} {!proxy?input.height:(input.height/proxy_scale) i}}
237
+ }
238
+ Group {
239
+  name RotationMatrix1
240
+  help "Use this for rotating xyz vector data such as P and N."
241
+  label identity
242
+  xpos -1230
243
+  ypos -409
244
+  addUserKnob {20 RotationMatrix}
245
+  addUserKnob {13 rot l rotation t "Link to say axis' or camera's rotate.\nYaw = y axis.\nPitch = x axis.\nRoll = z axis."}
246
+  rot {0 90 -90}
247
+ }
248
+  Input {
249
+   inputs 0
250
+   name Input
251
+   xpos -304
252
+   ypos -17
253
+  }
254
+  ColorMatrix {
255
+   matrix {
256
+       {{cos(radians(yrot)) i} 0 {-sin(radians(yrot)) i}}
257
+       {0 1 0}
258
+       {{sin(radians(yrot)) i} 0 {cos(radians(yrot)) i}}
259
+     }
260
+   name ColorMatrix14
261
+   label "yrot (yaw)"
262
+   xpos -304
263
+   ypos 89
264
+   addUserKnob {20 "" l User}
265
+   addUserKnob {7 yrot l "y rotation" R -90 90}
266
+   yrot {{parent.rot.y i}}
267
+  }
268
+  ColorMatrix {
269
+   matrix {
270
+       {1 0 0}
271
+       {0 {cos(radians(xrot)) i} {sin(radians(xrot)) i}}
272
+       {0 {-sin(radians(xrot)) i} {cos(radians(xrot)) i}}
273
+     }
274
+   name ColorMatrix15
275
+   label "xrot (pitch)\n"
276
+   xpos -304
277
+   ypos 127
278
+   addUserKnob {20 "" l User}
279
+   addUserKnob {7 xrot l "x rotation" R -90 90}
280
+   xrot {{parent.rot.x i}}
281
+  }
282
+  ColorMatrix {
283
+   matrix {
284
+       {{cos(radians(zrot)) i} {sin(radians(zrot)) i} 0}
285
+       {{-sin(radians(zrot)) i} {cos(radians(zrot)) i} 0}
286
+       {0 0 1}
287
+     }
288
+   name ColorMatrix13
289
+   label "zrot (roll)"
290
+   xpos -304
291
+   ypos 165
292
+   addUserKnob {20 "" l User}
293
+   addUserKnob {7 zrot l "z rotation" R -90 90}
294
+   zrot {{parent.rot.z i}}
295
+  }
296
+  Output {
297
+   name Output1
298
+   xpos -304
299
+   ypos 280
300
+  }
301
+ end_group
302
+ Shuffle {
303
+  red blue
304
+  blue red
305
+  name Shuffle3
306
+  xpos -1230
307
+  ypos -351
308
+ }
309
+ STMap {
310
+  inputs 2
311
+  channels rgb
312
+  uv rgb
313
+  name STMap25
314
+  label "latlong to angular"
315
+  xpos -1230
316
+  ypos -298
317
+ }
318
+ CopyBBox {
319
+  inputs 2
320
+  name CopyBBox1
321
+  xpos -1230
322
+  ypos -260
323
+ }
324
+ Dot {
325
+  name Dot9
326
+  xpos -1196
327
+  ypos -131
328
+ }
329
+set N2dac150 [stack 0]
330
+ Shuffle {
331
+  red black
332
+  green black
333
+  blue white
334
+  name Shuffle2
335
+  label "Make +z vector"
336
+  xpos -1313
337
+  ypos -121
338
+ }
339
+push $N2dac150
340
+ MergeExpression {
341
+  inputs 2
342
+  temp_name0 DotProduct
343
+  temp_expr0 (Ar*Br)+(Ag*Bg)+(Ab*Bb)
344
+  channel0 rgb
345
+  expr0 max(0,DotProduct)
346
+  name MergeExpression2
347
+  label "dot product (N.L)"
348
+  xpos -1230
349
+  ypos -74
350
+ }
351
+ Expression {
352
+  channel0 rgb
353
+  expr0 pow(r,phexp)
354
+  channel1 none
355
+  channel2 {-rgba.red -rgba.green -rgba.blue}
356
+  channel3 {none none none -rgba.alpha}
357
+  name PhongExponent1
358
+  xpos -1230
359
+  ypos -34
360
+  addUserKnob {20 User}
361
+  addUserKnob {7 phexp l "phong exponent" R 1 200}
362
+  phexp {{parent.phexp.main i}}
363
+ }
364
+ FFT {
365
+  channels rgb
366
+  normalize_input true
367
+  center_kernel true
368
+  name FFT3
369
+  xpos -863
370
+  ypos 208
371
+ }
372
+set N17580a10 [stack 0]
373
+push $N1bf5aa60
374
+push $N23ae86b0
375
+ Group {
376
+  name RotationMatrix4
377
+  help "Use this for rotating xyz vector data such as P and N."
378
+  label identity
379
+  xpos -723
380
+  ypos -593
381
+  addUserKnob {20 RotationMatrix}
382
+  addUserKnob {13 rot l rotation t "Link to say axis' or camera's rotate.\nYaw = y axis.\nPitch = x axis.\nRoll = z axis."}
383
+  rot {0 90 -90}
384
+ }
385
+  Input {
386
+   inputs 0
387
+   name Input
388
+   xpos -304
389
+   ypos -17
390
+  }
391
+  ColorMatrix {
392
+   matrix {
393
+       {{cos(radians(yrot)) i} 0 {-sin(radians(yrot)) i}}
394
+       {0 1 0}
395
+       {{sin(radians(yrot)) i} 0 {cos(radians(yrot)) i}}
396
+     }
397
+   name ColorMatrix14
398
+   label "yrot (yaw)"
399
+   xpos -304
400
+   ypos 89
401
+   addUserKnob {20 "" l User}
402
+   addUserKnob {7 yrot l "y rotation" R -90 90}
403
+   yrot {{parent.rot.y i}}
404
+  }
405
+  ColorMatrix {
406
+   matrix {
407
+       {1 0 0}
408
+       {0 {cos(radians(xrot)) i} {sin(radians(xrot)) i}}
409
+       {0 {-sin(radians(xrot)) i} {cos(radians(xrot)) i}}
410
+     }
411
+   name ColorMatrix15
412
+   label "xrot (pitch)\n"
413
+   xpos -304
414
+   ypos 127
415
+   addUserKnob {20 "" l User}
416
+   addUserKnob {7 xrot l "x rotation" R -90 90}
417
+   xrot {{parent.rot.x i}}
418
+  }
419
+  ColorMatrix {
420
+   matrix {
421
+       {{cos(radians(zrot)) i} {sin(radians(zrot)) i} 0}
422
+       {{-sin(radians(zrot)) i} {cos(radians(zrot)) i} 0}
423
+       {0 0 1}
424
+     }
425
+   name ColorMatrix13
426
+   label "zrot (roll)"
427
+   xpos -304
428
+   ypos 165
429
+   addUserKnob {20 "" l User}
430
+   addUserKnob {7 zrot l "z rotation" R -90 90}
431
+   zrot {{parent.rot.z i}}
432
+  }
433
+  Output {
434
+   name Output1
435
+   xpos -304
436
+   ypos 280
437
+  }
438
+ end_group
439
+set N1bf9e760 [stack 0]
440
+ Group {
441
+  name RotationMatrix2
442
+  help "Use this for rotating xyz vector data such as P and N."
443
+  xpos -575
444
+  ypos -440
445
+  addUserKnob {20 RotationMatrix}
446
+  addUserKnob {13 rot l rotation t "Link to say axis' or camera's rotate.\nYaw = y axis.\nPitch = x axis.\nRoll = z axis."}
447
+  rot {0 180 0}
448
+ }
449
+  Input {
450
+   inputs 0
451
+   name Input
452
+   xpos -304
453
+   ypos -17
454
+  }
455
+  ColorMatrix {
456
+   matrix {
457
+       {{cos(radians(yrot)) i} 0 {-sin(radians(yrot)) i}}
458
+       {0 1 0}
459
+       {{sin(radians(yrot)) i} 0 {cos(radians(yrot)) i}}
460
+     }
461
+   name ColorMatrix14
462
+   label "yrot (yaw)"
463
+   xpos -304
464
+   ypos 89
465
+   addUserKnob {20 "" l User}
466
+   addUserKnob {7 yrot l "y rotation" R -90 90}
467
+   yrot {{parent.rot.y i}}
468
+  }
469
+  ColorMatrix {
470
+   matrix {
471
+       {1 0 0}
472
+       {0 {cos(radians(xrot)) i} {sin(radians(xrot)) i}}
473
+       {0 {-sin(radians(xrot)) i} {cos(radians(xrot)) i}}
474
+     }
475
+   name ColorMatrix15
476
+   label "xrot (pitch)\n"
477
+   xpos -304
478
+   ypos 127
479
+   addUserKnob {20 "" l User}
480
+   addUserKnob {7 xrot l "x rotation" R -90 90}
481
+   xrot {{parent.rot.x i}}
482
+  }
483
+  ColorMatrix {
484
+   matrix {
485
+       {{cos(radians(zrot)) i} {sin(radians(zrot)) i} 0}
486
+       {{-sin(radians(zrot)) i} {cos(radians(zrot)) i} 0}
487
+       {0 0 1}
488
+     }
489
+   name ColorMatrix13
490
+   label "zrot (roll)"
491
+   xpos -304
492
+   ypos 165
493
+   addUserKnob {20 "" l User}
494
+   addUserKnob {7 zrot l "z rotation" R -90 90}
495
+   zrot {{parent.rot.z i}}
496
+  }
497
+  Output {
498
+   name Output1
499
+   xpos -304
500
+   ypos 280
501
+  }
502
+ end_group
503
+ Expression {
504
+  temp_name0 u
505
+  temp_expr0 0.5*(1+atan(b,r)/pi)
506
+  temp_name1 v
507
+  temp_expr1 acos(-g)/pi
508
+  expr0 u
509
+  expr1 v
510
+  expr2 0
511
+  channel3 {none none none -rgba.alpha}
512
+  name SphericalProjection6
513
+  label "Convert normals \nto latlong UV coords"
514
+  xpos -575
515
+  ypos -414
516
+ }
517
+push $N1bf4fdc0
518
+ Dot {
519
+  name Dot5
520
+  xpos -431
521
+  ypos -630
522
+ }
523
+set N1bfdf7e0 [stack 0]
524
+ STMap {
525
+  inputs 2
526
+  channels rgb
527
+  uv rgb
528
+  name STMap14
529
+  xpos -465
530
+  ypos -400
531
+ }
532
+ STMap {
533
+  inputs 2
534
+  channels rgb
535
+  uv rgb
536
+  name STMap15
537
+  label "latlong to angular"
538
+  xpos -682
539
+  ypos 228
540
+ }
541
+ Group {
542
+  inputs 2
543
+  name FFTConvolve3
544
+  xpos -682
545
+  ypos 307
546
+ }
547
+  Input {
548
+   inputs 0
549
+   name brdf
550
+   xpos -768
551
+   ypos -542
552
+   number 1
553
+  }
554
+  Input {
555
+   inputs 0
556
+   name probe
557
+   xpos -592
558
+   ypos -543
559
+  }
560
+  FFT {
561
+   channels rgb
562
+   name FFT1
563
+   xpos -615
564
+   ypos -466
565
+  }
566
+  FFTMultiply {
567
+   inputs 2
568
+   channels rgb
569
+   name FFTMultiply4
570
+   xpos -669
571
+   ypos -404
572
+  }
573
+  InvFFT {
574
+   channels rgb
575
+   name InvFFT4
576
+   xpos -669
577
+   ypos -378
578
+  }
579
+  Output {
580
+   name Output1
581
+   xpos -669
582
+   ypos -278
583
+  }
584
+ end_group
585
+ STMap {
586
+  inputs 2
587
+  channels rgba
588
+  uv rgb
589
+  name STMap26
590
+  xpos -682
591
+  ypos 560
592
+ }
593
+push $N2d6db10
594
+ Expression {
595
+  temp_name0 radius
596
+  temp_expr0 ".5/pi*acos(-b)/sqrt(r*r + g*g)"
597
+  expr0 "0.5 + (r*radius)"
598
+  expr1 "0.5 + (g*radius)"
599
+  expr2 0
600
+  name AngularMapProjection
601
+  xpos -964
602
+  ypos 500
603
+ }
604
+push $N17580a10
605
+push $N1bf5aa60
606
+push $N1bf9e760
607
+ Expression {
608
+  temp_name0 u
609
+  temp_expr0 0.5*(1+atan(b,r)/pi)
610
+  temp_name1 v
611
+  temp_expr1 acos(-g)/pi
612
+  expr0 u
613
+  expr1 v
614
+  expr2 0
615
+  channel3 {none none none -rgba.alpha}
616
+  name SphericalProjection5
617
+  label "Convert normals \nto latlong UV coords"
618
+  xpos -914
619
+  ypos -413
620
+ }
621
+push $N1bfdf7e0
622
+ STMap {
623
+  inputs 2
624
+  channels rgb
625
+  uv rgb
626
+  name STMap13
627
+  xpos -804
628
+  ypos -399
629
+ }
630
+ STMap {
631
+  inputs 2
632
+  channels rgb
633
+  uv rgb
634
+  name STMap12
635
+  label "latlong to angular"
636
+  xpos -1033
637
+  ypos 209
638
+ }
639
+ Group {
640
+  inputs 2
641
+  name FFTConvolve1
642
+  xpos -1033
643
+  ypos 305
644
+ }
645
+  Input {
646
+   inputs 0
647
+   name brdf
648
+   xpos -768
649
+   ypos -542
650
+   number 1
651
+  }
652
+  Input {
653
+   inputs 0
654
+   name probe
655
+   xpos -592
656
+   ypos -543
657
+  }
658
+  FFT {
659
+   channels rgb
660
+   name FFT1
661
+   xpos -615
662
+   ypos -466
663
+  }
664
+  FFTMultiply {
665
+   inputs 2
666
+   channels rgb
667
+   name FFTMultiply4
668
+   xpos -669
669
+   ypos -404
670
+  }
671
+  InvFFT {
672
+   channels rgb
673
+   name InvFFT4
674
+   xpos -669
675
+   ypos -378
676
+  }
677
+  Output {
678
+   name Output1
679
+   xpos -669
680
+   ypos -278
681
+  }
682
+ end_group
683
+ STMap {
684
+  inputs 2
685
+  channels rgba
686
+  uv rgb
687
+  name STMap24
688
+  xpos -1033
689
+  ypos 566
690
+ }
691
+ Keymix {
692
+  inputs 3
693
+  channels rgb
694
+  name Keymix3
695
+  xpos -843
696
+  ypos 852
697
+ }
698
+ CopyBBox {
699
+  inputs 2
700
+  name CopyBBox2
701
+  xpos -843
702
+  ypos 897
703
+ }
704
+ Output {
705
+  name Output1
706
+  xpos -843
707
+  ypos 1015
708
+ }
709
+end_group

+ 27
- 0
gizmos/ExpressionWaveGenerator.gizmo ファイルの表示

@@ -0,0 +1,27 @@
1
+#! /Applications/Nuke7.0v3/NukeX7.0v3.app/../Nuke7.0v3.app/Contents/MacOS/Nuke7.0v3 -nx
2
+version 7.0 v3
3
+Gizmo {
4
+ inputs 0
5
+ help "Allows the easy creation of a variety of Waveform Expressions for use in manipulating knob values."
6
+ addUserKnob {20 main l Main}
7
+ addUserKnob {26 unnamed_1 l "" +STARTLINE T " "}
8
+ addUserKnob {68 type l "Wave Type" t "Controls what type of wave to generate." M {Random Noise Sine Triangle Square Sawtooth/Sawtooth "Sawtooth/Sawtooth (Parabolic)" "Sawtooth/Sawtooth (Parabolic reversed)" "Sawtooth/Sawtooth (Exponential)" Bounce "" "" "" "" ""}}
9
+ addUserKnob {7 minVal l "Min Value" t "Minimum value you want the wave to reach." R 0 10}
10
+ addUserKnob {7 maxVal l "Max Value" t "Maximum value you want the wave to reach." -STARTLINE R 0 10}
11
+ maxVal 1
12
+ addUserKnob {7 waveLength l WaveLength t "Controls the frequency or cycle length of the wave. The number of frames before the pattern repeats." R 0 50}
13
+ waveLength 10
14
+ addUserKnob {7 offset l Offset t "Offsets the frame value to allow control of values at a certain frame" R 0 10}
15
+ addUserKnob {26 unnamed l "" +STARTLINE T " "}
16
+ addUserKnob {22 expButton l "Generate Expression" T "node = nuke.thisNode()\ntype = node.knob('type').getValue()\nexpText = node.knob('expText')\nexpFormula = node.knob('formula')\nexpResult = node.knob('expResult')\ndef setExp():\n    if type == 0: #Random\n        exp = 'random((frame+%s)/%s) * (%s-%s) + %s' %(offset,waveLength,maxVal,minVal,minVal)\n    if type == 1: #Noise\n        exp = '(noise((frame+%s)/%s)+1)/2 * (%s-%s) + %s' %(offset,waveLength,maxVal,minVal,minVal)\n    if type == 2: #Sine\n        exp = '(sin(2*pi*(frame+%s)/%s)+1)/2 * (%s-%s) + %s' %(offset,waveLength,maxVal,minVal,minVal)\n    if type == 3: #Triangle\n        exp = '(asin(sin(2*pi*(frame+%s)/%s))/pi+0.5) * (%s-%s) + %s' %(offset,waveLength,maxVal,minVal,minVal)\n    if type == 4: #Square\n        exp = 'int(sin(2*pi*(frame+%s)/%s)+1) * (%s-%s) + %s' %(offset,waveLength,maxVal,minVal,minVal)\n    if type == 5: #Sawtooth\n        exp = '((frame+%s) %% %s)/%s * (%s-%s) + %s' %(offset,waveLength,waveLength,maxVal,minVal,minVal)\n    if type == 6: #Sawtooth(Parabolic)\n        exp = 'sin((4.93480220054468*(frame+%s)/(pi*%s)) %% (pi/2)) * (%s-%s) + %s' %(offset,waveLength,maxVal,minVal,minVal)\n    if type == 7: #Sawtooth(Parabolic Reversed)\n        exp = 'cos((4.93480220054468*(frame+%s)/(pi*%s)) %% (pi/2)) * (%s-%s) + %s' %(offset,waveLength,maxVal,minVal,minVal)\n    if type == 8: #Sawtooth (Exponential)\n        exp = '(exp(2*pi*((frame+%s) %% %s)/%s)-1)/exp(2*pi) * (%s-%s) + %s' %(offset,waveLength,waveLength,maxVal,minVal,minVal)\n    if type == 9: #Bounce\n        exp = 'abs(sin(pi*(frame + %s)/%s))* (%s-%s) + %s' %(offset,waveLength,maxVal,minVal,minVal)\n    return exp\n\nwaveLength = 'waveLength'\noffset = 'offset'\nmaxVal = 'maxVal'\nminVal = 'minVal'\nexpResult.setExpression(setExp())\nexpFormula.setValue(setExp())\n\nwaveLength = node.knob('waveLength').getValue()\noffset = node.knob('offset').getValue()\nmaxVal = node.knob('maxVal').getValue()\nminVal = node.knob('minVal').getValue()\nexpText.setValue(setExp())" +STARTLINE}
17
+ addUserKnob {26 ""}
18
+ addUserKnob {7 expResult l Result t "The calculated result of the wave at the given frame. Link to this value if you want to control the expression from this node."}
19
+ expResult {{"random((frame+offset)/waveLength) * (maxVal-minVal) + minVal"}}
20
+ addUserKnob {26 unnamed_2 l "" +STARTLINE T " "}
21
+ addUserKnob {1 expText l Expression t "The wave in expression form. For copying to another knobs expression value."}
22
+ expText "random((frame+0.0)/10.0) * (1.0-0.0) + 0.0"
23
+ addUserKnob {26 unnamed_3 l "" +STARTLINE T " "}
24
+ addUserKnob {1 formula l Formula t "The formula that generates the wave."}
25
+ formula "random((frame+offset)/waveLength) * (maxVal-minVal) + minVal"
26
+}
27
+end_group

+ 2255
- 0
gizmos/Flare_Rig.gizmo
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 36
- 0
gizmos/Gamma_2.2.gizmo ファイルの表示

@@ -0,0 +1,36 @@
1
+#! C:/Program Files/Nuke10.5v3/nuke-10.5.3.dll -nx
2
+version 10.5 v3
3
+Gizmo {
4
+note_font Verdana
5
+mapsize {0.15 0.15}
6
+}
7
+Input {
8
+inputs 0
9
+name Input1
10
+xpos 459
11
+ypos -160
12
+}
13
+Gamma {
14
+value 2.2
15
+name Gamma1
16
+xpos 459
17
+ypos -81
18
+}
19
+set N7ebad400 [stack 0]
20
+push $N7ebad400
21
+Viewer {
22
+inputs 2
23
+input_number 1
24
+viewerProcess None
25
+input_process false
26
+name Viewer1
27
+xpos 211
28
+ypos -62
29
+}
30
+push $N7ebad400
31
+Output {
32
+name Output1
33
+xpos 459
34
+ypos 16
35
+}
36
+end_group

+ 949
- 0
gizmos/Glint_hit.gizmo ファイルの表示

@@ -0,0 +1,949 @@
1
+#! C:/Program Files/Nuke9.0v4/nuke-9.0.4.dll -nx
2
+version 9.0 v4
3
+Gizmo {
4
+ tile_color 0x1812ffff
5
+ addUserKnob {20 Glint_hit}
6
+ addUserKnob {41 channels T Convolve1.channels}
7
+ addUserKnob {4 mode M {option_1 option_2 option_3 option_4}}
8
+ addUserKnob {41 mutiply l control_glint T Multiply5.value}
9
+ addUserKnob {26 "" +STARTLINE}
10
+ addUserKnob {41 use_input_channels l "use input channels" -STARTLINE T Convolve1.use_input_channels}
11
+ addUserKnob {41 normalize -STARTLINE T Convolve1.normalize}
12
+ addUserKnob {26 "" +STARTLINE}
13
+ addUserKnob {26 Glint_hit_v01 l "" +STARTLINE T "Glint_hit_v01\n@\[Lu anh tuan]"}
14
+}
15
+ Constant {
16
+  inputs 0
17
+  channels rgb
18
+  format "256 256 0 0 256 256 1 square_256"
19
+  name Constant5
20
+  xpos 172
21
+  ypos 271
22
+ }
23
+ Radial {
24
+  area {81 -55 175 311}
25
+  name Radial9
26
+  xpos 172
27
+  ypos 343
28
+ }
29
+ Grade {
30
+  multiply 1.02
31
+  gamma {0.2 0.136896 0.096999 0.2}
32
+  gamma_panelDropped true
33
+  name Grade9
34
+  xpos 172
35
+  ypos 369
36
+ }
37
+ Shuffle {
38
+  name Shuffle3
39
+  xpos 172
40
+  ypos 395
41
+ }
42
+set N23060400 [stack 0]
43
+ Shuffle {
44
+  green red
45
+  blue red
46
+  alpha red
47
+  name Shuffle1
48
+  xpos -86
49
+  ypos 401
50
+ }
51
+ Grade {
52
+  multiply 0.5
53
+  name Grade11
54
+  xpos -86
55
+  ypos 427
56
+ }
57
+push $N23060400
58
+ Merge2 {
59
+  inputs 2
60
+  operation minus
61
+  name Merge3
62
+  xpos -86
63
+  ypos 453
64
+ }
65
+ Shuffle {
66
+  red green
67
+  blue green
68
+  alpha green
69
+  name Shuffle2
70
+  xpos -86
71
+  ypos 479
72
+ }
73
+ Blur {
74
+  channels rgba
75
+  size 27
76
+  name Blur5
77
+  xpos -86
78
+  ypos 505
79
+ }
80
+ Transform {
81
+  scale 1.22
82
+  center {128 128}
83
+  clamp true
84
+  name Transform27
85
+  xpos -86
86
+  ypos 531
87
+ }
88
+ Grade {
89
+  multiply 1.46
90
+  gamma {1 0.861657 0.776229 1}
91
+  gamma_panelDropped true
92
+  name Grade12
93
+  xpos 14
94
+  ypos 531
95
+ }
96
+set N23118800 [stack 0]
97
+ Transform {
98
+  scale 2.25
99
+  center {130 123}
100
+  name Transform30
101
+  xpos -63
102
+  ypos 631
103
+ }
104
+set N23118400 [stack 0]
105
+ Transform {
106
+  scale 1.32
107
+  center {127 130}
108
+  clamp true
109
+  name Transform31
110
+  xpos -63
111
+  ypos 682
112
+ }
113
+push $N23118400
114
+push $N23118800
115
+ Transform {
116
+  scale 1.75
117
+  center {130 123}
118
+  name Transform29
119
+  xpos -63
120
+  ypos 583
121
+ }
122
+push $N23118800
123
+ Transform {
124
+  scale 1.36
125
+  center {130 123}
126
+  name Transform28
127
+  xpos 49
128
+  ypos 592
129
+ }
130
+push 0
131
+push $N23118800
132
+push $N23060400
133
+ Merge2 {
134
+  inputs 6+1
135
+  operation plus
136
+  name Plus7
137
+  xpos 172
138
+  ypos 682
139
+ }
140
+set N23169400 [stack 0]
141
+ Transform {
142
+  rotate 90
143
+  center {128 128}
144
+  name Transform32
145
+  xpos 292
146
+  ypos 701
147
+ }
148
+push $N23169400
149
+ Merge2 {
150
+  inputs 2
151
+  operation plus
152
+  name Plus8
153
+  xpos 172
154
+  ypos 739
155
+ }
156
+ Blur {
157
+  channels {rgba.red -rgba.green -rgba.blue -rgba.alpha}
158
+  size 50
159
+  mix 0.095
160
+  name Blur6
161
+  xpos 172
162
+  ypos 765
163
+ }
164
+ Multiply {
165
+  value 0.0005
166
+  name Multiply5
167
+  xpos 172
168
+  ypos 791
169
+ }
170
+ Rectangle {
171
+  area {124.7000046 125.8000031 131.0999985 131.4000092}
172
+  name Rectangle5
173
+  xpos 172
174
+  ypos 845
175
+ }
176
+ Crop {
177
+  box {0 0 256 256}
178
+  name Crop5
179
+  xpos 172
180
+  ypos 893
181
+ }
182
+ Constant {
183
+  inputs 0
184
+  channels rgb
185
+  format "256 256 0 0 256 256 1 square_256"
186
+  name Constant4
187
+  xpos -420
188
+  ypos -483
189
+ }
190
+set N231a5800 [stack 0]
191
+ Radial {
192
+  area {117 -3 139 255}
193
+  name Radial8
194
+  xpos -314
195
+  ypos -412
196
+ }
197
+ Grade {
198
+  gamma {1 0.542858 0.523445 1}
199
+  gamma_panelDropped true
200
+  name Grade8
201
+  xpos -314
202
+  ypos -386
203
+ }
204
+set N231a5000 [stack 0]
205
+ Transform {
206
+  translate {21.79999924 -16.79999924}
207
+  rotate -31.34547234
208
+  scale 0.29
209
+  center {128 130}
210
+  name Transform14
211
+  xpos 3
212
+  ypos -339
213
+ }
214
+set N231a4c00 [stack 0]
215
+push $N231a5000
216
+ Transform {
217
+  translate {-23.39999962 14.39999962}
218
+  rotate -31.34547234
219
+  scale 0.29
220
+  center {128 130}
221
+  name Transform13
222
+  xpos -110
223
+  ypos -341
224
+ }
225
+set N231a4800 [stack 0]
226
+push 0
227
+push $N231a5000
228
+ Transform {
229
+  translate {-16 -27}
230
+  rotate 55.84734726
231
+  scale 0.29
232
+  center {128 130}
233
+  name Transform12
234
+  xpos -229
235
+  ypos -344
236
+ }
237
+set N231a4400 [stack 0]
238
+push $N231a5000
239
+ Transform {
240
+  translate {15.5 23}
241
+  rotate 55.84734726
242
+  scale 0.29
243
+  center {128 130}
244
+  name Transform11
245
+  xpos -365
246
+  ypos -346
247
+ }
248
+set N231a4000 [stack 0]
249
+ Merge2 {
250
+  inputs 4+1
251
+  operation plus
252
+  name Plus4
253
+  xpos -208
254
+  ypos -222
255
+ }
256
+set N2332bc00 [stack 0]
257
+ Transform {
258
+  scale 5.17
259
+  center {127 129}
260
+  name Transform24
261
+  xpos 580
262
+  ypos -164
263
+ }
264
+push $N2332bc00
265
+ Transform {
266
+  scale 4.45
267
+  center {127 129}
268
+  name Transform23
269
+  xpos 516
270
+  ypos -162
271
+ }
272
+push $N2332bc00
273
+ Transform {
274
+  scale 3.8
275
+  center {127 129}
276
+  name Transform22
277
+  xpos 433
278
+  ypos -160
279
+ }
280
+push $N2332bc00
281
+ Transform {
282
+  scale 3.24
283
+  center {127 129}
284
+  name Transform21
285
+  xpos 348
286
+  ypos -159
287
+ }
288
+push $N2332bc00
289
+ Transform {
290
+  scale 2.81
291
+  center {127 129}
292
+  name Transform20
293
+  xpos 249
294
+  ypos -165
295
+ }
296
+push $N2332bc00
297
+ Transform {
298
+  scale 2.48
299
+  center {127 129}
300
+  name Transform19
301
+  xpos 114
302
+  ypos -169
303
+ }
304
+push $N2332bc00
305
+ Transform {
306
+  scale 2.05
307
+  center {127 129}
308
+  name Transform18
309
+  xpos 8
310
+  ypos -176
311
+ }
312
+push $N2332bc00
313
+ Transform {
314
+  scale 1.7
315
+  center {127 129}
316
+  name Transform17
317
+  xpos -105
318
+  ypos -184
319
+ }
320
+push $N2332bc00
321
+ Transform {
322
+  scale 1.24
323
+  center {127 129}
324
+  name Transform16
325
+  xpos -208
326
+  ypos -187
327
+ }
328
+push 0
329
+push $N2332bc00
330
+ Transform {
331
+  scale 1.44
332
+  center {128 128}
333
+  name Transform15
334
+  xpos -312
335
+  ypos -187
336
+ }
337
+push $N231a4c00
338
+push $N231a4800
339
+push $N231a4400
340
+push 0
341
+push $N231a4000
342
+push $N231a5800
343
+ Radial {
344
+  area {64 64 192 192}
345
+  name Radial7
346
+  xpos -546
347
+  ypos -429
348
+ }
349
+ Grade {
350
+  whitepoint 1.04
351
+  multiply 1.12
352
+  gamma {0.055785 0.109404 0.2 0.2}
353
+  gamma_panelDropped true
354
+  name Grade7
355
+  xpos -546
356
+  ypos -403
357
+ }
358
+ Transform {
359
+  scale 1.3
360
+  center {128 128}
361
+  name Transform25
362
+  xpos -546
363
+  ypos -377
364
+ }
365
+ Merge2 {
366
+  inputs 5+1
367
+  operation plus
368
+  name Plus3
369
+  xpos -501
370
+  ypos -229
371
+ }
372
+ Merge2 {
373
+  inputs 11+1
374
+  operation plus
375
+  name Plus5
376
+  xpos -312
377
+  ypos 4
378
+ }
379
+ Blur {
380
+  channels rgba
381
+  size 20
382
+  mix 0.072
383
+  name Blur4
384
+  xpos -312
385
+  ypos 30
386
+ }
387
+set N233b9c00 [stack 0]
388
+push $N233b9c00
389
+ Shuffle {
390
+  green red
391
+  blue red
392
+  alpha red
393
+  name Shuffle6
394
+  xpos -581
395
+  ypos 39
396
+ }
397
+ Grade {
398
+  multiply 0.5
399
+  name Grade14
400
+  xpos -583
401
+  ypos 65
402
+ }
403
+push $N233b9c00
404
+ Merge2 {
405
+  inputs 2
406
+  operation minus
407
+  name Merge5
408
+  xpos -583
409
+  ypos 121
410
+ }
411
+ Shuffle {
412
+  red green
413
+  blue green
414
+  alpha green
415
+  name Shuffle7
416
+  xpos -583
417
+  ypos 147
418
+ }
419
+ Blur {
420
+  channels rgba
421
+  size 4.2
422
+  mix 0.03
423
+  name Blur8
424
+  xpos -583
425
+  ypos 173
426
+ }
427
+ Transform {
428
+  scale 2
429
+  center {128 128}
430
+  filter Keys
431
+  clamp true
432
+  name Transform33
433
+  xpos -583
434
+  ypos 199
435
+ }
436
+ Grade {
437
+  multiply 0
438
+  gamma {1 0.87736 0.690501 1}
439
+  gamma_panelDropped true
440
+  name Grade15
441
+  xpos -496
442
+  ypos 198
443
+ }
444
+ Merge2 {
445
+  inputs 2
446
+  operation matte
447
+  name Plus9
448
+  xpos -312
449
+  ypos 198
450
+ }
451
+ Transform {
452
+  rotate -9.662081718
453
+  center {128 128}
454
+  name Transform34
455
+  xpos -312
456
+  ypos 224
457
+ }
458
+ LensDistortion {
459
+  serializeKnob ""
460
+  serialiseKnob "22 serialization::archive 9 0 0 0 0 0 0 0 0 0 0 0 0"
461
+  distortion1 0.3
462
+  cardScale {46.9341011 46.9341011 1}
463
+  a -104.200531
464
+  b -6.664929867
465
+  c 101.0743942
466
+  name LensDistortion4
467
+  xpos -312
468
+  ypos 259
469
+ }
470
+ Blur {
471
+  channels {rgba.red -rgba.green -rgba.blue -rgba.alpha}
472
+  size 36.5
473
+  mix 0.08
474
+  name Blur9
475
+  xpos -312
476
+  ypos 285
477
+ }
478
+ Multiply {
479
+  value {{Multiply5.value}}
480
+  name Multiply4
481
+  xpos -312
482
+  ypos 321
483
+ }
484
+ Rectangle {
485
+  area {127.1000061 127.1600037 128.8999939 128.8399963}
486
+  name Rectangle4
487
+  xpos -312
488
+  ypos 359
489
+ }
490
+ Crop {
491
+  box {0 0 256 256}
492
+  name Crop7
493
+  xpos -312
494
+  ypos 457
495
+ }
496
+ Constant {
497
+  inputs 0
498
+  channels rgb
499
+  format "256 256 0 0 256 256 1 square_256"
500
+  name Constant2
501
+  xpos -1214
502
+  ypos -374
503
+ }
504
+set N4285e000 [stack 0]
505
+ Radial {
506
+  area {120 0 136 256}
507
+  name Radial4
508
+  xpos -1214
509
+  ypos -289
510
+ }
511
+ Grade {
512
+  gamma {0.5384013653 0.6937633753 1 1}
513
+  name Grade4
514
+  xpos -1214
515
+  ypos -263
516
+ }
517
+ Reformat {
518
+  type scale
519
+  turn true
520
+  name Reformat3
521
+  xpos -1214
522
+  ypos -230
523
+ }
524
+set N428af400 [stack 0]
525
+ Transform {
526
+  translate {2.400000095 10.20000076}
527
+  scale {0.48 0.33}
528
+  center {125 130.5}
529
+  name Transform10
530
+  xpos -885
531
+  ypos -183
532
+ }
533
+push $N428af400
534
+ Transform {
535
+  translate {1 -12.70000038}
536
+  scale {0.48 0.33}
537
+  center {125 130.5}
538
+  name Transform9
539
+  xpos -970
540
+  ypos -184
541
+ }
542
+push $N428af400
543
+ Transform {
544
+  translate {2 -22.5}
545
+  scale 0.68
546
+  center {125 130.5}
547
+  name Transform6
548
+  xpos -1071
549
+  ypos -181
550
+ }
551
+push $N428af400
552
+ Transform {
553
+  translate {5 20.5}
554
+  scale 0.68
555
+  center {125 130.5}
556
+  name Transform5
557
+  xpos -1161
558
+  ypos -178
559
+ }
560
+push 0
561
+push $N428af400
562
+push $N4285e000
563
+ Radial {
564
+  area {64 64 192 192}
565
+  name Radial3
566
+  xpos -1322
567
+  ypos -301
568
+ }
569
+ Grade {
570
+  gamma {0.200000003 0.1447856277 0.1027279422 0.200000003}
571
+  name Grade3
572
+  xpos -1322
573
+  ypos -275
574
+ }
575
+ Merge2 {
576
+  inputs 6+1
577
+  operation plus
578
+  name Plus1
579
+  xpos -1279
580
+  ypos -106
581
+ }
582
+ Blur {
583
+  channels {-rgba.red -rgba.green rgba.blue -rgba.alpha}
584
+  size 15.4
585
+  mix 0.146
586
+  name Blur2
587
+  xpos -1279
588
+  ypos -80
589
+ }
590
+ Multiply {
591
+  name Multiply2
592
+  xpos -1279
593
+  ypos -54
594
+ }
595
+ Rectangle {
596
+  area {126.8999939 127 129.1000061 129}
597
+  name Rectangle2
598
+  xpos -1279
599
+  ypos -16
600
+ }
601
+ LensDistortion {
602
+  serializeKnob ""
603
+  serialiseKnob "22 serialization::archive 9 0 0 0 0 0 0 0 0 0 0 0 0"
604
+  distortion1 0.3
605
+  cardScale {46.9341011 46.9341011 1}
606
+  a -104.200531
607
+  b -6.664929867
608
+  c 101.0743942
609
+  name LensDistortion1
610
+  xpos -1279
611
+  ypos 10
612
+ }
613
+set N428ee400 [stack 0]
614
+ Shuffle {
615
+  green red
616
+  blue red
617
+  alpha red
618
+  name Shuffle4
619
+  xpos -1511
620
+ }
621
+ Grade {
622
+  multiply 0.5
623
+  name Grade10
624
+  xpos -1511
625
+  ypos 26
626
+ }
627
+push $N428ee400
628
+ Merge2 {
629
+  inputs 2
630
+  operation minus
631
+  name Merge4
632
+  xpos -1511
633
+  ypos 52
634
+ }
635
+ Shuffle {
636
+  red green
637
+  blue green
638
+  alpha green
639
+  name Shuffle5
640
+  xpos -1511
641
+  ypos 78
642
+ }
643
+ Blur {
644
+  channels rgba
645
+  size 4.2
646
+  mix 0.03
647
+  name Blur7
648
+  xpos -1511
649
+  ypos 104
650
+ }
651
+ Transform {
652
+  scale 2.2
653
+  center {128 128}
654
+  filter Keys
655
+  clamp true
656
+  name Transform26
657
+  xpos -1511
658
+  ypos 130
659
+ }
660
+ Grade {
661
+  multiply 0.98
662
+  gamma {1 0.87736 0.690501 1}
663
+  gamma_panelDropped true
664
+  name Grade13
665
+  xpos -1424
666
+  ypos 129
667
+ }
668
+push $N428ee400
669
+ Merge2 {
670
+  inputs 2
671
+  operation soft-light
672
+  name Plus6
673
+  xpos -1279
674
+  ypos 129
675
+ }
676
+set N4293c400 [stack 0]
677
+ LensDistortion {
678
+  serializeKnob ""
679
+  serialiseKnob "22 serialization::archive 9 0 0 0 0 0 0 0 0 0 0 0 0"
680
+  distortion1 0.3
681
+  cardScale {46.9341011 46.9341011 1}
682
+  a -104.200531
683
+  b -6.664929867
684
+  c 101.0743942
685
+  name LensDistortion2
686
+  xpos -1279
687
+  ypos 197
688
+ }
689
+ LensDistortion {
690
+  serializeKnob ""
691
+  serialiseKnob "22 serialization::archive 9 0 0 0 0 0 0 0 0 0 0 0 0"
692
+  name LensDistortion3
693
+  xpos -1279
694
+  ypos 223
695
+ }
696
+push $N4293c400
697
+ Merge2 {
698
+  inputs 2
699
+  operation plus
700
+  name Plus10
701
+  xpos -1156
702
+  ypos 249
703
+ }
704
+ LensDistortion {
705
+  serializeKnob ""
706
+  serialiseKnob "22 serialization::archive 9 0 0 0 0 0 0 0 0 0 0 0 0"
707
+  distortion1 0.3
708
+  cardScale {46.9341011 46.9341011 1}
709
+  a -104.200531
710
+  b -6.664929867
711
+  c 101.0743942
712
+  name LensDistortion5
713
+  xpos -1156
714
+  ypos 275
715
+ }
716
+ LensDistortion {
717
+  serializeKnob ""
718
+  serialiseKnob "22 serialization::archive 9 0 0 0 0 0 0 0 0 0 0 0 0"
719
+  name LensDistortion6
720
+  xpos -1156
721
+  ypos 301
722
+ }
723
+ Crop {
724
+  box {0 0 256 256}
725
+  name Crop6
726
+  xpos -1156
727
+  ypos 327
728
+ }
729
+ Multiply {
730
+  value {{Multiply5.value}}
731
+  name Multiply6
732
+  xpos -1156
733
+  ypos 353
734
+ }
735
+ Rectangle {
736
+  area {127.4400024 127.4799957 128.5599976 128.5200043}
737
+  name Rectangle6
738
+  xpos -1156
739
+  ypos 391
740
+ }
741
+ Constant {
742
+  inputs 0
743
+  channels rgb
744
+  format "256 256 0 0 256 256 1 square_256"
745
+  name Constant3
746
+  xpos -1917
747
+  ypos -333
748
+ }
749
+set N42998000 [stack 0]
750
+ Radial {
751
+  area {125 1 131 255}
752
+  name Radial5
753
+  xpos -1917
754
+  ypos -243
755
+ }
756
+ Grade {
757
+  gamma {0.432501018 0.6625611782 1 1}
758
+  name Grade5
759
+  xpos -1917
760
+  ypos -217
761
+ }
762
+set N429ef800 [stack 0]
763
+ Reformat {
764
+  type scale
765
+  turn true
766
+  name Reformat4
767
+  xpos -1794
768
+  ypos -180
769
+ }
770
+set N429ef400 [stack 0]
771
+push $N429ef400
772
+ Transform {
773
+  rotate 46.73572159
774
+  center {127 128}
775
+  name Transform7
776
+  xpos -1656
777
+  ypos -134
778
+ }
779
+ Crop {
780
+  box {0 0 256 256}
781
+  name Crop3
782
+  xpos -1656
783
+  ypos -108
784
+ }
785
+push 0
786
+push $N429ef400
787
+ Transform {
788
+  rotate -46.73572159
789
+  center {127 128}
790
+  name Transform8
791
+  xpos -1757
792
+  ypos -121
793
+ }
794
+ Crop {
795
+  box {0 0 256 256}
796
+  name Crop4
797
+  xpos -1757
798
+  ypos -95
799
+ }
800
+push $N429ef800
801
+ Merge2 {
802
+  inputs 4+1
803
+  name Merge2
804
+  xpos -1900
805
+  ypos 39
806
+ }
807
+push $N42998000
808
+ Radial {
809
+  area {64 64 192 192}
810
+  name Radial6
811
+  xpos -2022
812
+  ypos -244
813
+ }
814
+ Grade {
815
+  gamma {0.2300000042 0.1222772822 0.1405461878 0.2300000042}
816
+  name Grade6
817
+  xpos -2022
818
+  ypos -190
819
+ }
820
+ Merge2 {
821
+  inputs 2
822
+  operation plus
823
+  name Plus2
824
+  xpos -2022
825
+  ypos 39
826
+ }
827
+ Blur {
828
+  size 9.8
829
+  mix 0.175
830
+  name Blur1
831
+  xpos -2022
832
+  ypos 65
833
+ }
834
+ Multiply {
835
+  value {{Multiply5.value}}
836
+  name Multiply1
837
+  xpos -2022
838
+  ypos 103
839
+ }
840
+ Rectangle {
841
+  area {127.3500061 127.3999939 128.6499939 128.6000061}
842
+  name Rectangle1
843
+  xpos -2022
844
+  ypos 141
845
+ }
846
+ Constant {
847
+  inputs 0
848
+  channels rgb
849
+  format "256 256 0 0 256 256 1 square_256"
850
+  name Constant1
851
+  xpos -2398
852
+  ypos -136
853
+ }
854
+set N42a26000 [stack 0]
855
+ Radial {
856
+  area {64 64 192 192}
857
+  name Radial1
858
+  xpos -2503
859
+  ypos -47
860
+ }
861
+ Grade {
862
+  gamma {0.2300000042 0.1222772822 0.1405461878 0.2300000042}
863
+  name Grade1
864
+  xpos -2503
865
+  ypos -21
866
+ }
867
+push 0
868
+push $N42a26000
869
+ Radial {
870
+  area {125 1 131 255}
871
+  name Radial2
872
+  xpos -2398
873
+  ypos -46
874
+ }
875
+ Grade {
876
+  gamma {0.432501018 0.6625611782 1 1}
877
+  name Grade2
878
+  xpos -2398
879
+  ypos -20
880
+ }
881
+set N42a6f000 [stack 0]
882
+ Reformat {
883
+  type scale
884
+  turn true
885
+  name Reformat1
886
+  xpos -2294
887
+  ypos 8
888
+ }
889
+push $N42a6f000
890
+ Merge2 {
891
+  inputs 3+1
892
+  operation plus
893
+  name Plus
894
+  xpos -2407
895
+  ypos 45
896
+ }
897
+ Blur {
898
+  channels {-rgba.red rgba.green rgba.blue -rgba.alpha}
899
+  size 8.2
900
+  mix 0.266
901
+  name Blur3
902
+  xpos -2407
903
+  ypos 71
904
+ }
905
+ Multiply {
906
+  value {{Multiply5.value}}
907
+  name Multiply3
908
+  xpos -2407
909
+  ypos 97
910
+ }
911
+ Rectangle {
912
+  area {127.6000061 127.6000061 128.3999939 128.3999939}
913
+  name Rectangle3
914
+  xpos -2407
915
+  ypos 135
916
+ }
917
+ Switch {
918
+  inputs 5
919
+  which {{mode}}
920
+  name Switch4
921
+  xpos -1131
922
+  ypos 931
923
+ }
924
+ Dot {
925
+  name Dot2
926
+  xpos -1097
927
+  ypos 1196
928
+ }
929
+ Input {
930
+  inputs 0
931
+  name img
932
+  xpos 436
933
+  ypos 1066
934
+ }
935
+ Convolve2 {
936
+  inputs 2
937
+  channels rgba
938
+  use_input_channels true
939
+  name Convolve1
940
+  selected true
941
+  xpos 436
942
+  ypos 1186
943
+ }
944
+ Output {
945
+  name Output1
946
+  xpos 436
947
+  ypos 1425
948
+ }
949
+end_group

+ 361
- 0
gizmos/Grain_ARRI_Alexa.gizmo ファイルの表示

@@ -0,0 +1,361 @@
1
+#! C:/Program Files/Nuke10.5v5/nuke-10.5.5.dll -nx
2
+version 10.5 v5
3
+Gizmo {
4
+ tile_color 0x9fffff
5
+ gl_color 0x9fffff
6
+ addUserKnob {20 grain l Grain}
7
+ addUserKnob {41 iso l ISO T NoOp1.iso}
8
+ addUserKnob {26 ""}
9
+ addUserKnob {26 sign l "" +STARTLINE T "Grain ARRI Alexa by Huseyin Cay, 2018©\nwww.huseyincay.com"}
10
+}
11
+ BackdropNode {
12
+  inputs 0
13
+  name BackdropNode1
14
+  label "blue grain"
15
+  note_font_size 20
16
+  xpos -84
17
+  ypos -256
18
+  bdwidth 206
19
+  bdheight 307
20
+ }
21
+ BackdropNode {
22
+  inputs 0
23
+  name BackdropNode2
24
+  label "red grain"
25
+  note_font_size 20
26
+  xpos -345
27
+  ypos -223
28
+  bdwidth 204
29
+  bdheight 301
30
+ }
31
+ BackdropNode {
32
+  inputs 0
33
+  name BackdropNode3
34
+  label "green grain"
35
+  note_font_size 20
36
+  xpos -594
37
+  ypos -127
38
+  bdwidth 208
39
+  bdheight 315
40
+ }
41
+ NoOp {
42
+  inputs 0
43
+  name NoOp1
44
+  xpos 1125
45
+  ypos 436
46
+  addUserKnob {20 User}
47
+  addUserKnob {7 iso l ISO R 100 3200}
48
+  iso 3200
49
+ }
50
+ Input {
51
+  inputs 0
52
+  name source
53
+  xpos 951
54
+  ypos -60
55
+ }
56
+ Dot {
57
+  name Dot2
58
+  xpos 985
59
+  ypos 38
60
+ }
61
+set Ne996400 [stack 0]
62
+ Dot {
63
+  name Dot7
64
+  xpos 854
65
+  ypos 38
66
+ }
67
+set Ne996000 [stack 0]
68
+ Dot {
69
+  name Dot1
70
+  xpos 725
71
+  ypos 38
72
+ }
73
+set Nf1047c00 [stack 0]
74
+push $Nf1047c00
75
+ Dot {
76
+  name Dot4
77
+  xpos 599
78
+  ypos 38
79
+ }
80
+set Nf1047800 [stack 0]
81
+ ColorLookup {
82
+  channels rgb
83
+  lut {master {curve C 0.3495025635 s3 x0.1296822727 0.6532338858 x0.2818024457 0.8694030046 x0.5006420612 0.9718141556 x1 1}
84
+    red {}
85
+    green {}
86
+    blue {}
87
+    alpha {}}
88
+  name ColorLookup2
89
+  selected true
90
+  xpos 565
91
+  ypos 250
92
+ }
93
+ Shuffle {
94
+  alpha red
95
+  name Shuffle2
96
+  xpos 565
97
+  ypos 368
98
+ }
99
+ Noise {
100
+  inputs 0
101
+  output {-rgba.red rgba.green -rgba.blue rgba.alpha}
102
+  type turbulence
103
+  size 1.2
104
+  zoffset {{frame}}
105
+  octaves 3
106
+  nyquist false
107
+  gamma 0.385
108
+  center {1024 540}
109
+  name Noise3
110
+  xpos -25
111
+  ypos -186
112
+ }
113
+ ColorCorrect {
114
+  gamma 2.3
115
+  gain 0.026
116
+  name ColorCorrect3
117
+  xpos -25
118
+  ypos -146
119
+ }
120
+ Clamp {
121
+  name Clamp3
122
+  xpos -25
123
+  ypos -122
124
+ }
125
+ Blur {
126
+  size 1.3
127
+  name Blur3
128
+  xpos -25
129
+  ypos -84
130
+ }
131
+ Remove {
132
+  channels alpha
133
+  name Remove2
134
+  xpos -25
135
+  ypos -37
136
+ }
137
+push 0
138
+ Noise {
139
+  inputs 0
140
+  output {-rgba.red -rgba.green rgba.blue rgba.alpha}
141
+  type turbulence
142
+  size 3.5
143
+  zoffset {{frame}}
144
+  octaves 3
145
+  nyquist false
146
+  lacunarity 1.11
147
+  gain 0.86
148
+  gamma 0.225
149
+  center {1024 540}
150
+  name Noise1
151
+  xpos -528
152
+  ypos -47
153
+ }
154
+ ColorCorrect {
155
+  gamma 2.3
156
+  gain 0.026
157
+  name ColorCorrect1
158
+  xpos -528
159
+  ypos -9
160
+ }
161
+ Clamp {
162
+  name Clamp1
163
+  xpos -528
164
+  ypos 17
165
+ }
166
+ Blur {
167
+  size 1.2
168
+  name Blur1
169
+  xpos -528
170
+  ypos 55
171
+ }
172
+ Remove {
173
+  channels alpha
174
+  name Remove3
175
+  xpos -528
176
+  ypos 107
177
+ }
178
+ Noise {
179
+  inputs 0
180
+  output {rgba.red -rgba.green -rgba.blue rgba.alpha}
181
+  type turbulence
182
+  size 2.5
183
+  zoffset {{frame}}
184
+  octaves 3
185
+  nyquist false
186
+  lacunarity 3
187
+  gain 0.485
188
+  gamma 0.38
189
+  center {1024 540}
190
+  name Noise2
191
+  xpos -288
192
+  ypos -149
193
+ }
194
+ ColorCorrect {
195
+  gamma 2.3
196
+  gain 0.026
197
+  name ColorCorrect2
198
+  xpos -288
199
+  ypos -111
200
+ }
201
+ Clamp {
202
+  name Clamp2
203
+  xpos -288
204
+  ypos -85
205
+ }
206
+ Blur {
207
+  size 1.3
208
+  name Blur2
209
+  xpos -288
210
+  ypos -47
211
+ }
212
+ Remove {
213
+  channels alpha
214
+  name Remove1
215
+  xpos -288
216
+  ypos 4
217
+ }
218
+ Merge2 {
219
+  inputs 3+1
220
+  operation plus
221
+  Achannels rgb
222
+  Bchannels rgb
223
+  output rgb
224
+  name Merge1
225
+  xpos -25
226
+  ypos 111
227
+ }
228
+set Nf1a17000 [stack 0]
229
+ Dot {
230
+  name Dot6
231
+  xpos 9
232
+  ypos 309
233
+ }
234
+set Nf1a16c00 [stack 0]
235
+ Dot {
236
+  name Dot5
237
+  xpos 9
238
+  ypos 439
239
+ }
240
+ ColorCorrect {
241
+  offset -0.008
242
+  name ColorCorrect5
243
+  xpos 368
244
+  ypos 435
245
+ }
246
+ Merge2 {
247
+  inputs 2
248
+  operation stencil
249
+  name Merge5
250
+  xpos 565
251
+  ypos 435
252
+ }
253
+ Merge2 {
254
+  inputs 2
255
+  operation mask
256
+  name Merge7
257
+  xpos 691
258
+  ypos 435
259
+ }
260
+push $Ne996000
261
+push $Nf1047800
262
+ Dot {
263
+  name Dot3
264
+  xpos 469
265
+  ypos 38
266
+ }
267
+ ColorLookup {
268
+  channels rgb
269
+  lut {master {curve C 0 s3.299999952 x0.1327416301 0.3393293619 x0.2413712144 0.4933844805 x0.4885971546 0.6287660599 x1 0.6754493713 s0.05000000075}
270
+    red {}
271
+    green {}
272
+    blue {}
273
+    alpha {}}
274
+  name ColorLookup1
275
+  xpos 435
276
+  ypos 170
277
+ }
278
+ Shuffle {
279
+  alpha red
280
+  name Shuffle3
281
+  xpos 435
282
+  ypos 233
283
+ }
284
+push $Nf1a16c00
285
+ ColorCorrect {
286
+  saturation 0.5
287
+  gain 100
288
+  offset -0.5
289
+  name ColorCorrect4
290
+  xpos 119
291
+  ypos 306
292
+ }
293
+ ColorCorrect {
294
+  channels {rgba.red -rgba.green rgba.blue}
295
+  highlights.gain 0
296
+  lookup {shadow {}
297
+    midtone {}
298
+    highlight {curve x-0.108186394 0 s0 x0.8229426742 0.8390953541 s2.450000048}}
299
+  name ColorCorrect6
300
+  xpos 268
301
+  ypos 300
302
+ }
303
+ Merge2 {
304
+  inputs 2
305
+  operation mask
306
+  name Merge4
307
+  xpos 435
308
+  ypos 305
309
+ }
310
+ Merge2 {
311
+  inputs 2
312
+  operation mask
313
+  name Merge8
314
+  xpos 820
315
+  ypos 305
316
+ }
317
+push $Nf1a17000
318
+push $Ne996400
319
+ Copy {
320
+  inputs 2
321
+  from0 rgba.red
322
+  to0 forward.u
323
+  from1 rgba.green
324
+  to1 forward.v
325
+  name Copy1
326
+  xpos 951
327
+  ypos 100
328
+ }
329
+ IDistort {
330
+  uv forward
331
+  uv_scale {{Merge3.mix*50}}
332
+  name IDistort1
333
+  xpos 951
334
+  ypos 213
335
+ }
336
+ Merge2 {
337
+  inputs 2
338
+  Achannels rgb
339
+  Bchannels rgb
340
+  output rgb
341
+  mix {{Merge3.mix/10}}
342
+  name Merge2
343
+  xpos 951
344
+  ypos 305
345
+ }
346
+ Merge2 {
347
+  inputs 2
348
+  Achannels rgb
349
+  Bchannels rgb
350
+  output rgb
351
+  mix {{NoOp1.iso/3200}}
352
+  name Merge3
353
+  xpos 951
354
+  ypos 435
355
+ }
356
+ Output {
357
+  name Output1
358
+  xpos 951
359
+  ypos 520
360
+ }
361
+end_group

+ 1481
- 0
gizmos/HeatWave.gizmo
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 12358
- 0
gizmos/K_BokehBuilder.gizmo
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 1638
- 0
gizmos/K_Chromatic.gizmo
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 53521
- 0
gizmos/K_LensEngine.gizmo
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 240
- 0
gizmos/L_AlphaClean_v03.gizmo ファイルの表示

@@ -0,0 +1,240 @@
1
+Gizmo {
2
+ help "L_AlphaClean_v03 AlphaClean removes stray pixels from the alpha channel of your matte. Removes black pixels in the white area of the matte and white pixels in the black area. ”Size” - controls the size of pixels that are removed. ”Original Edge Amount” - controls how untouched the matte edge is. ”Original Edge Width” - defines the width of the original edge of the matte. (For any questions, comments or suggestions please email gizmos@luma-pictures.com)"
3
+ addUserKnob {20 AlphaClean}
4
+ addUserKnob {7 size R 0 10}
5
+ size 5
6
+ addUserKnob {7 OrigEdgeAmount}
7
+ OrigEdgeAmount 1
8
+ addUserKnob {7 OrigEdgeWidth R 0 10}
9
+ OrigEdgeWidth 5
10
+ addUserKnob {26 ""}
11
+
12
+ addUserKnob {22 Button l "     Luma Pictures     " T "import os\nimport sys\n\ntry:\n    import subprocess\n    def _run(cmd, shell, wait):\n        opener = subprocess.Popen(cmd, shell=shell)\n        if wait:\n            opener.wait()\n        return opener.pid\nexcept ImportError:\n    import popen2\n    def _run(cmd, shell, wait):\n        opener = popen2.Popen3(cmd)\n        if wait:\n            opener.wait()\n        return opener.pid\n\ndef _open(url, wait=0):\n    if sys.platform == \"darwin\":\n        cmd = \[\"open\", url]\n    elif hasattr(os, \"startfile\"):\n        return os.startfile(url)\n    elif os.environ.has_key(\"KDE_FULL_SESSION\") or os.environ.has_key(\"KDE_MULTIHEAD\") or \\\n        os.environ.has_key(\"GNOME_DESKTOP_SESSION_ID\") or os.environ.has_key(\"GNOME_KEYRING_SOCKET\"):\n        cmd = \[\"xdg-open\", url]\n    else:\n        raise OSError, \"Desktop not supported.\"\n\n    return _run(cmd, 0, wait)\n\n_open('http://www.luma-pictures.com/tools/nuke/')" +STARTLINE}
13
+
14
+}
15
+ Input {
16
+  inputs 0
17
+  name Input1
18
+  xpos 380
19
+  ypos -717
20
+ }
21
+set N251b0b70 [stack 0]
22
+ Blur {
23
+  size {{parent.size i}}
24
+  name Blur1
25
+  label "\[value size]"
26
+  xpos 515
27
+  ypos -136
28
+ }
29
+push $N251b0b70
30
+ Invert {
31
+  name Invert1
32
+  xpos 218
33
+  ypos -452
34
+  disable {{"parent.size>=0 ? 1 : 0" i}}
35
+ }
36
+set N251b60b0 [stack 0]
37
+ Blur {
38
+  size {{parent.size i} {parent.size i}}
39
+  name Blur7
40
+  label "\[value size]"
41
+  xpos 28
42
+  ypos -332
43
+ }
44
+push $N251b60b0
45
+ Blur {
46
+  size {{parent.size*2 i} {parent.size*2 i}}
47
+  name Blur8
48
+  label "\[value size]"
49
+  xpos 119
50
+  ypos -329
51
+ }
52
+ Merge2 {
53
+  inputs 2
54
+  name Merge2
55
+  xpos 74
56
+  ypos -248
57
+ }
58
+push $N251b60b0
59
+ Blur {
60
+  size {{parent.size*4 i} {parent.size*4 i}}
61
+  name Blur9
62
+  label "\[value size]"
63
+  xpos 218
64
+  ypos -330
65
+ }
66
+ Merge2 {
67
+  inputs 2
68
+  name Merge3
69
+  xpos 129
70
+  ypos -203
71
+ }
72
+push $N251b60b0
73
+ Blur {
74
+  size {{parent.size*8 i} {parent.size*8 i}}
75
+  name Blur10
76
+  label "\[value size]"
77
+  xpos 318
78
+  ypos -328
79
+ }
80
+ Merge2 {
81
+  inputs 2
82
+  name Merge4
83
+  xpos 192
84
+  ypos -154
85
+ }
86
+ Invert {
87
+  name Invert2
88
+  xpos 192
89
+  ypos -117
90
+  disable {{"parent.size>=0 ? 1 : 0"}}
91
+ }
92
+ NoOp {
93
+  name NoOp4
94
+  tile_color 0xffd600ff
95
+  label "positiv Expoblur"
96
+  xpos 192
97
+  ypos -55
98
+ }
99
+push $N251b0b70
100
+ Invert {
101
+  name Invert4
102
+  xpos -190
103
+  ypos -545
104
+  disable {{"parent.size<=0 ? 1 : 0" i}}
105
+ }
106
+set N251db810 [stack 0]
107
+ Blur {
108
+  size {{-parent.size i} {-parent.size i}}
109
+  name Blur3
110
+  label "\[value size]"
111
+  xpos -369
112
+  ypos -435
113
+ }
114
+push $N251db810
115
+ Blur {
116
+  size {{-parent.size*2 i} {-parent.size*2 i}}
117
+  name Blur4
118
+  label "\[value size]"
119
+  xpos -265
120
+  ypos -440
121
+ }
122
+ Merge2 {
123
+  inputs 2
124
+  name Merge7
125
+  xpos -306
126
+  ypos -361
127
+ }
128
+push $N251db810
129
+ Blur {
130
+  size {{-parent.size*4 i} {-parent.size*4 i}}
131
+  name Blur5
132
+  label "\[value size]"
133
+  xpos -173
134
+  ypos -439
135
+ }
136
+ Merge2 {
137
+  inputs 2
138
+  name Merge8
139
+  xpos -243
140
+  ypos -323
141
+ }
142
+push $N251db810
143
+ Blur {
144
+  size {{-parent.size*8 i} {-parent.size*8 i}}
145
+  name Blur6
146
+  label "\[value size]"
147
+  xpos -85
148
+  ypos -438
149
+ }
150
+ Merge2 {
151
+  inputs 2
152
+  name Merge9
153
+  xpos -189
154
+  ypos -279
155
+ }
156
+ Invert {
157
+  name Invert5
158
+  xpos -189
159
+  ypos -234
160
+  disable {{"parent.size<=0 ? 1 : 0" i}}
161
+ }
162
+ NoOp {
163
+  name NoOp2
164
+  tile_color 0xffd600ff
165
+  label "negativ Expoblur"
166
+  xpos -189
167
+  ypos -169
168
+ }
169
+ Keymix {
170
+  inputs 3
171
+  name Keymix1
172
+  xpos 192
173
+  ypos 48
174
+ }
175
+set N25704e20 [stack 0]
176
+ Blur {
177
+  size {{parent.OrigEdgeWidth i}}
178
+  name Blur2
179
+  label "\[value size]"
180
+  xpos 491
181
+  ypos 114
182
+ }
183
+set N257076e0 [stack 0]
184
+push $N257076e0
185
+ Merge2 {
186
+  inputs 2
187
+  operation xor
188
+  name Merge1
189
+  xpos 491
190
+  ypos 164
191
+ }
192
+ Grade {
193
+  channels all
194
+  whitepoint 0.3
195
+  name Grade1
196
+  xpos 491
197
+  ypos 200
198
+ }
199
+push $N251b0b70
200
+push $N25704e20
201
+ Keymix {
202
+  inputs 3
203
+  mix {{parent.OrigEdgeAmount i}}
204
+  name Keymix2
205
+  xpos 380
206
+  ypos 284
207
+ }
208
+push $N251b0b70
209
+ ShuffleCopy {
210
+  inputs 2
211
+  name ShuffleCopy1
212
+  xpos 442
213
+  ypos 353
214
+ }
215
+push $N251b0b70
216
+ Dot {
217
+  name Dot2
218
+  xpos 695
219
+  ypos -714
220
+ }
221
+ Dot {
222
+  name Dot1
223
+  xpos 695
224
+  ypos 403
225
+ }
226
+ ShuffleCopy {
227
+  inputs 2
228
+  red red
229
+  green green
230
+  blue blue
231
+  name ChannelsPassThrough
232
+  xpos 442
233
+  ypos 400
234
+ }
235
+ Output {
236
+  name Output1
237
+  xpos 442
238
+  ypos 473
239
+ }
240
+end_group

+ 281
- 0
gizmos/LensKernelFFT_v01.gizmo ファイルの表示

@@ -0,0 +1,281 @@
1
+set cut_paste_input [stack 0]
2
+version 5.2100
3
+push $cut_paste_input
4
+Group {
5
+ name LensKernelFFT
6
+ tile_color 0xff7f28ff
7
+ selected true
8
+ xpos 228
9
+ ypos 20
10
+ addUserKnob {20 User}
11
+ addUserKnob {4 output M {"convolution result" "input kernel" "" ""}}
12
+ addUserKnob {4 c l channels M {RGB RGBA ""}}
13
+ addUserKnob {4 kernel M {"35mm f1.4" "35mm f2.8" "35mm f5.6"}}
14
+ addUserKnob {3 pad l "pad frame" t "If bright areas of the convolved image 'wrap around' to the other side of the image, padding the frame will alleviate this problem. Also, if the bounding extends beyond the image, setting this to a larger size than 0 will allow you to reserve it. value is in pixels.\n"}
15
+ addUserKnob {7 mix}
16
+ mix 1
17
+ addUserKnob {20 Kernels}
18
+ addUserKnob {41 kernel14 l "35mm f1.4 kernel" T Read1.file}
19
+ addUserKnob {41 kernel28 l "35mm f2.8 kernel" T Read2.file}
20
+ addUserKnob {41 kernel56 l "35mm f5.6 kernel" T Read3.file}
21
+}
22
+ Read {
23
+  inputs 0
24
+  format "3908 2602 0 0 3908 2602 1 "
25
+  name Read3
26
+  xpos -250
27
+  ypos -19
28
+ }
29
+ Read {
30
+  inputs 0
31
+  format "3908 2602 0 0 3908 2602 1 "
32
+  name Read2
33
+  xpos -382
34
+  ypos -16
35
+ }
36
+ Read {
37
+  inputs 0
38
+  format "3908 2602 0 0 3908 2602 1 "
39
+  name Read1
40
+  xpos -508
41
+  ypos -21
42
+ }
43
+ Switch {
44
+  inputs 3
45
+  which {{parent.kernel i}}
46
+  name Switch1
47
+  xpos -382
48
+  ypos 91
49
+ }
50
+ Transform {
51
+  translate {1 0}
52
+  center {1954 1301}
53
+  filter Impulse
54
+  name Transform
55
+  label recenter
56
+  xpos -382
57
+  ypos 122
58
+ }
59
+ Dot {
60
+  name Dot1
61
+  xpos -348
62
+  ypos 170
63
+ }
64
+set N1e1bc350 [stack 0]
65
+ Dot {
66
+  name Dot2
67
+  xpos -238
68
+  ypos 170
69
+ }
70
+ Saturation {
71
+  saturation 0
72
+  name Saturation
73
+  label luminance
74
+  xpos -272
75
+  ypos 224
76
+ }
77
+push $N1e1bc350
78
+ Copy {
79
+  inputs 2
80
+  from0 rgba.red
81
+  to0 rgba.alpha
82
+  name Copy
83
+  label luminance->alpha
84
+  xpos -382
85
+  ypos 218
86
+ }
87
+ Dot {
88
+  name Dot10
89
+  xpos -348
90
+  ypos 272
91
+ }
92
+set N1e17d950 [stack 0]
93
+ Dot {
94
+  name Dot9
95
+  xpos -458
96
+  ypos 272
97
+ }
98
+ Dot {
99
+  name Dot11
100
+  xpos -458
101
+  ypos 745
102
+ }
103
+ Input {
104
+  inputs 0
105
+  name Input1
106
+  xpos 0
107
+  ypos -11
108
+ }
109
+ NoOp {
110
+  name ImgIn
111
+  xpos 0
112
+  ypos 35
113
+ }
114
+ Dot {
115
+  name Dot12
116
+  xpos 34
117
+  ypos 59
118
+ }
119
+set N4d873c50 [stack 0]
120
+ Reformat {
121
+  type "to box"
122
+  box_width {{"width + (2* parent.pad)" i}}
123
+  box_height {{"height + (2* parent.pad)" i}}
124
+  resize none
125
+  filter Impulse
126
+  name Reformat_PadFrame
127
+  xpos 0
128
+  ypos 349
129
+ }
130
+ FFT {
131
+  channels rgba
132
+  name FFT2
133
+  xpos 0
134
+  ypos 384
135
+ }
136
+ Dot {
137
+  name Dot3
138
+  selected true
139
+  xpos 34
140
+  ypos 451
141
+ }
142
+push $N1e17d950
143
+ Reformat {
144
+  type "to box"
145
+  box_width {{LensKernelFFT.Reformat_PadFrame.box_width.main i}}
146
+  box_height {{LensKernelFFT.Reformat_PadFrame.box_height.main i}}
147
+  resize none
148
+  filter Impulse
149
+  name ReformatKernel
150
+  xpos -382
151
+  ypos 350
152
+ }
153
+ FFT {
154
+  channels rgba
155
+  normalize_input true
156
+  center_kernel true
157
+  name FFT1
158
+  xpos -382
159
+  ypos 395
160
+ }
161
+ FFTMultiply {
162
+  inputs 2
163
+  name FFTMultiply1
164
+  xpos -382
165
+  ypos 442
166
+ }
167
+ InvFFT {
168
+  name InvFFT1
169
+  xpos -382
170
+  ypos 478
171
+ }
172
+ Dot {
173
+  name Dot4
174
+  xpos -348
175
+  ypos 548
176
+ }
177
+ Dot {
178
+  name Dot6
179
+  xpos -138
180
+  ypos 548
181
+ }
182
+set N270715f0 [stack 0]
183
+ Dot {
184
+  name Dot7
185
+  xpos 15
186
+  ypos 548
187
+ }
188
+push $N4d873c50
189
+ Dot {
190
+  name Dot13
191
+  xpos 170
192
+  ypos 59
193
+ }
194
+ Dot {
195
+  name Dot15
196
+  xpos 170
197
+  ypos 415
198
+ }
199
+set N5774c4b0 [stack 0]
200
+ Dot {
201
+  name Dot5
202
+  xpos 34
203
+  ypos 501
204
+ }
205
+set N39ac93a0 [stack 0]
206
+ Copy {
207
+  inputs 2
208
+  channels rgba
209
+  name Copy3
210
+  xpos 0
211
+  ypos 578
212
+ }
213
+push $N270715f0
214
+push $N39ac93a0
215
+ Dot {
216
+  name Dot8
217
+  xpos -68
218
+  ypos 501
219
+ }
220
+ Copy {
221
+  inputs 2
222
+  channels rgb
223
+  name Copy2
224
+  xpos -102
225
+  ypos 581
226
+ }
227
+ Switch {
228
+  inputs 2
229
+  which {{parent.c i}}
230
+  name Switch2
231
+  xpos 0
232
+  ypos 668
233
+ }
234
+ Reformat {
235
+  type "to box"
236
+  box_width {{ImgIn.width i}}
237
+  box_height {{ImgIn.height i}}
238
+  resize none
239
+  filter Impulse
240
+  name ReformatOutput
241
+  xpos 0
242
+  ypos 692
243
+ }
244
+ Switch {
245
+  inputs 2
246
+  which {{parent.output i}}
247
+  name Switch3
248
+  xpos 0
249
+  ypos 742
250
+ }
251
+push $N5774c4b0
252
+ Dot {
253
+  name Dot14
254
+  xpos 170
255
+  ypos 804
256
+ }
257
+set N4d873950 [stack 0]
258
+ Dissolve {
259
+  inputs 2
260
+  channels rgba
261
+  which {{parent.mix i}}
262
+  name Dissolve1
263
+  xpos 0
264
+  ypos 801
265
+ }
266
+set N4d87f820 [stack 0]
267
+ Output {
268
+  name Output1
269
+  xpos 0
270
+  ypos 871
271
+ }
272
+push $N4d87f820
273
+push $N4d873950
274
+ Viewer {
275
+  inputs 2
276
+  input_number 1
277
+  name Viewer1
278
+  xpos -449
279
+  ypos 621
280
+ }
281
+end_group

+ 448
- 0
gizmos/LensSim.gizmo ファイルの表示

@@ -0,0 +1,448 @@
1
+#! /usr/local/Nuke6.1v1/Nuke6.1 -nx
2
+version 6.1 v1
3
+Gizmo {
4
+ addUserKnob {20 LensSim t "Quick tool to add some level of 'lens simulation' to any image, preferably CG imagery. You would want to match lens irregularities to the camera that was used to shoot you plates or a target camera look."}
5
+ addUserKnob {20 Diffusion n 1}
6
+ Diffusion 0
7
+ addUserKnob {41 Amount t "Amount of softness (blur radius). Blurs the image then subtracks this from itself, then adds back on to the original, giving the appearance of soft edges through contrasty junctions." T Blur9.size}
8
+ addUserKnob {41 DiffContribution l Contribution t "The amount of mix contribution of the diffusion treatment." T Merge37.mix}
9
+ addUserKnob {6 diffonoff l Disable +STARTLINE}
10
+ addUserKnob {20 endGroup n -1}
11
+ addUserKnob {20 ChromaticAbberation l "Chromatic Abberation" n 1}
12
+ ChromaticAbberation 0
13
+ addUserKnob {41 ChromAbContribution l Contribution T Dissolve3.which}
14
+ addUserKnob {6 CAoff l Disable +STARTLINE}
15
+ addUserKnob {20 endGroup_1 l endGroup n -1}
16
+ addUserKnob {20 Glints n 1}
17
+ Glints 0
18
+ addUserKnob {41 GlintsContribution l Contribution T Dissolve2.which}
19
+ addUserKnob {6 goff l Disable +STARTLINE}
20
+ addUserKnob {20 endGroup_2 l endGroup n -1}
21
+ addUserKnob {20 ProMist n 1}
22
+ ProMist 0
23
+ addUserKnob {41 PMContribution l Contribution t "Default of 0.12 shouldn't have to be modified." T Merge42.mix}
24
+ addUserKnob {6 pmoff l Disable +STARTLINE}
25
+ addUserKnob {20 endGroup_3 l endGroup n -1}
26
+ addUserKnob {20 Vignette n 1}
27
+ Vignette 0
28
+ addUserKnob {41 multiply l Amount t "Default value of 0.86 should work fine in most cases." T Grade1.multiply}
29
+ addUserKnob {6 voff l Disable +STARTLINE}
30
+ addUserKnob {20 endGroup_5 l endGroup n -1}
31
+ addUserKnob {6 lensD l "Lens Distortion" +STARTLINE}
32
+ lensD true
33
+}
34
+ Input {
35
+  inputs 0
36
+  name Input1
37
+  xpos 510
38
+  ypos -663
39
+ }
40
+ Dot {
41
+  name Dot29
42
+  xpos 544
43
+  ypos -558
44
+ }
45
+set N21f8f4f0 [stack 0]
46
+push $N21f8f4f0
47
+ Dot {
48
+  name Dot30
49
+  xpos 654
50
+  ypos -558
51
+ }
52
+set Ned8c7680 [stack 0]
53
+ Dot {
54
+  name Dot31
55
+  xpos 874
56
+  ypos -558
57
+ }
58
+ Blur {
59
+  channels rgba
60
+  size 1.1
61
+  name Blur9
62
+  xpos 840
63
+  ypos -465
64
+ }
65
+push $Ned8c7680
66
+ Merge2 {
67
+  inputs 2
68
+  operation minus
69
+  name Merge36
70
+  xpos 620
71
+  ypos -465
72
+ }
73
+ Dot {
74
+  name Dot33
75
+  xpos 654
76
+  ypos -390
77
+ }
78
+push $N21f8f4f0
79
+ Merge2 {
80
+  inputs 2
81
+  operation plus
82
+  name Merge37
83
+  xpos 567
84
+  ypos -384
85
+ }
86
+ Switch {
87
+  inputs 2
88
+  which {{diffonoff i}}
89
+  name Switch2
90
+  xpos 510
91
+  ypos -275
92
+ }
93
+ Dot {
94
+  name Dot34
95
+  xpos 544
96
+  ypos -198
97
+ }
98
+set Ned6bb9d0 [stack 0]
99
+ Dot {
100
+  name Dot2
101
+  xpos 387
102
+  ypos 26
103
+ }
104
+set Nc9e34430 [stack 0]
105
+push $Ned6bb9d0
106
+ Dot {
107
+  name Dot35
108
+  xpos 874
109
+  ypos -198
110
+ }
111
+ Clamp {
112
+  minimum 1
113
+  maximum {{minimum.main i}}
114
+  MinClampTo_enable true
115
+  MaxClampTo_enable true
116
+  name Clamp1
117
+  xpos 840
118
+  ypos 137
119
+ }
120
+set Nc9e69ec0 [stack 0]
121
+push $Ned6bb9d0
122
+ GodRays {
123
+  channels {-rgba.red -rgba.green rgba.blue}
124
+  scale 1.003
125
+  center {{width/2} {height/2}}
126
+  name GodRays4
127
+  xpos 730
128
+  ypos -129
129
+ }
130
+ GodRays {
131
+  channels {rgba.red -rgba.green -rgba.blue}
132
+  scale 0.997
133
+  center {{width/2} {height/2}}
134
+  name GodRays5
135
+  xpos 730
136
+  ypos -79
137
+  addUserKnob {20 User}
138
+  addUserKnob {4 sasdasd M {Read1 ""}}
139
+ }
140
+ GodRays {
141
+  center {{width/2 x1 0} {height/2 x1 0}}
142
+  name GodRays6
143
+  xpos 730
144
+  ypos -36
145
+  addUserKnob {20 User}
146
+  addUserKnob {7 mult}
147
+  mult 1
148
+ }
149
+ Blur {
150
+  size 0.6
151
+  name Blur2
152
+  xpos 730
153
+  ypos 16
154
+ }
155
+ Grade {
156
+  name Grade51
157
+  xpos 730
158
+  ypos 75
159
+ }
160
+push $Ned6bb9d0
161
+ GodRays {
162
+  channels {-rgba.red -rgba.green rgba.blue}
163
+  scale 1.0015
164
+  center {{width/2 i} {height/2 i}}
165
+  name GodRays1
166
+  xpos 510
167
+  ypos -90
168
+ }
169
+ GodRays {
170
+  channels {rgba.red -rgba.green -rgba.blue}
171
+  scale 0.9985
172
+  center {{width/2} {height/2}}
173
+  name GodRays2
174
+  xpos 510
175
+  ypos -36
176
+  addUserKnob {20 User}
177
+  addUserKnob {4 sasdasd M {Read1 ""}}
178
+ }
179
+ GodRays {
180
+  center {{width/2} {height/2}}
181
+  name GodRays3
182
+  xpos 510
183
+  ypos 13
184
+  addUserKnob {20 User}
185
+  addUserKnob {7 mult}
186
+  mult 1
187
+ }
188
+ Blur {
189
+  size 0.6
190
+  name Blur1
191
+  xpos 510
192
+  ypos 64
193
+ }
194
+ Keymix {
195
+  inputs 3
196
+  maskChannel rgba.red
197
+  name Keymix5
198
+  xpos 510
199
+  ypos 137
200
+ }
201
+push $Nc9e34430
202
+ Dissolve {
203
+  inputs 2
204
+  which 1
205
+  name Dissolve3
206
+  xpos 515
207
+  ypos 180
208
+ }
209
+ Switch {
210
+  inputs 2
211
+  which {{CAoff i}}
212
+  name Switch3
213
+  xpos 510
214
+  ypos 229
215
+ }
216
+set Nc86df340 [stack 0]
217
+ Dot {
218
+  name Dot1
219
+  xpos 434
220
+  ypos 330
221
+ }
222
+set Nedc76550 [stack 0]
223
+push $Nc9e69ec0
224
+ Dot {
225
+  name Dot36
226
+  xpos 874
227
+  ypos 282
228
+ }
229
+set Nc9935b70 [stack 0]
230
+ Dot {
231
+  name Dot37
232
+  xpos 874
233
+  ypos 354
234
+ }
235
+ Glint {
236
+  length 32
237
+  rotation 90
238
+  to_color {0.02136000432 0.05999999866 0 0}
239
+  name Glint3
240
+  xpos 730
241
+  ypos 346
242
+ }
243
+ Blur {
244
+  channels rgba
245
+  size 2.5
246
+  name Blur12
247
+  xpos 620
248
+  ypos 351
249
+ }
250
+push $Nc9935b70
251
+ Glint {
252
+  length 32
253
+  to_color {0.05999999866 0.02231999859 0 0}
254
+  name Glint4
255
+  xpos 730
256
+  ypos 272
257
+ }
258
+ Blur {
259
+  channels rgba
260
+  size 2.5
261
+  name Blur16
262
+  xpos 620
263
+  ypos 277
264
+ }
265
+push $Nc86df340
266
+ Merge2 {
267
+  inputs 2
268
+  operation plus
269
+  bbox B
270
+  mix 0.055
271
+  name Merge39
272
+  xpos 510
273
+  ypos 277
274
+ }
275
+ Merge2 {
276
+  inputs 2
277
+  operation plus
278
+  bbox B
279
+  mix 0.055
280
+  name Merge40
281
+  xpos 510
282
+  ypos 351
283
+ }
284
+push $Nedc76550
285
+ Dissolve {
286
+  inputs 2
287
+  which 1
288
+  name Dissolve2
289
+  xpos 510
290
+  ypos 390
291
+ }
292
+ Switch {
293
+  inputs 2
294
+  which {{goff i}}
295
+  name Switch4
296
+  xpos 510
297
+  ypos 470
298
+ }
299
+ Dot {
300
+  name Dot38
301
+  xpos 544
302
+  ypos 498
303
+ }
304
+set Nc8b74a80 [stack 0]
305
+ Dot {
306
+  name Dot3
307
+  xpos 669
308
+  ypos 606
309
+ }
310
+push $Nc8b74a80
311
+ Crop {
312
+  box {{curve i} {curve i} {width i} {height i}}
313
+  crop false
314
+  name Crop5
315
+  xpos 400
316
+  ypos 495
317
+ }
318
+ Grade {
319
+  blackpoint 0.27
320
+  name Grade52
321
+  xpos 400
322
+  ypos 519
323
+ }
324
+set Ned2ab1f0 [stack 0]
325
+ Blur {
326
+  channels rgba
327
+  size 100
328
+  crop false
329
+  name Blur23
330
+  xpos 428
331
+  ypos 565
332
+ }
333
+push $Ned2ab1f0
334
+ Blur {
335
+  channels rgba
336
+  size 33
337
+  name Blur24
338
+  xpos 290
339
+  ypos 565
340
+ }
341
+ Dissolve {
342
+  inputs 2
343
+  which 0.5
344
+  name Dissolve1
345
+  xpos 400
346
+  ypos 610
347
+ }
348
+push $Nc8b74a80
349
+ Merge2 {
350
+  inputs 2
351
+  operation plus
352
+  bbox B
353
+  mix 0.12
354
+  name Merge42
355
+  xpos 510
356
+  ypos 617
357
+ }
358
+ Switch {
359
+  inputs 2
360
+  which {{pmoff}}
361
+  name Switch5
362
+  xpos 510
363
+  ypos 685
364
+ }
365
+set N23683d50 [stack 0]
366
+ Dot {
367
+  name Dot4
368
+  xpos 444
369
+  ypos 874
370
+ }
371
+push $N23683d50
372
+ Shuffle {
373
+  red black
374
+  green black
375
+  blue black
376
+  alpha black
377
+  name Shuffle1
378
+  xpos 730
379
+  ypos 781
380
+ }
381
+ Radial {
382
+  area {{curve i} {curve i} {width i} {height i}}
383
+  softness 0.45
384
+  name Radial1
385
+  xpos 730
386
+  ypos 877
387
+ }
388
+push $N23683d50
389
+ Grade {
390
+  inputs 1+1
391
+  multiply 0.62
392
+  invert_mask true
393
+  name Grade1
394
+  xpos 510
395
+  ypos 877
396
+ }
397
+ Switch {
398
+  inputs 2
399
+  which {{voff i}}
400
+  name Switch6
401
+  xpos 510
402
+  ypos 949
403
+ }
404
+set Ncaa2b8e0 [stack 0]
405
+ LensDistortion1_0 {
406
+  serializeKnob ""
407
+  serialiseKnob "22 serialization::archive 4 0 0 0 0 0 0 0 0 0 0 0 0"
408
+  distortion1 0.021
409
+  cardScale {1.021931171 1.021931171 1}
410
+  a -0.004597531166
411
+  b -0.0132312309
412
+  c -0.004608212039
413
+  name LensDistortion1
414
+  xpos 424
415
+  ypos 1036
416
+ }
417
+push $Ncaa2b8e0
418
+ Switch {
419
+  inputs 2
420
+  which {{lensD i}}
421
+  name Switch1
422
+  xpos 510
423
+  ypos 1124
424
+ }
425
+ Reformat {
426
+  name Reformat1
427
+  xpos 510
428
+  ypos 1165
429
+ }
430
+set N60aeb270 [stack 0]
431
+ Output {
432
+  name Output1
433
+  xpos 510
434
+  ypos 1237
435
+ }
436
+push $Ncaa2b8e0
437
+push $N60aeb270
438
+ Viewer {
439
+  inputs 2
440
+  fps 25
441
+  center_fstop 0
442
+  input_process false
443
+  name Viewer1
444
+  selected true
445
+  xpos 1163
446
+  ypos -259
447
+ }
448
+end_group

+ 34
- 0
gizmos/NeutralGrade.gizmo ファイルの表示

@@ -0,0 +1,34 @@
1
+#! C:/Program Files/Nuke6.3v6/Nuke6.3.exe -nx
2
+version 6.3 v4
3
+Gizmo {
4
+ addUserKnob {20 User}
5
+ addUserKnob {41 blackpoint l "Black Point" T neutralGrade.blackpoint}
6
+ addUserKnob {41 whitepoint l "White Point" T neutralGrade.whitepoint}
7
+ addUserKnob {19 midgray l "Mid Gray" t "This color is turned into 0.18 gray"}
8
+ midgray 0.18
9
+ addUserKnob {41 reverse T neutralGrade.reverse}
10
+ addUserKnob {41 black_clamp l "black clamp" -STARTLINE T neutralGrade.black_clamp}
11
+ addUserKnob {41 white_clamp l "white clamp" -STARTLINE T neutralGrade.white_clamp}
12
+}
13
+ Input {
14
+  inputs 0
15
+  name Input1
16
+  xpos 457
17
+  ypos -180
18
+ }
19
+ Grade {
20
+  black {{((blackpoint.r)+(blackpoint.g)+(blackpoint.b))/3}}
21
+  white {{((whitepoint.r)+(whitepoint.g)+(whitepoint.b))/3}}
22
+  multiply {{"((1/parent.midgray.r + 1/parent.midgray.g + 1/parent.midgray.b)/3) * 0.18"}}
23
+  black_clamp false
24
+  name neutralGrade
25
+  selected true
26
+  xpos 457
27
+  ypos -96
28
+ }
29
+ Output {
30
+  name Output1
31
+  xpos 457
32
+  ypos 3
33
+ }
34
+end_group

+ 103
- 0
gizmos/Position_to_Mask.gizmo ファイルの表示

@@ -0,0 +1,103 @@
1
+#! C:/Program Files/Nuke6.3v1/Nuke6.3.exe -nx
2
+version 6.3 v1
3
+Gizmo {
4
+ help "This gizmo will create a spherical mask based on the world space coordinates of a position channel."
5
+ addUserKnob {20 PointPositionToMask l PositionToMask}
6
+ addUserKnob {18 center l Center}
7
+ center {0 0 0}
8
+ addUserKnob {7 radius l Radius R 0 1000}
9
+ radius 1
10
+ addUserKnob {26 ""}
11
+ addUserKnob {7 feather l Feather R -500 500}
12
+ addUserKnob {7 feather_falloff l "Feather falloff" R 0.2 5}
13
+ feather_falloff 1
14
+ addUserKnob {26 ""}
15
+ addUserKnob {41 point_postion l Postion T Shuffle1.in}
16
+ addUserKnob {41 mask_output l "Mask output" T Copy1.to0}
17
+}
18
+ Input {
19
+  inputs 0
20
+  name src
21
+  xpos -195
22
+  ypos -147
23
+ }
24
+ Dot {
25
+  name Dot1
26
+  xpos -161
27
+  ypos -101
28
+ }
29
+set N4135bb0 [stack 0]
30
+ Dot {
31
+  name Dot2
32
+  xpos -25
33
+  ypos -101
34
+ }
35
+set N446c430 [stack 0]
36
+ Dot {
37
+  name Dot4
38
+  xpos 101
39
+  ypos -101
40
+ }
41
+ Expression {
42
+  channel0 {rgba.red -rgba.green -rgba.blue -rgba.alpha}
43
+  expr0 parent.center.r
44
+  expr1 parent.center.g
45
+  expr2 parent.center.b
46
+  name Expression1
47
+  label center
48
+  xpos 67
49
+  ypos -9
50
+ }
51
+push $N446c430
52
+ Shuffle {
53
+  in rgb
54
+  name Shuffle1
55
+  xpos -59
56
+  ypos -65
57
+ }
58
+ MergeExpression {
59
+  inputs 2
60
+  temp_name0 distance
61
+  temp_expr0 "sqrt(pow((Ar-Br), 2) + pow((Ag-Bg), 2) + pow((Ab-Bb), 2))"
62
+  temp_name1 inner_radius
63
+  temp_expr1 parent.feather<0?parent.radius+parent.feather:parent.radius
64
+  temp_name2 outer_radius
65
+  temp_expr2 parent.feather<0?parent.radius:parent.radius+parent.feather
66
+  channel0 {rgba.red rgba.green rgba.blue rgba.alpha}
67
+  expr0 "distance<inner_radius?1:distance>outer_radius?0:pow((1-(distance-inner_radius)/(outer_radius-inner_radius)), parent.feather_falloff)"
68
+  channel1 {-rgba.red -rgba.green -rgba.blue}
69
+  channel2 {-rgba.red -rgba.green -rgba.blue}
70
+  name MergeExpression1
71
+  xpos -59
72
+  ypos -3
73
+ }
74
+ Dot {
75
+  name Dot3
76
+  xpos -25
77
+  ypos 53
78
+ }
79
+push $N4135bb0
80
+ Copy {
81
+  inputs 2
82
+  from0 rgba.alpha
83
+  to0 rgba.alpha
84
+  name Copy1
85
+  xpos -195
86
+  ypos 44
87
+ }
88
+set N446d750 [stack 0]
89
+ Output {
90
+  name Output1
91
+  xpos -195
92
+  ypos 119
93
+ }
94
+push $N446d750
95
+ Viewer {
96
+  fps 25
97
+  input_process false
98
+  name Viewer1
99
+  selected true
100
+  xpos -21
101
+  ypos 120
102
+ }
103
+end_group

+ 46
- 0
gizmos/RealChromaticAberration.gizmo ファイルの表示

@@ -0,0 +1,46 @@
1
+#! /Applications/Nuke8.0v1/Nuke8.0v1.app/Contents/MacOS/libnuke-8.0.v1.dylib -nx
2
+version 8.0 v1
3
+Gizmo {
4
+ tile_color 0xffb500ff
5
+ gl_color 0xff
6
+ addUserKnob {20 Real_Chromatic_Aberration l RealChromaticAberration t "Generates realistic chromatic aberration along the edges."}
7
+ addUserKnob {7 amount l "Red Channel Shift" R 1 1.03}
8
+ amount 1
9
+ addUserKnob {7 amount2 l "Blue Channel Shift" R 0.974 1}
10
+ amount2 1
11
+ addUserKnob {26 ""}
12
+ addUserKnob {26 Version l "         " t "Created by Damian Binder." T "Real Chromatic Aberration V.1"}
13
+ addUserKnob {26 Tip l "Tip: " T "By sliding the red channel up \nand the blue channel down you get \na realistic combination: \nBlue + Cyan and Red + Yellow."}
14
+}
15
+ Input {
16
+  inputs 0
17
+  name Source
18
+  label Input
19
+  xpos -23
20
+  ypos -480
21
+ }
22
+ Reformat {
23
+  name Reformat1
24
+  xpos -23
25
+  ypos -448
26
+ }
27
+ GodRays {
28
+  channels {rgba.red -rgba.green -rgba.blue none}
29
+  scale {{((parent.GodRays2.scale-2)*1)+2*amount}}
30
+  name GodRays1
31
+  xpos -23
32
+  ypos -374
33
+ }
34
+ GodRays {
35
+  channels {-rgba.red -rgba.green rgba.blue none}
36
+  scale {{((parent.GodRays1.scale-2)*1)+2*amount2}}
37
+  name GodRays2
38
+  xpos -23
39
+  ypos -302
40
+ }
41
+ Output {
42
+  name Output1
43
+  xpos -23
44
+  ypos -250
45
+ }
46
+end_group

+ 818
- 0
gizmos/RealHeatDist.gizmo ファイルの表示

@@ -0,0 +1,818 @@
1
+#! /Applications/Nuke9.0v1/Nuke9.0v1.app/Contents/MacOS//libnuke-9.0.1.dylib -nx
2
+version 9.0 v1
3
+Gizmo {
4
+ inputs 3
5
+ knobChanged "\nif nuke.thisNode()\['disttype'].getValue() == 3:\n    nuke.thisNode()\['Vel'].setEnabled(False)\n    nuke.thisNode()\['DistortionScale'].setEnabled(False)\n    nuke.thisNode()\['HeatBlurScale'].setEnabled(False)\n    nuke.thisNode()\['windx'].setEnabled(False)\n    nuke.thisNode()\['windy'].setEnabled(False)\n    nuke.thisNode()\['tracktranslate'].setEnabled(False)\nelse:\n    nuke.thisNode()\['Vel'].setEnabled(True)\n    nuke.thisNode()\['DistortionScale'].setEnabled(True)\n    nuke.thisNode()\['HeatBlurScale'].setEnabled(True)\n    nuke.thisNode()\['windx'].setEnabled(True)\n    nuke.thisNode()\['windy'].setEnabled(True)\n    nuke.thisNode()\['tracktranslate'].setEnabled(True)\n"
6
+ tile_color 0x141414ff
7
+ note_font Verdana
8
+ note_font_color 0xff5242ff
9
+ addUserKnob {20 RealHeatDistortion t "Created by Damian Binder."}
10
+ addUserKnob {26 Version l "" t "Created by Damian Binder." +STARTLINE T "<font size=\"5\"><div><span style=\"color:#ff4d27;\">R</span><span style=\"color:#ff522a;\">e</span><span style=\"color:#ff572d;\">a</span><span style=\"color:#fe5d30;\">l</span><span style=\"color:#fe6233;\">H</span><span style=\"color:#fe6737;\">e</span><span style=\"color:#fe6c3a;\">a</span><span style=\"color:#fd723d;\">t</span><span style=\"color:#fd7740;\">D</span><span style=\"color:#fd7c43;\">i</span><span style=\"color:#fd7640;\">s</span><span style=\"color:#fe703c;\">t</span><span style=\"color:#fe6a39;\">o</span><span style=\"color:#fe6535;\">r</span><span style=\"color:#fe5f32;\">t</span><span style=\"color:#ff592e;\">i</span><span style=\"color:#ff532b;\">o</span><span style=\"color:#ff4d27;\">n</span></div><font size=\"2\"></span><span style=\"color:#fd7740;\"> </span><span style=\"color:#fd7740;\">v2.1"}
11
+ addUserKnob {26 bydamianbinder l "" +STARTLINE T "<font size=\"2\"><span style=\"color:#fd7740\">             By Damian Binder"}
12
+ addUserKnob {26 Track l "<b><span style=\"color:#fe6c3a;\"> Tracking Data"}
13
+ addUserKnob {12 tracktranslate l Translate}
14
+ tracktranslate {0 0}
15
+ addUserKnob {26 distortionheat l "<b><span style=\"color:#fe6c3a;\">Dist & Heat"}
16
+ addUserKnob {68 disttype l "Distortion Types" M {Classic "Agressive " "Jet Engine " "Custom Noise " "" "" "" "" "" "" ""}}
17
+ disttype "Agressive "
18
+ addUserKnob {7 Vel l "Distortion Velocity"}
19
+ Vel {0.15}
20
+ addUserKnob {6 affectalpha l "Affect Alpha" +STARTLINE}
21
+ addUserKnob {20 DistortionGroup l Distortion n 1}
22
+ addUserKnob {7 distortion_amount l "Distortion Amount" R 0 100}
23
+ distortion_amount {25}
24
+ addUserKnob {7 DistortionScale l "Distortion Scale" R 0 200}
25
+ DistortionScale {15}
26
+ addUserKnob {20 endGroup n -1}
27
+ addUserKnob {20 HeatBlurGroup l "Heat Blur" n 1}
28
+ addUserKnob {7 HeatBlurAmount l "Heat Blur Amount" R 0 25}
29
+ HeatBlurAmount {15}
30
+ addUserKnob {7 HeatBlurScale l "Heat Blur Scale" R 0 100}
31
+ HeatBlurScale {30}
32
+ addUserKnob {7 overallblur l "Overall Blur" R 0 20}
33
+ overallblur {0}
34
+ addUserKnob {20 endGroup_1 l endGroup n -1}
35
+ addUserKnob {20 secondaryeffects l "Secondary Effects" n 1}
36
+ addUserKnob {7 gain l Gain R 0 2}
37
+ gain {1}
38
+ addUserKnob {7 chromatic l "Chromatic Ab" R 0 10}
39
+ chromatic {0}
40
+ addUserKnob {20 freezegroup l Freeze n 1}
41
+ freezegroup 0
42
+ addUserKnob {6 velocityoff l Freeze +STARTLINE}
43
+ addUserKnob {3 freezeframe l "Freeze Frame"}
44
+ addUserKnob {20 endGroup_3 l endGroup n -1}
45
+ addUserKnob {20 endGroup_2 l endGroup n -1}
46
+ addUserKnob {26 windtitle l "<b><span style=\"color:#fe6c3a;\">Wind"}
47
+ addUserKnob {7 windx l "Wind Direction X" R -10 10}
48
+ windx {0}
49
+ addUserKnob {7 windy l "Wind Direction Y" R -10 10}
50
+ windy {10}
51
+ addUserKnob {52 pythonscript l "Python Script" T "nuke.thisNode()\['knobChanged'].setValue('''\nif nuke.thisNode()\['disttype'].getValue() == 3:\n    nuke.thisNode()\['Vel'].setEnabled(False)\n    nuke.thisNode()\['DistortionScale'].setEnabled(False)\n    nuke.thisNode()\['HeatBlurScale'].setEnabled(False)\n    nuke.thisNode()\['windx'].setEnabled(False)\n    nuke.thisNode()\['windy'].setEnabled(False)\n    nuke.thisNode()\['tracktranslate'].setEnabled(False)\nelse:\n    nuke.thisNode()\['Vel'].setEnabled(True)\n    nuke.thisNode()\['DistortionScale'].setEnabled(True)\n    nuke.thisNode()\['HeatBlurScale'].setEnabled(True)\n    nuke.thisNode()\['windx'].setEnabled(True)\n    nuke.thisNode()\['windy'].setEnabled(True)\n    nuke.thisNode()\['tracktranslate'].setEnabled(True)\n''')" +STARTLINE}
52
+}
53
+ BackdropNode {
54
+  inputs 0
55
+  name BackdropNode1
56
+  tile_color 0xc68484ff
57
+  note_font_size 42
58
+  xpos 204
59
+  ypos 326
60
+  bdwidth 505
61
+  bdheight 249
62
+ }
63
+ BackdropNode {
64
+  inputs 0
65
+  name BackdropNode2
66
+  tile_color 0xd29e8eff
67
+  note_font_size 42
68
+  xpos 761
69
+  ypos 289
70
+  bdwidth 494
71
+  bdheight 461
72
+ }
73
+ BackdropNode {
74
+  inputs 0
75
+  name BackdropNode3
76
+  tile_color 0x9ac69aff
77
+  note_font_size 42
78
+  xpos 1319
79
+  ypos 295
80
+  bdwidth 457
81
+  bdheight 345
82
+ }
83
+ BackdropNode {
84
+  inputs 0
85
+  name BackdropNode4
86
+  tile_color 0xcc9ec9ff
87
+  note_font_size 42
88
+  xpos 1838
89
+  ypos 365
90
+  bdwidth 222
91
+  bdheight 220
92
+ }
93
+ Viewer {
94
+  inputs 0
95
+  frame 33
96
+  frame_range 1-100
97
+  colour_sample_bbox {0.03229166567 0.21875 0.03333333507 0.2197916657}
98
+  samplepoints {{0.03229166567 0.21875}
99
+    }
100
+  input_process false
101
+  name Viewer1
102
+  xpos -194
103
+  ypos 2103
104
+ }
105
+ Input {
106
+  inputs 0
107
+  name Source
108
+  xpos -195
109
+  ypos -45
110
+ }
111
+ Dot {
112
+  name Dot29
113
+  xpos -160
114
+  ypos 877
115
+ }
116
+set N1bb2dbc0 [stack 0]
117
+ Dot {
118
+  name Dot30
119
+  xpos -404
120
+  ypos 877
121
+ }
122
+ Dot {
123
+  name Dot28
124
+  xpos -403
125
+  ypos 1859
126
+ }
127
+ Input {
128
+  inputs 0
129
+  name Mask
130
+  xpos 346
131
+  ypos -40
132
+  number 1
133
+ }
134
+ Dot {
135
+  name Dot4
136
+  xpos 380
137
+  ypos 139
138
+ }
139
+set N8fb2ffe0 [stack 0]
140
+ Dot {
141
+  name Dot24
142
+  xpos 127
143
+  ypos 139
144
+ }
145
+ Dot {
146
+  name Dot25
147
+  xpos 128
148
+  ypos 1458
149
+ }
150
+push $N8fb2ffe0
151
+ Dot {
152
+  name Dot3
153
+  xpos 605
154
+  ypos 139
155
+ }
156
+set N8fb36fd0 [stack 0]
157
+ Dot {
158
+  name Dot5
159
+  xpos 796
160
+  ypos 139
161
+ }
162
+set N8fb39520 [stack 0]
163
+ Dot {
164
+  name Dot6
165
+  xpos 908
166
+  ypos 139
167
+ }
168
+set N8fb3ba70 [stack 0]
169
+ Dot {
170
+  name Dot12
171
+  xpos 1087
172
+  ypos 139
173
+ }
174
+set N8fb3dfc0 [stack 0]
175
+ Dot {
176
+  name Dot14
177
+  xpos 1199
178
+  ypos 139
179
+ }
180
+set N8fb40510 [stack 0]
181
+ Dot {
182
+  name Dot8
183
+  xpos 1329
184
+  ypos 139
185
+ }
186
+set N8fb42a70 [stack 0]
187
+ Dot {
188
+  name Dot10
189
+  xpos 1441
190
+  ypos 139
191
+ }
192
+set N8fb44fc0 [stack 0]
193
+ Dot {
194
+  name Dot15
195
+  xpos 1567
196
+  ypos 139
197
+ }
198
+set N8fb47510 [stack 0]
199
+ Dot {
200
+  name Dot17
201
+  xpos 1679
202
+  ypos 139
203
+ }
204
+set N8fb49a60 [stack 0]
205
+ Dot {
206
+  name Dot18
207
+  xpos 1847
208
+  ypos 139
209
+ }
210
+ Dot {
211
+  name Dot23
212
+  xpos 1848
213
+  ypos 449
214
+ }
215
+ Input {
216
+  inputs 0
217
+  name Custom
218
+  xpos 1969
219
+  ypos -67
220
+  number 2
221
+ }
222
+ Merge2 {
223
+  inputs 2
224
+  operation mask
225
+  name Merge1
226
+  xpos 1970
227
+  ypos 445
228
+  disable {{"! \[exists parent.input1]"}}
229
+ }
230
+set N8fb52fa0 [stack 0]
231
+ FrameHold {
232
+  first_frame {{parent.freezeframe}}
233
+  name FrameHold5
234
+  xpos 1869
235
+  ypos 503
236
+ }
237
+push $N8fb52fa0
238
+ Switch {
239
+  inputs 2
240
+  which {{parent.velocityoff}}
241
+  name Switch9
242
+  xpos 1970
243
+  ypos 555
244
+ }
245
+ Dot {
246
+  name Dot11
247
+  xpos 2004
248
+  ypos 927
249
+ }
250
+set N8fb60f70 [stack 0]
251
+ Grade {
252
+  channels alpha
253
+  blackpoint 0.095
254
+  whitepoint 0.88
255
+  white 4
256
+  black_clamp false
257
+  name Grade2
258
+  xpos 1970
259
+  ypos 1205
260
+ }
261
+ Dot {
262
+  name Dot36
263
+  xpos 677
264
+  ypos 1212
265
+ }
266
+push $N8fb47510
267
+ Dot {
268
+  name Dot16
269
+  xpos 1567
270
+  ypos 440
271
+ }
272
+push $N8fb49a60
273
+push 0
274
+ Noise {
275
+  inputs 1+1
276
+  cliptype none
277
+  type turbulence
278
+  size {{parent.HeatBlurScale-2}}
279
+  zoffset {{parent.Vel*frame}}
280
+  lacunarity 1.16
281
+  gain 0.8
282
+  gamma 0.355
283
+  translate {{parent.windx*frame+tracktranslate} {parent.windy*frame+tracktranslate}}
284
+  center {960 540}
285
+  name Noise9
286
+  xpos 1645
287
+  ypos 375
288
+ }
289
+ Noise {
290
+  inputs 1+1
291
+  cliptype none
292
+  size {{parent.HeatBlurScale+36}}
293
+  zoffset {{parent.Vel*frame}}
294
+  lacunarity 1
295
+  gain 0.336
296
+  gamma 0.285
297
+  translate {{parent.windx*frame+tracktranslate} {parent.windy*frame+tracktranslate}}
298
+  center {960 540}
299
+  name Noise10
300
+  xpos 1645
301
+  ypos 436
302
+ }
303
+set N8fb72c00 [stack 0]
304
+ FrameHold {
305
+  first_frame {{parent.freezeframe}}
306
+  name FrameHold9
307
+  xpos 1562
308
+  ypos 512
309
+ }
310
+push $N8fb72c00
311
+ Switch {
312
+  inputs 2
313
+  which {{parent.velocityoff}}
314
+  name Switch8
315
+  xpos 1646
316
+  ypos 582
317
+ }
318
+ Dot {
319
+  name Dot21
320
+  xpos 1680
321
+  ypos 1191
322
+ }
323
+ Dot {
324
+  name Dot35
325
+  xpos 679
326
+  ypos 1191
327
+ }
328
+push $N8fb3dfc0
329
+ Dot {
330
+  name Dot13
331
+  xpos 1087
332
+  ypos 436
333
+ }
334
+push $N8fb40510
335
+push 0
336
+ Noise {
337
+  inputs 1+1
338
+  cliptype none
339
+  size {{parent.HeatBlurScale-2}}
340
+  zoffset {{parent.Vel*frame}}
341
+  lacunarity 1.34
342
+  gain 0.695
343
+  gamma 0.42
344
+  translate {{parent.windx*frame+tracktranslate} {parent.windy*frame+tracktranslate}}
345
+  center {960 540}
346
+  name Noise7
347
+  xpos 1165
348
+  ypos 370
349
+ }
350
+ Noise {
351
+  inputs 1+1
352
+  cliptype none
353
+  type turbulence
354
+  size {{parent.HeatBlurScale+90}}
355
+  zoffset {{parent.Vel*frame}}
356
+  lacunarity 1
357
+  gain 0.256
358
+  gamma 0.89
359
+  translate {{parent.windx*frame+tracktranslate} {parent.windy*frame+tracktranslate}}
360
+  center {960 540}
361
+  name Noise8
362
+  xpos 1165
363
+  ypos 432
364
+ }
365
+ IDistort {
366
+  uv alpha
367
+  uv_scale 32.5
368
+  blur_scale 0
369
+  name IDistort3
370
+  xpos 1165
371
+  ypos 512
372
+ }
373
+set N8fb95a70 [stack 0]
374
+ FrameHold {
375
+  first_frame {{parent.freezeframe}}
376
+  name FrameHold3
377
+  xpos 1062
378
+  ypos 555
379
+ }
380
+push $N8fb95a70
381
+ Switch {
382
+  inputs 2
383
+  which {{parent.velocityoff}}
384
+  name Switch6
385
+  xpos 1165
386
+  ypos 605
387
+ }
388
+ Grade {
389
+  channels alpha
390
+  blackpoint 0.095
391
+  whitepoint 0.88
392
+  white 4
393
+  black_clamp false
394
+  name Grade1
395
+  xpos 1165
396
+  ypos 708
397
+ }
398
+ Dot {
399
+  name Dot22
400
+  xpos 1199
401
+  ypos 1169
402
+ }
403
+ Dot {
404
+  name Dot34
405
+  xpos 677
406
+  ypos 1169
407
+ }
408
+push $N8fb36fd0
409
+push 0
410
+ Noise {
411
+  inputs 1+1
412
+  size {{parent.HeatBlurScale+20}}
413
+  zoffset {{parent.Vel*frame}}
414
+  lacunarity 1
415
+  gain 0.694
416
+  gamma 0.227
417
+  translate {{parent.windx*frame+tracktranslate} {parent.windy*frame+tracktranslate}}
418
+  center {960 540}
419
+  name Noise2
420
+  xpos 571
421
+  ypos 402
422
+ }
423
+set N8fbaaa30 [stack 0]
424
+ FrameHold {
425
+  first_frame {{parent.freezeframe}}
426
+  name FrameHold8
427
+  xpos 474
428
+  ypos 435
429
+ }
430
+push $N8fbaaa30
431
+ Switch {
432
+  inputs 2
433
+  which {{parent.velocityoff}}
434
+  name Switch2
435
+  xpos 571
436
+  ypos 478
437
+ }
438
+ Switch {
439
+  inputs 4
440
+  which {{parent.disttype}}
441
+  name Switch4
442
+  xpos 572
443
+  ypos 1188
444
+ }
445
+ Dot {
446
+  name Dot1
447
+  xpos 606
448
+  ypos 1272
449
+ }
450
+set N8fbbdd20 [stack 0]
451
+ Dot {
452
+  name Dot40
453
+  xpos 606
454
+  ypos 1298
455
+ }
456
+set N92dae250 [stack 0]
457
+ Dot {
458
+  name Dot38
459
+  xpos -142
460
+  ypos 1298
461
+ }
462
+push $N8fb60f70
463
+ Dot {
464
+  name Dot33
465
+  xpos 450
466
+  ypos 927
467
+ }
468
+push $N8fb42a70
469
+ Dot {
470
+  name Dot9
471
+  xpos 1329
472
+  ypos 440
473
+ }
474
+push $N8fb44fc0
475
+push 0
476
+ Noise {
477
+  inputs 1+1
478
+  cliptype none
479
+  type turbulence
480
+  size {{parent.DistortionScale+13}}
481
+  zoffset {{parent.Vel*frame}}
482
+  lacunarity 1.16
483
+  gain 0.8
484
+  gamma 0.355
485
+  translate {{parent.windx*frame+tracktranslate} {parent.windy*frame+tracktranslate}}
486
+  center {960 540}
487
+  name Noise5
488
+  xpos 1407
489
+  ypos 375
490
+ }
491
+ Noise {
492
+  inputs 1+1
493
+  cliptype none
494
+  size {{parent.DistortionScale+51}}
495
+  zoffset {{parent.Vel*frame}}
496
+  lacunarity 1
497
+  gain 0.336
498
+  gamma 0.285
499
+  translate {{parent.windx*frame+tracktranslate} {parent.windy*frame+tracktranslate}}
500
+  center {960 540}
501
+  name Noise6
502
+  xpos 1407
503
+  ypos 436
504
+ }
505
+set N8fbc9f00 [stack 0]
506
+ FrameHold {
507
+  first_frame {{parent.freezeframe}}
508
+  name FrameHold4
509
+  xpos 1332
510
+  ypos 508
511
+ }
512
+push $N8fbc9f00
513
+ Switch {
514
+  inputs 2
515
+  which {{parent.velocityoff}}
516
+  name Switch7
517
+  xpos 1407
518
+  ypos 588
519
+ }
520
+ Dot {
521
+  name Dot20
522
+  xpos 1441
523
+  ypos 905
524
+ }
525
+ Dot {
526
+  name Dot32
527
+  xpos 452
528
+  ypos 905
529
+ }
530
+push $N8fb39520
531
+ Dot {
532
+  name Dot7
533
+  xpos 796
534
+  ypos 436
535
+ }
536
+push $N8fb3ba70
537
+push 0
538
+ Noise {
539
+  inputs 1+1
540
+  cliptype none
541
+  size {{parent.DistortionScale+13}}
542
+  zoffset {{parent.Vel*frame}}
543
+  lacunarity 1.34
544
+  gain 0.695
545
+  gamma 0.42
546
+  translate {{parent.windx*frame+tracktranslate} {parent.windy*frame+tracktranslate}}
547
+  center {960 540}
548
+  name Noise4
549
+  xpos 874
550
+  ypos 367
551
+ }
552
+ Noise {
553
+  inputs 1+1
554
+  cliptype none
555
+  type turbulence
556
+  size {{parent.DistortionScale+105}}
557
+  zoffset {{parent.Vel*frame}}
558
+  lacunarity 1
559
+  gain 0.256
560
+  gamma 0.89
561
+  translate {{parent.windx*frame+tracktranslate} {parent.windy*frame+tracktranslate}}
562
+  center {960 540}
563
+  name Noise3
564
+  xpos 874
565
+  ypos 432
566
+ }
567
+ IDistort {
568
+  uv alpha
569
+  uv_scale 32.5
570
+  blur_scale 0
571
+  name IDistort2
572
+  xpos 874
573
+  ypos 512
574
+ }
575
+set N8fbecc90 [stack 0]
576
+ FrameHold {
577
+  first_frame {{parent.freezeframe}}
578
+  name FrameHold2
579
+  xpos 771
580
+  ypos 555
581
+ }
582
+push $N8fbecc90
583
+ Switch {
584
+  inputs 2
585
+  which {{parent.velocityoff}}
586
+  name Switch5
587
+  xpos 874
588
+  ypos 605
589
+ }
590
+ Dot {
591
+  name Dot19
592
+  xpos 908
593
+  ypos 883
594
+ }
595
+ Dot {
596
+  name Dot31
597
+  xpos 449
598
+  ypos 883
599
+ }
600
+push $N8fb2ffe0
601
+push 0
602
+ Noise {
603
+  inputs 1+1
604
+  size {{parent.DistortionScale+6}}
605
+  zoffset {{parent.Vel*frame}}
606
+  lacunarity 1.335
607
+  gain 0.333
608
+  gamma 0.34
609
+  translate {{parent.windx*frame+tracktranslate} {parent.windy*frame+tracktranslate}}
610
+  center {960 540}
611
+  name Noise1
612
+  xpos 346
613
+  ypos 403
614
+ }
615
+set N8fbf9770 [stack 0]
616
+ FrameHold {
617
+  first_frame {{parent.freezeframe}}
618
+  name FrameHold1
619
+  xpos 231
620
+  ypos 434
621
+ }
622
+push $N8fbf9770
623
+ Switch {
624
+  inputs 2
625
+  which {{parent.velocityoff}}
626
+  name Switch1
627
+  xpos 346
628
+  ypos 477
629
+ }
630
+ Switch {
631
+  inputs 4
632
+  which {{parent.disttype}}
633
+  name Switch3
634
+  xpos 347
635
+  ypos 902
636
+ }
637
+ Dot {
638
+  name Dot2
639
+  xpos 381
640
+  ypos 974
641
+ }
642
+set N92d12e10 [stack 0]
643
+ Dot {
644
+  name Dot27
645
+  xpos 381
646
+  ypos 1082
647
+ }
648
+push $N92d12e10
649
+push $N1bb2dbc0
650
+add_layer {idistort idistort.x idistort.y}
651
+ Copy {
652
+  inputs 2
653
+  from0 rgba.alpha
654
+  to0 idistort.x
655
+  from1 rgba.alpha
656
+  to1 idistort.y
657
+  name Copy1
658
+  xpos -194
659
+  ypos 962
660
+ }
661
+ Grade {
662
+  inputs 1+1
663
+  white {{parent.gain}}
664
+  black_clamp false
665
+  name Grade3
666
+  knobChanged "\nif nuke.thisNode()\['white'].getValue() == 1:\n    nuke.thisNode()\['disable'].getValue() == 1\nelse:\n    nuke.thisNode()\['disable'].getValue() == 0\n"
667
+  xpos -194
668
+  ypos 1078
669
+ }
670
+ Dot {
671
+  name Dot26
672
+  xpos -160
673
+  ypos 1155
674
+ }
675
+set N92d24f00 [stack 0]
676
+ Remove {
677
+  channels {rgba.red -rgba.green rgba.blue none}
678
+  name Remove4
679
+  xpos -194
680
+  ypos 1224
681
+ }
682
+ Blur {
683
+  inputs 1+1
684
+  size {{parent.HeatBlurAmount+(chromatic*1.3)}}
685
+  name Blur4
686
+  xpos -194
687
+  ypos 1316
688
+ }
689
+push 0
690
+push $N8fbbdd20
691
+ Dot {
692
+  name Dot39
693
+  xpos -268
694
+  ypos 1272
695
+ }
696
+push $N92d24f00
697
+ Remove {
698
+  channels {-rgba.red rgba.green rgba.blue none}
699
+  name Remove6
700
+  xpos -328
701
+  ypos 1227
702
+ }
703
+ Blur {
704
+  inputs 1+1
705
+  size {{parent.HeatBlurAmount+(chromatic*1.2)}}
706
+  name Blur3
707
+  xpos -328
708
+  ypos 1316
709
+ }
710
+push $N92dae250
711
+ Dot {
712
+  name Dot37
713
+  xpos 606
714
+  ypos 1323
715
+ }
716
+push $N92d24f00
717
+ Remove {
718
+  channels {rgba.red rgba.green -rgba.blue none}
719
+  name Remove5
720
+  xpos -74
721
+  ypos 1232
722
+ }
723
+ Blur {
724
+  inputs 1+1
725
+  size {{parent.HeatBlurAmount+(chromatic*1.4)}}
726
+  name Blur5
727
+  xpos -74
728
+  ypos 1316
729
+ }
730
+ Merge2 {
731
+  inputs 3+1
732
+  operation max
733
+  name Merge3
734
+  xpos -194
735
+  ypos 1382
736
+ }
737
+ Blur {
738
+  inputs 1+1
739
+  size {{parent.overallblur}}
740
+  name Blur2
741
+  xpos -194
742
+  ypos 1451
743
+ }
744
+set N92d49750 [stack 0]
745
+ Remove {
746
+  channels {rgba.red -rgba.green rgba.blue none}
747
+  name Remove3
748
+  xpos -194
749
+  ypos 1565
750
+ }
751
+ IDistort {
752
+  uv idistort
753
+  uv_scale {{parent.distortion_amount+(chromatic*3) 0}}
754
+  blur_scale 3
755
+  name IDistort7
756
+  xpos -194
757
+  ypos 1637
758
+ }
759
+push 0
760
+push $N92d49750
761
+ Remove {
762
+  channels {-rgba.red rgba.green rgba.blue none}
763
+  name Remove1
764
+  xpos -318
765
+  ypos 1563
766
+ }
767
+ IDistort {
768
+  uv idistort
769
+  uv_scale {{parent.distortion_amount+(chromatic*2) 0}}
770
+  blur_scale 3
771
+  name IDistort9
772
+  xpos -318
773
+  ypos 1637
774
+ }
775
+push $N92d49750
776
+ Remove {
777
+  channels {rgba.red rgba.green -rgba.blue none}
778
+  name Remove2
779
+  xpos -77
780
+  ypos 1563
781
+ }
782
+ IDistort {
783
+  uv idistort
784
+  uv_scale {{parent.distortion_amount+(chromatic*4) 0}}
785
+  blur_scale 3
786
+  name IDistort8
787
+  xpos -77
788
+  ypos 1637
789
+ }
790
+ Merge2 {
791
+  inputs 3+1
792
+  operation max
793
+  name Merge2
794
+  xpos -194
795
+  ypos 1753
796
+ }
797
+ ShuffleCopy {
798
+  inputs 2
799
+  in alpha
800
+  red red
801
+  out alpha
802
+  name ShuffleCopy1
803
+  xpos -194
804
+  ypos 1856
805
+  disable {{parent.affectalpha}}
806
+ }
807
+ Remove {
808
+  channels idistort
809
+  name Remove7
810
+  xpos -194
811
+  ypos 1946
812
+ }
813
+ Output {
814
+  name Output1
815
+  xpos -194
816
+  ypos 2028
817
+ }
818
+end_group

+ 238
- 0
gizmos/TX_Bloom.gizmo ファイルの表示

@@ -0,0 +1,238 @@
1
+#! /Applications/Nuke8.0v2/Nuke8.0v2.app/Contents/MacOS/libnuke-8.0.v2.dylib -nx
2
+version 8.0 v2
3
+Group {
4
+ name TX_Bloom
5
+ inputs 2
6
+ knobChanged "\nthisNode = nuke.thisNode()\nthisKnob = nuke.thisKnob()\n\n\nif thisKnob.name() == 'quality' :\n    \n    quality = int(thisNode\['quality'].value())\n    \n    thisNode.begin()\n    dotIN = nuke.toNode('Dot_IN')\n    dotOUT = nuke.toNode('Dot_OUT')\n    merge = nuke.toNode('Merge_master')\n    Xpos = nuke.toNode('Blur_master').xpos()\n    Ypos = nuke.toNode('Blur_master').ypos()\n    \n    for n in nuke.allNodes('Blur'):\n        if n.name() not in \['Blur_original', 'Blur_master']:\n            nuke.delete(n)\n    \n    nuke.delete(merge)\n    merge = nuke.nodes.Merge2(xpos = Xpos,\n                                                ypos = Ypos+250)\n    merge.setName('Merge_master')\n    merge\['operation'].setValue('plus')\n    merge.setInput(0, nuke.toNode('Blur_master'))\n    merge\['Achannels'].setExpression('parent.Blur_master.channels')\n    merge\['Bchannels'].setExpression('parent.Blur_master.channels')\n    merge\['output'].setExpression('parent.Blur_master.channels')\n    dotOUT.setInput(0,merge)\n    \n    \n    for n in range(quality):\n        blur=nuke.nodes.Blur(xpos = Xpos-(n+1)*100,\n                                        ypos= Ypos)\n        blur.setName('Blur_'+str(n+1))\n        blur\['channels'].setExpression('parent.Blur_master.channels')\n        blur\['size'].setValue(\[0,0])\n        blur\['size'].setExpression('parent.type == 0 ? parent.size*scaling*2*int(\[string range \[value name] 5 end]) : parent.size*scaling*pow(2,int(\[string range \[value name] 5 end])) ')\n        blur\['crop'].setExpression('parent.crop')\n        blur.setInput(0,dotIN)\n        if n==0:\n            merge.setInput(n+1,blur)\n        else :\n            merge.setInput(n+2,blur)\n"
7
+ tile_color 0xcc804eff
8
+ addUserKnob {20 User l Settings}
9
+ addUserKnob {41 channels T Blur_master.channels}
10
+ addUserKnob {14 size R 0 100}
11
+ size 1
12
+ addUserKnob {7 scaling}
13
+ scaling 1
14
+ addUserKnob {4 type M {linear exponential}}
15
+ type exponential
16
+ addUserKnob {3 quality l "" -STARTLINE}
17
+ quality 5
18
+ addUserKnob {6 crop l "crop to format" -STARTLINE}
19
+ crop true
20
+ addUserKnob {7 softenOrig l "soften original" R 0 100}
21
+ addUserKnob {6 ontop l "add on top " -STARTLINE}
22
+ addUserKnob {26 dummy1 l "" +STARTLINE T " "}
23
+ addUserKnob {4 mask M {none alpha "RGB luminance" ""}}
24
+ addUserKnob {6 maskInvert l invert -STARTLINE}
25
+ addUserKnob {3 maskInputTest l INVISIBLE -STARTLINE +INVISIBLE}
26
+ maskInputTest {{"\[python -execlocal n\\ =\\ nuke.thisNode()\\nif\\ n.input(1)\\ ==\\ None\\ :\\n\\ \\ \\ \\ ret\\ =\\ 1\\nelse\\ :\\n\\ \\ \\ \\ ret\\ =\\ 0]"}}
27
+ addUserKnob {26 dummy2 l "" +STARTLINE T " "}
28
+ addUserKnob {41 white l gain T Grade.white}
29
+ addUserKnob {41 gamma T Grade.gamma}
30
+ addUserKnob {26 "" +STARTLINE}
31
+ addUserKnob {26 credits l "" +STARTLINE T "TX_Bloom v1.0   -    Tomas Lefebvre (c)\n"}
32
+}
33
+ Input {
34
+  inputs 0
35
+  name Input
36
+  xpos -250
37
+  ypos -444
38
+ }
39
+ Dot {
40
+  name Dot4
41
+  xpos -216
42
+  ypos -385
43
+ }
44
+set N1d639150 [stack 0]
45
+ Shuffle {
46
+  red black
47
+  green black
48
+  blue black
49
+  alpha black
50
+  name Shuffle2
51
+  xpos -106
52
+  ypos -389
53
+ }
54
+ Input {
55
+  inputs 0
56
+  name Mask
57
+  xpos 113
58
+  ypos -419
59
+  number 1
60
+  addUserKnob {20 User}
61
+ }
62
+ Switch {
63
+  inputs 2
64
+  which {{parent.maskInputTest i}}
65
+  name Switch_test
66
+  xpos 113
67
+  ypos -389
68
+ }
69
+ Dot {
70
+  name Dot3
71
+  xpos 147
72
+  ypos -316
73
+ }
74
+set N17c501a0 [stack 0]
75
+ Colorspace {
76
+  colorspace_out CIE-Lab
77
+  name Colorspace1
78
+  xpos 113
79
+  ypos -272
80
+ }
81
+ Shuffle {
82
+  green red
83
+  blue red
84
+  alpha red
85
+  name Shuffle1
86
+  xpos 113
87
+  ypos -246
88
+ }
89
+push $N17c501a0
90
+ Clamp {
91
+  name Clamp1
92
+  xpos -13
93
+  ypos -326
94
+ }
95
+ Switch {
96
+  inputs 2
97
+  which {{"parent.mask == 2 ? 1 : 0" i}}
98
+  name Switch_mask
99
+  xpos -13
100
+  ypos -246
101
+ }
102
+push $N1d639150
103
+ Multiply {
104
+  inputs 1+1
105
+  channels {{{parent.Blur_master.channels}}}
106
+  value 0
107
+  invert_mask {{parent.maskInvert i}}
108
+  name Multiply_mask
109
+  xpos -250
110
+  ypos -246
111
+  disable {{parent.mask==0?1:0 i x1001 1}}
112
+ }
113
+ Dot {
114
+  name Dot_IN
115
+  xpos -216
116
+  ypos -182
117
+ }
118
+set N2db560 [stack 0]
119
+ Blur {
120
+  channels {{{parent.Blur_master.channels}}}
121
+  size {{"parent.type == 0 ? parent.size*scaling*2*int(\[string range \[value name] 5 end]) : parent.size*scaling*pow(2,int(\[string range \[value name] 5 end])) "} {"parent.type == 0 ? parent.size*scaling*2*int(\[string range \[value name] 5 end]) : parent.size*scaling*pow(2,int(\[string range \[value name] 5 end])) "}}
122
+  crop {{parent.crop}}
123
+  name Blur_5
124
+  xpos -750
125
+  ypos 44
126
+ }
127
+push $N2db560
128
+ Blur {
129
+  channels {{{parent.Blur_master.channels}}}
130
+  size {{"parent.type == 0 ? parent.size*scaling*2*int(\[string range \[value name] 5 end]) : parent.size*scaling*pow(2,int(\[string range \[value name] 5 end])) "} {"parent.type == 0 ? parent.size*scaling*2*int(\[string range \[value name] 5 end]) : parent.size*scaling*pow(2,int(\[string range \[value name] 5 end])) "}}
131
+  crop {{parent.crop}}
132
+  name Blur_4
133
+  xpos -650
134
+  ypos 44
135
+ }
136
+push $N2db560
137
+ Blur {
138
+  channels {{{parent.Blur_master.channels}}}
139
+  size {{"parent.type == 0 ? parent.size*scaling*2*int(\[string range \[value name] 5 end]) : parent.size*scaling*pow(2,int(\[string range \[value name] 5 end])) "} {"parent.type == 0 ? parent.size*scaling*2*int(\[string range \[value name] 5 end]) : parent.size*scaling*pow(2,int(\[string range \[value name] 5 end])) "}}
140
+  crop {{parent.crop}}
141
+  name Blur_3
142
+  xpos -550
143
+  ypos 44
144
+ }
145
+push $N2db560
146
+ Blur {
147
+  channels {{{parent.Blur_master.channels}}}
148
+  size {{"parent.type == 0 ? parent.size*scaling*2*int(\[string range \[value name] 5 end]) : parent.size*scaling*pow(2,int(\[string range \[value name] 5 end])) "} {"parent.type == 0 ? parent.size*scaling*2*int(\[string range \[value name] 5 end]) : parent.size*scaling*pow(2,int(\[string range \[value name] 5 end])) "}}
149
+  crop {{parent.crop}}
150
+  name Blur_2
151
+  xpos -450
152
+  ypos 44
153
+ }
154
+push 0
155
+push $N2db560
156
+ Blur {
157
+  channels {{{parent.Blur_master.channels}}}
158
+  size {{"parent.type == 0 ? parent.size*scaling*2*int(\[string range \[value name] 5 end]) : parent.size*scaling*pow(2,int(\[string range \[value name] 5 end])) "} {"parent.type == 0 ? parent.size*scaling*2*int(\[string range \[value name] 5 end]) : parent.size*scaling*pow(2,int(\[string range \[value name] 5 end])) "}}
159
+  crop {{parent.crop}}
160
+  name Blur_1
161
+  xpos -350
162
+  ypos 44
163
+ }
164
+push $N2db560
165
+ Blur {
166
+  channels rgba
167
+  size {{parent.size i} {parent.size i}}
168
+  crop {{parent.crop i}}
169
+  name Blur_master
170
+  xpos -250
171
+  ypos 44
172
+ }
173
+ Merge2 {
174
+  inputs 6+1
175
+  operation plus
176
+  Achannels {{{parent.Blur_master.channels}}}
177
+  Bchannels {{{parent.Blur_master.channels}}}
178
+  output {{{parent.Blur_master.channels}}}
179
+  name Merge_master
180
+  xpos -250
181
+  ypos 294
182
+ }
183
+ Dot {
184
+  name Dot_OUT
185
+  xpos -216
186
+  ypos 389
187
+ }
188
+set N1d640bb0 [stack 0]
189
+push $N2db560
190
+ Dot {
191
+  name Dot2
192
+  xpos -30
193
+  ypos -182
194
+ }
195
+ Blur {
196
+  channels {{{parent.Blur_master.channels}}}
197
+  size {{parent.softenOrig i}}
198
+  crop {{parent.crop i}}
199
+  name Blur_original
200
+  xpos -57
201
+  ypos 307
202
+ }
203
+ Merge2 {
204
+  inputs 2
205
+  operation plus
206
+  Achannels {{{parent.Blur_master.channels}}}
207
+  Bchannels {{{parent.Blur_master.channels}}}
208
+  output {{{parent.Blur_master.channels}}}
209
+  name Merge2
210
+  xpos -57
211
+  ypos 379
212
+ }
213
+ Dot {
214
+  name Dot1
215
+  xpos -23
216
+  ypos 472
217
+ }
218
+push $N1d640bb0
219
+ Switch {
220
+  inputs 2
221
+  which {{parent.ontop i}}
222
+  name Switch1
223
+  xpos -250
224
+  ypos 468
225
+ }
226
+ Grade {
227
+  channels {{{parent.Blur_master.channels}}}
228
+  black_clamp false
229
+  name Grade
230
+  xpos -250
231
+  ypos 544
232
+ }
233
+ Output {
234
+  name Output1
235
+  xpos -250
236
+  ypos 620
237
+ }
238
+end_group

+ 1883
- 0
gizmos/TX_Fog.gizmo
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 360
- 0
gizmos/Wipe.gizmo ファイルの表示

@@ -0,0 +1,360 @@
1
+#! /Applications/Nuke7.0v2/NukeX7.0v2.app/../Nuke7.0v2.app/Contents/MacOS/Nuke7.0v2 -nx
2
+version 7.0 v2
3
+Gizmo {
4
+ inputs 0
5
+ knobChanged "\nn = nuke.thisNode()\nk = nuke.thisKnob()\nif k.name() == 'output':\n    subKnobs = \{\n    'Linear':\['angle'],\n    'Concentric':\['aspect'],\n    'Clock':\['fields', 'start'],\n    'Angle':\['fields2'],\n    'Spiral':\['slices', 'rotation'],\n    'Blinds':\['align', 'fields3'],\n    'Curtains':\[],\n    'Streaks': \['align2', 'fields_streaks'],\n    'Bulls Eye': \['fields_bull'],\n    'Random': \['fields_rnd', 'seed']\n    \}\n\n    for skList in subKnobs.itervalues():\n        for sk in skList:\n            n\[sk].setVisible( sk in subKnobs\[k.value()] )\n                \n\n"
6
+ postage_stamp true
7
+ addUserKnob {20 User}
8
+ addUserKnob {41 format T Constant1.format}
9
+ addUserKnob {26 ""}
10
+ addUserKnob {7 wipe R 0 2}
11
+ wipe 0.5
12
+ addUserKnob {6 flip -STARTLINE}
13
+ addUserKnob {6 flop -STARTLINE}
14
+ addUserKnob {7 feather}
15
+ addUserKnob {7 falloff R 0 2}
16
+ falloff 1
17
+ addUserKnob {26 ""}
18
+ addUserKnob {4 output -STARTLINE M {Linear Concentric Clock Angle Spiral Curtains Blinds Streaks "Bulls Eye" Random ""}}
19
+ addUserKnob {7 angle R 0 360}
20
+ angle 45
21
+ addUserKnob {7 aspect +HIDDEN R 0.5 2}
22
+ aspect 1
23
+ addUserKnob {3 fields +HIDDEN}
24
+ fields 2
25
+ addUserKnob {7 start +HIDDEN}
26
+ addUserKnob {3 fields2 l fields +HIDDEN}
27
+ fields2 4
28
+ addUserKnob {7 slices l pitch +HIDDEN R 0 10}
29
+ slices 5
30
+ addUserKnob {7 rotation +HIDDEN}
31
+ addUserKnob {4 align l "" -STARTLINE +HIDDEN M {vertical horizontal}}
32
+ align horizontal
33
+ addUserKnob {3 fields3 l fileds +HIDDEN}
34
+ fields3 4
35
+ addUserKnob {4 align2 l align +HIDDEN M {vertical horizontal}}
36
+ align2 horizontal
37
+ addUserKnob {3 fields_streaks l fields +HIDDEN}
38
+ fields_streaks 7
39
+ addUserKnob {3 fields_bull l fields +HIDDEN}
40
+ fields_bull 7
41
+ addUserKnob {3 fields_rnd l fields +HIDDEN}
42
+ fields_rnd 10
43
+ addUserKnob {3 seed +HIDDEN}
44
+ seed 999999
45
+}
46
+ Constant {
47
+  inputs 0
48
+  channels rgb
49
+  name Constant1
50
+  xpos 93
51
+  ypos -505
52
+ }
53
+set N1935bb80 [stack 0]
54
+ Expression {
55
+  temp_name0 xStripes
56
+  temp_expr0 " random(floor(x/width*parent.fields_rnd)/(parent.fields_rnd-1)*77,parent.seed)"
57
+  temp_name1 yStripes
58
+  temp_expr1 " random(floor(y/width*parent.fields_rnd)/(parent.fields_rnd-1)*77,parent.seed)"
59
+  channel0 {rgba.red -rgba.green -rgba.blue -rgba.alpha}
60
+  expr0 (xStripes*yStripes)
61
+  expr1 (xStripes*yStripes)
62
+  expr2 (xStripes*yStripes)
63
+  expr3 (xStripes*yStripes)
64
+  name Random
65
+  xpos 859
66
+  ypos -309
67
+ }
68
+set N193618d0 [stack 0]
69
+push $N193618d0
70
+push $N193618d0
71
+ Dilate {
72
+  size {{width}}
73
+  name Dilate1
74
+  xpos 992
75
+  ypos -316
76
+ }
77
+ CopyBBox {
78
+  inputs 2
79
+  name CopyBBox1
80
+  xpos 992
81
+  ypos -238
82
+ }
83
+ Merge2 {
84
+  inputs 2
85
+  operation divide
86
+  name Merge1
87
+  xpos 859
88
+  ypos -238
89
+ }
90
+ Grade {
91
+  channels rgba
92
+  blackpoint {{parent.wipe}}
93
+  whitepoint {{this.blackpoint.r-.00001-parent.feather}}
94
+  gamma {{parent.falloff}}
95
+  white_clamp true
96
+  name Grade10
97
+  xpos 859
98
+  ypos -200
99
+ }
100
+push $N1935bb80
101
+ Expression {
102
+  temp_name1 D
103
+  temp_expr1 sqrt(pow(2*(x-width/2)/width,2)+pow(2*(y-height/2)/width,2))
104
+  channel0 {rgba.red -rgba.green -rgba.blue -rgba.alpha}
105
+  expr0 "D%(1/(parent.fields_bull-1)) * (parent.fields_bull-1)"
106
+  expr1 "D%(1/(parent.fields_bull-1)) * (parent.fields_bull-1)"
107
+  expr2 "D%(1/(parent.fields_bull-1)) * (parent.fields_bull-1)"
108
+  expr3 "D%(1/(parent.fields_bull-1)) * (parent.fields_bull-1)"
109
+  name BullsEye
110
+  xpos 732
111
+  ypos -272
112
+ }
113
+ Grade {
114
+  channels rgba
115
+  blackpoint {{parent.wipe}}
116
+  whitepoint {{this.blackpoint.r-.00001-parent.feather}}
117
+  gamma {{parent.falloff}}
118
+  white_clamp true
119
+  name Grade9
120
+  xpos 732
121
+  ypos -234
122
+ }
123
+push $N1935bb80
124
+ Expression {
125
+  temp_name0 fieldH
126
+  temp_expr0 rint((cos(pi/2+x*pi*parent.fields_streaks/width)+1)/2)
127
+  temp_name1 fieldW
128
+  temp_expr1 rint((cos(pi/2+y*pi*parent.fields_streaks/height)+1)/2)
129
+  temp_name2 field
130
+  temp_expr2 parent.align2?fieldW:fieldH
131
+  temp_name3 grad
132
+  temp_expr3 parent.align2?x/width:y/height
133
+  channel0 {rgba.red -rgba.green -rgba.blue -rgba.alpha}
134
+  expr0 abs(grad-field)
135
+  expr1 abs(grad-field)
136
+  expr2 abs(grad-field)
137
+  expr3 abs(grad-field)
138
+  name Streaks
139
+  xpos 599
140
+  ypos -277
141
+ }
142
+ Grade {
143
+  channels rgba
144
+  blackpoint {{parent.wipe}}
145
+  whitepoint {{this.blackpoint.r-.00001-parent.feather}}
146
+  gamma {{parent.falloff}}
147
+  white_clamp true
148
+  name Grade8
149
+  xpos 599
150
+  ypos -239
151
+ }
152
+push $N1935bb80
153
+ Expression {
154
+  temp_name0 fieldW
155
+  temp_expr0 width/parent.fields3
156
+  temp_name1 fieldH
157
+  temp_expr1 height/parent.fields3
158
+  temp_name2 fieldsX
159
+  temp_expr2 (x%fieldW)/(fieldW-1)
160
+  temp_name3 fieldsY
161
+  temp_expr3 (y%fieldH)/(fieldH-1)
162
+  channel0 {rgba.red -rgba.green -rgba.blue -rgba.alpha}
163
+  expr0 parent.align?fieldsY:fieldsX
164
+  expr1 parent.align?fieldsY:fieldsX
165
+  expr2 parent.align?fieldsY:fieldsX
166
+  expr3 parent.align?fieldsY:fieldsX
167
+  name Blinds
168
+  xpos 405
169
+  ypos -284
170
+ }
171
+ Grade {
172
+  channels rgba
173
+  blackpoint {{parent.wipe}}
174
+  whitepoint {{this.blackpoint.r-.00001-parent.feather}}
175
+  gamma {{parent.falloff}}
176
+  white_clamp true
177
+  name Grade7
178
+  xpos 405
179
+  ypos -246
180
+ }
181
+push $N1935bb80
182
+ Expression {
183
+  temp_name1 Dx
184
+  temp_expr1 "(x-width/2) / (height/2) "
185
+  temp_name2 Dy
186
+  temp_expr2 "(y-height/2) / (height/2) * aspect"
187
+  channel0 {rgba.red -rgba.green -rgba.blue -rgba.alpha}
188
+  expr0 parent.wipe==1?1:(abs(Dx)*abs(Dy))
189
+  expr1 parent.wipe==1?1:(abs(Dx)*abs(Dy))
190
+  expr2 parent.wipe==1?1:(abs(Dx)*abs(Dy))
191
+  expr3 parent.wipe==1?1:(abs(Dx)*abs(Dy))
192
+  name Curtains
193
+  label "\n"
194
+  xpos 256
195
+  ypos -288
196
+ }
197
+ Grade {
198
+  channels rgba
199
+  blackpoint {{parent.wipe*1.8}}
200
+  whitepoint {{this.blackpoint.r-.00001-parent.feather}}
201
+  gamma {{parent.falloff}}
202
+  white_clamp true
203
+  name Grade6
204
+  xpos 256
205
+  ypos -250
206
+ }
207
+push $N1935bb80
208
+ Expression {
209
+  temp_name0 dist
210
+  temp_expr0 sqrt(pow(x-width/2,2)+pow(y-height/2,2))
211
+  temp_name2 pos
212
+  temp_expr2 "(((((degrees(atan2((x-width/2),(y-height/2)))+180)/360) + ( dist / width * parent.slices )   )%1) + parent.rotation+1) % 1"
213
+  temp_name3 neg
214
+  temp_expr3 "((1-(((degrees(-atan2((x-width/2),(y-height/2)))+180)/360) + ( dist / width * -parent.slices )  )%1) + parent.rotation + 1) %1"
215
+  channel0 {rgba.red -rgba.green -rgba.blue -rgba.alpha}
216
+  expr0 parent.slices<0?neg:pos
217
+  expr1 parent.slices<0?neg:pos
218
+  expr2 parent.slices<0?neg:pos
219
+  expr3 parent.slices<0?neg:pos
220
+  name Spiral
221
+  xpos 136
222
+  ypos -281
223
+ }
224
+ Grade {
225
+  channels rgba
226
+  blackpoint {{parent.wipe}}
227
+  whitepoint {{this.blackpoint.r-.00001-parent.feather}}
228
+  gamma {{parent.falloff}}
229
+  white_clamp true
230
+  name Grade5
231
+  xpos 136
232
+  ypos -243
233
+ }
234
+push $N1935bb80
235
+ Expression {
236
+  temp_name0 angle
237
+  temp_expr0 (abs((atan2(x-width/2,y-height/2))))
238
+  channel0 {rgba.red -rgba.green -rgba.blue -rgba.alpha}
239
+  expr0 parent.fields2==1?angle/pi:abs(sin(angle*(parent.fields2-1)))
240
+  expr1 parent.fields2==1?angle/pi:abs(sin(angle*(parent.fields2-1)))
241
+  expr2 parent.fields2==1?angle/pi:abs(sin(angle*(parent.fields2-1)))
242
+  expr3 parent.fields2==1?angle/pi:abs(sin(angle*(parent.fields2-1)))
243
+  name Angle
244
+  xpos -5
245
+  ypos -291
246
+ }
247
+ Grade {
248
+  channels rgba
249
+  blackpoint {{parent.wipe}}
250
+  whitepoint {{this.blackpoint.r-.00001-parent.feather}}
251
+  gamma {{parent.falloff}}
252
+  white_clamp true
253
+  name Grade4
254
+  xpos -5
255
+  ypos -242
256
+ }
257
+push $N1935bb80
258
+ Expression {
259
+  temp_name0 fields
260
+  temp_expr0 360/parent.fields
261
+  channel0 {rgba.red -rgba.green -rgba.blue -rgba.alpha}
262
+  expr0 "(((degrees(atan2(x-width/2,y-height/2))+180)%fields + parent.start*fields)%fields)"
263
+  expr1 "(((degrees(atan2(x-width/2,y-height/2))+180)%fields + parent.start*fields)%fields)"
264
+  expr2 "(((degrees(atan2(x-width/2,y-height/2))+180)%fields + parent.start*fields)%fields)"
265
+  expr3 "(((degrees(atan2(x-width/2,y-height/2))+180)%fields + parent.start*fields)%fields)"
266
+  name Clock
267
+  xpos -153
268
+  ypos -292
269
+ }
270
+set N1f20dc00 [stack 0]
271
+ Clamp {
272
+  minimum {{parent.wipe*360/parent.fields}}
273
+  maximum {{this.minimum.r-.00001-parent.feather*70}}
274
+  MinClampTo 1
275
+  MinClampTo_enable true
276
+  MaxClampTo 0
277
+  MaxClampTo_enable true
278
+  name Clamp1
279
+  xpos -153
280
+  ypos -225
281
+ }
282
+push $N1935bb80
283
+ Expression {
284
+  temp_name1 Dx
285
+  temp_expr1 "(x-width/2) / (height/2)"
286
+  temp_name2 Dy
287
+  temp_expr2 "(y-height/2) / (height/2) * aspect"
288
+  channel0 {rgba.red -rgba.green -rgba.blue -rgba.alpha}
289
+  expr0 1-sqrt(pow2(Dx)+pow2(Dy))
290
+  expr1 1-sqrt(pow2(Dx)+pow2(Dy))
291
+  expr2 1-sqrt(pow2(Dx)+pow2(Dy))
292
+  expr3 1-sqrt(pow2(Dx)+pow2(Dy))
293
+  name Concentric
294
+  label "\n"
295
+  xpos -295
296
+  ypos -294
297
+ }
298
+ Grade {
299
+  channels rgba
300
+  blackpoint {{1-parent.wipe*2.2*aspect}}
301
+  whitepoint {{this.blackpoint.r+parent.feather}}
302
+  gamma {{parent.falloff}}
303
+  white_clamp true
304
+  name Grade2
305
+  xpos -295
306
+  ypos -235
307
+ }
308
+push $N1935bb80
309
+ Expression {
310
+  channel0 {rgba.red -rgba.green -rgba.blue -rgba.alpha}
311
+  expr0 "(((x-(width/2))/width) * cos(radians(parent.angle)) + ((y-height/2)/width) * -sin(radians(parent.angle)))  / ((abs(cos(radians(parent.angle)) * width) + abs(sin(radians(parent.angle)) * height))/width)"
312
+  expr1 "(((x-(width/2))/width) * cos(radians(parent.angle)) + ((y-height/2)/width) * -sin(radians(parent.angle)))  / ((abs(cos(radians(parent.angle)) * width) + abs(sin(radians(parent.angle)) * height))/width)"
313
+  expr2 "(((x-(width/2))/width) * cos(radians(parent.angle)) + ((y-height/2)/width) * -sin(radians(parent.angle)))  / ((abs(cos(radians(parent.angle)) * width) + abs(sin(radians(parent.angle)) * height))/width)"
314
+  expr3 "(((x-(width/2))/width) * cos(radians(parent.angle)) + ((y-height/2)/width) * -sin(radians(parent.angle)))  / ((abs(cos(radians(parent.angle)) * width) + abs(sin(radians(parent.angle)) * height))/width)"
315
+  name Linear
316
+  xpos -461
317
+  ypos -297
318
+ }
319
+ Grade {
320
+  channels rgba
321
+  blackpoint {{parent.wipe-.5}}
322
+  whitepoint {{this.blackpoint.r-.00001-parent.feather}}
323
+  gamma {{parent.falloff}}
324
+  white_clamp true
325
+  name Grade1
326
+  xpos -461
327
+  ypos -242
328
+ }
329
+ Switch {
330
+  inputs 10
331
+  which {{parent.output}}
332
+  name Switch1
333
+  xpos 91
334
+  ypos -3
335
+ }
336
+ Mirror {
337
+  Horizontal {{parent.flop}}
338
+  Vertical {{parent.flip}}
339
+  name Mirror1
340
+  xpos 91
341
+  ypos 54
342
+ }
343
+ Output {
344
+  name Output1
345
+  xpos 91
346
+  ypos 92
347
+ }
348
+push $N1f20dc00
349
+ Grade {
350
+  channels rgba
351
+  blackpoint {{parent.wipe*360/parent.fields}}
352
+  whitepoint {{this.blackpoint.r-.00001-parent.feather*70}}
353
+  gamma {{parent.falloff}}
354
+  white_clamp true
355
+  name Grade3
356
+  label flickers
357
+  xpos -94
358
+  ypos -262
359
+ }
360
+end_group

+ 291
- 0
gizmos/WipeIt.gizmo ファイルの表示

@@ -0,0 +1,291 @@
1
+# Breakdown dTools
2
+#! C:/Program Files/Nuke6.0v1b6/Nuke6.0.exe -nx
3
+version 6.0 v1b6
4
+Gizmo {
5
+ inputs 2
6
+ tile_color 0x7f7f7fff
7
+ label "\[knob this.start] - \[expression \[knob this.start]+\[knob this.duration]-1]"
8
+ addUserKnob {20 wipeit l "Wipe It v1"}
9
+ addUserKnob {3 duration l Duration}
10
+ duration 24
11
+ addUserKnob {3 start l Start -STARTLINE}
12
+ start 1
13
+ addUserKnob {32 setFrame l "Set Frame" -STARTLINE T "knob this.start \[value frame]"}
14
+ addUserKnob {6 soften l Soften +STARTLINE}
15
+ soften true
16
+ addUserKnob {6 invert l Invert -STARTLINE}
17
+ addUserKnob {6 flip l Flip -STARTLINE}
18
+ addUserKnob {6 flop l Flop -STARTLINE}
19
+ addUserKnob {7 angle l Angle R -180 180}
20
+ angle 14
21
+ addUserKnob {7 line l Line R 1 10}
22
+ line 1
23
+ addUserKnob {7 feather l INVISIBLE}
24
+ addUserKnob {7 falloff l INVISIBLE R 0 2}
25
+ falloff 1
26
+ addUserKnob {18 color l Color}
27
+ color 0.1
28
+}
29
+ Input {
30
+  inputs 0
31
+  name A
32
+  xpos -581
33
+  ypos -305
34
+  number 1
35
+ }
36
+set N1cc0e788 [stack 0]
37
+ Rectangle {
38
+  area {0 0 {input.width i} {input.height i}}
39
+  color {{parent.color.main i} {parent.color.main i} {parent.color.main i} 1}
40
+  p1 {100 {input.height i}}
41
+  color0 0.048
42
+  p0 {100 0}
43
+  name Rectangle6
44
+  xpos -345
45
+  ypos 403
46
+  hide_input true
47
+ }
48
+ Expression {
49
+  channel0 none
50
+  channel1 none
51
+  channel2 none
52
+  channel3 alpha
53
+  expr3 "(((x-(width/2))/width) * cos(radians(parent.angle)) + ((y-height/2)/width) * -sin(radians(parent.angle)))  / ((abs(cos(radians(parent.angle)) * width) + abs(sin(radians(parent.angle)) * height))/width)"
54
+  name Linear1
55
+  xpos -345
56
+  ypos 432
57
+ }
58
+set N12905a80 [stack 0]
59
+ Grade {
60
+  channels alpha
61
+  blackpoint {{(Math.wipe-(parent.line/2000))-.5 i}}
62
+  whitepoint {{this.blackpoint.r-.00001-parent.feather i}}
63
+  gamma {{parent.falloff i}}
64
+  white_clamp true
65
+  name Grade11
66
+  xpos -398
67
+  ypos 508
68
+ }
69
+ EdgeBlur {
70
+  name EdgeBlur2
71
+  xpos -398
72
+  ypos 553
73
+ }
74
+push $N12905a80
75
+ Grade {
76
+  channels alpha
77
+  blackpoint {{(Math.wipe+(parent.line/2000))-.5 i}}
78
+  whitepoint {{this.blackpoint.r-.00001-parent.feather i}}
79
+  gamma {{parent.falloff i}}
80
+  white_clamp true
81
+  name Grade12
82
+  xpos -291
83
+  ypos 505
84
+ }
85
+ EdgeBlur {
86
+  name EdgeBlur3
87
+  xpos -291
88
+  ypos 550
89
+ }
90
+ ChannelMerge {
91
+  inputs 2
92
+  operation stencil
93
+  name ChannelMerge2
94
+  xpos -344
95
+  ypos 635
96
+ }
97
+ Grade {
98
+  channels alpha
99
+  whitepoint 0.5
100
+  black_clamp false
101
+  name Grade13
102
+  xpos -344
103
+  ypos 696
104
+ }
105
+ Mirror {
106
+  Horizontal {{parent.flip i}}
107
+  Vertical {{parent.flop i}}
108
+  name Mirror2
109
+  xpos -344
110
+  ypos 741
111
+ }
112
+ Premult {
113
+  name Premult1
114
+  xpos -344
115
+  ypos 829
116
+ }
117
+push $N1cc0e788
118
+ Dot {
119
+  name Dot6
120
+  xpos -316
121
+  ypos -300
122
+ }
123
+ NoOp {
124
+  name Math
125
+  tile_color 0xff00bfff
126
+  xpos -350
127
+  ypos -244
128
+  addUserKnob {20 User}
129
+  addUserKnob {7 wipe R 0 2}
130
+  wipe {{(clamp(frame,parent.start,(parent.start+parent.duration-1))-parent.start)/(parent.duration-1) i}}
131
+ }
132
+ Expression {
133
+  channel0 {rgba.red -rgba.green -rgba.blue -rgba.alpha}
134
+  expr0 "(((x-(width/2))/width) * cos(radians(parent.angle)) + ((y-height/2)/width) * -sin(radians(parent.angle)))  / ((abs(cos(radians(parent.angle)) * width) + abs(sin(radians(parent.angle)) * height))/width)"
135
+  expr1 "(((x-(width/2))/width) * cos(radians(parent.angle)) + ((y-height/2)/width) * -sin(radians(parent.angle)))  / ((abs(cos(radians(parent.angle)) * width) + abs(sin(radians(parent.angle)) * height))/width)"
136
+  expr2 "(((x-(width/2))/width) * cos(radians(parent.angle)) + ((y-height/2)/width) * -sin(radians(parent.angle)))  / ((abs(cos(radians(parent.angle)) * width) + abs(sin(radians(parent.angle)) * height))/width)"
137
+  expr3 "(((x-(width/2))/width) * cos(radians(parent.angle)) + ((y-height/2)/width) * -sin(radians(parent.angle)))  / ((abs(cos(radians(parent.angle)) * width) + abs(sin(radians(parent.angle)) * height))/width)"
138
+  name Linear
139
+  xpos -350
140
+  ypos -178
141
+ }
142
+ Grade {
143
+  channels rgba
144
+  blackpoint {{Math.wipe-.5 i}}
145
+  whitepoint {{this.blackpoint.r-.00001-parent.feather i}}
146
+  gamma {{parent.falloff i}}
147
+  white_clamp true
148
+  name Grade1
149
+  xpos -350
150
+  ypos -149
151
+ }
152
+ Invert {
153
+  name Invert1
154
+  xpos -350
155
+  ypos -120
156
+  disable {{parent.invert i}}
157
+ }
158
+ Mirror {
159
+  Horizontal {{parent.flip i}}
160
+  Vertical {{parent.flop i}}
161
+  name Mirror1
162
+  xpos -350
163
+  ypos -75
164
+ }
165
+ EdgeBlur {
166
+  name EdgeBlur1
167
+  xpos -350
168
+  ypos -46
169
+  disable {{!parent.soften i x13 0}}
170
+ }
171
+ Dot {
172
+  name Dot7
173
+  xpos -316
174
+  ypos 41
175
+ }
176
+set N1c6a1458 [stack 0]
177
+ Dot {
178
+  name Dot5
179
+  xpos -426
180
+  ypos 41
181
+ }
182
+set N1c6b3728 [stack 0]
183
+ Dot {
184
+  name Dot8
185
+  xpos -426
186
+  ypos 299
187
+ }
188
+push $N1c6a1458
189
+push $N1c6a1458
190
+ Blur {
191
+  size 100
192
+  name Blur1
193
+  xpos -279
194
+  ypos 103
195
+ }
196
+ ChannelMerge {
197
+  inputs 2
198
+  operation stencil
199
+  name ChannelMerge1
200
+  xpos -350
201
+  ypos 194
202
+ }
203
+push $N1c6b3728
204
+ Input {
205
+  inputs 0
206
+  name B
207
+  xpos -831
208
+  ypos -303
209
+ }
210
+ Shuffle {
211
+  alpha white
212
+  name Shuffle4
213
+  xpos -831
214
+  ypos -154
215
+ }
216
+set N1c6ca0a8 [stack 0]
217
+push $N1cc0e788
218
+ Shuffle {
219
+  alpha white
220
+  name Shuffle1
221
+  xpos -581
222
+  ypos -151
223
+ }
224
+set N1c6b0868 [stack 0]
225
+ Merge2 {
226
+  inputs 2+1
227
+  metainput A
228
+  name Merge2
229
+  xpos -581
230
+  ypos 36
231
+ }
232
+push $N1c6b3728
233
+push $N1c6b0868
234
+push $N1c6ca0a8
235
+ Merge2 {
236
+  inputs 2+1
237
+  name Merge1
238
+  xpos -831
239
+  ypos 36
240
+ }
241
+ Switch {
242
+  inputs 2
243
+  which {{!parent.invert i}}
244
+  name Switch1
245
+  xpos -697
246
+  ypos 126
247
+ }
248
+ ShuffleCopy {
249
+  inputs 2
250
+  name ShuffleCopy1
251
+  xpos -697
252
+  ypos 210
253
+ }
254
+ ZBlur {
255
+  inputs 1+1
256
+  channels rgb
257
+  Zchan rgba.alpha
258
+  math linear
259
+  size 10
260
+  invert_mask true
261
+  name ZBlur1
262
+  xpos -697
263
+  ypos 294
264
+ }
265
+ Saturation {
266
+  saturation 0.5
267
+  maskChannelInput rgba.alpha
268
+  name Saturation1
269
+  xpos -697
270
+  ypos 323
271
+ }
272
+ Multiply {
273
+  channels rgb
274
+  value 0
275
+  maskChannelInput rgba.alpha
276
+  name Multiply1
277
+  xpos -697
278
+  ypos 368
279
+ }
280
+ Merge2 {
281
+  inputs 2
282
+  name Merge3
283
+  xpos -697
284
+  ypos 829
285
+ }
286
+ Output {
287
+  name Output1
288
+  xpos -697
289
+  ypos 1002
290
+ }
291
+end_group

+ 242
- 0
gizmos/blackpromist.gizmo ファイルの表示

@@ -0,0 +1,242 @@
1
+#! /Volumes/ol03/dive_rsrc/bin/Nuke/Mac/Nuke6.3v8/Nuke6.3v8.app/Contents/MacOS/Nuke6.3v8 -nx
2
+version 6.3 v8
3
+Gizmo {
4
+ help "Emulates the Black Pro Mist (BPM) filter effect"
5
+ tile_color 0xd68953ff
6
+ gl_color 0xdd7e39ff
7
+ note_font Verdana
8
+ mapsize {0.15 0.15}
9
+ addUserKnob {20 Controls}
10
+ addUserKnob {7 diffusionamount l "Diffusion Amount" t "Size of the diffusion"}
11
+ diffusionamount 0.5
12
+ addUserKnob {7 diffusionlevel l "Diffusion Level" t "Opacity of the diffusion"}
13
+ diffusionlevel 0.305
14
+ addUserKnob {7 diffusionsoftness l "Diffusion Softness" t "Falloff of the diffusion" R 0 2}
15
+ diffusionsoftness 1
16
+ addUserKnob {7 highlightselection l "Highlight Selection" t "Selects the highlights that receive the diffusion" R 0 2}
17
+ highlightselection 1
18
+ addUserKnob {6 viewhighlight l "View Highlight Selection" t "View the highlights selected by Highlight Selection. Red is selected, blue is untouched." +STARTLINE}
19
+ addUserKnob {6 affectalpha l "Affect Alpha" t "Whether the diffusion will affect the alpha or not" +STARTLINE}
20
+ affectalpha true
21
+}
22
+ Roto {
23
+  inputs 0
24
+  curves {AnimTree: "" {
25
+ Version: 1.2
26
+ Flag: 0
27
+ RootNode: 1
28
+ Node: {
29
+  NodeName: "Root" {
30
+   Flag: 512
31
+   NodeType: 1
32
+   Transform: 0 0 S 0 0 S 0 0 S 0 0 S 0 1 S 0 1 S 0 0 S 0 1024 S 0 540 
33
+   NumOfAttributes: 11
34
+   "vis" S 0 1 "opc" S 0 1 "mbo" S 0 1 "mb" S 0 1 "mbs" S 0 0.5 "fo" S 0 1 "fx" S 0 0 "fy" S 0 0 "ff" S 0 1 "ft" S 0 0 "pt" S 0 0 
35
+  }
36
+  NumOfChildren: 1
37
+  Node: {
38
+   NodeName: "Bezier1" {
39
+    Flag: 576
40
+    NodeType: 3
41
+    CurveGroup: "" {
42
+     Transform: 0 0 S 1 830683 0 S 1 830683 0 S 1 830683 0 S 1 830683 1 S 1 830683 1 S 1 830683 0 S 1 830683 1039.74 S 1 830683 587.85 
43
+     Flag: 0
44
+     NumOfCubicCurves: 2
45
+     CubicCurve: "" {
46
+      Type: 0 Flag: 8192 Dim: 2
47
+      NumOfPoints: 48
48
+      0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 1019.2 S 1 830683 553.4 0 0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 2.19995 S 1 830683 -0.799988 0 0 S 1 830683 1009.6 S 1 830683 560.8 0 0 S 1 830683 -2.19995 S 1 830683 0.799988 0 0 S 1 830683 -2.20001 S 1 830683 -8.79999 0 0 S 1 830683 995.8 S 1 830683 580.4 0 0 S 1 830683 2.20001 S 1 830683 8.79999 0 0 S 1 830683 -0.399963 S 1 830683 -5.39996 0 0 S 1 830683 1004.2 S 1 830683 600.4 0 0 S 1 830683 0.399963 S 1 830683 5.39996 0 0 S 1 830683 -2.59998 S 1 830683 -7.20001 0 0 S 1 830683 1005.4 S 1 830683 620.8 0 0 S 1 830683 2.59998 S 1 830683 7.20001 0 0 S 1 830683 -4.59998 S 1 830683 0 0 0 S 1 830683 1024.6 S 1 830683 637.6 0 0 S 1 830683 4.59998 S 1 830683 0 0 0 S 1 830683 -4 S 1 830683 -0.399963 0 0 S 1 830683 1038 S 1 830683 634.2 0 0 S 1 830683 4 S 1 830683 0.399963 0 0 S 1 830683 -2.59998 S 1 830683 -1.19995 0 0 S 1 830683 1050.4 S 1 830683 645.4 0 0 S 1 830683 2.59998 S 1 830683 1.19995 0 0 S 1 830683 -0.400024 S 1 830683 2.80005 0 0 S 1 830683 1064.6 S 1 830683 630.4 0 0 S 1 830683 0.400024 S 1 830683 -2.80005 0 0 S 1 830683 -1.59998 S 1 830683 3 0 0 S 1 830683 1074.6 S 1 830683 619.2 0 0 S 1 830683 1.59998 S 1 830683 -3 0 0 S 1 830683 3.59998 S 1 830683 10 0 0 S 1 830683 1087 S 1 830683 590 0 0 S 1 830683 -3.59998 S 1 830683 -10 0 0 S 1 830683 -0.599976 S 1 830683 5 0 0 S 1 830683 1077.4 S 1 830683 564.6 0 0 S 1 830683 0.599976 S 1 830683 -5 0 0 S 1 830683 10 S 1 830683 -2.40002 0 0 S 1 830683 1069.6 S 1 830683 543 0 0 S 1 830683 -10 S 1 830683 2.40002 0 0 S 1 830683 4 S 1 830683 0 0 0 S 1 830683 1052 S 1 830683 550.8 0 0 S 1 830683 -4 S 1 830683 0 0 0 S 1 830683 3.80005 S 1 830683 3.79999 0 0 S 1 830683 1040.4 S 1 830683 538.8 0 0 S 1 830683 -3.80005 S 1 830683 -3.79999 0 0 S 1 830683 3 S 1 830683 -5.40002 0 0 S 1 830683 1023 S 1 830683 535.8 0 0 S 1 830683 -3 S 1 830683 5.40002 0 
49
+     }
50
+     CubicCurve: "" {
51
+      Type: 0 Flag: 8192 Dim: 2
52
+      NumOfPoints: 48
53
+      0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 2.19995 S 1 830683 -0.799988 0 0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 -2.19995 S 1 830683 0.799988 0 0 S 1 830683 -2.20001 S 1 830683 -8.79999 0 0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 2.20001 S 1 830683 8.79999 0 0 S 1 830683 -0.399963 S 1 830683 -5.39996 0 0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 0.399963 S 1 830683 5.39996 0 0 S 1 830683 -2.59998 S 1 830683 -7.20001 0 0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 2.59998 S 1 830683 7.20001 0 0 S 1 830683 -4.59998 S 1 830683 0 0 0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 4.59998 S 1 830683 0 0 0 S 1 830683 -4 S 1 830683 -0.399963 0 0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 4 S 1 830683 0.399963 0 0 S 1 830683 -2.59998 S 1 830683 -1.19995 0 0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 2.59998 S 1 830683 1.19995 0 0 S 1 830683 -0.400024 S 1 830683 2.80005 0 0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 0.400024 S 1 830683 -2.80005 0 0 S 1 830683 -1.59998 S 1 830683 3 0 0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 1.59998 S 1 830683 -3 0 0 S 1 830683 3.59998 S 1 830683 10 0 0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 -3.59998 S 1 830683 -10 0 0 S 1 830683 -0.599976 S 1 830683 5 0 0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 0.599976 S 1 830683 -5 0 0 S 1 830683 10 S 1 830683 -2.40002 0 0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 -10 S 1 830683 2.40002 0 0 S 1 830683 4 S 1 830683 0 0 0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 -4 S 1 830683 0 0 0 S 1 830683 3.80005 S 1 830683 3.79999 0 0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 -3.80005 S 1 830683 -3.79999 0 0 S 1 830683 3 S 1 830683 -5.40002 0 0 S 1 830683 0 S 1 830683 0 0 0 S 1 830683 -3 S 1 830683 5.40002 0 
54
+     }
55
+     NumOfAttributes: 44
56
+     "vis" S 0 1 "r" S 0 1 "g" S 0 1 "b" S 0 1 "a" S 0 1 "ro" S 0 0 "go" S 0 0 "bo" S 0 0 "ao" S 0 0 "opc" S 0 1 "bm" S 0 0 "inv" S 0 0 "mbo" S 0 0 "mb" S 0 1 "mbs" S 0 0.5 "mbsot" S 0 0 "mbso" S 0 0 "fo" S 0 1 "fx" S 0 0 "fy" S 0 0 "ff" S 0 1 "ft" S 0 0 "src" S 0 0 "stx" S 0 0 "sty" S 0 0 "str" S 0 0 "sr" S 0 0 "ssx" S 0 1 "ssy" S 0 1 "ss" S 0 0 "spx" S 0 1024 "spy" S 0 540 "stot" S 0 0 "sto" S 0 0 "sv" S 0 0 "sf" S 0 1 "sb" S 0 1 "nv" S 0 1 "view1" S 0 1 "ltn" S 0 830683 "ltm" S 0 830683 "ltt" S 0 0 "tt" S 0 4 "pt" S 0 0 
57
+    }
58
+   }
59
+   NumOfChildren: 0
60
+  }
61
+ }
62
+}
63
+}
64
+  toolbox {selectAll {
65
+  { selectAll ssx 1 ssy 1 sf 1 }
66
+  { createBezier ssx 1 ssy 1 sf 1 sb 1 tt 4 }
67
+  { createBSpline ssx 1 ssy 1 sf 1 sb 1 }
68
+  { createEllipse ssx 1 ssy 1 sf 1 sb 1 }
69
+  { createRectangle ssx 1 ssy 1 sf 1 sb 1 }
70
+  { brush ssx 1 ssy 1 sf 1 sb 1 }
71
+  { eraser src 2 ssx 1 ssy 1 sf 1 sb 1 }
72
+  { clone src 1 ssx 1 ssy 1 sf 1 sb 1 }
73
+  { reveal src 3 ssx 1 ssy 1 sf 1 sb 1 }
74
+  { dodge src 1 ssx 1 ssy 1 sf 1 sb 1 }
75
+  { burn src 1 ssx 1 ssy 1 sf 1 sb 1 }
76
+  { blur src 1 ssx 1 ssy 1 sf 1 sb 1 }
77
+  { sharpen src 1 ssx 1 ssy 1 sf 1 sb 1 }
78
+  { smear src 1 ssx 1 ssy 1 sf 1 sb 1 }
79
+} }
80
+  toolbar_brush_hardness 0.200000003
81
+  toolbar_lifetime_type all
82
+  toolbar_source_transform_scale {1 1}
83
+  toolbar_source_transform_center {320 240}
84
+  colorOverlay 0
85
+  lifetime_type "all frames"
86
+  lifetime_start 830683
87
+  lifetime_end 830683
88
+  motionblur_shutter_offset_type centred
89
+  source_black_outside true
90
+  createNewTrack {{-1} "-1\t(none)\t-1" "1000\tNew Track Layer\t1000"}
91
+  name Roto1
92
+  xpos 416
93
+  ypos 37
94
+ }
95
+ Crop {
96
+  box {992.5999756 530.2000122 1092.599976 648.2000122}
97
+  name Crop1
98
+  xpos 416
99
+  ypos 61
100
+ }
101
+set N42ae8db0 [stack 0]
102
+ Viewer {
103
+  viewerProcess None
104
+  input_process false
105
+  name Viewer1
106
+  xpos 29
107
+  ypos 153
108
+ }
109
+ Input {
110
+  inputs 0
111
+  name source
112
+  xpos 453
113
+  ypos -79
114
+ }
115
+set N25a8c9c0 [stack 0]
116
+ Dot {
117
+  name Dot2
118
+  xpos 602
119
+  ypos -76
120
+ }
121
+ Dot {
122
+  name Dot3
123
+  xpos 602
124
+  ypos 254
125
+ }
126
+ Constant {
127
+  inputs 0
128
+  color {1 0 0 1}
129
+  name Constant1
130
+  xpos 177
131
+  ypos -151
132
+ }
133
+push $N25a8c9c0
134
+ Keyer {
135
+  operation "luminance key"
136
+  range {{.44*(parent.highlightselection) i} {.5*(parent.highlightselection) i} 1 1}
137
+  name Keyer1
138
+  xpos 287
139
+  ypos -84
140
+ }
141
+set N25a95b40 [stack 0]
142
+ Merge2 {
143
+  inputs 2
144
+  operation in
145
+  name In1
146
+  xpos 177
147
+  ypos -79
148
+ }
149
+ Constant {
150
+  inputs 0
151
+  color {0 0 1 1}
152
+  name Constant2
153
+  xpos 29
154
+  ypos -155
155
+ }
156
+push $N25a95b40
157
+ Invert {
158
+  name Invert1
159
+  xpos 178
160
+  ypos -58
161
+ }
162
+ Merge2 {
163
+  inputs 2
164
+  operation in
165
+  name In2
166
+  xpos 29
167
+  ypos -53
168
+ }
169
+ Merge2 {
170
+  inputs 2
171
+  name Merge1
172
+  xpos 29
173
+  ypos 4
174
+ }
175
+push $N42ae8db0
176
+ Transform {
177
+  scale {{.1*(parent.diffusionamount*2) i}}
178
+  center {1041 596}
179
+  name Transform1
180
+  xpos 416
181
+  ypos 87
182
+ }
183
+ Blur {
184
+  size {{parent.diffusionsoftness*50 i}}
185
+  name Blur1
186
+  xpos 416
187
+  ypos 111
188
+ }
189
+push $N25a8c9c0
190
+ Dot {
191
+  name Dot1
192
+  xpos 420
193
+  ypos -10
194
+ }
195
+push $N25a95b40
196
+ Merge2 {
197
+  inputs 2
198
+  operation in
199
+  name In
200
+  xpos 287
201
+  ypos -13
202
+ }
203
+ Convolve {
204
+  inputs 2
205
+  name Convolve1
206
+  xpos 287
207
+  ypos 111
208
+  disable {{parent.viewhighlight i}}
209
+ }
210
+push $N25a8c9c0
211
+ Merge2 {
212
+  inputs 2
213
+  operation plus
214
+  mix {{.1*(parent.diffusionlevel*2) i}}
215
+  name Scrn
216
+  xpos 177
217
+  ypos 116
218
+  disable {{parent.viewhighlight i}}
219
+ }
220
+ Merge2 {
221
+  inputs 2
222
+  name Merge2
223
+  xpos 177
224
+  ypos 171
225
+  disable {{parent.viewhighlight>0?0:1 i}}
226
+ }
227
+ Copy {
228
+  inputs 2
229
+  from0 rgba.alpha
230
+  to0 rgba.alpha
231
+  name Copy1
232
+  selected true
233
+  xpos 177
234
+  ypos 246
235
+  disable {{parent.affectalpha i}}
236
+ }
237
+ Output {
238
+  name Output1
239
+  xpos 177
240
+  ypos 304
241
+ }
242
+end_group

+ 576
- 0
gizmos/bm_CameraShake.gizmo ファイルの表示

@@ -0,0 +1,576 @@
1
+#! /data/studio/upipe/apps/nuke/11.1v1/bin/linux/centos7/libnuke-11.1.1.so -nx
2
+version 11.1 v1
3
+Group {
4
+name bm_CameraShake
5
+help "Gives more control than Nuke's built-in CameraShake gizmo.\n\nCamera float, shake & sub-frame jitter settings are defined independently, then all 3 curves are added together into a final, new expression so your output curve has plenty of detail (especially in the motion blur) & only filters your image once."
6
+ tile_color 0x222222ff
7
+ note_font Verdana
8
+ mapsize {0.15 0.15}
9
+ addUserKnob {20 Options}
10
+ addUserKnob {26 ""}
11
+ addUserKnob {6 switchCheckerboard l Test t "Replaces input image with checkerboard so you can see your camera shake uncontaminated." +STARTLINE}
12
+ addUserKnob {4 noiseType l "       Noise Type " -STARTLINE M {fBm Turbulence Noise "" "" "" ""}}
13
+ addUserKnob {26 ""}
14
+ addUserKnob {7 globalAmt l "Global Amount" t "Overall amount of camera shake." R 0 5}
15
+ globalAmt 1
16
+ addUserKnob {26 ""}
17
+ addUserKnob {20 fineControl l "    C O N T R O L S" n 1}
18
+ addUserKnob {26 spacer01 l "" +STARTLINE T " "}
19
+ addUserKnob {6 toggleJitter l Jitter +STARTLINE}
20
+ toggleJitter true
21
+ addUserKnob {7 jitterAmt l "  " t "How much jitter?" -STARTLINE R 0 5}
22
+ jitterAmt 1
23
+ addUserKnob {6 toggleShake l Shake +STARTLINE}
24
+ toggleShake true
25
+ addUserKnob {7 shakeAmt l "" t "How much camera shake?" -STARTLINE R 0 5}
26
+ shakeAmt 1
27
+ addUserKnob {6 toggleFloat l Float +STARTLINE}
28
+ toggleFloat true
29
+ addUserKnob {7 floatAmt l "  " t "How much camera float?" -STARTLINE R 0 5}
30
+ floatAmt 1
31
+ addUserKnob {20 endGroup n -1}
32
+ addUserKnob {26 ""}
33
+ addUserKnob {20 weightGroup l "    E D G E   C O M P E N S A T I O N" n 1}
34
+ weightGroup 0
35
+ addUserKnob {26 unnames l "" +STARTLINE T " "}
36
+ addUserKnob {4 edgePulldown l "Edge Type" M {None Spread Mirror ""}}
37
+ addUserKnob {26 edgeSpacer l " "}
38
+ addUserKnob {14 edgeScale l Scale R 0 100}
39
+ edgeScale 1
40
+ addUserKnob {20 endGroup_2 l endGroup n -1}
41
+ addUserKnob {26 ""}
42
+ addUserKnob {20 moblurGroup l "    M O T I O N   B L U R" n 1}
43
+ moblurGroup 0
44
+ addUserKnob {26 spacer_02 l "" +STARTLINE T " "}
45
+ addUserKnob {6 toggleMoblur l "Motion Blur" +STARTLINE}
46
+ toggleMoblur true
47
+ addUserKnob {26 spacer_03 l "" +STARTLINE T " "}
48
+ addUserKnob {41 filter T jitterCTRL_fBm.filter}
49
+ addUserKnob {26 spacer_misc l "" +STARTLINE T " "}
50
+ addUserKnob {7 moblurSamples l INVISIBLE +INVISIBLE}
51
+ moblurSamples 1
52
+ addUserKnob {3 GUISamples l "GUI Samples"}
53
+ GUISamples 1
54
+ addUserKnob {3 RenderSamples l "    Render Samples" -STARTLINE}
55
+ RenderSamples 16
56
+ addUserKnob {26 spacer_misc2 l "" +STARTLINE T " "}
57
+ addUserKnob {41 shutter T jitterCTRL_fBm.shutter}
58
+ addUserKnob {41 shutteroffset l "shutter offset" T jitterCTRL_fBm.shutteroffset}
59
+ addUserKnob {41 shuttercustomoffset l "" -STARTLINE T jitterCTRL_fBm.shuttercustomoffset}
60
+ addUserKnob {20 endGroup_1 l endGroup n -1}
61
+ addUserKnob {26 ""}
62
+ addUserKnob {26 overallOutput l "" -STARTLINE T "Load these values into the curve editor to view the overall animation curve.\n"}
63
+ addUserKnob {12 outputOverallValue l " "}
64
+ outputOverallValue {{(toggleJitter==1?jitterCTRL_fBm.translate.x:0)+(toggleShake==1?shakeCTRL_fBm.translate.x:0)+(toggleFloat==1?floatCTRL_fBm.translate.x:0)} {(toggleJitter==1?jitterCTRL_fBm.translate.y:0)+(toggleShake==1?shakeCTRL_fBm.translate.y:0)+(toggleFloat==1?floatCTRL_fBm.translate.y:0)}}
65
+ addUserKnob {26 ""}
66
+ addUserKnob {20 jitterTab l Jitter}
67
+ addUserKnob {26 ""}
68
+ addUserKnob {14 jitterTranslate l Translate R 0 100}
69
+ jitterTranslate {4 3}
70
+ addUserKnob {7 jitterRotate l Rotate R 0 3}
71
+ addUserKnob {26 ""}
72
+ addUserKnob {3 jitterOctaves l Octaves}
73
+ jitterOctaves 3
74
+ addUserKnob {7 jitterSpeed l Frequency R 0 5}
75
+ jitterSpeed 3
76
+ addUserKnob {3 jitterSeed l Seed}
77
+ jitterSeed 71526
78
+ addUserKnob {22 jitterSeedRandomBtn l "  Random Seed  " -STARTLINE T "import random\nnuke.thisNode().knob('jitterSeed').setValue(random.randint(1,99999))"}
79
+ addUserKnob {26 ""}
80
+ addUserKnob {26 drg l "" +STARTLINE T "Load these values into the curve editor to view the jitter animation curve.\n"}
81
+ addUserKnob {12 outputJitterValue l " "}
82
+ outputJitterValue {{(jitterCTRL_fBm.translate.x)} {(jitterCTRL_fBm.translate.y)}}
83
+ addUserKnob {26 ""}
84
+ addUserKnob {20 shakeTab l Shake}
85
+ addUserKnob {26 ""}
86
+ addUserKnob {14 shakeTranslate l Translate R 0 100}
87
+ shakeTranslate {10 7}
88
+ addUserKnob {7 shakeRotate l Rotate R 0 3}
89
+ shakeRotate 0.2
90
+ addUserKnob {26 ""}
91
+ addUserKnob {3 shakeOctaves l Octaves}
92
+ shakeOctaves 2
93
+ addUserKnob {7 shakeSpeed l Frequency R 0 5}
94
+ shakeSpeed 1.5
95
+ addUserKnob {3 shakeSeed l Seed}
96
+ shakeSeed 70497
97
+ addUserKnob {22 shakeSeedRandomBtn l "  Random Seed  " -STARTLINE T "import random\nnuke.thisNode().knob('shakeSeed').setValue(random.randint(1,99999))"}
98
+ addUserKnob {26 ""}
99
+ addUserKnob {26 ehhkmlkjhg l "" +STARTLINE T "Load these values into the curve editor to view the shake animation curve.\n"}
100
+ addUserKnob {12 outputShakeValue l " "}
101
+ outputShakeValue {{(shakeCTRL_fBm.translate.x)} {(shakeCTRL_fBm.translate.y)}}
102
+ addUserKnob {26 ""}
103
+ addUserKnob {20 floatTab l Float}
104
+ addUserKnob {26 ""}
105
+ addUserKnob {14 floatTranslate l Translate R 0 100}
106
+ floatTranslate {40 32}
107
+ addUserKnob {7 floatRotate l Rotate R 0 3}
108
+ floatRotate 7
109
+ addUserKnob {26 ""}
110
+ addUserKnob {3 floatOctaves l Octaves}
111
+ floatOctaves 1
112
+ addUserKnob {7 floatSpeed l Frequency R 0 5}
113
+ floatSpeed 0.06
114
+ addUserKnob {3 floatSeed l Seed}
115
+ floatSeed 72424
116
+ addUserKnob {22 floatSeedRandomBtn l "  Random Seed  " -STARTLINE T "import random\nnuke.thisNode().knob('floatSeed').setValue(random.randint(1,99999))"}
117
+ addUserKnob {26 ""}
118
+ addUserKnob {26 wd l "" +STARTLINE T "Load these values into the curve editor to view the float animation curve.\n"}
119
+ addUserKnob {12 outputFloatValue l " "}
120
+ outputFloatValue {{(floatCTRL_fBm.translate.x)} {(floatCTRL_fBm.translate.y)}}
121
+ addUserKnob {26 ""}
122
+ addUserKnob {20 info l Info}
123
+ addUserKnob {26 "" +STARTLINE}
124
+ addUserKnob {26 versionInfo l "" +STARTLINE T "\nCreated by Ben McEwan\nwww.benmcewan.com\n\nVersion 2.1\nLast Updated: January 23rd, 2018\n"}
125
+ addUserKnob {26 "" +STARTLINE}
126
+}
127
+ CheckerBoard2 {
128
+  inputs 0
129
+  linecolor 0
130
+  linewidth 60
131
+  name CheckerBoard1
132
+  xpos -144
133
+  ypos -390
134
+ }
135
+ Dot {
136
+  name Dot2
137
+  xpos -110
138
+  ypos -273
139
+ }
140
+ Input {
141
+  inputs 0
142
+  name Input
143
+  xpos 17
144
+  ypos -374
145
+ }
146
+ Switch {
147
+  inputs 2
148
+  which {{switchCheckerboard i}}
149
+  name Switch1
150
+  xpos 17
151
+  ypos -277
152
+ }
153
+ Crop {
154
+  box {0 0 {input.format.w} {input.format.h}}
155
+  crop {{edgePulldown==1?0:1}}
156
+  name Crop1
157
+  xpos 17
158
+  ypos -223
159
+  disable {{edgePulldown==1?1:0 x1009 1}}
160
+ }
161
+set Na27a400 [stack 0]
162
+ Dot {
163
+  name Dot11
164
+  label "  "
165
+  note_font "Arial Black"
166
+  note_font_size 16
167
+  xpos 298
168
+  ypos -219
169
+ }
170
+ Dot {
171
+  name Dot12
172
+  label "  "
173
+  note_font "Arial Black"
174
+  note_font_size 16
175
+  xpos 298
176
+  ypos 365
177
+ }
178
+push $Na27a400
179
+ Dot {
180
+  name Dot10
181
+  label "  "
182
+  note_font "Arial Black"
183
+  note_font_size 16
184
+  xpos -87
185
+  ypos -151
186
+ }
187
+set Naf103d0 [stack 0]
188
+ Mirror {
189
+  Horizontal true
190
+  name Mirror8
191
+  xpos -121
192
+  ypos -133
193
+ }
194
+ Transform {
195
+  translate {{-input.format.w} 0}
196
+  center {1075 860}
197
+  shutteroffset centred
198
+  name Transform8
199
+  xpos -121
200
+  ypos -107
201
+ }
202
+push $Naf103d0
203
+ Dot {
204
+  name Dot9
205
+  label "  "
206
+  note_font "Arial Black"
207
+  note_font_size 16
208
+  xpos -197
209
+  ypos -151
210
+ }
211
+set Naf2c040 [stack 0]
212
+ Mirror {
213
+  Horizontal true
214
+  Vertical true
215
+  name Mirror7
216
+  xpos -228
217
+  ypos -131
218
+ }
219
+ Transform {
220
+  translate {{-input.format.w} {input.format.h}}
221
+  center {1075 860}
222
+  shutteroffset centred
223
+  name Transform7
224
+  xpos -228
225
+  ypos -105
226
+ }
227
+push $Naf2c040
228
+ Dot {
229
+  name Dot8
230
+  label "  "
231
+  note_font "Arial Black"
232
+  note_font_size 16
233
+  xpos -315
234
+  ypos -151
235
+ }
236
+set Naf46830 [stack 0]
237
+ Dot {
238
+  name Dot7
239
+  label "  "
240
+  note_font "Arial Black"
241
+  note_font_size 16
242
+  xpos -425
243
+  ypos -151
244
+ }
245
+set Naf4b9d0 [stack 0]
246
+ Dot {
247
+  name Dot6
248
+  label "  "
249
+  note_font "Arial Black"
250
+  note_font_size 16
251
+  xpos -535
252
+  ypos -151
253
+ }
254
+set Naf4fbe0 [stack 0]
255
+ Dot {
256
+  name Dot5
257
+  label "  "
258
+  note_font "Arial Black"
259
+  note_font_size 16
260
+  xpos -645
261
+  ypos -151
262
+ }
263
+set Naf549b0 [stack 0]
264
+ Dot {
265
+  name Dot4
266
+  label "  "
267
+  note_font "Arial Black"
268
+  note_font_size 16
269
+  xpos -748
270
+  ypos -151
271
+ }
272
+set Naf59520 [stack 0]
273
+ Mirror {
274
+  Vertical true
275
+  name Mirror2
276
+  xpos -782
277
+  ypos -134
278
+ }
279
+ Transform {
280
+  translate {0 {-input.format.h}}
281
+  center {1075 860}
282
+  shutteroffset centred
283
+  name Transform2
284
+  xpos -782
285
+  ypos -108
286
+ }
287
+push $Naf549b0
288
+ Mirror {
289
+  Horizontal true
290
+  Vertical true
291
+  name Mirror3
292
+  xpos -679
293
+  ypos -133
294
+ }
295
+ Transform {
296
+  translate {{input.format.w} {-input.format.h}}
297
+  center {1075 860}
298
+  shutteroffset centred
299
+  name Transform3
300
+  xpos -679
301
+  ypos -107
302
+ }
303
+push $Naf4fbe0
304
+ Mirror {
305
+  Horizontal true
306
+  name Mirror4
307
+  xpos -569
308
+  ypos -134
309
+ }
310
+ Transform {
311
+  translate {{input.format.w} 0}
312
+  center {1075 860}
313
+  shutteroffset centred
314
+  name Transform4
315
+  selected true
316
+  xpos -569
317
+  ypos -108
318
+ }
319
+push $Naf4b9d0
320
+ Mirror {
321
+  Horizontal true
322
+  Vertical true
323
+  name Mirror5
324
+  xpos -459
325
+  ypos -133
326
+ }
327
+ Transform {
328
+  translate {{input.format.w} {input.format.h}}
329
+  center {1075 860}
330
+  shutteroffset centred
331
+  name Transform5
332
+  xpos -459
333
+  ypos -107
334
+ }
335
+push 0
336
+push $Naf46830
337
+ Mirror {
338
+  Vertical true
339
+  name Mirror6
340
+  xpos -349
341
+  ypos -133
342
+ }
343
+ Transform {
344
+  translate {0 {input.format.h}}
345
+  center {1075 860}
346
+  shutteroffset centred
347
+  name Transform6
348
+  xpos -349
349
+  ypos -107
350
+ }
351
+push $Naf59520
352
+ Dot {
353
+  name Dot3
354
+  label "  "
355
+  note_font "Arial Black"
356
+  note_font_size 16
357
+  xpos -851
358
+  ypos -151
359
+ }
360
+ Mirror {
361
+  Horizontal true
362
+  Vertical true
363
+  name Mirror1
364
+  xpos -885
365
+  ypos -133
366
+ }
367
+ Transform {
368
+  translate {{-input.format.w} {-input.format.h}}
369
+  center {1075 860}
370
+  shutteroffset centred
371
+  name Transform1
372
+  xpos -885
373
+  ypos -107
374
+ }
375
+ Merge2 {
376
+  inputs 8+1
377
+  name Merge1
378
+  xpos -459
379
+  ypos -49
380
+ }
381
+push $Na27a400
382
+ Merge2 {
383
+  inputs 2
384
+  name Merge2
385
+  xpos 17
386
+  ypos -49
387
+  disable {{edgePulldown==2?0:1}}
388
+ }
389
+ Dot {
390
+  name Dot1
391
+  label "  "
392
+  note_font "Arial Black"
393
+  note_font_size 16
394
+  xpos 51
395
+  ypos 50
396
+ }
397
+set Nb006190 [stack 0]
398
+ Transform {
399
+  translate {{noise(((jitterSeed+frame)*jitterSpeed),2.5,3.5)*jitterTranslate.w*globalAmt*jitterAmt} {noise(2.5,((jitterSeed+frame)*jitterSpeed),3.5)*jitterTranslate.h*globalAmt*jitterAmt}}
400
+  rotate {{noise((jitterSeed+frame)*jitterSpeed,jitterOctaves,.5)*jitterRotate*globalAmt*jitterAmt}}
401
+  scale {1 1}
402
+  center {{toggleJitter==1?((noise(noise(((jitterSeed+frame)*jitterSpeed),2.5,3.5))*input.width)+input.width/2):(input.width/2)*globalAmt*jitterAmt} {toggleJitter==1?((noise(noise(((jitterSeed+frame)*jitterSpeed),2.5,3.5))*input.height)+input.height/2):(input.height/2)*globalAmt*jitterAmt}}
403
+  filter {{jitterCTRL_fBm.filter}}
404
+  clamp {{jitterCTRL_fBm.clamp}}
405
+  black_outside {{jitterCTRL_fBm.black_outside}}
406
+  motionblur {{jitterCTRL_fBm.motionblur}}
407
+  shutter {{jitterCTRL_fBm.shutter}}
408
+  shutteroffset {{jitterCTRL_fBm.shutteroffset}}
409
+  shuttercustomoffset {{jitterCTRL_fBm.shuttercustomoffset}}
410
+  name jitterCTRL_noise
411
+  xpos 169
412
+  ypos 108
413
+  disable {{!toggleJitter}}
414
+ }
415
+ Transform {
416
+  translate {{noise(((shakeSeed+frame)*shakeSpeed),2.5,3.5)*jitterTranslate.w*globalAmt*jitterAmt} {noise(2.5,((shakeSeed+frame)*shakeSpeed),3.5)*jitterTranslate.h*globalAmt*jitterAmt}}
417
+  rotate {{noise((shakeSeed+frame)*shakeSpeed,shakeOctaves,.5)*shakeRotate*globalAmt*shakeAmt}}
418
+  scale {1 1}
419
+  center {{toggleShake==1?((noise(noise(((shakeSeed+frame)*shakeSpeed),2.5,3.5))*input.width)+input.width/2):(input.width/2)*globalAmt*shakeAmt} {toggleShake==1?((noise(noise(((shakeSeed+frame)*shakeSpeed),2.5,3.5))*input.height)+input.height/2):(input.height/2)*globalAmt*shakeAmt}}
420
+  filter {{jitterCTRL_fBm.filter}}
421
+  clamp {{jitterCTRL_fBm.clamp}}
422
+  black_outside {{jitterCTRL_fBm.black_outside}}
423
+  motionblur {{jitterCTRL_fBm.motionblur}}
424
+  shutter {{jitterCTRL_fBm.shutter}}
425
+  shutteroffset {{jitterCTRL_fBm.shutteroffset}}
426
+  shuttercustomoffset {{jitterCTRL_fBm.shuttercustomoffset}}
427
+  name shakeCTRL_noise
428
+  xpos 169
429
+  ypos 134
430
+  disable {{!toggleShake}}
431
+ }
432
+ Transform {
433
+  translate {{noise(((floatSeed+frame)*floatSpeed),2.5,3.5)*jitterTranslate.w*globalAmt*jitterAmt} {noise(2.5,((floatSeed+frame)*floatSpeed),3.5)*jitterTranslate.h*globalAmt*jitterAmt}}
434
+  rotate {{noise((floatSeed+frame)*floatSpeed,floatOctaves,.5)*floatRotate*globalAmt*floatAmt}}
435
+  scale {1 1}
436
+  center {{toggleFloat==1?((noise(noise(((floatSeed+frame)*floatSpeed),2.5,3.5))*input.width)+input.width/2):(input.width/2)*globalAmt*floatAmt} {toggleFloat==1?((noise(noise(((floatSeed+frame)*floatSpeed),2.5,3.5))*input.height)+input.height/2):(input.height/2)*globalAmt*floatAmt}}
437
+  filter {{jitterCTRL_fBm.filter}}
438
+  clamp {{jitterCTRL_fBm.clamp}}
439
+  black_outside {{jitterCTRL_fBm.black_outside}}
440
+  motionblur {{jitterCTRL_fBm.motionblur}}
441
+  shutter {{jitterCTRL_fBm.shutter}}
442
+  shutteroffset {{jitterCTRL_fBm.shutteroffset}}
443
+  shuttercustomoffset {{jitterCTRL_fBm.shuttercustomoffset}}
444
+  name floatCTRL_noise
445
+  xpos 169
446
+  ypos 160
447
+  disable {{!toggleFloat}}
448
+ }
449
+push $Nb006190
450
+ Transform {
451
+  translate {{turbulence((jitterSeed+frame)*jitterSpeed,2.5,3.5,jitterOctaves,2,.5)*jitterTranslate.w*globalAmt*jitterAmt} {turbulence((jitterSeed+frame)*jitterSpeed+100,10.5,11.5,jitterOctaves,2,.5)*jitterTranslate.h*globalAmt*jitterAmt}}
452
+  rotate {{turbulence((jitterSeed+frame)*jitterSpeed,20.5,21.5,jitterOctaves,2,.5)*jitterRotate*globalAmt*jitterAmt}}
453
+  scale {1 1}
454
+  center {{toggleJitter==1?((turbulence((jitterSeed+frame)*jitterSpeed,2.5,3.5,jitterOctaves,2,.5)*input.width)+input.width/2):(input.width/2)*globalAmt*jitterAmt} {toggleJitter==1?((turbulence((jitterSeed+frame)*jitterSpeed+100,10.5,11.5,jitterOctaves,2,.5)*input.height)+input.height/2):(input.height/2)*globalAmt*jitterAmt}}
455
+  filter {{jitterCTRL_fBm.filter x1 0}}
456
+  clamp {{jitterCTRL_fBm.clamp}}
457
+  black_outside {{jitterCTRL_fBm.black_outside}}
458
+  motionblur {{jitterCTRL_fBm.motionblur}}
459
+  shutter {{jitterCTRL_fBm.shutter}}
460
+  shutteroffset {{jitterCTRL_fBm.shutteroffset}}
461
+  shuttercustomoffset {{jitterCTRL_fBm.shuttercustomoffset}}
462
+  name jitterCTRL_turbulence
463
+  xpos 17
464
+  ypos 109
465
+  disable {{!toggleJitter}}
466
+ }
467
+ Transform {
468
+  translate {{turbulence((shakeSeed+frame)*shakeSpeed,2.5,3.5,shakeOctaves,2,.5)*shakeTranslate.w*globalAmt*shakeAmt} {turbulence((shakeSeed+frame)*shakeSpeed+100,10.5,11.5,shakeOctaves,2,.5)*shakeTranslate.h*globalAmt*shakeAmt}}
469
+  rotate {{turbulence((shakeSeed+frame)*shakeSpeed,20.5,21.5,shakeOctaves,2,.5)*shakeRotate*globalAmt*shakeAmt x7 70}}
470
+  scale {1 1}
471
+  center {{toggleShake==1?((turbulence((shakeSeed+frame)*shakeSpeed,2.5,3.5,shakeOctaves,2,.5)*input.width)+input.width/2):(input.width/2)*globalAmt*shakeAmt} {toggleShake==1?((turbulence((shakeSeed+frame)*shakeSpeed+100,10.5,11.5,shakeOctaves,2,.5)*input.height)+input.height/2):(input.height/2)*globalAmt*shakeAmt}}
472
+  filter {{jitterCTRL_fBm.filter x14 2}}
473
+  clamp {{jitterCTRL_fBm.clamp}}
474
+  black_outside {{jitterCTRL_fBm.black_outside}}
475
+  motionblur {{jitterCTRL_fBm.motionblur}}
476
+  shutter {{jitterCTRL_turbulence.shutter}}
477
+  shutteroffset {{jitterCTRL_fBm.shutteroffset}}
478
+  shuttercustomoffset {{jitterCTRL_turbulence.shuttercustomoffset}}
479
+  name shakeCTRL_turbulence
480
+  xpos 17
481
+  ypos 135
482
+  disable {{!toggleShake}}
483
+ }
484
+ Transform {
485
+  translate {{turbulence((floatSeed+frame)*floatSpeed,2.5,3.5,floatOctaves,2,.5)*floatTranslate.w*globalAmt*floatAmt} {turbulence((floatSeed+frame)*floatSpeed+100,10.5,11.5,floatOctaves,2,.5)*floatTranslate.h*globalAmt*floatAmt}}
486
+  rotate {{turbulence((floatSeed+frame)*floatSpeed,20.5,21.5,floatOctaves,2,.5)*floatRotate*globalAmt*floatAmt}}
487
+  scale {1 1}
488
+  center {{toggleFloat==1?((turbulence((floatSeed+frame)*floatSpeed,2.5,3.5,floatOctaves,2,.5)*input.width)+input.width/2):(input.width/2)*globalAmt*floatAmt} {toggleFloat==1?((turbulence((floatSeed+frame)*floatSpeed+100,10.5,11.5,floatOctaves,2,.5)*input.height)+input.height/2):(input.height/2)*globalAmt*floatAmt}}
489
+  filter {{jitterCTRL_fBm.filter x14 2}}
490
+  clamp {{jitterCTRL_fBm.clamp}}
491
+  black_outside {{jitterCTRL_fBm.black_outside}}
492
+  motionblur {{jitterCTRL_fBm.motionblur}}
493
+  shutter {{jitterCTRL_fBm.shutter}}
494
+  shutteroffset {{jitterCTRL_fBm.shutteroffset}}
495
+  shuttercustomoffset {{jitterCTRL_fBm.shuttercustomoffset}}
496
+  name floatCTRL_turbulence
497
+  xpos 17
498
+  ypos 161
499
+  disable {{!toggleFloat}}
500
+ }
501
+push $Nb006190
502
+ Transform {
503
+  translate {{fBm((jitterSeed+frame)*jitterSpeed,2.5,3.5,jitterOctaves,2,.5)*jitterTranslate.w*globalAmt*jitterAmt} {fBm((jitterSeed+frame)*jitterSpeed+100,10.5,11.5,jitterOctaves,2,.5)*jitterTranslate.h*globalAmt*jitterAmt}}
504
+  rotate {{fBm((jitterSeed+frame)*jitterSpeed,20.5,21.5,jitterOctaves,2,.5)*jitterRotate*globalAmt*jitterAmt}}
505
+  scale {1 1}
506
+  center {{toggleJitter==1?((fBm((jitterSeed+frame)*jitterSpeed,2.5,3.5,jitterOctaves,2,.5)*input.width)+input.width/2):(input.width/2)*globalAmt*jitterAmt} {toggleJitter==1?((fBm((jitterSeed+frame)*jitterSpeed+100,10.5,11.5,jitterOctaves,2,.5)*input.height)+input.height/2):(input.height/2)*globalAmt*jitterAmt}}
507
+  black_outside false
508
+  motionblur {{toggleMoblur==0?0:moblurSamples}}
509
+  shutteroffset centred
510
+  name jitterCTRL_fBm
511
+  xpos -128
512
+  ypos 101
513
+  disable {{!toggleJitter}}
514
+ }
515
+ Transform {
516
+  translate {{fBm((shakeSeed+frame)*shakeSpeed,2.5,3.5,shakeOctaves,2,.5)*shakeTranslate.w*globalAmt*shakeAmt} {fBm((shakeSeed+frame)*shakeSpeed+100,10.5,11.5,shakeOctaves,2,.5)*shakeTranslate.h*globalAmt*shakeAmt}}
517
+  rotate {{fBm((shakeSeed+frame)*shakeSpeed,20.5,21.5,shakeOctaves,2,.5)*shakeRotate*globalAmt*shakeAmt x7 70}}
518
+  scale {1 1}
519
+  center {{toggleShake==1?((fBm((shakeSeed+frame)*shakeSpeed,2.5,3.5,shakeOctaves,2,.5)*input.width)+input.width/2):(input.width/2)*globalAmt*shakeAmt} {toggleShake==1?((fBm((shakeSeed+frame)*shakeSpeed+100,10.5,11.5,shakeOctaves,2,.5)*input.height)+input.height/2):(input.height/2)*globalAmt*shakeAmt}}
520
+  filter {{jitterCTRL_fBm.filter x14 2}}
521
+  clamp {{jitterCTRL_fBm.clamp}}
522
+  black_outside {{jitterCTRL_fBm.black_outside}}
523
+  motionblur {{jitterCTRL_fBm.motionblur}}
524
+  shutter {{jitterCTRL_fBm.shutter}}
525
+  shutteroffset {{jitterCTRL_fBm.shutteroffset}}
526
+  shuttercustomoffset {{jitterCTRL_fBm.shuttercustomoffset}}
527
+  name shakeCTRL_fBm
528
+  xpos -128
529
+  ypos 127
530
+  disable {{!toggleShake}}
531
+ }
532
+ Transform {
533
+  translate {{fBm((floatSeed+frame)*floatSpeed,2.5,3.5,floatOctaves,2,.5)*floatTranslate.w*globalAmt*floatAmt} {fBm((floatSeed+frame)*floatSpeed+100,10.5,11.5,floatOctaves,2,.5)*floatTranslate.h*globalAmt*floatAmt}}
534
+  rotate {{fBm((floatSeed+frame)*floatSpeed,20.5,21.5,floatOctaves,2,.5)*floatRotate*globalAmt*floatAmt}}
535
+  scale {1 1}
536
+  center {{toggleFloat==1?((fBm((floatSeed+frame)*floatSpeed,2.5,3.5,floatOctaves,2,.5)*input.width)+input.width/2):(input.width/2)*globalAmt*floatAmt} {toggleFloat==1?((fBm((floatSeed+frame)*floatSpeed+100,10.5,11.5,floatOctaves,2,.5)*input.height)+input.height/2):(input.height/2)*globalAmt*floatAmt}}
537
+  filter {{jitterCTRL_fBm.filter x14 2}}
538
+  clamp {{jitterCTRL_fBm.clamp}}
539
+  black_outside {{jitterCTRL_fBm.black_outside}}
540
+  motionblur {{jitterCTRL_fBm.motionblur}}
541
+  shutter {{jitterCTRL_fBm.shutter}}
542
+  shutteroffset {{jitterCTRL_fBm.shutteroffset}}
543
+  shuttercustomoffset {{jitterCTRL_fBm.shuttercustomoffset}}
544
+  name floatCTRL_fBm
545
+  xpos -128
546
+  ypos 153
547
+  disable {{!toggleFloat}}
548
+ }
549
+ Switch {
550
+  inputs 3
551
+  which {{noiseType i}}
552
+  name Switch4
553
+  xpos 17
554
+  ypos 242
555
+ }
556
+ Transform {
557
+  scale {{edgeScale} {edgeScale}}
558
+  center {1075 860}
559
+  black_outside {{edgePulldown==0?1:0}}
560
+  shutteroffset centred
561
+  name edgeScale
562
+  xpos 17
563
+  ypos 293
564
+ }
565
+ CopyBBox {
566
+  inputs 2
567
+  name CopyBBox1
568
+  xpos 17
569
+  ypos 361
570
+ }
571
+ Output {
572
+  name Output1
573
+  xpos 17
574
+  ypos 460
575
+ }
576
+end_group

+ 792
- 0
gizmos/bm_Lightwrap.gizmo ファイルの表示

@@ -0,0 +1,792 @@
1
+#! /data/studio/upipe/apps/nuke/11.1v1/bin/linux/centos7/libnuke-11.1.1.so -nx
2
+version 11.1 v1
3
+Group {
4
+name bm_Lightwrap
5
+ inputs 2
6
+ knobChanged "n1 = nuke.thisNode()\nk1 = nuke.thisKnob()\nif k1.name() == \"effectOnly\":\n    if k1.value() == 1:\n        n1\[\"mergeType\"].setEnabled(False)\n    else:\n        n1\[\"mergeType\"].setEnabled(True) \n\n\nn2 = nuke.thisNode()\nk2 = nuke.thisKnob()\nif k2.name() == \"useThresholdCheckbox\":\n    if k2.value() == 1:\n        n2\[\"viewRange\"].setEnabled(True)\n    else:\n        n2\[\"viewRange\"].setEnabled(False)"
7
+ tile_color 0x222222ff
8
+ addUserKnob {20 Options}
9
+ addUserKnob {4 mergeType l "Merge Operation" M {Max Over Plus Screen ""}}
10
+ mergeType Plus
11
+ addUserKnob {26 spacer_01 l "" -STARTLINE T "      "}
12
+ addUserKnob {6 effectOnly l " Effect Only" -STARTLINE}
13
+ addUserKnob {4 glowType l "Glow Math" M {Double Fibonacci "" ""}}
14
+ glowType Fibonacci
15
+ addUserKnob {26 spacer_02 l "" -STARTLINE T "   "}
16
+ addUserKnob {6 useThresholdCheckbox l "Use Luminance-based wrap" -STARTLINE}
17
+ useThresholdCheckbox true
18
+ addUserKnob {26 spacer_05 l "" +STARTLINE T "                                                 "}
19
+ addUserKnob {6 viewRange l "View Range" -STARTLINE}
20
+ addUserKnob {41 size l "Pre-blur BG" T Blur11.size}
21
+ addUserKnob {26 ""}
22
+ addUserKnob {20 tGrp l "Luminance Selector" n 1}
23
+ tGrp 0
24
+ addUserKnob {26 spacer_03 l "" +STARTLINE T " "}
25
+ addUserKnob {41 range l "" +STARTLINE T Keyer1.range}
26
+ addUserKnob {26 spacer_04 l "" +STARTLINE T " "}
27
+ addUserKnob {20 endGroup n -1}
28
+ addUserKnob {26 ""}
29
+ addUserKnob {7 glowSize l Size R 0 500}
30
+ glowSize 100
31
+ addUserKnob {7 glowAspect l Aspect R 0.5 2}
32
+ glowAspect 1
33
+ addUserKnob {7 glowBrightness l Brightness R 0 3}
34
+ glowBrightness 1
35
+ addUserKnob {18 glowGamma l Gamma R 0 2}
36
+ glowGamma 1
37
+ addUserKnob {6 glowGamma_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
38
+ addUserKnob {6 glowGamma_panelDropped_1 l "panel dropped state" -STARTLINE +HIDDEN}
39
+ addUserKnob {6 glowGamma_panelDropped_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
40
+ addUserKnob {6 glowGamma_panelDropped_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
41
+ addUserKnob {6 glowGamma_panelDropped_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
42
+ addUserKnob {6 glowGamma_panelDropped_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
43
+ addUserKnob {6 glowGamma_panelDropped_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
44
+ addUserKnob {6 glowGamma_panelDropped_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
45
+ addUserKnob {6 glowGamma_panelDropped_1_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
46
+ addUserKnob {6 glowGamma_panelDropped_1_1_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
47
+ addUserKnob {6 glowGamma_panelDropped_1_1_1_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
48
+ addUserKnob {6 glowGamma_panelDropped_1_1_1_1_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
49
+ addUserKnob {18 glowSaturation l Saturation R 0 3}
50
+ glowSaturation 1
51
+ addUserKnob {6 glowSaturation_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
52
+ addUserKnob {6 glowSaturation_panelDropped_1 l "panel dropped state" -STARTLINE +HIDDEN}
53
+ addUserKnob {6 glowSaturation_panelDropped_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
54
+ addUserKnob {6 glowSaturation_panelDropped_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
55
+ addUserKnob {6 glowSaturation_panelDropped_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
56
+ addUserKnob {6 glowSaturation_panelDropped_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
57
+ addUserKnob {6 glowSaturation_panelDropped_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
58
+ addUserKnob {6 glowSaturation_panelDropped_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
59
+ addUserKnob {6 glowSaturation_panelDropped_1_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
60
+ addUserKnob {6 glowSaturation_panelDropped_1_1_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
61
+ addUserKnob {6 glowSaturation_panelDropped_1_1_1_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
62
+ addUserKnob {6 glowSaturation_panelDropped_1_1_1_1_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
63
+ addUserKnob {26 ""}
64
+ addUserKnob {4 alphaChoice l "Use Alpha From" M {None FG BG "FG & BG" "Glow Only" "" ""}}
65
+ alphaChoice FG
66
+ addUserKnob {7 glowMix l Mix}
67
+ glowMix 1
68
+ addUserKnob {26 ""}
69
+ addUserKnob {20 versionInfo l Info}
70
+ addUserKnob {26 ""}
71
+ addUserKnob {26 versionInfo_1 l "" +STARTLINE T "\nCreated by Ben McEwan\nwww.benmcewan.com\n\nVersion 3.1\nLast Updated: February 9th, 2018\n"}
72
+ addUserKnob {26 ""}
73
+}
74
+ Input {
75
+  inputs 0
76
+  name BG
77
+  xpos -1294
78
+  ypos -1111
79
+  number 1
80
+ }
81
+ Expression {
82
+  expr3 a==0?0:a
83
+  name Expression1
84
+  label "Alpha Error Fix"
85
+  xpos -1294
86
+  ypos -1041
87
+ }
88
+ Dot {
89
+  name Dot1
90
+  label "  "
91
+  note_font "Arial Black"
92
+  note_font_size 16
93
+  xpos -1260
94
+  ypos -918
95
+ }
96
+set N8aa7080 [stack 0]
97
+ Blur {
98
+  channels rgba
99
+  name Blur11
100
+  xpos -1159
101
+  ypos -921
102
+ }
103
+set N8898170 [stack 0]
104
+ Keyer {
105
+  operation "luminance key"
106
+  name Keyer1
107
+  xpos -732
108
+  ypos -927
109
+ }
110
+set N7df0d40 [stack 0]
111
+ Dot {
112
+  name Dot27
113
+  label "  "
114
+  note_font "Arial Black"
115
+  note_font_size 16
116
+  xpos 554
117
+  ypos -918
118
+ }
119
+ Shuffle {
120
+  in alpha
121
+  red alpha
122
+  name Shuffle2
123
+  tile_color 0xffffff01
124
+  label "\[value alpha] > \[value out]"
125
+  xpos 520
126
+  ypos 983
127
+ }
128
+ Input {
129
+  inputs 0
130
+  name FG
131
+  xpos -1155
132
+  ypos -849
133
+ }
134
+ Expression {
135
+  expr3 a==0?0:a
136
+  name Expression2
137
+  label "Alpha Error Fix"
138
+  xpos -1155
139
+  ypos -784
140
+ }
141
+set N8af8990 [stack 0]
142
+ Dot {
143
+  name Dot26
144
+  label "  "
145
+  note_font "Arial Black"
146
+  note_font_size 16
147
+  xpos -1121
148
+  ypos 21
149
+ }
150
+set N8a683c0 [stack 0]
151
+ Dot {
152
+  name Dot28
153
+  label "  "
154
+  note_font "Arial Black"
155
+  note_font_size 16
156
+  xpos -1121
157
+  ypos 104
158
+ }
159
+set N8879040 [stack 0]
160
+ Dot {
161
+  name Dot35
162
+  label "  "
163
+  note_font "Arial Black"
164
+  note_font_size 16
165
+  xpos -943
166
+  ypos 140
167
+ }
168
+ Dot {
169
+  name Dot32
170
+  label "  "
171
+  note_font "Arial Black"
172
+  note_font_size 16
173
+  xpos -943
174
+  ypos 210
175
+ }
176
+set N893c9e0 [stack 0]
177
+ Dot {
178
+  name Dot33
179
+  label "  "
180
+  note_font "Arial Black"
181
+  note_font_size 16
182
+  xpos -1053
183
+  ypos 210
184
+ }
185
+ Dot {
186
+  name Dot34
187
+  label "  "
188
+  note_font "Arial Black"
189
+  note_font_size 16
190
+  xpos -1053
191
+  ypos 923
192
+ }
193
+push $N8a683c0
194
+push $N8af8990
195
+push $N7df0d40
196
+ Premult {
197
+  name Premult1
198
+  xpos -732
199
+  ypos -891
200
+ }
201
+push $N8898170
202
+ Dot {
203
+  name Dot31
204
+  label "  "
205
+  note_font "Arial Black"
206
+  note_font_size 16
207
+  xpos -855
208
+  ypos -807
209
+ }
210
+ Switch {
211
+  inputs 2
212
+  which {{useThresholdCheckbox}}
213
+  name Switch3
214
+  xpos -732
215
+  ypos -810
216
+ }
217
+ Merge2 {
218
+  inputs 2
219
+  operation stencil
220
+  bbox A
221
+  name Merge14
222
+  xpos -732
223
+  ypos -778
224
+ }
225
+ Dot {
226
+  name Dot2
227
+  label "  "
228
+  note_font "Arial Black"
229
+  note_font_size 16
230
+  xpos -698
231
+  ypos -754
232
+ }
233
+set N8902970 [stack 0]
234
+ Dot {
235
+  name Dot11
236
+  label "  "
237
+  note_font "Arial Black"
238
+  note_font_size 16
239
+  xpos -578
240
+  ypos -754
241
+ }
242
+set N8933be0 [stack 0]
243
+ Dot {
244
+  name Dot10
245
+  label "  "
246
+  note_font "Arial Black"
247
+  note_font_size 16
248
+  xpos -444
249
+  ypos -754
250
+ }
251
+set N89c6170 [stack 0]
252
+ Dot {
253
+  name Dot9
254
+  label "  "
255
+  note_font "Arial Black"
256
+  note_font_size 16
257
+  xpos -314
258
+  ypos -754
259
+ }
260
+set N8b4ac10 [stack 0]
261
+ Dot {
262
+  name Dot8
263
+  label "  "
264
+  note_font "Arial Black"
265
+  note_font_size 16
266
+  xpos -185
267
+  ypos -754
268
+ }
269
+set N89376d0 [stack 0]
270
+ Dot {
271
+  name Dot7
272
+  label "  "
273
+  note_font "Arial Black"
274
+  note_font_size 16
275
+  xpos -75
276
+  ypos -754
277
+ }
278
+set N89a9180 [stack 0]
279
+ Dot {
280
+  name Dot6
281
+  label "  "
282
+  note_font "Arial Black"
283
+  note_font_size 16
284
+  xpos 47
285
+  ypos -754
286
+ }
287
+set N89ba130 [stack 0]
288
+ Dot {
289
+  name Dot5
290
+  label "  "
291
+  note_font "Arial Black"
292
+  note_font_size 16
293
+  xpos 179
294
+  ypos -754
295
+ }
296
+set N89ca830 [stack 0]
297
+ Dot {
298
+  name Dot4
299
+  label "  "
300
+  note_font "Arial Black"
301
+  note_font_size 16
302
+  xpos 301
303
+  ypos -754
304
+ }
305
+set N89f2fa0 [stack 0]
306
+ Dot {
307
+  name Dot3
308
+  label "  "
309
+  note_font "Arial Black"
310
+  note_font_size 16
311
+  xpos 421
312
+  ypos -754
313
+ }
314
+ Blur {
315
+  size {{(glowType==0?(glowSize*25.6):(glowSize*5.5))*glowAspect} {glowType==0?(glowSize*25.6):(glowSize*5.5)}}
316
+  name Blur10
317
+  xpos 387
318
+  ypos -714
319
+ }
320
+ Multiply {
321
+  channels rgb
322
+  value {{glowType==0?(glowBrightness/512):(glowBrightness/50)}}
323
+  name Multiply10
324
+  xpos 387
325
+  ypos -678
326
+ }
327
+ Dot {
328
+  name Dot13
329
+  label "  "
330
+  note_font "Arial Black"
331
+  note_font_size 16
332
+  xpos 421
333
+  ypos -92
334
+ }
335
+push $N89f2fa0
336
+ Blur {
337
+  size {{(glowType==0?(glowSize*12.8):(glowSize*3.4))*glowAspect} {glowType==0?(glowSize*12.8):(glowSize*3.4)}}
338
+  name Blur9
339
+  xpos 267
340
+  ypos -712
341
+ }
342
+ Multiply {
343
+  channels rgb
344
+  value {{glowType==0?(glowBrightness/256):(glowBrightness/33)}}
345
+  name Multiply9
346
+  xpos 267
347
+  ypos -676
348
+ }
349
+ Dot {
350
+  name Dot14
351
+  label "  "
352
+  note_font "Arial Black"
353
+  note_font_size 16
354
+  xpos 301
355
+  ypos -156
356
+ }
357
+push $N89ca830
358
+ Blur {
359
+  size {{(glowType==0?(glowSize*6.4):(glowSize*2.1))*glowAspect} {glowType==0?(glowSize*6.4):(glowSize*2.1)}}
360
+  name Blur8
361
+  xpos 145
362
+  ypos -716
363
+ }
364
+ Multiply {
365
+  channels rgb
366
+  value {{glowType==0?(glowBrightness/128):(glowBrightness/20)}}
367
+  name Multiply8
368
+  xpos 145
369
+  ypos -680
370
+ }
371
+ Dot {
372
+  name Dot15
373
+  label "  "
374
+  note_font "Arial Black"
375
+  note_font_size 16
376
+  xpos 179
377
+  ypos -221
378
+ }
379
+push $N89ba130
380
+ Blur {
381
+  size {{(glowType==0?(glowSize*3.2):(glowSize*1.3))*glowAspect} {glowType==0?(glowSize*3.2):(glowSize*1.3)}}
382
+  name Blur7
383
+  xpos 13
384
+  ypos -717
385
+ }
386
+ Multiply {
387
+  channels rgb
388
+  value {{glowType==0?(glowBrightness/64):(glowBrightness/12.5)}}
389
+  name Multiply7
390
+  xpos 13
391
+  ypos -681
392
+ }
393
+ Dot {
394
+  name Dot16
395
+  label "  "
396
+  note_font "Arial Black"
397
+  note_font_size 16
398
+  xpos 47
399
+  ypos -285
400
+ }
401
+push $N89a9180
402
+ Blur {
403
+  size {{(glowType==0?(glowSize*1.6):(glowSize/1.25))*glowAspect} {glowType==0?(glowSize*1.6):(glowSize/1.25)}}
404
+  name Blur6
405
+  xpos -109
406
+  ypos -716
407
+ }
408
+ Multiply {
409
+  channels rgb
410
+  value {{glowType==0?(glowBrightness/32):(glowBrightness/7.68)}}
411
+  name Multiply6
412
+  xpos -109
413
+  ypos -680
414
+ }
415
+ Dot {
416
+  name Dot17
417
+  label "  "
418
+  note_font "Arial Black"
419
+  note_font_size 16
420
+  xpos -75
421
+  ypos -354
422
+ }
423
+push $N89376d0
424
+ Blur {
425
+  size {{(glowType==0?(glowSize/12.5):(glowSize/2))*glowAspect} {glowType==0?(glowSize/12.5):(glowSize/2)}}
426
+  name Blur5
427
+  xpos -219
428
+  ypos -719
429
+ }
430
+ Multiply {
431
+  channels rgb
432
+  value {{glowType==0?(glowBrightness/16):(glowBrightness/4.75)}}
433
+  name Multiply5
434
+  xpos -219
435
+  ypos -683
436
+ }
437
+ Dot {
438
+  name Dot18
439
+  label "  "
440
+  note_font "Arial Black"
441
+  note_font_size 16
442
+  xpos -185
443
+  ypos -421
444
+ }
445
+push $N8b4ac10
446
+ Blur {
447
+  size {{(glowType==0?(glowSize/2.5):(glowSize/3.3333))*glowAspect} {glowType==0?(glowSize/2.5):(glowSize/3.3333)}}
448
+  name Blur4
449
+  xpos -348
450
+  ypos -721
451
+ }
452
+ Multiply {
453
+  channels rgb
454
+  value {{glowType==0?(glowBrightness/8):(glowBrightness/2.94)}}
455
+  name Multiply4
456
+  xpos -348
457
+  ypos -685
458
+ }
459
+ Dot {
460
+  name Dot19
461
+  label "  "
462
+  note_font "Arial Black"
463
+  note_font_size 16
464
+  xpos -314
465
+  ypos -479
466
+ }
467
+push $N89c6170
468
+ Blur {
469
+  size {{(glowSize/5)*glowAspect} {glowSize/5}}
470
+  name Blur3
471
+  xpos -478
472
+  ypos -723
473
+ }
474
+ Multiply {
475
+  channels rgb
476
+  value {{glowType==0?(glowBrightness/4):(glowBrightness/1.815)}}
477
+  name Multiply3
478
+  xpos -478
479
+  ypos -687
480
+ }
481
+ Dot {
482
+  name Dot20
483
+  label "  "
484
+  note_font "Arial Black"
485
+  note_font_size 16
486
+  xpos -444
487
+  ypos -535
488
+ }
489
+push $N8933be0
490
+ Blur {
491
+  size {{(glowSize/10)*glowAspect} {glowSize/10}}
492
+  name Blur2
493
+  xpos -612
494
+  ypos -723
495
+ }
496
+ Multiply {
497
+  channels rgb
498
+  value {{glowType==0?(glowBrightness/2):(glowBrightness/1.124)}}
499
+  name Multiply2
500
+  xpos -612
501
+  ypos -687
502
+ }
503
+ Dot {
504
+  name Dot12
505
+  label "  "
506
+  note_font "Arial Black"
507
+  note_font_size 16
508
+  xpos -578
509
+  ypos -592
510
+ }
511
+push $N8902970
512
+ Blur {
513
+  size {{glowSize/50}}
514
+  name Blur1
515
+  xpos -732
516
+  ypos -722
517
+ }
518
+ Multiply {
519
+  channels rgb
520
+  value {{glowBrightness}}
521
+  name Multiply1
522
+  xpos -732
523
+  ypos -686
524
+ }
525
+ Merge2 {
526
+  inputs 2
527
+  operation plus
528
+  name Merge1
529
+  xpos -732
530
+  ypos -595
531
+ }
532
+ Merge2 {
533
+  inputs 2
534
+  operation plus
535
+  name Merge2
536
+  xpos -732
537
+  ypos -538
538
+ }
539
+ Merge2 {
540
+  inputs 2
541
+  operation plus
542
+  name Merge3
543
+  xpos -732
544
+  ypos -482
545
+ }
546
+ Merge2 {
547
+  inputs 2
548
+  operation plus
549
+  name Merge4
550
+  xpos -732
551
+  ypos -424
552
+ }
553
+ Merge2 {
554
+  inputs 2
555
+  operation plus
556
+  name Merge5
557
+  xpos -732
558
+  ypos -357
559
+ }
560
+ Merge2 {
561
+  inputs 2
562
+  operation plus
563
+  name Merge6
564
+  xpos -732
565
+  ypos -288
566
+ }
567
+ Merge2 {
568
+  inputs 2
569
+  operation plus
570
+  name Merge7
571
+  xpos -732
572
+  ypos -224
573
+ }
574
+ Merge2 {
575
+  inputs 2
576
+  operation plus
577
+  name Merge8
578
+  xpos -732
579
+  ypos -159
580
+ }
581
+ Merge2 {
582
+  inputs 2
583
+  operation plus
584
+  name Merge9
585
+  xpos -732
586
+  ypos -95
587
+ }
588
+ Multiply {
589
+  channels alpha
590
+  value 0.1
591
+  name Multiply22
592
+  xpos -732
593
+  ypos -57
594
+ }
595
+ ColorCorrect {
596
+  saturation {{glowSaturation} {glowSaturation} {glowSaturation} 1}
597
+  gamma {{glowGamma} {glowGamma} {glowGamma} 1}
598
+  name ColorCorrect1
599
+  xpos -732
600
+  ypos -21
601
+ }
602
+ Multiply {
603
+  value {{glowType==0?(glowMix):(glowMix/2.5)}}
604
+  name Multiply11
605
+  xpos -732
606
+  ypos 3
607
+ }
608
+ Merge2 {
609
+  inputs 2
610
+  operation mask
611
+  bbox A
612
+  name Merge15
613
+  xpos -732
614
+  ypos 107
615
+ }
616
+set N929a2b0 [stack 0]
617
+ Dot {
618
+  name Dot22
619
+  label "  "
620
+  note_font "Arial Black"
621
+  note_font_size 16
622
+  xpos -472
623
+  ypos 296
624
+ }
625
+ Dot {
626
+  name Dot23
627
+  label "  "
628
+  note_font "Arial Black"
629
+  note_font_size 16
630
+  xpos -472
631
+  ypos 520
632
+ }
633
+set N92aedf0 [stack 0]
634
+push $N92aedf0
635
+push $N929a2b0
636
+ Dot {
637
+  name Dot24
638
+  label "  "
639
+  note_font "Arial Black"
640
+  note_font_size 16
641
+  xpos -698
642
+  ypos 218
643
+ }
644
+set N9274620 [stack 0]
645
+push $N893c9e0
646
+ Merge2 {
647
+  inputs 2
648
+  operation plus
649
+  name Merge13
650
+  xpos -644
651
+  ypos 356
652
+ }
653
+push $N9274620
654
+push $N893c9e0
655
+ Merge2 {
656
+  inputs 2
657
+  operation screen
658
+  name Merge12
659
+  xpos -752
660
+  ypos 355
661
+ }
662
+push $N9274620
663
+push $N893c9e0
664
+ Merge2 {
665
+  inputs 2
666
+  name Merge11
667
+  xpos -859
668
+  ypos 359
669
+ }
670
+push $N9274620
671
+push $N893c9e0
672
+ Merge2 {
673
+  inputs 2
674
+  operation max
675
+  name Merge10
676
+  xpos -977
677
+  ypos 358
678
+ }
679
+ Switch {
680
+  inputs 4
681
+  which {{mergeType}}
682
+  name Switch1
683
+  xpos -819
684
+  ypos 440
685
+ }
686
+ Switch {
687
+  inputs 2
688
+  which {{effectOnly}}
689
+  name Switch2
690
+  xpos -819
691
+  ypos 516
692
+ }
693
+set N92feed0 [stack 0]
694
+ Copy {
695
+  inputs 2
696
+  from0 rgba.alpha
697
+  to0 rgba.alpha
698
+  name Copy4
699
+  xpos -506
700
+  ypos 728
701
+ }
702
+ Dot {
703
+  name Dot30
704
+  label "  "
705
+  note_font "Arial Black"
706
+  note_font_size 16
707
+  xpos -472
708
+  ypos 821
709
+ }
710
+push $N8879040
711
+ Dot {
712
+  name Dot29
713
+  label "  "
714
+  note_font "Arial Black"
715
+  note_font_size 16
716
+  xpos -1121
717
+  ypos 682
718
+ }
719
+push $N92feed0
720
+ Copy {
721
+  inputs 2
722
+  from0 rgba.alpha
723
+  to0 rgba.alpha
724
+  name Copy1
725
+  xpos -819
726
+  ypos 673
727
+ }
728
+set N931eb20 [stack 0]
729
+push $N8aa7080
730
+ Dot {
731
+  name Dot25
732
+  label "  "
733
+  note_font "Arial Black"
734
+  note_font_size 16
735
+  xpos -1260
736
+  ypos 561
737
+ }
738
+push $N92feed0
739
+ Copy {
740
+  inputs 2
741
+  from0 rgba.alpha
742
+  to0 rgba.alpha
743
+  name Copy2
744
+  xpos -691
745
+  ypos 669
746
+ }
747
+set N9319c30 [stack 0]
748
+ ChannelMerge {
749
+  inputs 2
750
+  name ChannelMerge1
751
+  xpos -691
752
+  ypos 764
753
+ }
754
+push $N9319c30
755
+push $N931eb20
756
+push $N92feed0
757
+ Shuffle {
758
+  in alpha
759
+  red black
760
+  out alpha
761
+  name Shuffle1
762
+  tile_color 0xff000000
763
+  label "Alpha = 0"
764
+  xpos -947
765
+  ypos 736
766
+ }
767
+ Switch {
768
+  inputs 5
769
+  which {{alphaChoice}}
770
+  name Switch4
771
+  xpos -819
772
+  ypos 818
773
+ }
774
+ CopyBBox {
775
+  inputs 2
776
+  name CopyBBox1
777
+  xpos -819
778
+  ypos 920
779
+ }
780
+ Switch {
781
+  inputs 2
782
+  which {{viewRange x1 0}}
783
+  name Switch5
784
+  xpos -819
785
+  ypos 989
786
+ }
787
+ Output {
788
+  name Output1
789
+  xpos -819
790
+  ypos 1193
791
+ }
792
+end_group

+ 697
- 0
gizmos/bm_OpticalGlow.gizmo ファイルの表示

@@ -0,0 +1,697 @@
1
+#! /data/studio/upipe/apps/nuke/11.1v1/bin/linux/centos7/libnuke-11.1.1.so -nx
2
+version 11.1 v1
3
+Group {
4
+name bm_OpticalGlow
5
+ knobChanged "n1 = nuke.thisNode()\nk1 = nuke.thisKnob()\nif k1.name() == \"effectOnly\":\n    if k1.value() == 1:\n        n1\[\"mergeType\"].setEnabled(False)\n    else:\n        n1\[\"mergeType\"].setEnabled(True) \n\n\nn2 = nuke.thisNode()\nk2 = nuke.thisKnob()\nif k2.name() == \"useThresholdCheckbox\":\n    if k2.value() == 1:\n        n2\[\"viewRange\"].setEnabled(True)\n    else:\n        n2\[\"viewRange\"].setEnabled(False)"
6
+ tile_color 0x222222ff
7
+ addUserKnob {20 Options}
8
+ addUserKnob {4 mergeType l "Merge Operation" M {Max Over Screen Plus "" "" ""}}
9
+ addUserKnob {26 spacer_01 l "" -STARTLINE T "      "}
10
+ addUserKnob {6 effectOnly l " Effect Only" -STARTLINE}
11
+ addUserKnob {4 glowType l "Glow Math" M {Double Fibonacci ""}}
12
+ glowType Fibonacci
13
+ addUserKnob {26 spacer_02 l "" -STARTLINE T "   "}
14
+ addUserKnob {6 useThresholdCheckbox l "Use Threshold" -STARTLINE}
15
+ addUserKnob {6 cropBboxCheck l "Crop BBox   " +STARTLINE}
16
+ cropBboxCheck true
17
+ addUserKnob {6 viewRange l "View Threshold" -STARTLINE +DISABLED}
18
+ addUserKnob {26 ""}
19
+ addUserKnob {20 tGrp l "Threshold Selector" n 1}
20
+ tGrp 0
21
+ addUserKnob {26 spacer_03 l "" +STARTLINE T " "}
22
+ addUserKnob {41 range l "" +STARTLINE T Keyer1.range}
23
+ addUserKnob {26 spacer_04 l "" +STARTLINE T " "}
24
+ addUserKnob {20 endGroup n -1}
25
+ addUserKnob {26 ""}
26
+ addUserKnob {7 glowSize l Size R 0 500}
27
+ glowSize 100
28
+ addUserKnob {7 glowAspect l Aspect R 0.5 2}
29
+ glowAspect 1
30
+ addUserKnob {7 glowBrightness l Brightness R 0 3}
31
+ glowBrightness 1
32
+ addUserKnob {18 glowGamma l Gamma R 0 2}
33
+ glowGamma 1
34
+ addUserKnob {6 glowGamma_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
35
+ addUserKnob {6 glowGamma_panelDropped_1 l "panel dropped state" -STARTLINE +HIDDEN}
36
+ addUserKnob {6 glowGamma_panelDropped_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
37
+ addUserKnob {6 glowGamma_panelDropped_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
38
+ addUserKnob {6 glowGamma_panelDropped_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
39
+ addUserKnob {6 glowGamma_panelDropped_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
40
+ addUserKnob {6 glowGamma_panelDropped_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
41
+ addUserKnob {6 glowGamma_panelDropped_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
42
+ addUserKnob {18 glowSaturation l Saturation R 0 3}
43
+ glowSaturation 1
44
+ addUserKnob {6 glowSaturation_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
45
+ addUserKnob {6 glowSaturation_panelDropped_1 l "panel dropped state" -STARTLINE +HIDDEN}
46
+ addUserKnob {6 glowSaturation_panelDropped_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
47
+ addUserKnob {6 glowSaturation_panelDropped_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
48
+ addUserKnob {6 glowSaturation_panelDropped_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
49
+ addUserKnob {6 glowSaturation_panelDropped_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
50
+ addUserKnob {6 glowSaturation_panelDropped_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
51
+ addUserKnob {6 glowSaturation_panelDropped_1_1_1_1_1_1_1 l "panel dropped state" -STARTLINE +HIDDEN}
52
+ addUserKnob {26 ""}
53
+ addUserKnob {4 alphaChoice l "Use Alpha From" M {Plate "Glow Only" "Glow Range" "Plate & Glow" ""}}
54
+ alphaChoice "Plate & Glow"
55
+ addUserKnob {7 glowMix l Mix}
56
+ glowMix 1
57
+ addUserKnob {26 ""}
58
+ addUserKnob {20 versionInfo l Info}
59
+ addUserKnob {26 ""}
60
+ addUserKnob {26 versionInfo_1 l "" +STARTLINE T "\nCreated by Ben McEwan\nwww.benmcewan.com\n\nVersion 3.1\nLast Updated: February 9th, 2018\n"}
61
+ addUserKnob {26 ""}
62
+}
63
+ Input {
64
+  inputs 0
65
+  name Input
66
+  xpos -1113
67
+  ypos -1060
68
+ }
69
+ Expression {
70
+  expr3 a==0?0:a
71
+  name Expression1
72
+  label "Alpha Error Fix"
73
+  xpos -1113
74
+  ypos -1006
75
+ }
76
+ Dot {
77
+  name Dot1
78
+  label "  "
79
+  note_font "Arial Black"
80
+  note_font_size 16
81
+  xpos -1079
82
+  ypos -918
83
+ }
84
+set N98be530 [stack 0]
85
+ Dot {
86
+  name Dot21
87
+  label "  "
88
+  note_font "Arial Black"
89
+  note_font_size 16
90
+  xpos -1079
91
+  ypos 85
92
+ }
93
+set N9a91590 [stack 0]
94
+ Dot {
95
+  name Dot25
96
+  label "  "
97
+  note_font "Arial Black"
98
+  note_font_size 16
99
+  xpos -1304
100
+  ypos 85
101
+ }
102
+ Dot {
103
+  name Dot26
104
+  label "  "
105
+  note_font "Arial Black"
106
+  note_font_size 16
107
+  xpos -1304
108
+  ypos 582
109
+ }
110
+set Nac89d20 [stack 0]
111
+ Crop {
112
+  box {0 0 {input.width} {input.height}}
113
+  name Crop1
114
+  xpos -1338
115
+  ypos 1030
116
+ }
117
+push $N98be530
118
+ Keyer {
119
+  operation "luminance key"
120
+  name Keyer1
121
+  xpos -732
122
+  ypos -927
123
+ }
124
+set N9688300 [stack 0]
125
+ Dot {
126
+  name Dot27
127
+  label "  "
128
+  note_font "Arial Black"
129
+  note_font_size 16
130
+  xpos 554
131
+  ypos -918
132
+ }
133
+ Dot {
134
+  name Dot28
135
+  label "  "
136
+  note_font "Arial Black"
137
+  note_font_size 16
138
+  xpos 554
139
+  ypos 585
140
+ }
141
+set N980f080 [stack 0]
142
+ Shuffle {
143
+  in alpha
144
+  red alpha
145
+  name Shuffle2
146
+  tile_color 0xffffff01
147
+  label "\[value alpha] > \[value out]"
148
+  xpos 520
149
+  ypos 883
150
+ }
151
+push $N9688300
152
+ Premult {
153
+  name Premult1
154
+  xpos -732
155
+  ypos -891
156
+ }
157
+push $N98be530
158
+ Switch {
159
+  inputs 2
160
+  which {{useThresholdCheckbox}}
161
+  name Switch3
162
+  xpos -732
163
+  ypos -810
164
+ }
165
+ Dot {
166
+  name Dot2
167
+  label "  "
168
+  note_font "Arial Black"
169
+  note_font_size 16
170
+  xpos -698
171
+  ypos -754
172
+ }
173
+set N970e6f0 [stack 0]
174
+ Dot {
175
+  name Dot11
176
+  label "  "
177
+  note_font "Arial Black"
178
+  note_font_size 16
179
+  xpos -578
180
+  ypos -754
181
+ }
182
+set N999c9a0 [stack 0]
183
+ Dot {
184
+  name Dot10
185
+  label "  "
186
+  note_font "Arial Black"
187
+  note_font_size 16
188
+  xpos -444
189
+  ypos -754
190
+ }
191
+set N971c080 [stack 0]
192
+ Dot {
193
+  name Dot9
194
+  label "  "
195
+  note_font "Arial Black"
196
+  note_font_size 16
197
+  xpos -314
198
+  ypos -754
199
+ }
200
+set N98022d0 [stack 0]
201
+ Dot {
202
+  name Dot8
203
+  label "  "
204
+  note_font "Arial Black"
205
+  note_font_size 16
206
+  xpos -185
207
+  ypos -754
208
+ }
209
+set N8a6f360 [stack 0]
210
+ Dot {
211
+  name Dot7
212
+  label "  "
213
+  note_font "Arial Black"
214
+  note_font_size 16
215
+  xpos -75
216
+  ypos -754
217
+ }
218
+set N9754320 [stack 0]
219
+ Dot {
220
+  name Dot6
221
+  label "  "
222
+  note_font "Arial Black"
223
+  note_font_size 16
224
+  xpos 47
225
+  ypos -754
226
+ }
227
+set Na3ffd900 [stack 0]
228
+ Dot {
229
+  name Dot5
230
+  label "  "
231
+  note_font "Arial Black"
232
+  note_font_size 16
233
+  xpos 179
234
+  ypos -754
235
+ }
236
+set N5aef6300 [stack 0]
237
+ Dot {
238
+  name Dot4
239
+  label "  "
240
+  note_font "Arial Black"
241
+  note_font_size 16
242
+  xpos 301
243
+  ypos -754
244
+ }
245
+set N5aefa550 [stack 0]
246
+ Dot {
247
+  name Dot3
248
+  label "  "
249
+  note_font "Arial Black"
250
+  note_font_size 16
251
+  xpos 421
252
+  ypos -754
253
+ }
254
+ Blur {
255
+  size {{(glowType==0?(glowSize*25.6):(glowSize*5.5))*glowAspect} {glowType==0?(glowSize*25.6):(glowSize*5.5)}}
256
+  name Blur10
257
+  xpos 387
258
+  ypos -714
259
+ }
260
+ Multiply {
261
+  channels rgb
262
+  value {{glowType==0?(glowBrightness/512):(glowBrightness/50)}}
263
+  name Multiply10
264
+  xpos 387
265
+  ypos -678
266
+ }
267
+ Dot {
268
+  name Dot13
269
+  label "  "
270
+  note_font "Arial Black"
271
+  note_font_size 16
272
+  xpos 421
273
+  ypos -92
274
+ }
275
+push $N5aefa550
276
+ Blur {
277
+  size {{(glowType==0?(glowSize*12.8):(glowSize*3.4))*glowAspect} {glowType==0?(glowSize*12.8):(glowSize*3.4)}}
278
+  name Blur9
279
+  xpos 267
280
+  ypos -712
281
+ }
282
+ Multiply {
283
+  channels rgb
284
+  value {{glowType==0?(glowBrightness/256):(glowBrightness/33)}}
285
+  name Multiply9
286
+  xpos 267
287
+  ypos -676
288
+ }
289
+ Dot {
290
+  name Dot14
291
+  label "  "
292
+  note_font "Arial Black"
293
+  note_font_size 16
294
+  xpos 301
295
+  ypos -156
296
+ }
297
+push $N5aef6300
298
+ Blur {
299
+  size {{(glowType==0?(glowSize*6.4):(glowSize*2.1))*glowAspect} {glowType==0?(glowSize*6.4):(glowSize*2.1)}}
300
+  name Blur8
301
+  xpos 145
302
+  ypos -716
303
+ }
304
+ Multiply {
305
+  channels rgb
306
+  value {{glowType==0?(glowBrightness/128):(glowBrightness/20)}}
307
+  name Multiply8
308
+  xpos 145
309
+  ypos -680
310
+ }
311
+ Dot {
312
+  name Dot15
313
+  label "  "
314
+  note_font "Arial Black"
315
+  note_font_size 16
316
+  xpos 179
317
+  ypos -221
318
+ }
319
+push $Na3ffd900
320
+ Blur {
321
+  size {{(glowType==0?(glowSize*3.2):(glowSize*1.3))*glowAspect} {glowType==0?(glowSize*3.2):(glowSize*1.3)}}
322
+  name Blur7
323
+  xpos 13
324
+  ypos -717
325
+ }
326
+ Multiply {
327
+  channels rgb
328
+  value {{glowType==0?(glowBrightness/64):(glowBrightness/12.5)}}
329
+  name Multiply7
330
+  xpos 13
331
+  ypos -681
332
+ }
333
+ Dot {
334
+  name Dot16
335
+  label "  "
336
+  note_font "Arial Black"
337
+  note_font_size 16
338
+  xpos 47
339
+  ypos -285
340
+ }
341
+push $N9754320
342
+ Blur {
343
+  size {{(glowType==0?(glowSize*1.6):(glowSize/1.25))*glowAspect} {glowType==0?(glowSize*1.6):(glowSize/1.25)}}
344
+  name Blur6
345
+  xpos -109
346
+  ypos -716
347
+ }
348
+ Multiply {
349
+  channels rgb
350
+  value {{glowType==0?(glowBrightness/32):(glowBrightness/7.68)}}
351
+  name Multiply6
352
+  xpos -109
353
+  ypos -680
354
+ }
355
+ Dot {
356
+  name Dot17
357
+  label "  "
358
+  note_font "Arial Black"
359
+  note_font_size 16
360
+  xpos -75
361
+  ypos -354
362
+ }
363
+push $N8a6f360
364
+ Blur {
365
+  size {{(glowType==0?(glowSize/12.5):(glowSize/2))*glowAspect} {glowType==0?(glowSize/12.5):(glowSize/2)}}
366
+  name Blur5
367
+  xpos -219
368
+  ypos -719
369
+ }
370
+ Multiply {
371
+  channels rgb
372
+  value {{glowType==0?(glowBrightness/16):(glowBrightness/4.75)}}
373
+  name Multiply5
374
+  xpos -219
375
+  ypos -683
376
+ }
377
+ Dot {
378
+  name Dot18
379
+  label "  "
380
+  note_font "Arial Black"
381
+  note_font_size 16
382
+  xpos -185
383
+  ypos -421
384
+ }
385
+push $N98022d0
386
+ Blur {
387
+  size {{(glowType==0?(glowSize/2.5):(glowSize/3.3333))*glowAspect} {glowType==0?(glowSize/2.5):(glowSize/3.3333)}}
388
+  name Blur4
389
+  xpos -348
390
+  ypos -721
391
+ }
392
+ Multiply {
393
+  channels rgb
394
+  value {{glowType==0?(glowBrightness/8):(glowBrightness/2.94)}}
395
+  name Multiply4
396
+  xpos -348
397
+  ypos -685
398
+ }
399
+ Dot {
400
+  name Dot19
401
+  label "  "
402
+  note_font "Arial Black"
403
+  note_font_size 16
404
+  xpos -314
405
+  ypos -479
406
+ }
407
+push $N971c080
408
+ Blur {
409
+  size {{(glowSize/5)*glowAspect} {glowSize/5}}
410
+  name Blur3
411
+  selected true
412
+  xpos -478
413
+  ypos -723
414
+ }
415
+ Multiply {
416
+  channels rgb
417
+  value {{glowType==0?(glowBrightness/4):(glowBrightness/1.815)}}
418
+  name Multiply3
419
+  xpos -478
420
+  ypos -687
421
+ }
422
+ Dot {
423
+  name Dot20
424
+  label "  "
425
+  note_font "Arial Black"
426
+  note_font_size 16
427
+  xpos -444
428
+  ypos -535
429
+ }
430
+push $N999c9a0
431
+ Blur {
432
+  size {{(glowSize/10)*glowAspect} {glowSize/10}}
433
+  name Blur2
434
+  xpos -612
435
+  ypos -723
436
+ }
437
+ Multiply {
438
+  channels rgb
439
+  value {{glowType==0?(glowBrightness/2):(glowBrightness/1.124)}}
440
+  name Multiply2
441
+  xpos -612
442
+  ypos -687
443
+ }
444
+ Dot {
445
+  name Dot12
446
+  label "  "
447
+  note_font "Arial Black"
448
+  note_font_size 16
449
+  xpos -578
450
+  ypos -592
451
+ }
452
+push $N970e6f0
453
+ Blur {
454
+  size {{glowSize/50}}
455
+  name Blur1
456
+  xpos -732
457
+  ypos -722
458
+ }
459
+ Multiply {
460
+  channels rgb
461
+  value {{glowBrightness}}
462
+  name Multiply1
463
+  xpos -732
464
+  ypos -686
465
+ }
466
+ Merge2 {
467
+  inputs 2
468
+  operation plus
469
+  name Merge1
470
+  xpos -732
471
+  ypos -595
472
+ }
473
+ Merge2 {
474
+  inputs 2
475
+  operation plus
476
+  name Merge2
477
+  xpos -732
478
+  ypos -538
479
+ }
480
+ Merge2 {
481
+  inputs 2
482
+  operation plus
483
+  name Merge3
484
+  xpos -732
485
+  ypos -482
486
+ }
487
+ Merge2 {
488
+  inputs 2
489
+  operation plus
490
+  name Merge4
491
+  xpos -732
492
+  ypos -424
493
+ }
494
+ Merge2 {
495
+  inputs 2
496
+  operation plus
497
+  name Merge5
498
+  xpos -732
499
+  ypos -357
500
+ }
501
+ Merge2 {
502
+  inputs 2
503
+  operation plus
504
+  name Merge6
505
+  xpos -732
506
+  ypos -288
507
+ }
508
+ Merge2 {
509
+  inputs 2
510
+  operation plus
511
+  name Merge7
512
+  xpos -732
513
+  ypos -224
514
+ }
515
+ Merge2 {
516
+  inputs 2
517
+  operation plus
518
+  name Merge8
519
+  xpos -732
520
+  ypos -159
521
+ }
522
+ Merge2 {
523
+  inputs 2
524
+  operation plus
525
+  name Merge9
526
+  xpos -732
527
+  ypos -95
528
+ }
529
+ Multiply {
530
+  channels alpha
531
+  value 0.1
532
+  name Multiply22
533
+  xpos -732
534
+  ypos -57
535
+ }
536
+ ColorCorrect {
537
+  saturation {{glowSaturation} {glowSaturation} {glowSaturation} 1}
538
+  gamma {{glowGamma} {glowGamma} {glowGamma} 1}
539
+  name ColorCorrect1
540
+  xpos -732
541
+  ypos -21
542
+ }
543
+ Multiply {
544
+  value {{glowType==0?(glowMix):(glowMix/2.5)}}
545
+  name Multiply11
546
+  xpos -732
547
+  ypos 3
548
+ }
549
+ Dot {
550
+  name Dot24
551
+  label "  "
552
+  note_font "Arial Black"
553
+  note_font_size 16
554
+  xpos -698
555
+  ypos 149
556
+ }
557
+set Nd01a2670 [stack 0]
558
+ Dot {
559
+  name Dot22
560
+  label "  "
561
+  note_font "Arial Black"
562
+  note_font_size 16
563
+  xpos -472
564
+  ypos 227
565
+ }
566
+ Dot {
567
+  name Dot23
568
+  label "  "
569
+  note_font "Arial Black"
570
+  note_font_size 16
571
+  xpos -472
572
+  ypos 420
573
+ }
574
+set Nd01abc40 [stack 0]
575
+push $Nd01a2670
576
+push $N9a91590
577
+ Merge2 {
578
+  inputs 2
579
+  operation plus
580
+  name Merge13
581
+  xpos -650
582
+  ypos 258
583
+ }
584
+push $Nd01a2670
585
+push $N9a91590
586
+ Merge2 {
587
+  inputs 2
588
+  operation screen
589
+  name Merge12
590
+  xpos -752
591
+  ypos 257
592
+ }
593
+push $Nd01a2670
594
+push $N9a91590
595
+ Merge2 {
596
+  inputs 2
597
+  name Merge11
598
+  xpos -860
599
+  ypos 259
600
+ }
601
+push $Nd01a2670
602
+push $N9a91590
603
+ Merge2 {
604
+  inputs 2
605
+  operation max
606
+  name Merge10
607
+  xpos -1113
608
+  ypos 259
609
+ }
610
+ Switch {
611
+  inputs 4
612
+  which {{mergeType}}
613
+  name Switch1
614
+  xpos -819
615
+  ypos 340
616
+ }
617
+ Switch {
618
+  inputs 2
619
+  which {{effectOnly}}
620
+  name Switch2
621
+  xpos -819
622
+  ypos 416
623
+ }
624
+set Nac4765e0 [stack 0]
625
+ Dot {
626
+  name Dot29
627
+  label "  "
628
+  note_font "Arial Black"
629
+  note_font_size 16
630
+  xpos -918
631
+  ypos 491
632
+ }
633
+ Dot {
634
+  name Dot30
635
+  label "  "
636
+  note_font "Arial Black"
637
+  note_font_size 16
638
+  xpos -918
639
+  ypos 718
640
+ }
641
+push $N980f080
642
+push $Nac4765e0
643
+ Copy {
644
+  inputs 2
645
+  from0 rgba.alpha
646
+  to0 rgba.alpha
647
+  name Copy3
648
+  xpos -564
649
+  ypos 576
650
+ }
651
+push $Nd01abc40
652
+push $Nac4765e0
653
+ Copy {
654
+  inputs 2
655
+  from0 rgba.alpha
656
+  to0 rgba.alpha
657
+  name Copy2
658
+  xpos -702
659
+  ypos 574
660
+ }
661
+push $Nac89d20
662
+push $Nac4765e0
663
+ Copy {
664
+  inputs 2
665
+  from0 rgba.alpha
666
+  to0 rgba.alpha
667
+  name Copy1
668
+  xpos -819
669
+  ypos 573
670
+ }
671
+ Switch {
672
+  inputs 4
673
+  which {{alphaChoice}}
674
+  name Switch4
675
+  xpos -819
676
+  ypos 715
677
+ }
678
+ Switch {
679
+  inputs 2
680
+  which {{viewRange x1 0}}
681
+  name Switch5
682
+  xpos -819
683
+  ypos 889
684
+ }
685
+ CopyBBox {
686
+  inputs 2
687
+  name CopyBBox1
688
+  xpos -817
689
+  ypos 1030
690
+  disable {{!cropBboxCheck}}
691
+ }
692
+ Output {
693
+  name Output1
694
+  xpos -817
695
+  ypos 1191
696
+ }
697
+end_group

+ 162
- 0
gizmos/dg_Vignette.gizmo ファイルの表示

@@ -0,0 +1,162 @@
1
+
2
+Gizmo {
3
+ help "Vignette tool by Den Gheiko"
4
+ tile_color 0x7c7a51ff
5
+ addUserKnob {20 Form}
6
+ addUserKnob {41 Core T Input1.Core}
7
+ addUserKnob {41 Border T Input1.Border}
8
+ addUserKnob {41 Softness T Input1.Softness}
9
+ addUserKnob {20 Color}
10
+ addUserKnob {20 out l border n 1}
11
+ addUserKnob {41 gainout l gain T Input1.gainout}
12
+ addUserKnob {41 gammaout l gamma T Input1.gammaout}
13
+ addUserKnob {41 liftout l lift T Input1.liftout}
14
+ addUserKnob {20 endGroup n -1}
15
+ addUserKnob {26 ""}
16
+ addUserKnob {20 in l core n 1}
17
+ addUserKnob {41 gainin l gain T Input1.gainin}
18
+ addUserKnob {41 gammain l gamma T Input1.gammain}
19
+ addUserKnob {41 liftin l lift T Input1.liftin}
20
+ addUserKnob {26 ""}
21
+ addUserKnob {32 NoChange T "knob gainout 1\nknob gammaout 1\nknob liftout 0\n\nknob gainin 1\nknob gammain 1\nknob liftin 0" +STARTLINE}
22
+ addUserKnob {32 Defaults -STARTLINE T "knob gainout 0.849\nknob gammaout 0.3\nknob liftout -0.03\n\nknob gainin 1.09\nknob gammain 1.134\nknob liftin 0"}
23
+ addUserKnob {20 endGroup_1 l endGroup n -1}
24
+ addUserKnob {20 Output}
25
+ addUserKnob {41 output l Output T Input1.output}
26
+ addUserKnob {26 ""}
27
+ addUserKnob {41 to0 l "Mask output" T Copy1.to0}
28
+ addUserKnob {41 invert -STARTLINE T Input1.invert}
29
+}
30
+ Input {
31
+  inputs 0
32
+  name Input1
33
+  xpos 415
34
+  ypos -363
35
+  addUserKnob {20 User}
36
+  addUserKnob {7 gainin R 1 1.2}
37
+  gainin 1.09
38
+  addUserKnob {7 gammain R 1 1.2}
39
+  gammain 1.134
40
+  addUserKnob {7 liftin R -0.1 0.1}
41
+  addUserKnob {7 liftout R -0.1 0.1}
42
+  liftout -0.03
43
+  addUserKnob {7 gainout R 1 0.8}
44
+  gainout 0.849
45
+  addUserKnob {7 gammaout R 0.3 1}
46
+  gammaout 0.3
47
+  addUserKnob {7 Softness}
48
+  Softness 1
49
+  addUserKnob {7 amount}
50
+  amount 1
51
+  addUserKnob {4 output M {result mask}}
52
+  addUserKnob {6 invert +STARTLINE}
53
+  invert true
54
+  addUserKnob {7 Core}
55
+  Core 1
56
+  addUserKnob {7 Border}
57
+  Border 1
58
+ }
59
+ Dot {
60
+  name Dot5
61
+  xpos 443
62
+  ypos -285
63
+ }
64
+set N715c8cd0 [stack 0]
65
+ Radial {
66
+  replace true
67
+  area {{-width*(1-Input1.Border)} {area.x} {width-area.x} {height-area.y}}
68
+  name Radial3
69
+  xpos 540
70
+  ypos -282
71
+ }
72
+ Keyer {
73
+  input alpha
74
+  operation "luminance key"
75
+  range {0 {0.2*(1-Input1.Core)} 1 1}
76
+  name Keyer1
77
+  xpos 540
78
+  ypos -234
79
+ }
80
+ Blur {
81
+  size {{max(width,height)/3*Input1.Softness}}
82
+  name Blur1
83
+  xpos 540
84
+  ypos -190
85
+ }
86
+set N715c9720 [stack 0]
87
+ Shuffle {
88
+  red alpha
89
+  green alpha
90
+  blue alpha
91
+  name Shuffle1
92
+  xpos 537
93
+  ypos -93
94
+ }
95
+set N71592920 [stack 0]
96
+ Invert {
97
+  name Invert1
98
+  xpos 539
99
+  ypos -29
100
+  disable {{1-parent.Input1.invert}}
101
+ }
102
+ Dot {
103
+  name Dot1
104
+  xpos 567
105
+  ypos 55
106
+ }
107
+set N71593000 [stack 0]
108
+push $N71592920
109
+push $N715c9720
110
+push $N715c9720
111
+push $N715c8cd0
112
+ Grade {
113
+  inputs 1+1
114
+  black {{parent.Input1.liftout}}
115
+  white {{parent.Input1.gainout}}
116
+  gamma {{parent.Input1.gammaout}}
117
+  invert_mask true
118
+  name GradeOut1
119
+  xpos 415
120
+  ypos -184
121
+ }
122
+ Grade {
123
+  inputs 1+1
124
+  black {{parent.Input1.liftin}}
125
+  white {{parent.Input1.gainin}}
126
+  gamma {{parent.Input1.gammain}}
127
+  name GradeIn1
128
+  xpos 415
129
+  ypos -145
130
+ }
131
+ Switch {
132
+  inputs 2
133
+  which {{Input1.output i}}
134
+  name Switch1
135
+  xpos 415
136
+  ypos -93
137
+ }
138
+ Copy {
139
+  inputs 2
140
+  from0 rgba.alpha
141
+  to0 mask.a
142
+  name Copy1
143
+  xpos 418
144
+  ypos 52
145
+  addUserKnob {20 User}
146
+  addUserKnob {32 frwd -STARTLINE T "knob from0 \{rgba.red\}\nknob from1 \{rgba.green\}\nknob to0 \{forward.u\}\nknob to1 \{forward.v\}"}
147
+  addUserKnob {32 frwd -STARTLINE T "knob from0 \{rgba.red\}\nknob from1 \{rgba.green\}\nknob to0 \{forward.u\}\nknob to1 \{forward.v\}"}
148
+ }
149
+ Output {
150
+  name Output1
151
+  xpos 418
152
+  ypos 133
153
+ }
154
+push $N71593000
155
+ Viewer {
156
+  input_process false
157
+  name Viewer1
158
+  selected true
159
+  xpos 540
160
+  ypos -258
161
+ }
162
+end_group

+ 969
- 0
gizmos/expoglow.gizmo ファイルの表示

@@ -0,0 +1,969 @@
1
+Gizmo {
2
+ name expoglow1
3
+ selected true
4
+ xpos 100
5
+ ypos -150
6
+ addUserKnob {20 exponentialGlow l "Exponential Glow"}
7
+ addUserKnob {20 PreGrade n 1}
8
+ PreGrade 0
9
+ addUserKnob {6 preview t "Check this to preview the input image the glow will get to process." +STARTLINE}
10
+ addUserKnob {41 blackpoint T PreGradeNode.blackpoint}
11
+ addUserKnob {41 whitepoint T PreGradeNode.whitepoint}
12
+ addUserKnob {41 black l lift T PreGradeNode.black}
13
+ addUserKnob {41 white l gain T PreGradeNode.white}
14
+ addUserKnob {41 multiply T PreGradeNode.multiply}
15
+ addUserKnob {41 add l offset T PreGradeNode.add}
16
+ addUserKnob {41 gamma T PreGradeNode.gamma}
17
+ addUserKnob {41 black_clamp_1 l "black clamp" T PreGradeNode.black_clamp}
18
+ addUserKnob {41 white_clamp l "white clamp" -STARTLINE T PreGradeNode.white_clamp}
19
+ addUserKnob {20 endGroup_3 l endGroup n -1}
20
+ addUserKnob {26 ""}
21
+ addUserKnob {20 GlowSettings l "Glow Settings" n 1}
22
+ addUserKnob {7 size l exponent t "Gradually dials in exponential levels of glow. Defaults to 7 (2^7 = 128px glow), max is 13 (2^13 = 8192px glow)." R 0 13}
23
+ size 6.5
24
+ addUserKnob {7 stretch t "Positive values will stretch the glow horizontally, negative values vertically." R -10 10}
25
+ addUserKnob {14 glowstretch l INVISIBLE t "Lets you stretch the blur horizontally/vertically. Works as a multiplier." +INVISIBLE R 0 100}
26
+ glowstretch {1 1}
27
+ addUserKnob {6 subtract_input l "subtract input" t "Will subtract the pre-graded image from the glow result, making for less hot highlights." +STARTLINE}
28
+ subtract_input true
29
+ addUserKnob {6 screen t "Will use blending mode 'screen' instead of 'plus' for softer highlights." +STARTLINE}
30
+ addUserKnob {6 ignore_alpha l "ignore alpha" t "Will apply the glow only to rgb and keep the original alpha intact." +STARTLINE}
31
+ ignore_alpha true
32
+ addUserKnob {4 cropbehavior l "crop to" t "Lets you select different crop behaviors." M {"incoming bbox" "incoming format" glow "" ""}}
33
+ addUserKnob {20 endGroup_4 l endGroup n -1}
34
+ addUserKnob {26 ""}
35
+ addUserKnob {20 PostGrade n 1}
36
+ PostGrade 0
37
+ addUserKnob {41 blackpoint_1 l blackpoint T PostGradeNode.blackpoint}
38
+ addUserKnob {41 whitepoint_1 l whitepoint T PostGradeNode.whitepoint}
39
+ addUserKnob {41 black_1 l lift T PostGradeNode.black}
40
+ addUserKnob {41 white_1 l gain T PostGradeNode.white}
41
+ addUserKnob {41 multiply_1 l multiply T PostGradeNode.multiply}
42
+ addUserKnob {41 add_1 l offset T PostGradeNode.add}
43
+ addUserKnob {41 gamma_1 l gamma T PostGradeNode.gamma}
44
+ addUserKnob {41 black_clamp l "black clamp" T PostGradeNode.black_clamp}
45
+ addUserKnob {41 white_clamp_1 l "white clamp" -STARTLINE T PostGradeNode.white_clamp}
46
+ addUserKnob {41 enable_mix_luminance l "mix luminance" T PostGradeNode.enable_mix_luminance}
47
+ addUserKnob {41 mix_luminance l "" -STARTLINE T PostGradeNode.mix_luminance}
48
+ addUserKnob {41 saturation T PostSaturation.saturation}
49
+ addUserKnob {41 mode l "luminance math" T PostSaturation.mode}
50
+ addUserKnob {20 endGroup_5 l endGroup n -1}
51
+ addUserKnob {26 ""}
52
+ addUserKnob {20 endGroup_6 l endGroup n -1}
53
+ addUserKnob {41 maskChannelMask l "" -STARTLINE T Dissolve1.maskChannelMask}
54
+ addUserKnob {41 inject -STARTLINE T Dissolve1.inject}
55
+ addUserKnob {41 fringe -STARTLINE T Dissolve1.fringe}
56
+ addUserKnob {41 invert_mask l invert -STARTLINE T Dissolve1.invert_mask}
57
+ addUserKnob {7 mix t "Adjust how much of the glow gets added to the image."}
58
+ mix 1
59
+ addUserKnob {6 previewPost l "effect only" t "See the glow result with PostGrade. Useful when you want to keep the glow outside of the main tree to do fancy awesome stuff with it before bringing it back in." -STARTLINE}
60
+ addUserKnob {26 ""}
61
+ addUserKnob {26 whodunnit l "" t "\nIt wasn't me! ... oh, that? Yeah, that was me.\nShoot me a mail:\njulian\[at]yellow-ant\[dot]net \n\nfirst released august 2013\nv1.4 released july 2017\n" +STARTLINE T "expoglow 1.4 - julian lojek\n"}
62
+ addUserKnob {20 ColorShift_1 l "Color Shift"}
63
+ addUserKnob {20 ShiftRed l "Shift Red" n 1}
64
+ addUserKnob {41 white_2 l gain T TintRed123.white}
65
+ addUserKnob {41 translate T ShiftRed123.translate}
66
+ addUserKnob {20 endGroup n -1}
67
+ addUserKnob {26 ""}
68
+ addUserKnob {20 ShiftGreen l "Shift Green" n 1}
69
+ addUserKnob {41 white_3 l gain T TintGreen123.white}
70
+ addUserKnob {41 translate_1 l translate T ShiftGreen123.translate}
71
+ addUserKnob {20 endGroup_1 l endGroup n -1}
72
+ addUserKnob {26 ""}
73
+ addUserKnob {20 ShiftBlue l "Shift Blue" n 1}
74
+ addUserKnob {41 white_4 l gain T TintBlue123.white}
75
+ addUserKnob {41 translate_2 l translate T ShiftBlue123.translate}
76
+ addUserKnob {20 endGroup_2 l endGroup n -1}
77
+}
78
+ BackdropNode {
79
+  inputs 0
80
+  name BackdropNode1
81
+  tile_color 0x272727ff
82
+  label PreGrade
83
+  note_font "Arial"
84
+  note_font_size 100
85
+  xpos -1145
86
+  ypos 612
87
+  bdwidth 1353
88
+  bdheight 176
89
+ }
90
+ BackdropNode {
91
+  inputs 0
92
+  name BackdropNode10
93
+  tile_color 0x272727ff
94
+  label Shift
95
+  note_font "Arial"
96
+  note_font_size 100
97
+  xpos -1143
98
+  ypos 2119
99
+  bdwidth 1354
100
+  bdheight 249
101
+ }
102
+ BackdropNode {
103
+  inputs 0
104
+  name BackdropNode11
105
+  tile_color 0x272727ff
106
+  label Crop
107
+  note_font "Arial"
108
+  note_font_size 100
109
+  xpos -1142
110
+  ypos 2408
111
+  bdwidth 1353
112
+  bdheight 176
113
+ }
114
+ BackdropNode {
115
+  inputs 0
116
+  name BackdropNode12
117
+  tile_color 0x272727ff
118
+  label Format
119
+  note_font "Arial"
120
+  note_font_size 100
121
+  xpos -1143
122
+  ypos 829
123
+  bdwidth 1346
124
+  bdheight 279
125
+ }
126
+ BackdropNode {
127
+  inputs 0
128
+  name BackdropNode2
129
+  tile_color 0x272727ff
130
+  label Blur
131
+  note_font "Arial"
132
+  note_font_size 100
133
+  xpos -1141
134
+  ypos 1164
135
+  bdwidth 1351
136
+  bdheight 699
137
+ }
138
+ BackdropNode {
139
+  inputs 0
140
+  name BackdropNode3
141
+  tile_color 0x272727ff
142
+  label PostGrade
143
+  note_font "Arial"
144
+  note_font_size 100
145
+  xpos -1142
146
+  ypos 1906
147
+  bdwidth 1353
148
+  bdheight 176
149
+ }
150
+ BackdropNode {
151
+  inputs 0
152
+  name BackdropNode4
153
+  tile_color 0x272727ff
154
+  label BlendMode
155
+  note_font "Arial"
156
+  note_font_size 100
157
+  xpos -1144
158
+  ypos 2636
159
+  bdwidth 1353
160
+  bdheight 176
161
+ }
162
+ BackdropNode {
163
+  inputs 0
164
+  name BackdropNode5
165
+  tile_color 0x272727ff
166
+  label Preview
167
+  note_font "Arial"
168
+  note_font_size 100
169
+  xpos -1145
170
+  ypos 2856
171
+  bdwidth 1353
172
+  bdheight 176
173
+ }
174
+ BackdropNode {
175
+  inputs 0
176
+  name BackdropNode6
177
+  tile_color 0x272727ff
178
+  label IgnoreA
179
+  note_font "Arial"
180
+  note_font_size 100
181
+  xpos -1144
182
+  ypos 3078
183
+  bdwidth 1353
184
+  bdheight 176
185
+ }
186
+ BackdropNode {
187
+  inputs 0
188
+  name BackdropNode7
189
+  tile_color 0x272727ff
190
+  label Input
191
+  note_font "Arial"
192
+  note_font_size 100
193
+  xpos -1145
194
+  ypos 179
195
+  bdwidth 1353
196
+  bdheight 176
197
+ }
198
+ BackdropNode {
199
+  inputs 0
200
+  name BackdropNode8
201
+  tile_color 0x272727ff
202
+  label Output
203
+  note_font "Arial"
204
+  note_font_size 100
205
+  xpos -1144
206
+  ypos 3297
207
+  bdwidth 1353
208
+  bdheight 176
209
+ }
210
+ BackdropNode {
211
+  inputs 0
212
+  name BackdropNode9
213
+  tile_color 0x272727ff
214
+  label Mask
215
+  note_font "Arial"
216
+  note_font_size 100
217
+  xpos -1145
218
+  ypos 390
219
+  bdwidth 1353
220
+  bdheight 176
221
+ }
222
+ Input {
223
+  inputs 0
224
+  name Input
225
+  xpos -384
226
+  ypos 230
227
+ }
228
+ AddChannels {
229
+  channels rgba
230
+  name AddChannels2
231
+  xpos -384
232
+  ypos 273
233
+ }
234
+set N53654400 [stack 0]
235
+ Dot {
236
+  name Dot16
237
+  xpos -616
238
+  ypos 276
239
+ }
240
+ Dot {
241
+  name Dot18
242
+  xpos -616
243
+  ypos 2497
244
+ }
245
+set N53655c00 [stack 0]
246
+ Dot {
247
+  name Dot7
248
+  xpos -616
249
+  ypos 2728
250
+ }
251
+set N53675c00 [stack 0]
252
+ Dot {
253
+  name Dot13
254
+  xpos -616
255
+  ypos 3174
256
+ }
257
+ AddChannels {
258
+  channels {-rgba.red -rgba.green -rgba.blue rgba.alpha}
259
+  name AddChannels1
260
+  xpos -376
261
+  ypos 3165
262
+ }
263
+ Input {
264
+  inputs 0
265
+  name mask
266
+  xpos -160
267
+  ypos 494
268
+  number 1
269
+ }
270
+push $N53654400
271
+ Dot {
272
+  name Dot8
273
+  xpos -350
274
+  ypos 432
275
+ }
276
+set N53674c00 [stack 0]
277
+push $N53674c00
278
+ Dot {
279
+  name Dot10
280
+  xpos -435
281
+  ypos 432
282
+ }
283
+ Shuffle {
284
+  red black
285
+  green black
286
+  blue black
287
+  alpha black
288
+  name Shuffle1
289
+  xpos -469
290
+  ypos 460
291
+ }
292
+ Dot {
293
+  name Dot11
294
+  xpos -435
295
+  ypos 497
296
+ }
297
+ Dissolve {
298
+  inputs 2+1
299
+  which 1
300
+  maskChannelMask -rgba.alpha
301
+  maskChannelInput -rgba.alpha
302
+  name Dissolve1
303
+  xpos -384
304
+  ypos 488
305
+ }
306
+ Grade {
307
+  channels rgba
308
+  name PreGradeNode
309
+  xpos -384
310
+  ypos 675
311
+ }
312
+ Dot {
313
+  name Dot20
314
+  xpos -350
315
+  ypos 711
316
+ }
317
+set N5b737400 [stack 0]
318
+ Dot {
319
+  name Dot17
320
+  xpos -480
321
+  ypos 711
322
+ }
323
+ Dot {
324
+  name Dot12
325
+  xpos -480
326
+  ypos 2964
327
+ }
328
+push $N5b737400
329
+ Dot {
330
+  name Dot29
331
+  xpos -350
332
+  ypos 917
333
+ }
334
+set N5b736800 [stack 0]
335
+ Dot {
336
+  name Dot30
337
+  xpos -194
338
+  ypos 917
339
+ }
340
+set N5b736400 [stack 0]
341
+ Dot {
342
+  name Dot31
343
+  xpos -59
344
+  ypos 917
345
+ }
346
+ Dot {
347
+  name Dot32
348
+  xpos -59
349
+  ypos 1048
350
+ }
351
+push $N5b736400
352
+ Reformat {
353
+  type "to box"
354
+  box_width {{width}}
355
+  box_height {{height}}
356
+  box_pixel_aspect {{pixel_aspect}}
357
+  resize none
358
+  black_outside true
359
+  name Reformat2
360
+  xpos -228
361
+  ypos 947
362
+ }
363
+ AdjBBox {
364
+  numpixels 100
365
+  name AdjBBox2
366
+  label "grow bbox to avoid errors with color shift"
367
+  xpos -228
368
+  ypos 985
369
+  disable {{parent.cropbehavior==2}}
370
+ }
371
+push $N5b736800
372
+ AdjBBox {
373
+  numpixels 100
374
+  name AdjBBox1
375
+  label "grow bbox to avoid errors with color shift"
376
+  xpos -384
377
+  ypos 959
378
+  disable {{parent.cropbehavior==2}}
379
+ }
380
+ Switch {
381
+  inputs 3
382
+  which {{parent.cropbehavior}}
383
+  name Switch2
384
+  xpos -384
385
+  ypos 1044
386
+ }
387
+ Dot {
388
+  name Dot146
389
+  xpos -350
390
+  ypos 1254
391
+ }
392
+set N5b758800 [stack 0]
393
+ Dot {
394
+  name Dot150
395
+  xpos -350
396
+  ypos 1290
397
+ }
398
+set N5b758400 [stack 0]
399
+ Dot {
400
+  name Dot149
401
+  xpos -350
402
+  ypos 1326
403
+ }
404
+set N5b758000 [stack 0]
405
+ Dot {
406
+  name Dot148
407
+  xpos -350
408
+  ypos 1362
409
+ }
410
+set N5b785c00 [stack 0]
411
+ Dot {
412
+  name Dot152
413
+  xpos -350
414
+  ypos 1398
415
+ }
416
+set N5b785800 [stack 0]
417
+ Dot {
418
+  name Dot151
419
+  xpos -350
420
+  ypos 1434
421
+ }
422
+set N5b785400 [stack 0]
423
+ Dot {
424
+  name Dot153
425
+  xpos -350
426
+  ypos 1470
427
+ }
428
+set N5b785000 [stack 0]
429
+ Dot {
430
+  name Dot147
431
+  xpos -350
432
+  ypos 1506
433
+ }
434
+set N5b784c00 [stack 0]
435
+ Dot {
436
+  name Dot1
437
+  xpos -350
438
+  ypos 1542
439
+ }
440
+set N5b784800 [stack 0]
441
+ Dot {
442
+  name Dot2
443
+  xpos -350
444
+  ypos 1578
445
+ }
446
+set N5b784400 [stack 0]
447
+ Dot {
448
+  name Dot3
449
+  xpos -350
450
+  ypos 1613
451
+ }
452
+set N5b784000 [stack 0]
453
+ Dot {
454
+  name Dot4
455
+  xpos -350
456
+  ypos 1650
457
+ }
458
+set N5b79fc00 [stack 0]
459
+ Dot {
460
+  name Dot5
461
+  xpos -350
462
+  ypos 1688
463
+ }
464
+set N5b79f800 [stack 0]
465
+ Dot {
466
+  name Dot6
467
+  xpos -350
468
+  ypos 1726
469
+ }
470
+set N5b79f400 [stack 0]
471
+ Dot {
472
+  name Dot154
473
+  xpos -350
474
+  ypos 1803
475
+ }
476
+push $N5b79f400
477
+ Blur {
478
+  channels rgba
479
+  size {{"parent.stretch > 0 ? (1+parent.stretch)*8192:8192"} {"stretch < 0 ? (1-stretch)*8192:8192"}}
480
+  crop false
481
+  name blur_8192
482
+  xpos -298
483
+  ypos 1723
484
+  disable {{parent.Merge6.disable}}
485
+ }
486
+push $N5b79f800
487
+ Blur {
488
+  channels rgba
489
+  size {{"parent.stretch > 0 ? (1+parent.stretch)*4096:4096"} {"stretch < 0 ? (1-stretch)*4096:4096"}}
490
+  crop false
491
+  name blur_4096
492
+  xpos -298
493
+  ypos 1685
494
+  disable {{parent.Merge5.disable}}
495
+ }
496
+push $N5b79fc00
497
+ Blur {
498
+  channels rgba
499
+  size {{"parent.stretch > 0 ? (1+parent.stretch)*2048:2048"} {"stretch < 0 ? (1-stretch)*2048:2048"}}
500
+  crop false
501
+  name blur_2048
502
+  xpos -298
503
+  ypos 1647
504
+  disable {{parent.Merge4.disable}}
505
+ }
506
+push $N5b784000
507
+ Blur {
508
+  channels rgba
509
+  size {{"parent.stretch > 0 ? (1+parent.stretch)*1024:1024"} {"stretch < 0 ? (1-stretch)*1024:1024"}}
510
+  crop false
511
+  name blur_1024
512
+  xpos -298
513
+  ypos 1610
514
+  disable {{parent.Merge3.disable}}
515
+ }
516
+push $N5b784400
517
+ Blur {
518
+  channels rgba
519
+  size {{"parent.stretch > 0 ? (1+parent.stretch)*512:512"} {"stretch < 0 ? (1-stretch)*512:512"}}
520
+  crop false
521
+  name blur_512
522
+  xpos -298
523
+  ypos 1575
524
+  disable {{parent.Merge2.disable}}
525
+ }
526
+push $N5b784800
527
+ Blur {
528
+  channels rgba
529
+  size {{"parent.stretch > 0 ? (1+parent.stretch)*256:256"} {"stretch < 0 ? (1-stretch)*256:256"}}
530
+  crop false
531
+  name blur_256
532
+  xpos -298
533
+  ypos 1539
534
+  disable {{parent.Merge1.disable}}
535
+ }
536
+push $N5b784c00
537
+ Blur {
538
+  channels rgba
539
+  size {{"parent.stretch > 0 ? (1+parent.stretch)*128:128"} {"stretch < 0 ? (1-stretch)*128:128" 128}}
540
+  crop false
541
+  name blur_128
542
+  xpos -298
543
+  ypos 1503
544
+  disable {{parent.Merge23.disable}}
545
+ }
546
+push $N5b785000
547
+ Blur {
548
+  channels rgba
549
+  size {{"parent.stretch > 0 ? (1+parent.stretch)*64:64"} {"stretch < 0 ? (1-stretch)*64:64"}}
550
+  crop false
551
+  name blur_64
552
+  xpos -298
553
+  ypos 1467
554
+  disable {{parent.Merge22.disable}}
555
+ }
556
+push $N5b785400
557
+ Blur {
558
+  channels rgba
559
+  size {{"parent.stretch > 0 ? (1+parent.stretch)*32:32"} {"stretch < 0 ? (1-stretch)*32:32"}}
560
+  crop false
561
+  name blur_32
562
+  xpos -298
563
+  ypos 1431
564
+  disable {{parent.Merge21.disable}}
565
+ }
566
+push $N5b785800
567
+ Blur {
568
+  channels rgba
569
+  size {{"parent.stretch > 0 ? (1+parent.stretch)*16:16"} {"stretch < 0 ? (1-stretch)*16:16"}}
570
+  crop false
571
+  name blur_16
572
+  xpos -298
573
+  ypos 1395
574
+  disable {{parent.Merge20.disable}}
575
+ }
576
+push $N5b785c00
577
+ Blur {
578
+  channels rgba
579
+  size {{"parent.stretch > 0 ? (1+parent.stretch)*8:8"} {"stretch < 0 ? (1-stretch)*8:8"}}
580
+  crop false
581
+  name blur_8
582
+  xpos -298
583
+  ypos 1359
584
+  disable {{parent.Merge19.disable}}
585
+ }
586
+push $N5b758000
587
+ Blur {
588
+  channels rgba
589
+  size {{"parent.stretch > 0 ? (1+parent.stretch)*4 : 4"} {"stretch < 0 ? (1-stretch)*4:4"}}
590
+  crop false
591
+  name blur_4
592
+  xpos -298
593
+  ypos 1323
594
+  disable {{parent.Plus3.disable}}
595
+ }
596
+push $N5b758400
597
+ Blur {
598
+  channels rgba
599
+  size {{"parent.stretch > 0 ? (1+parent.stretch)*2 : 2"} {"stretch < 0 ? (1-stretch)*2:2"}}
600
+  crop false
601
+  name blur_2
602
+  xpos -298
603
+  ypos 1287
604
+  disable {{parent.Plus2.disable}}
605
+ }
606
+push $N5b758800
607
+ Blur {
608
+  channels rgba
609
+  size {{"parent.stretch > 0 ? (1+parent.stretch)*1 : 1"} {"stretch < 0 ? (1-stretch)*1 : 1"}}
610
+  crop false
611
+  mix {{parent.size}}
612
+  name blur_1
613
+  xpos -296
614
+  ypos 1250
615
+ }
616
+ Merge2 {
617
+  inputs 2
618
+  operation {{"group.screen == true ?25:24"}}
619
+  bbox {{parent.cropbehavior==2?0:3}}
620
+  mix {{parent.size}}
621
+  name Plus2
622
+  xpos -185
623
+  ypos 1287
624
+  disable {{"this.mix <= 0 ? 1 : 0"}}
625
+ }
626
+ Merge2 {
627
+  inputs 2
628
+  operation {{"group.screen == true ?25:24"}}
629
+  bbox {{parent.cropbehavior==2?0:3}}
630
+  mix {{parent.size-1}}
631
+  name Plus3
632
+  xpos -185
633
+  ypos 1323
634
+  disable {{"this.mix <= 0 ? 1 : 0"}}
635
+ }
636
+ Merge2 {
637
+  inputs 2
638
+  operation {{"group.screen == true ?25:24"}}
639
+  bbox {{parent.cropbehavior==2?0:3}}
640
+  mix {{parent.size-2}}
641
+  name Merge19
642
+  xpos -185
643
+  ypos 1359
644
+  disable {{"this.mix <= 0 ? 1 : 0"}}
645
+ }
646
+ Merge2 {
647
+  inputs 2
648
+  operation {{"group.screen == true ?25:24"}}
649
+  bbox {{parent.cropbehavior==2?0:3}}
650
+  mix {{parent.size-3}}
651
+  name Merge20
652
+  xpos -185
653
+  ypos 1395
654
+  disable {{"this.mix <= 0 ? 1 : 0"}}
655
+ }
656
+ Merge2 {
657
+  inputs 2
658
+  operation {{"group.screen == true ?25:24"}}
659
+  bbox {{parent.cropbehavior==2?0:3}}
660
+  mix {{parent.size-4}}
661
+  name Merge21
662
+  xpos -185
663
+  ypos 1431
664
+  disable {{"this.mix <= 0 ? 1 : 0"}}
665
+ }
666
+ Merge2 {
667
+  inputs 2
668
+  operation {{"group.screen == true ?25:24"}}
669
+  bbox {{parent.cropbehavior==2?0:3}}
670
+  mix {{parent.size-5}}
671
+  name Merge22
672
+  xpos -185
673
+  ypos 1467
674
+  disable {{"this.mix <= 0 ? 1 : 0"}}
675
+ }
676
+ Merge2 {
677
+  inputs 2
678
+  operation {{"group.screen == true ?25:24"}}
679
+  bbox {{parent.cropbehavior==2?0:3}}
680
+  mix {{parent.size-6}}
681
+  name Merge23
682
+  xpos -185
683
+  ypos 1503
684
+  disable {{"this.mix <= 0 ? 1 : 0"}}
685
+ }
686
+ Merge2 {
687
+  inputs 2
688
+  operation {{"group.screen == true ?25:24"}}
689
+  bbox {{parent.cropbehavior==2?0:3}}
690
+  mix {{parent.size-7}}
691
+  name Merge1
692
+  xpos -185
693
+  ypos 1539
694
+  disable {{"this.mix <= 0 ? 1 : 0"}}
695
+ }
696
+ Merge2 {
697
+  inputs 2
698
+  operation {{"group.screen == true ?25:24"}}
699
+  bbox {{parent.cropbehavior==2?0:3}}
700
+  mix {{parent.size-8}}
701
+  name Merge2
702
+  xpos -185
703
+  ypos 1575
704
+  disable {{"this.mix <= 0 ? 1 : 0"}}
705
+ }
706
+ Merge2 {
707
+  inputs 2
708
+  operation {{"group.screen == true ?25:24"}}
709
+  bbox {{parent.cropbehavior==2?0:3}}
710
+  mix {{parent.size-9}}
711
+  name Merge3
712
+  xpos -185
713
+  ypos 1610
714
+  disable {{"this.mix <= 0 ? 1 : 0"}}
715
+ }
716
+ Merge2 {
717
+  inputs 2
718
+  operation {{"group.screen == true ?25:24"}}
719
+  bbox {{parent.cropbehavior==2?0:3}}
720
+  mix {{parent.size-10}}
721
+  name Merge4
722
+  xpos -185
723
+  ypos 1647
724
+  disable {{"this.mix <= 0 ? 1 : 0"}}
725
+ }
726
+ Merge2 {
727
+  inputs 2
728
+  operation {{"group.screen == true ?25:24"}}
729
+  bbox {{parent.cropbehavior==2?0:3}}
730
+  mix {{parent.size-11}}
731
+  name Merge5
732
+  xpos -185
733
+  ypos 1685
734
+  disable {{"this.mix <= 0 ? 1 : 0"}}
735
+ }
736
+ Merge2 {
737
+  inputs 2
738
+  operation {{"group.screen == true ?25:24"}}
739
+  bbox {{parent.cropbehavior==2?0:3}}
740
+  mix {{parent.size-12}}
741
+  name Merge6
742
+  xpos -185
743
+  ypos 1723
744
+  disable {{"this.mix <= 0 ? 1 : 0"}}
745
+ }
746
+ Merge2 {
747
+  inputs 2
748
+  operation from
749
+  mix {{parent.subtract_input i}}
750
+  name Merge24
751
+  xpos -185
752
+  ypos 1799
753
+ }
754
+ Grade {
755
+  channels rgba
756
+  enable_mix_luminance false
757
+  name PostGradeNode
758
+  xpos -185
759
+  ypos 1981
760
+ }
761
+ Saturation {
762
+  name PostSaturation
763
+  xpos -185
764
+  ypos 2007
765
+ }
766
+ Dot {
767
+  name Dot23
768
+  xpos -151
769
+  ypos 2161
770
+ }
771
+set N5c8a5400 [stack 0]
772
+ Dot {
773
+  name Dot25
774
+  xpos -12
775
+  ypos 2161
776
+ }
777
+ Shuffle {
778
+  red blue
779
+  green blue
780
+  alpha black
781
+  name Shuffle4
782
+  xpos -46
783
+  ypos 2215
784
+ }
785
+ Grade {
786
+  white {0 0 1 0}
787
+  name TintBlue123
788
+  xpos -46
789
+  ypos 2239
790
+ }
791
+ Transform {
792
+  center {960 540}
793
+  name ShiftBlue123
794
+  xpos -46
795
+  ypos 2263
796
+ }
797
+ Dot {
798
+  name Dot27
799
+  xpos -12
800
+  ypos 2314
801
+ }
802
+push 0
803
+push $N5c8a5400
804
+ Dot {
805
+  name Dot24
806
+  xpos -299
807
+  ypos 2161
808
+ }
809
+ Shuffle {
810
+  green red
811
+  blue red
812
+  alpha black
813
+  name Shuffle2
814
+  xpos -333
815
+  ypos 2212
816
+ }
817
+ Grade {
818
+  white {1 0 0 0}
819
+  name TintRed123
820
+  xpos -333
821
+  ypos 2236
822
+ }
823
+ Transform {
824
+  center {960 540}
825
+  name ShiftRed123
826
+  xpos -333
827
+  ypos 2260
828
+ }
829
+ Dot {
830
+  name Dot26
831
+  xpos -299
832
+  ypos 2314
833
+ }
834
+push $N5c8a5400
835
+ Shuffle {
836
+  red green
837
+  blue green
838
+  name Shuffle3
839
+  xpos -185
840
+  ypos 2214
841
+ }
842
+ Grade {
843
+  white {0 1 0 0}
844
+  name TintGreen123
845
+  xpos -185
846
+  ypos 2238
847
+ }
848
+ Transform {
849
+  center {960 540}
850
+  name ShiftGreen123
851
+  xpos -185
852
+  ypos 2262
853
+ }
854
+ Merge2 {
855
+  inputs 3+1
856
+  operation plus
857
+  name Merge8
858
+  xpos -185
859
+  ypos 2310
860
+ }
861
+ Dot {
862
+  name Dot28
863
+  xpos -151
864
+  ypos 2473
865
+ }
866
+set N5c921800 [stack 0]
867
+ Dot {
868
+  name Dot9
869
+  xpos -53
870
+  ypos 2473
871
+ }
872
+set N5c921400 [stack 0]
873
+ Dot {
874
+  name Dot19
875
+  xpos 46
876
+  ypos 2473
877
+ }
878
+ Dot {
879
+  name Dot21
880
+  xpos 46
881
+  ypos 2513
882
+ }
883
+push $N5c921400
884
+ Reformat {
885
+  type "to box"
886
+  box_width {{Input.width}}
887
+  box_height {{Input.height}}
888
+  box_pixel_aspect {{Input.pixel_aspect}}
889
+  resize none
890
+  filter Impulse
891
+  black_outside true
892
+  name Reformat1
893
+  xpos -87
894
+  ypos 2496
895
+ }
896
+push $N53655c00
897
+push $N5c921800
898
+ CopyBBox {
899
+  inputs 2
900
+  name CopyBBox1
901
+  xpos -185
902
+  ypos 2494
903
+ }
904
+ Switch {
905
+  inputs 3
906
+  which {{parent.cropbehavior}}
907
+  name Switch1
908
+  xpos -185
909
+  ypos 2536
910
+ }
911
+ Dot {
912
+  name Dot22
913
+  xpos -151
914
+  ypos 2689
915
+ }
916
+set N5c945c00 [stack 0]
917
+ Dot {
918
+  name Dot15
919
+  xpos 101
920
+  ypos 2689
921
+ }
922
+ Dot {
923
+  name Dot14
924
+  xpos 101
925
+  ypos 2940
926
+ }
927
+push $N5c945c00
928
+push $N53675c00
929
+ Merge2 {
930
+  inputs 2
931
+  operation {{"group.screen == true ?25:24"}}
932
+  bbox A
933
+  maskChannelMask -rgba.alpha
934
+  mix {{parent.mix}}
935
+  name Merge7
936
+  xpos -185
937
+  ypos 2724
938
+ }
939
+ Switch {
940
+  inputs 2
941
+  which {{parent.previewPost i x1 0}}
942
+  name PreviewPost
943
+  xpos -185
944
+  ypos 2937
945
+ }
946
+ Switch {
947
+  inputs 2
948
+  which {{parent.preview}}
949
+  name PreviewPre
950
+  xpos -185
951
+  ypos 2961
952
+ }
953
+ Copy {
954
+  inputs 2
955
+  from0 rgba.alpha
956
+  to0 rgba.alpha
957
+  bbox B
958
+  name ignoreAlpha
959
+  xpos -185
960
+  ypos 3165
961
+  disable {{"parent.ignore_alpha == 1 ? 0 : 1"}}
962
+ }
963
+set N5c944c00 [stack 0]
964
+ Output {
965
+  name Output1
966
+  xpos -185
967
+  ypos 3389
968
+ }
969
+end_group

+ 558
- 0
gizmos/iblur_hub.gizmo ファイルの表示

@@ -0,0 +1,558 @@
1
+#! C:/Program Files/Nuke6.3v4/Nuke6.3.exe -nx
2
+version 6.3 v4
3
+Group {
4
+ name iblur_hub
5
+ inputs 2
6
+ help "iblur hub is yet another iblur node but not only ;-)\n\nFor small values and no bonus option selected it can replace others iblur, with no extra time renders.\n\n - For small values, prefers the \"horizontal\" or \"diagonal\" mode to avoid extra renders.\n - For larger values \"POST BLURS\" with \"Larger Blur\" option ticked can fix small details artefacts. (like the right part in the example.  See it by clicking the \"infos\" button at the bottom.)\n\nIt can also make a lot more.\n\n\"NOISE DISTORT\" adds quickly random extra details in the edges. \nJust like in the \"Nuke Noise\" node :\n - \"X/Y Size\" controls noise's frequency\n - \"Z\" can be used to change noise's seed and animate it.\n\n\"CHROMATIC ABBERATIONS\" with \"Noise Distort\" can create nice Glint FXs\n - Just one parameter to control the amount.\n - For other sets of color, just do it your self ! \n"
7
+ tile_color 0xff8332ff
8
+ label "\[if \{\[value NoiseTrigger]\} \{return Noised\}]\n"
9
+ note_font_color 0xffffffff
10
+ addUserKnob {20 iblur_hub l "iblur hub"}
11
+ addUserKnob {41 from0 l u T Copy1.from0}
12
+ addUserKnob {6 VtakesUvalue l "same for" -STARTLINE}
13
+ VtakesUvalue true
14
+ addUserKnob {41 from1 l v -STARTLINE T Copy1.from1}
15
+ addUserKnob {4 Mode M {Horizontal/Vertical Diagonal "All (Slower)"}}
16
+ Mode "All (Slower)"
17
+ addUserKnob {7 size l Size R 0 100}
18
+ size 10
19
+ addUserKnob {7 offset l Offset R -1 1}
20
+ offset -0.5
21
+ addUserKnob {26 ""}
22
+ addUserKnob {6 NoiseTrigger l "<b>Noise Distort</b>" +STARTLINE}
23
+ addUserKnob {19 NoiseBoost_white l Gain R 0 4}
24
+ NoiseBoost_white 3.6
25
+ addUserKnob {19 NoiseBoost_gamma l Gamma R 0.2 5}
26
+ NoiseBoost_gamma 1
27
+ addUserKnob {41 size_1 l "X/Y Size" T Noise1.size}
28
+ addUserKnob {8 Noise1_zoffset l Z R 0 5}
29
+ Noise1_zoffset 1
30
+ addUserKnob {26 ""}
31
+ addUserKnob {6 postBlurs l "<b>Post Blurs</b>" +STARTLINE}
32
+ addUserKnob {7 postBlurSize_expr l "Size Mult" R 0 5}
33
+ postBlurSize_expr 1
34
+ addUserKnob {6 moreBlur l "Larger Blur" -STARTLINE}
35
+ moreBlur true
36
+ addUserKnob {6 Extreme -STARTLINE}
37
+ addUserKnob {41 mix l Mix T Blur1.mix}
38
+ addUserKnob {26 ""}
39
+ addUserKnob {6 chromatic l "<b>Chromatic Abberrations</b>" +STARTLINE}
40
+ addUserKnob {7 ChromaticMult l Multiplier R 0 5}
41
+ ChromaticMult 1
42
+ addUserKnob {26 ""}
43
+ addUserKnob {7 grow_bbox l "Grow Bbox" R 0 100}
44
+ addUserKnob {26 ""}
45
+ addUserKnob {22 infos T "import webbrowser \nwebbrowser.open(\"http://www.nukepedia.com/gizmos/gizmos/filter/iblur_hub/\")" +STARTLINE}
46
+ addUserKnob {26 philhub2013 l "philhub 2013" -STARTLINE T "\n"}
47
+}
48
+ Noise {
49
+  inputs 0
50
+  size 28
51
+  zoffset {{parent.Noise1_zoffset i}}
52
+  center {640 360}
53
+  name Noise1
54
+  xpos 772
55
+  ypos 45
56
+ }
57
+ Grade {
58
+  channels rgba
59
+  white {{parent.NoiseBoost_white.r i} {parent.NoiseBoost_white.g i} {parent.NoiseBoost_white.b i} {parent.NoiseBoost_white.a i}}
60
+  gamma {{parent.NoiseBoost_gamma.r i} {parent.NoiseBoost_gamma.g i} {parent.NoiseBoost_gamma.b i} {parent.NoiseBoost_gamma.a i}}
61
+  name NoiseBoost
62
+  xpos 650
63
+  ypos 45
64
+ }
65
+ Input {
66
+  inputs 0
67
+  name InputMask
68
+  xpos 253
69
+  ypos -225
70
+  number 1
71
+ }
72
+set N17abfa30 [stack 0]
73
+ Dot {
74
+  name Dot4
75
+  xpos 287
76
+  ypos -52
77
+ }
78
+set N17abfd60 [stack 0]
79
+push $N17abfa30
80
+push $N17abfa30
81
+ Input {
82
+  inputs 0
83
+  name Input1
84
+  xpos 520
85
+  ypos -319
86
+ }
87
+set N17ac0090 [stack 0]
88
+ FilterErode {
89
+  inputs 1+1
90
+  channels {rgba.red rgba.green -rgba.blue}
91
+  size {{-parent.TransformChromatic.translate.x/3 i}}
92
+  name FilterErodeChromatic
93
+  xpos 520
94
+  ypos -277
95
+ }
96
+ TransformMasked {
97
+  inputs 1+1
98
+  channels {rgba.red -rgba.green -rgba.blue}
99
+  translate {{parent.size/3*parent.ChromaticMult i} 0}
100
+  center {640 360}
101
+  name TransformChromatic
102
+  xpos 520
103
+  ypos -231
104
+ }
105
+ Dot {
106
+  name Dot8
107
+  xpos 554
108
+  ypos -195
109
+ }
110
+set N17ac0a20 [stack 0]
111
+ Saturation {
112
+  saturation 0
113
+  name Saturation1
114
+  xpos 609
115
+  ypos -198
116
+ }
117
+push $N17ac0a20
118
+add_layer {shadow}
119
+ ShuffleCopy {
120
+  inputs 2
121
+  alpha red
122
+  name createAlpha
123
+  xpos 520
124
+  ypos -165
125
+ }
126
+push $N17ac0090
127
+ Dot {
128
+  name Dot7
129
+  xpos 740
130
+  ypos -316
131
+ }
132
+ Dot {
133
+  name Dot6
134
+  xpos 740
135
+  ypos -108
136
+ }
137
+ Switch {
138
+  inputs 2
139
+  which {{parent.chromatic i}}
140
+  name SwitchChromatic
141
+  label "\[value which]"
142
+  xpos 520
143
+  ypos -117
144
+ }
145
+ Copy {
146
+  inputs 2
147
+  from0 rgba.alpha
148
+  to0 backward.u
149
+  from1 -rgba.alpha
150
+  to1 backward.v
151
+  name Copy1
152
+  xpos 520
153
+  ypos -67
154
+  disable {{"!\[ exists parent.input\[value InputMask.number] ]" i}}
155
+ }
156
+ Shuffle {
157
+  in backward
158
+  green red
159
+  out backward
160
+  name copyU2V
161
+  label "\[value in]"
162
+  xpos 520
163
+  ypos -19
164
+  disable {{!parent.VtakesUvalue i}}
165
+ }
166
+ Merge2 {
167
+  inputs 2
168
+  operation soft-light
169
+  Bchannels motion
170
+  output motion
171
+  name M_noise
172
+  note_font_color 0xffffffff
173
+  xpos 520
174
+  ypos 39
175
+  disable {{!parent.NoiseTrigger i}}
176
+ }
177
+ Dot {
178
+  name Dot2
179
+  xpos 554
180
+  ypos 97
181
+ }
182
+set N17ac23a0 [stack 0]
183
+ Dot {
184
+  name Dot16
185
+  xpos 836
186
+  ypos 97
187
+ }
188
+ Erode {
189
+  channels rgba
190
+  size 16
191
+  blur 0.44
192
+  name Erode1
193
+  xpos 802
194
+  ypos 558
195
+ }
196
+ Blur {
197
+  channels rgba
198
+  size 10
199
+  name Blur5
200
+  xpos 802
201
+  ypos 582
202
+ }
203
+ Dot {
204
+  name Dot9
205
+  xpos 836
206
+  ypos 661
207
+ }
208
+push $N17abfd60
209
+ Dot {
210
+  name Dot3
211
+  xpos 153
212
+  ypos -52
213
+ }
214
+ Dot {
215
+  name Dot12
216
+  xpos 153
217
+  ypos 270
218
+ }
219
+set N17b43700 [stack 0]
220
+ Dot {
221
+  name Dot1
222
+  xpos 184
223
+  ypos 402
224
+ }
225
+push $N17ac23a0
226
+push $N17ac23a0
227
+ Expression {
228
+  channel0 {forward.u -forward.v -backward.u none}
229
+  expr0 backward.u
230
+  channel1 {-forward.u forward.v -backward.u none}
231
+  expr1 0
232
+  name expr6
233
+  xpos 362
234
+  ypos 130
235
+ }
236
+ VectorBlur {
237
+  channels rgba
238
+  uv forward
239
+  scale {{parent.size i}}
240
+  offset {{parent.offset i}}
241
+  grow_bbox {{parent.grow_bbox i}}
242
+  method forward
243
+  alpha rgba.alpha
244
+  name VectorBlur10
245
+  xpos 362
246
+  ypos 154
247
+ }
248
+push $N17ac23a0
249
+ Expression {
250
+  channel0 {forward.u -forward.v -backward.u none}
251
+  expr0 0
252
+  channel1 {-forward.u forward.v -backward.u none}
253
+  expr1 backward.v
254
+  name expr7
255
+  xpos 459
256
+  ypos 130
257
+ }
258
+ VectorBlur {
259
+  channels rgba
260
+  uv forward
261
+  scale {{parent.size i}}
262
+  offset {{parent.offset i}}
263
+  grow_bbox {{parent.grow_bbox i}}
264
+  method forward
265
+  alpha rgba.alpha
266
+  name VectorBlur11
267
+  xpos 459
268
+  ypos 154
269
+ }
270
+ Dissolve {
271
+  inputs 2
272
+  channels rgba
273
+  which 0.5
274
+  name Dissolve4
275
+  label "\[value which]"
276
+  xpos 410
277
+  ypos 226
278
+ }
279
+set N17b44a20 [stack 0]
280
+push $N17ac23a0
281
+ VectorBlur {
282
+  channels rgba
283
+  uv backward
284
+  scale {{parent.size i}}
285
+  offset {{parent.offset i}}
286
+  grow_bbox {{parent.grow_bbox i}}
287
+  method forward
288
+  alpha rgba.alpha
289
+  name VectorBlur12
290
+  xpos 559
291
+  ypos 151
292
+ }
293
+push $N17ac23a0
294
+ Expression {
295
+  channel0 {forward.u -forward.v -backward.u none}
296
+  expr0 -backward.u
297
+  channel1 {-forward.u forward.v -backward.u none}
298
+  expr1 backward.v
299
+  name expr8
300
+  xpos 662
301
+  ypos 129
302
+ }
303
+ VectorBlur {
304
+  channels rgba
305
+  uv forward
306
+  scale {{parent.size i}}
307
+  offset {{parent.offset i}}
308
+  grow_bbox {{parent.grow_bbox i}}
309
+  method forward
310
+  alpha rgba.alpha
311
+  name VectorBlur13
312
+  xpos 662
313
+  ypos 153
314
+ }
315
+ Dissolve {
316
+  inputs 2
317
+  channels rgba
318
+  which 0.5
319
+  name Dissolve5
320
+  label "\[value which]"
321
+  xpos 611
322
+  ypos 226
323
+ }
324
+set N17b456e0 [stack 0]
325
+ Dissolve {
326
+  inputs 2
327
+  channels rgba
328
+  which 0.5
329
+  name Dissolve6
330
+  label "\[value which]"
331
+  xpos 521
332
+  ypos 250
333
+ }
334
+push $N17b456e0
335
+push $N17b44a20
336
+ Switch {
337
+  inputs 3
338
+  which {{Mode i}}
339
+  name SwitchMode
340
+  label "\[value which]"
341
+  xpos 521
342
+  ypos 310
343
+ }
344
+ Dot {
345
+  name Dot14
346
+  xpos 555
347
+  ypos 353
348
+ }
349
+set N17b45d40 [stack 0]
350
+ Merge2 {
351
+  inputs 2
352
+  operation stencil
353
+  name M_
354
+  note_font_color 0xffffffff
355
+  xpos 242
356
+  ypos 348
357
+ }
358
+set N17b46070 [stack 0]
359
+ Grade {
360
+  channels rgba
361
+  blackpoint 0.2
362
+  whitepoint 0.22
363
+  white 0.7
364
+  name Grade1
365
+  xpos 383
366
+  ypos 375
367
+ }
368
+ Merge2 {
369
+  inputs 2
370
+  operation multiply
371
+  name M_2
372
+  xpos 383
373
+  ypos 399
374
+ }
375
+ Blur {
376
+  channels rgba
377
+  size {{parent.size/2}}
378
+  name Blur4
379
+  xpos 383
380
+  ypos 438
381
+ }
382
+ Grade {
383
+  channels rgba
384
+  blackpoint 0.4
385
+  name Grade5
386
+  xpos 383
387
+  ypos 462
388
+ }
389
+push $N17b43700
390
+push $N17ac0090
391
+ Dot {
392
+  name Dot10
393
+  xpos 10
394
+  ypos -316
395
+ }
396
+ Dot {
397
+  name Dot11
398
+  xpos 10
399
+  ypos 270
400
+ }
401
+set N17b47390 [stack 0]
402
+ Merge2 {
403
+  inputs 2
404
+  operation stencil
405
+  name M_4
406
+  xpos 45
407
+  ypos 383
408
+ }
409
+ FilterErode {
410
+  channels rgba
411
+  size -2
412
+  name FilterErode1
413
+  xpos 45
414
+  ypos 419
415
+ }
416
+set N17c17810 [stack 0]
417
+ Blur {
418
+  channels rgba
419
+  size {{parent.size/2 i}}
420
+  name Blur6
421
+  xpos 45
422
+  ypos 443
423
+ }
424
+ Grade {
425
+  channels rgba
426
+  whitepoint 0.5
427
+  name Grade6
428
+  xpos 45
429
+  ypos 467
430
+ }
431
+set N18f078f0 [stack 0]
432
+ Dot {
433
+  name Dot15
434
+  xpos 79
435
+  ypos 501
436
+ }
437
+set N17c17b40 [stack 0]
438
+ Dot {
439
+  name Dot5
440
+  xpos 79
441
+  ypos 540
442
+ }
443
+push $N17c17b40
444
+push $N17b46070
445
+ Grade {
446
+  channels rgba
447
+  whitepoint 0.01
448
+  name Grade4
449
+  xpos 242
450
+  ypos 372
451
+ }
452
+ Merge2 {
453
+  inputs 2
454
+  operation stencil
455
+  name M_5
456
+  xpos 242
457
+  ypos 413
458
+ }
459
+ Blur {
460
+  channels rgba
461
+  size {{parent.size/2 i}}
462
+  invert_mask true
463
+  name Blur2
464
+  xpos 242
465
+  ypos 437
466
+ }
467
+ Grade {
468
+  channels rgba
469
+  blackpoint 0.4
470
+  name Grade2
471
+  xpos 242
472
+  ypos 470
473
+ }
474
+ Blur {
475
+  channels rgba
476
+  size {{parent.size/2 i}}
477
+  name Blur3
478
+  xpos 242
479
+  ypos 504
480
+ }
481
+ Merge2 {
482
+  inputs 2
483
+  operation stencil
484
+  name M_3
485
+  xpos 242
486
+  ypos 537
487
+ }
488
+ Grade {
489
+  channels rgba
490
+  whitepoint 0.5
491
+  white_clamp {{!parent.Extreme i}}
492
+  name Grade3
493
+  xpos 242
494
+  ypos 567
495
+ }
496
+ Blur {
497
+  channels rgba
498
+  size 20
499
+  name Blur7
500
+  xpos 242
501
+  ypos 591
502
+ }
503
+set N2f11b420 [stack 0]
504
+ Switch {
505
+  inputs 2
506
+  which 1
507
+  name SwitchMoreBlur
508
+  xpos 383
509
+  ypos 591
510
+  disable {{parent.moreBlur i}}
511
+ }
512
+ Clamp {
513
+  channels rgba
514
+  name Clamp1
515
+  xpos 383
516
+  ypos 615
517
+ }
518
+push $N17b45d40
519
+ Blur {
520
+  inputs 1+1
521
+  channels rgba
522
+  size {{parent.postBlurSize_expr*parent.size/4 i}}
523
+  name Blur1
524
+  xpos 521
525
+  ypos 615
526
+  disable {{!parent.postBlurs i}}
527
+ }
528
+ Merge2 {
529
+  inputs 2
530
+  operation screen
531
+  mix 0.7
532
+  name Scrn
533
+  xpos 522
534
+  ypos 658
535
+ }
536
+ Output {
537
+  name Output1
538
+  xpos 522
539
+  ypos 700
540
+ }
541
+push $N17b47390
542
+ Dot {
543
+  name Dot13
544
+  xpos 10
545
+  ypos 383
546
+ }
547
+push $N2f11b420
548
+push $N18f078f0
549
+push $N17c17810
550
+ Viewer {
551
+  inputs 3
552
+  input_number 2
553
+  input_process false
554
+  name Viewer1
555
+  xpos -150
556
+  ypos 437
557
+ }
558
+end_group

+ 5393
- 0
gizmos/mmColorTarget.gizmo
ファイル差分が大きすぎるため省略します
ファイルの表示


バイナリ
gizmos/mmColorTarget.png (Git LFSで保管されています) ファイルの表示

2
+oid sha256:aaba0ebc556ab52d8a0ae0a0fc02362c1cf7ae25d5ecb7e9dc55a5f28efe8bd3
3
+size 18955

+ 4642
- 0
gizmos/mmColorTarget_colorspaces.json
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 31
- 0
gizmos/ndo_aspectCrop.gizmo ファイルの表示

@@ -0,0 +1,31 @@
1
+#! aspectCrop v0.0.0
2
+version 5.0100
3
+Gizmo {
4
+ inputs 1
5
+ help "crops by given picture aspect"
6
+ addUserKnob {7 aspect l "Aspect:"}
7
+ aspect {{2.35}}
8
+ addUserKnob {7 px_ratio l "Pixel Ratio:"}
9
+ px_ratio {{1.0}}
10
+ addUserKnob {41 refmt l "reformat" T Crop1.reformat}
11
+}
12
+ Input {
13
+  inputs 0
14
+  name Input1
15
+  xpos -89
16
+  ypos 13
17
+ }
18
+ Crop {
19
+  box {0 {{0.5*(Input1.height-Input1.width/aspect*px_ratio)}} Input1.width {{Input1.height-box.y}}}
20
+  name Crop1
21
+  selected true
22
+  reformat false
23
+  xpos -89
24
+  ypos 80
25
+ }
26
+ Output {
27
+  name Output1
28
+  xpos -89
29
+  ypos 153
30
+ }
31
+end_group

+ 43
- 0
gizmos/ndo_cacheLines.gizmo ファイルの表示

@@ -0,0 +1,43 @@
1
+version 5.0100
2
+Gizmo {
3
+ inputs 1
4
+ addUserKnob {7 aspect l "Aspect:" R 0 3}
5
+ aspect {{2.35}}
6
+ addUserKnob {7 px_ratio l "Pixel Ratio:" R 0 3}
7
+ px_ratio {{1.0}}
8
+ addUserKnob {41 opacity l "opacity" T Rectangle1.opacity}
9
+ addUserKnob {19 lineColor R 0 1}
10
+ lineColor {1 0 0 1}
11
+ addUserKnob {7 thick l "Line Thickness"}
12
+ thick {1.0}
13
+}
14
+ Input {
15
+  inputs 0
16
+  name Input1
17
+  xpos -89
18
+  ypos 13
19
+ }
20
+ Rectangle {
21
+  opacity 0.5
22
+  area {0 {0.5*(height-width/aspect*px_ratio)-thick} {width} {0.5*(height-width/aspect*px_ratio)}}
23
+  color {{lineColor.r} {lineColor.g} {lineColor.b} {lineColor.a}}
24
+  name Rectangle1
25
+  selected true
26
+  xpos -133
27
+  ypos -19
28
+ }
29
+ Rectangle {
30
+  opacity {Rectangle1.opacity}
31
+  area {0 {0.5*(height+width/aspect*px_ratio)} {width} {0.5*(height+width/aspect*px_ratio)+thick}}
32
+  color {{lineColor.r} {lineColor.g} {lineColor.b} {lineColor.a}}
33
+  name Rectangle2
34
+  selected true
35
+  xpos -133
36
+  ypos 48
37
+ }
38
+ Output {
39
+  name Output1
40
+  xpos -89
41
+  ypos 153
42
+ }
43
+end_group

+ 96
- 0
gizmos/ourAnaglyph.gizmo ファイルの表示

@@ -0,0 +1,96 @@
1
+#! C:/Program Files/Nuke6.1v1/Nuke6.1.exe -nx
2
+version 6.1 v1
3
+Gizmo {
4
+ help "ourAnaglyph 0.3\n\ndocumentation\n\ngamma r\ngamma control for red channel\n\nf stops r\nexposure control for red channel\n\nf stops all\nglobal exposure control for all channels\n\nsaturation\nadjusts saturation\n\nhorizontal offset\ncontrols the screen plane according to the horizontal image offset\n\nblack outside\nsets the undefined pixels on left/right side to black\n\nsRGB\napplies a lin to sRGB curve to the rendered output\n\nalpha (mix-max)\nblends between a 50 percent mix or a max of inputs' left/right alphas"
5
+ addUserKnob {20 ourAnaglyph}
6
+ addUserKnob {7 gamma_r l "gamma r" R 0 5}
7
+ gamma_r 1
8
+ addUserKnob {7 fstops_r l "f stops r" R -3 3}
9
+ addUserKnob {7 multiplier l "f stops all" R -3 3}
10
+ addUserKnob {7 saturation}
11
+ saturation 1
12
+ addUserKnob {7 h_off l "horizontal offset" R -100 100}
13
+ addUserKnob {6 blackOutside l "black outside" +STARTLINE}
14
+ addUserKnob {6 sRGB +STARTLINE}
15
+ sRGB true
16
+ addUserKnob {7 alpha l "alpha (mix-max)"}
17
+ addUserKnob {20 info}
18
+ addUserKnob {26 history T "0.3 added 'alpha (mix-max)'\n0.2 initial release\n"}
19
+}
20
+ Input {
21
+  inputs 0
22
+  name Input1
23
+  xpos -243
24
+  ypos -145
25
+ }
26
+ Saturation {
27
+  saturation {{parent.saturation}}
28
+  mode Average
29
+  name Saturation2
30
+  xpos -243
31
+  ypos -119
32
+ }
33
+set N9381930 [stack 0]
34
+ OneView {
35
+  name OneView1
36
+  label left
37
+  xpos -288
38
+  ypos -76
39
+ }
40
+ Transform {
41
+  translate {{-parent.h_off.left*0.5} 0}
42
+  center {1024 778}
43
+  black_outside {{parent.blackOutside}}
44
+  name Transform1
45
+  xpos -288
46
+  ypos -18
47
+ }
48
+push $N9381930
49
+ OneView {
50
+  view right
51
+  name OneView2
52
+  label right
53
+  xpos -197
54
+  ypos -75
55
+ }
56
+ Transform {
57
+  translate {{parent.h_off.left*0.5} 0}
58
+  center {1024 778}
59
+  black_outside {{parent.blackOutside}}
60
+  name Transform2
61
+  xpos -197
62
+  ypos -18
63
+ }
64
+ MergeExpression {
65
+  inputs 2
66
+  expr0 "pow (Ar, 1/parent.gamma_r)*pow(2, parent.fstops_r)*pow(2, parent.multiplier)"
67
+  expr1 "Bg*pow(2, parent.multiplier)"
68
+  expr2 "Bb*pow(2, parent.multiplier)"
69
+  channel3 rgba
70
+  expr3 "(max(Aa,Ba)*parent.alpha) + (((Aa+Ba)/2)*(1-parent.alpha))"
71
+  name MergeExpression1
72
+  xpos -243
73
+  ypos 58
74
+ }
75
+ Expression {
76
+  expr0 parent.sRGB>0?toSRGB(r):r
77
+  expr1 parent.sRGB>0?toSRGB(g):g
78
+  expr2 parent.sRGB>0?toSRGB(b):b
79
+  name Expression1
80
+  xpos -243
81
+  ypos 84
82
+ }
83
+ Output {
84
+  name Output1
85
+  xpos -243
86
+  ypos 113
87
+ }
88
+push 0
89
+ Viewer {
90
+  inputs 2
91
+  input_process false
92
+  name Viewer1
93
+  xpos -243
94
+  ypos 154
95
+ }
96
+end_group

+ 76
- 0
gizmos/ourInterlacedStereo.gizmo ファイルの表示

@@ -0,0 +1,76 @@
1
+#! C:/Program Files/Nuke6.1v1/Nuke6.1.exe -nx
2
+version 6.1 v1
3
+Gizmo {
4
+ help "ourInterlacedStereo 0.3\n\ndocumentation\n\nhorizontal offset\ncontrols the screen plane according to the horizontal image offset\n\nblack outside\nsets the undefined pixels on left/right side to black\n\nswap scanlines\nself explanatory\n\nsRGB\napplies a lin to sRGB curve to the rendered output\n\nalpha (mix-max)\nblends between a 50 percent mix or a max of inputs' left/right alphas"
5
+ addUserKnob {20 ourInterlacedStereo}
6
+ addUserKnob {7 h_off l "horizontal offset" R -100 100}
7
+ addUserKnob {6 blackOutside l "black outside" +STARTLINE}
8
+ addUserKnob {6 swap_scanlines l "swap scanlines" +STARTLINE}
9
+ addUserKnob {6 sRGB +STARTLINE}
10
+ sRGB true
11
+ addUserKnob {7 alpha l "alpha (mix-max)"}
12
+ addUserKnob {20 info}
13
+ addUserKnob {26 history T "0.3 added 'alpha (mix-max)'\n0.2 initial release"}
14
+}
15
+ Input {
16
+  inputs 0
17
+  name Input1
18
+  xpos -247
19
+  ypos -192
20
+ }
21
+set N937f980 [stack 0]
22
+ OneView {
23
+  name OneView1
24
+  label left
25
+  xpos -288
26
+  ypos -141
27
+ }
28
+ Transform {
29
+  translate {{-parent.h_off.left*0.5} 0}
30
+  center {1024 778}
31
+  black_outside {{parent.blackOutside}}
32
+  name Transform1
33
+  xpos -288
34
+  ypos -102
35
+ }
36
+push $N937f980
37
+ OneView {
38
+  view right
39
+  name OneView2
40
+  label right
41
+  xpos -197
42
+  ypos -140
43
+ }
44
+ Transform {
45
+  translate {{parent.h_off.left*0.5 i} 0}
46
+  center {1024 778}
47
+  black_outside {{parent.blackOutside i}}
48
+  name Transform2
49
+  xpos -197
50
+  ypos -102
51
+ }
52
+ MergeExpression {
53
+  inputs 2
54
+  expr0 parent.swap_scanlines>0?(fmod(y,2)?Ar:Br):(fmod(y,2)?Br:Ar)
55
+  expr1 parent.swap_scanlines>0?(fmod(y,2)?Ag:Bg):(fmod(y,2)?Bg:Ag)
56
+  expr2 parent.swap_scanlines>0?(fmod(y,2)?Ab:Bb):(fmod(y,2)?Bb:Ab)
57
+  channel3 rgba
58
+  expr3 "(max(Aa,Ba)*parent.alpha) + (((Aa+Ba)/2)*(1-parent.alpha))"
59
+  name MergeExpression1
60
+  xpos -243
61
+  ypos -58
62
+ }
63
+ Expression {
64
+  expr0 parent.sRGB>0?toSRGB(r):r
65
+  expr1 parent.sRGB>0?toSRGB(g):g
66
+  expr2 parent.sRGB>0?toSRGB(b):b
67
+  name Expression1
68
+  xpos -243
69
+  ypos -32
70
+ }
71
+ Output {
72
+  name Output1
73
+  xpos -243
74
+  ypos 4
75
+ }
76
+end_group

+ 91
- 0
gizmos/ourOptimizedAnaglyph.gizmo ファイルの表示

@@ -0,0 +1,91 @@
1
+#! C:/Program Files/Nuke6.1v1/Nuke6.1.exe -nx
2
+version 6.1 v1
3
+Gizmo {
4
+ help "ourOptimizedAnaglyph 0.3\n\nreplaces r by a weighted portion of g and b.\nr=pow(((g*weight)+(b*(1-weight)), gamma)*multiplier\n\n\ndocumentation\n\ngamma r\ngamma control for red channel\n\nf stops r\nexposure control for red channel\n\ngamma gb \ngamma control for green and blue channel\n\nf stops gb\nexposure control for green and blue channel\n\nf stops all\nglobal exposure control for all channels\n\nsaturation\nadjusts saturation\n\nhorizontal offset\ncontrols the screen plane according to the horizontal image offset\n\nblack outside\nsets the undefined pixels on left/right side to black\n\nsRGB\napplies a lin to sRGB curve to the rendered output\n\nalpha (mix-max)\nblends between a 50 percent mix or a max of inputs' left/right alphas"
5
+ addUserKnob {20 ourOptimizedAnaglyph}
6
+ addUserKnob {7 gamma_r l "gamma r" R 0 5}
7
+ gamma_r 1.5
8
+ addUserKnob {7 fstops_r l "f stops r" R -3 3}
9
+ addUserKnob {7 WeightGreen l "weight gb"}
10
+ WeightGreen 0.7
11
+ addUserKnob {7 fstops_gb l "f stops gb" R -3 3}
12
+ addUserKnob {7 multiplier l "f stops all" R -3 3}
13
+ addUserKnob {26 ""}
14
+ addUserKnob {7 saturation}
15
+ saturation 1
16
+ addUserKnob {7 h_off l "horizontal offset" R -100 100}
17
+ addUserKnob {6 blackOutside l "black outside" +STARTLINE}
18
+ addUserKnob {6 sRGB +STARTLINE}
19
+ sRGB true
20
+ addUserKnob {7 alpha l "alpha (mix-max)"}
21
+ addUserKnob {20 info}
22
+ addUserKnob {26 history T "0.3 added 'alpha (mix-max)'\n0.2 initial release"}
23
+}
24
+ Input {
25
+  inputs 0
26
+  name Input1
27
+  xpos -242
28
+  ypos -195
29
+ }
30
+ Saturation {
31
+  saturation {{parent.saturation i}}
32
+  name Saturation1
33
+  xpos -242
34
+  ypos -162
35
+ }
36
+set N5ce3730 [stack 0]
37
+ OneView {
38
+  name OneView1
39
+  label left
40
+  xpos -287
41
+  ypos -96
42
+ }
43
+ Transform {
44
+  translate {{-parent.h_off.left*0.5 i} 0}
45
+  center {1024 778}
46
+  black_outside {{parent.blackOutside i}}
47
+  name Transform1
48
+  xpos -287
49
+  ypos -58
50
+ }
51
+push $N5ce3730
52
+ OneView {
53
+  view right
54
+  name OneView2
55
+  label right
56
+  xpos -196
57
+  ypos -97
58
+ }
59
+ Transform {
60
+  translate {{parent.h_off.left*0.5 i} 0}
61
+  center {1024 778}
62
+  black_outside {{parent.blackOutside i}}
63
+  name Transform2
64
+  xpos -196
65
+  ypos -59
66
+ }
67
+ MergeExpression {
68
+  inputs 2
69
+  expr0 "pow((Ag*parent.WeightGreen+Ab*(1-parent.WeightGreen)), 1/parent.gamma_r)*pow(2, parent.multiplier)*pow(2, fstops_r)"
70
+  expr1 "Bg*pow(2, parent.fstops_gb)*pow(2, parent.multiplier)"
71
+  expr2 "Bb*pow(2, parent.fstops_gb)*pow(2, parent.multiplier)"
72
+  channel3 rgba
73
+  expr3 "(max(Aa,Ba)*parent.alpha) + (((Aa+Ba)/2)*(1-parent.alpha))"
74
+  name MergeExpression1
75
+  xpos -241
76
+  ypos 3
77
+ }
78
+ Expression {
79
+  expr0 parent.sRGB>0?toSRGB(r):r
80
+  expr1 parent.sRGB>0?toSRGB(g):g
81
+  expr2 parent.sRGB>0?toSRGB(b):b
82
+  name Expression1
83
+  xpos -241
84
+  ypos 29
85
+ }
86
+ Output {
87
+  name Output1
88
+  xpos -241
89
+  ypos 80
90
+ }
91
+end_group

+ 423
- 0
gizmos/sb_glow.gizmo ファイルの表示

@@ -0,0 +1,423 @@
1
+#! C:/Program Files/Nuke8.0v5/nuke-8.0.v5.dll -nx
2
+version 8.0 v5
3
+Group {
4
+ name sb_Glow
5
+ inputs 3
6
+ help "Simon Bjork\nAugust 2013\nVersion 1.5\nbjork.simon@gmail.com"
7
+ knobChanged "\n\nfrom __future__ import with_statement\n\nn = nuke.thisNode()\nk = nuke.thisKnob()\n\n# Matte type.\nif k.name() == \"glow_matte\":\n    kb_knob = n\[\"keyer_blacks\"]\n    kw_knob = n\[\"keyer_whites\"]\n\n    if n\[\"glow_matte\"].value() == \"luma key\":\n        kb_knob.setVisible(True)\n        kw_knob.setVisible(True)\n    elif n\[\"glow_matte\"].value() == \"matte\":\n        kb_knob.setVisible(False)\n        kw_knob.setVisible(False)\n\n"
8
+ tile_color 0x4d00ffff
9
+ note_font Verdana
10
+ mapsize {0.1111111111 0.096069869}
11
+ addUserKnob {20 sb_glow_tab l "sb Glow"}
12
+ addUserKnob {26 divider1 l "" +STARTLINE}
13
+ addUserKnob {26 overall_txt l "<b>Overall controls</b>" T " "}
14
+ addUserKnob {41 value l colour T Multiply2.value}
15
+ addUserKnob {7 overall_intensity l "overall intensity" R 0 2}
16
+ overall_intensity 0.2
17
+ addUserKnob {26 divider2 l "" +STARTLINE}
18
+ addUserKnob {26 luma_txt l "<b>Matte controls</b>" T " "}
19
+ addUserKnob {4 glow_matte l "glow matte" M {"luma key" matte}}
20
+ addUserKnob {7 keyer_blacks l "keyer blacks"}
21
+ keyer_blacks 0.6
22
+ addUserKnob {7 keyer_whites l "keyer whites"}
23
+ keyer_whites 0.1
24
+ addUserKnob {41 size l "soften matte" T soften_matte.size}
25
+ addUserKnob {6 show_matte l "view glow matte" +STARTLINE}
26
+ addUserKnob {26 divider3 l "" +STARTLINE}
27
+ addUserKnob {20 create_new_glow l "create new glow" n 1}
28
+ create_new_glow 0
29
+ addUserKnob {3 number_of_blurs l "number of blurs" t "Total number of blurs used to create the glow."}
30
+ number_of_blurs 5
31
+ addUserKnob {7 master_blur_value l "master blur value" t "Size of the widest blur."}
32
+ master_blur_value 350
33
+ addUserKnob {7 master_intensity l "master blur intensity" t "Contribution of the widest blur."}
34
+ master_intensity 0.05
35
+ addUserKnob {7 blur_divider l "blur divider" t "blur1 = master blur value\nblur2 = blur1/blur divider\nblur3 = blur2/blur divider\netc"}
36
+ blur_divider 2
37
+ addUserKnob {7 intensity_increment l "intensity increment" t "Multiply each blurs contribution with this number."}
38
+ intensity_increment 2
39
+ addUserKnob {26 divider4 l "" +STARTLINE}
40
+ addUserKnob {22 create_glow l "create glow" T "from __future__ import with_statement\nimport nuke\nimport re\n\n# sb_glow\n# Simon Bjork\n# March 2013\n# Version 1.4\n# bjork.simon@gmail.com\n\ndef sb_glow():\n\n    n = nuke.thisNode()\n\n    # Set up base names.\n    blurPrefix = 'glow_blur'\n    mergePrefix = 'glow_merge'\n    dividerPrefix = 'glow_divider'\n    nameRE = re.compile('^(%s|%s)' % (blurPrefix, mergePrefix))\n    divRE = re.compile(dividerPrefix)\n\n    # Remove exsisting glow knobs.\n    for name, knob in n.knobs().iteritems():\n        if nameRE.search(name) or divRE.search(name):\n            n.removeKnob(knob)\n\n    # Access nodes inside group:\n    with n:\n\n        # Deselect all nodes to prevent errors.\n        for i in nuke.allNodes():\n            i\[\"selected\"].setValue(False)\n\n        # Delete exsisting glow nodes.\n        for a in nuke.allNodes('Blur') + nuke.allNodes('Merge2'):\n            if nameRE.search(a.name()):\n                nuke.delete(a)\n\n        # Node positions.\n        blurX = 750\n        blurY = -700\n        mergeX = 350\n        mergeY = -700\n\n        # Move bottom nodes so that they don't interfere with the new nodes.\n        bottom_nodes = \[\"BackdropNode1\", \"Multiply2\", \"Plus1\", \"Merge2\", \"Dot12\", \"mask\", \"AddChannels1\", \"Shuffle3\", \"Dot1\", \"OUTPUT\", \"Dot6\", \"matte_to_rgb\", \"Switch2\", \"Multiply3\"]\n\n        for j in bottom_nodes:\n            node = nuke.toNode(j)\n            curr_node_y = node\['ypos'].value()\n            node\['ypos'].setValue(int(curr_node_y) + 10000)\n\n        # Set up values.\n        num_blurs = n\[\"number_of_blurs\"].value()\n        blur_value = n\[\"master_blur_value\"].value()\n        div_blur = n\[\"blur_divider\"].value()\n        intensity_value = n\[\"master_intensity\"].value()\n        intensity_increment = n\[\"intensity_increment\"].value()\n\n        # Create the glow.\n        for i in range(int(num_blurs)):\n\n            # Connect the glow to these nodes.\n            inp = nuke.toNode(\"black_frame\")\n            dot = nuke.toNode(\"sb_glow_dot3\")\n\n            # Create blur nodes.\n            blurName = '%s%d' % (blurPrefix, i + 100)\n            b = nuke.createNode('Blur', 'name %s' % blurName, inpanel=False)\n            b\[\"channels\"].setValue(\"rgb\")\n            b\[\"size\"].setValue(blur_value)\n            b\['xpos'].setValue(blurX)\n            b\['ypos'].setValue(blurY)                \n            b.setInput(0, dot)\n\n            # Create blur knobs.\n            k = nuke.Link_Knob( blurPrefix + str(i + 1) )\n            k.makeLink(str(b\[\"name\"].value()), \"size\" )\n            k.setLabel( \"blur\" + str(i + 1) + \" size\" )\n            n.addKnob(k)\n\n            # Create merge nodes.\n            mergeName = '%s%d' % (mergePrefix, i + 100)\n            m = nuke.createNode(\"Merge2\", 'name %s' % mergeName, inpanel=False)\n            m\[\"operation\"].setValue(\"plus\")\n            m\[\"mix\"].setValue(intensity_value)\n            m\['xpos'].setValue(mergeX)\n            m\['ypos'].setValue(mergeY)\n\n            # Create merge knobs.\n            e = nuke.Link_Knob( mergePrefix + str(i + 1) )\n            e.makeLink(str(m\[\"name\"].value()), \"mix\" )\n            e.setLabel( \"intensity\" )\n            n.addKnob(e)\n\n            # Create separator.\n            sep = nuke.Text_Knob(dividerPrefix + str(i + 1),'') \n            n.addKnob(sep)\n\n            # If it's the first loop.\n            if i == 0:\n                m.setInput(1, b)\n                m.setInput(0, inp)\n                m_name = m\[\"name\"].value()\n\n            else:\n                m.setInput(1, b)\n                ol_m = nuke.toNode(str(m_name))\n                m.setInput(0, ol_m)\n                m_name = m\[\"name\"].value()\n\n            # If it's the last loop.\n            the_i = int(num_blurs) - 1\n            if i == the_i:\n\n                # Connect the adjustment nodes.\n                theMult = nuke.toNode(\"Multiply2\")\n                theMult.setInput(0, m)\n\n                # Mesure the offset for exsisting nodes.\n                mesurer = theMult\n                mesurer_y = mesurer\['ypos'].value()\n                calc = mesurer_y - m\['ypos'].value()\n                offset = 500\n\n                # Set position for all the exsisting nodes at the bottom.\n                for k in bottom_nodes:\n                    node = nuke.toNode(k)\n                    current_y = node\['ypos'].value()\n                    node\['ypos'].setValue(current_y - calc + offset)\n\n            # Create new values for next loop.\n            blur_value = blur_value/div_blur\n            intensity_value = intensity_value*intensity_increment\n            blurY = blurY + 250\n            mergeY = mergeY + 250\n\nsb_glow()" +STARTLINE}
41
+ addUserKnob {20 endGroup_create_new_glow l endGroup n -1}
42
+ addUserKnob {26 divider5 l "" +STARTLINE}
43
+ addUserKnob {20 individual_controls l "individual controls"}
44
+ addUserKnob {26 divider6 l "" +STARTLINE}
45
+ addUserKnob {41 glow_blur1 l "blur1 size" T glow_blur100.size}
46
+ addUserKnob {41 glow_merge1 l intensity T glow_merge100.mix}
47
+ addUserKnob {26 glow_divider1 l "" +STARTLINE}
48
+ addUserKnob {41 glow_blur2 l "blur2 size" T glow_blur101.size}
49
+ addUserKnob {41 glow_merge2 l intensity T glow_merge101.mix}
50
+ addUserKnob {26 glow_divider2 l "" +STARTLINE}
51
+ addUserKnob {41 glow_blur3 l "blur3 size" T glow_blur102.size}
52
+ addUserKnob {41 glow_merge3 l intensity T glow_merge102.mix}
53
+ addUserKnob {26 glow_divider3 l "" +STARTLINE}
54
+ addUserKnob {41 glow_blur4 l "blur4 size" T glow_blur103.size}
55
+ addUserKnob {41 glow_merge4 l intensity T glow_merge103.mix}
56
+ addUserKnob {26 glow_divider4 l "" +STARTLINE}
57
+ addUserKnob {41 glow_blur5 l "blur5 size" T glow_blur104.size}
58
+ addUserKnob {41 glow_merge5 l intensity T glow_merge104.mix}
59
+ addUserKnob {26 glow_divider5 l "" +STARTLINE}
60
+}
61
+ BackdropNode {
62
+  inputs 0
63
+  name BackdropNode1
64
+  label "glow adjustments"
65
+  note_font_size 92
66
+  xpos -396
67
+  ypos 523
68
+  bdwidth 1476
69
+  bdheight 1404
70
+ }
71
+ BackdropNode {
72
+  inputs 0
73
+  name BackdropNode2
74
+  tile_color 0x7171c600
75
+  label "glow matte"
76
+  note_font_size 92
77
+  xpos 1744
78
+  ypos -3594
79
+  bdwidth 1569
80
+  bdheight 1622
81
+ }
82
+ Input {
83
+  inputs 0
84
+  name glow_matte
85
+  label "input number: \[value number]"
86
+  xpos 2874
87
+  ypos -3123
88
+  number 2
89
+ }
90
+ AddChannels {
91
+  channels {rgba.alpha none none rgba.alpha}
92
+  color 1
93
+  name AddChannels3
94
+  xpos 2874
95
+  ypos -2906
96
+  disable {{"\[exists parent.input2] ? 1 : 0" i x428 1}}
97
+ }
98
+ Shuffle {
99
+  alpha white
100
+  name Shuffle5
101
+  xpos 2874
102
+  ypos -2739
103
+  disable {{"\[exists parent.input2] ? 1 : 0" i x428 1}}
104
+ }
105
+ Dot {
106
+  name Dot7
107
+  xpos 2908
108
+  ypos -2586
109
+ }
110
+ Input {
111
+  inputs 0
112
+  name input
113
+  note_font_size 92
114
+  xpos -208
115
+  ypos -4550
116
+ }
117
+ Dot {
118
+  name Dot4
119
+  xpos -174
120
+  ypos -4012
121
+ }
122
+set N44638e00 [stack 0]
123
+ Dot {
124
+  name Dot5
125
+  xpos 1996
126
+  ypos -4012
127
+ }
128
+ Shuffle {
129
+  alpha black
130
+  name Shuffle2
131
+  xpos 1962
132
+  ypos -3417
133
+ }
134
+ Remove {
135
+  operation keep
136
+  channels rgb
137
+  name Remove1
138
+  xpos 1962
139
+  ypos -3306
140
+ }
141
+ Dot {
142
+  name Dot10
143
+  xpos 1996
144
+  ypos -3140
145
+ }
146
+set N44639bc0 [stack 0]
147
+ Dot {
148
+  name Dot2
149
+  xpos 2484
150
+  ypos -3140
151
+ }
152
+ Keyer {
153
+  operation "luminance key"
154
+  range {{keyer_blacks} {keyer_whites} 1 1}
155
+  name Keyer1
156
+  xpos 2450
157
+  ypos -2870
158
+ }
159
+ Switch {
160
+  inputs 2
161
+  which {{parent.glow_matte x1 0}}
162
+  name Switch1
163
+  xpos 2450
164
+  ypos -2589
165
+ }
166
+ Blur {
167
+  channels alpha
168
+  name soften_matte
169
+  xpos 2450
170
+  ypos -2464
171
+ }
172
+ Dot {
173
+  name Dot9
174
+  xpos 2484
175
+  ypos -2352
176
+ }
177
+push $N44639bc0
178
+ Copy {
179
+  inputs 2
180
+  from0 rgba.alpha
181
+  to0 rgba.alpha
182
+  name Copy1
183
+  xpos 1962
184
+  ypos -2362
185
+ }
186
+ Premult {
187
+  name Premult1
188
+  xpos 1962
189
+  ypos -2165
190
+ }
191
+ Dot {
192
+  name Dot11
193
+  xpos 1996
194
+  ypos -1569
195
+ }
196
+set N4438b0b0 [stack 0]
197
+ Dot {
198
+  name Dot8
199
+  xpos 2385
200
+  ypos -1569
201
+ }
202
+ Dot {
203
+  name Dot6
204
+  xpos 2385
205
+  ypos 1408
206
+ }
207
+ Shuffle {
208
+  red alpha
209
+  green alpha
210
+  blue alpha
211
+  alpha white
212
+  name matte_to_rgb
213
+  xpos 164
214
+  ypos 1404
215
+ }
216
+ Input {
217
+  inputs 0
218
+  name mask
219
+  note_font_size 92
220
+  xpos 700
221
+  ypos 609
222
+  number 1
223
+ }
224
+ AddChannels {
225
+  channels {rgba.alpha none none rgba.alpha}
226
+  color 1
227
+  name AddChannels1
228
+  xpos 700
229
+  ypos 888
230
+  disable {{"\[exists parent.input1] ? 1 : 0" i x428 1}}
231
+ }
232
+ Shuffle {
233
+  alpha white
234
+  name Shuffle3
235
+  xpos 700
236
+  ypos 1010
237
+  disable {{"\[exists parent.input1] ? 1 : 0" x428 1}}
238
+ }
239
+ Dot {
240
+  name Dot1
241
+  xpos 734
242
+  ypos 1119
243
+ }
244
+ Crop {
245
+  inputs 0
246
+  box {{"\[exists parent.input0] ? input0.width/2 - (input0.width/2 - input0.bbox.x) : 0"} {"\[exists parent.input0] ? input0.height/2 - (input0.height/2 - input0.bbox.y) : 0"} {"\[exists parent.input0] ? input0.bbox.r : width"} {"\[exists parent.input0] ? input0.bbox.t : height"}}
247
+  name black_frame
248
+  tile_color 0xff
249
+  xpos 350
250
+  ypos -1320
251
+ }
252
+set N444abd40 [stack 0]
253
+ Dot {
254
+  name Dot13
255
+  xpos 384
256
+  ypos -999
257
+ }
258
+push $N4438b0b0
259
+ Shuffle {
260
+  alpha black
261
+  name Shuffle1
262
+  xpos 1962
263
+  ypos -1333
264
+ }
265
+ CopyBBox {
266
+  inputs 2
267
+  name CopyBBox1
268
+  xpos 1962
269
+  ypos -1002
270
+ }
271
+ Dot {
272
+  name sb_glow_dot3
273
+  xpos 1996
274
+  ypos -755
275
+ }
276
+set N444acb00 [stack 0]
277
+ Blur {
278
+  channels rgb
279
+  size 21.875
280
+  name glow_blur104
281
+  xpos 750
282
+  ypos 300
283
+ }
284
+push $N444acb00
285
+ Blur {
286
+  channels rgb
287
+  size 43.75
288
+  name glow_blur103
289
+  xpos 750
290
+  ypos 50
291
+ }
292
+push $N444acb00
293
+ Blur {
294
+  channels rgb
295
+  size 87.5
296
+  name glow_blur102
297
+  xpos 750
298
+  ypos -200
299
+ }
300
+push $N444acb00
301
+ Blur {
302
+  channels rgb
303
+  size 175
304
+  name glow_blur101
305
+  xpos 750
306
+  ypos -450
307
+ }
308
+push $N444acb00
309
+ Blur {
310
+  channels rgb
311
+  size 350
312
+  name glow_blur100
313
+  xpos 750
314
+  ypos -700
315
+ }
316
+push $N444abd40
317
+ Merge2 {
318
+  inputs 2
319
+  operation plus
320
+  mix 0.05
321
+  name glow_merge100
322
+  xpos 350
323
+  ypos -700
324
+ }
325
+ Merge2 {
326
+  inputs 2
327
+  operation plus
328
+  mix 0.1
329
+  name glow_merge101
330
+  xpos 350
331
+  ypos -450
332
+ }
333
+ Merge2 {
334
+  inputs 2
335
+  operation plus
336
+  mix 0.2
337
+  name glow_merge102
338
+  xpos 350
339
+  ypos -200
340
+ }
341
+ Merge2 {
342
+  inputs 2
343
+  operation plus
344
+  mix 0.4
345
+  name glow_merge103
346
+  xpos 350
347
+  ypos 50
348
+ }
349
+ Merge2 {
350
+  inputs 2
351
+  operation plus
352
+  mix 0.8
353
+  name glow_merge104
354
+  xpos 350
355
+  ypos 300
356
+ }
357
+ Multiply {
358
+  channels rgb
359
+  value {0.8 1.5 2.5 1}
360
+  name Multiply2
361
+  label colour
362
+  xpos 350
363
+  ypos 800
364
+ }
365
+ Merge2 {
366
+  inputs 2
367
+  operation mask
368
+  name Merge2
369
+  xpos 350
370
+  ypos 1116
371
+ }
372
+ Dot {
373
+  name Dot12
374
+  xpos 384
375
+  ypos 1225
376
+ }
377
+ Multiply {
378
+  value {{overall_intensity}}
379
+  name Multiply3
380
+  label "overall intensity"
381
+  xpos 1
382
+  ypos 1210
383
+ }
384
+push $N44638e00
385
+ Merge2 {
386
+  inputs 2
387
+  operation plus
388
+  Achannels rgb
389
+  name Plus1
390
+  xpos -208
391
+  ypos 1222
392
+ }
393
+ Switch {
394
+  inputs 2
395
+  which {{parent.show_matte x1 0}}
396
+  name Switch2
397
+  label "0 = glow\n1 = glow matte"
398
+  xpos -208
399
+  ypos 1392
400
+ }
401
+ Output {
402
+  name OUTPUT
403
+  note_font_size 92
404
+  xpos -208
405
+  ypos 1655
406
+ }
407
+ StickyNote {
408
+  inputs 0
409
+  name StickyNote3
410
+  label "Do not change any of these nodes!\nPython callbacks are based on the names of the nodes."
411
+  note_font_size 92
412
+  xpos -1245
413
+  ypos -4927
414
+ }
415
+ StickyNote {
416
+  inputs 0
417
+  name StickyNote1
418
+  label glow
419
+  note_font_size 92
420
+  xpos 959
421
+  ypos -1362
422
+ }
423
+end_group

+ 469
- 0
gizmos/sb_haze.gizmo ファイルの表示

@@ -0,0 +1,469 @@
1
+#! C:/Program Files/Nuke8.0v1/nuke-8.0.v1.dll -nx
2
+version 8.0 v1
3
+Gizmo {
4
+name sb_Haze
5
+inputs 2
6
+help "Simon Bjork\nJuly 2012\nVersion 1.0\nbjork.simon@gmail.com\nStorm Studios"
7
+tile_color 0xe86611ff
8
+note_font Verdana
9
+mapsize {0.15 0.15}
10
+addUserKnob {20 controls l Controls}
11
+addUserKnob {26 divider1 l "" +STARTLINE}
12
+addUserKnob {26 info l "" +STARTLINE T "Make sure to set up your depth mask correctly."}
13
+addUserKnob {26 divider2 l "" +STARTLINE}
14
+addUserKnob {20 scattering n 1}
15
+scattering 0
16
+addUserKnob {41 master_blur l "master blur" T blur_controls.master_blur}
17
+addUserKnob {41 master_contribution l contribution T blur_controls.master_contribution}
18
+addUserKnob {41 master_amount l amount T blur_controls.master_amount}
19
+addUserKnob {20 endGroup_scattering l endGroup n -1}
20
+addUserKnob {20 atmosphere n 1}
21
+atmosphere 0
22
+addUserKnob {41 color T Constant1.color}
23
+addUserKnob {41 mix l amount T Merge1.mix}
24
+addUserKnob {20 endGroup_atmosphere l endGroup n -1}
25
+addUserKnob {20 depth_mask l "depth mask" n 1}
26
+depth_mask 0
27
+addUserKnob {6 view_matte l "view matte" +STARTLINE}
28
+addUserKnob {41 from0 l "depth mask channel" T mask2alpha.from0}
29
+addUserKnob {41 blackpoint l "near (black)" T mask_grade.blackpoint}
30
+addUserKnob {41 whitepoint l "far (white)" T mask_grade.whitepoint}
31
+addUserKnob {41 gamma l "falloff (gamma)" T mask_grade.gamma}
32
+addUserKnob {41 white_clamp l "white clamp" T mask_grade.white_clamp}
33
+addUserKnob {41 black_clamp l "black clamp" -STARTLINE T mask_grade.black_clamp}
34
+addUserKnob {41 size l blur T blur_mask.size}
35
+addUserKnob {41 to0 l "output mask" T add_mask.to0}
36
+addUserKnob {20 endGroup_depth_mask l endGroup n -1}
37
+}
38
+BackdropNode {
39
+inputs 0
40
+name BackdropNode1
41
+tile_color 0x7171c600
42
+label "atmo over"
43
+note_font_size 92
44
+xpos -3943
45
+ypos 2367
46
+bdwidth 643
47
+bdheight 487
48
+}
49
+BackdropNode {
50
+inputs 0
51
+name BackdropNode2
52
+tile_color 0x7171c600
53
+label "seven iterations blur"
54
+note_font_size 92
55
+xpos -3811
56
+ypos 2
57
+bdwidth 1088
58
+bdheight 1931
59
+}
60
+BackdropNode {
61
+inputs 0
62
+name BackdropNode3
63
+tile_color 0x8e8e3800
64
+label mask
65
+note_font_size 92
66
+xpos -1532
67
+ypos 3004
68
+bdwidth 857
69
+bdheight 1362
70
+}
71
+BackdropNode {
72
+inputs 0
73
+name BackdropNode4
74
+tile_color 0x8e8e3800
75
+label "hold-out mask"
76
+note_font_size 92
77
+xpos -498
78
+ypos 3009
79
+bdwidth 857
80
+bdheight 1362
81
+}
82
+NoOp {
83
+inputs 0
84
+name blur_controls
85
+tile_color 0xff00ff
86
+note_font_size 92
87
+xpos -4567
88
+ypos 354
89
+addUserKnob {20 User}
90
+addUserKnob {7 master_blur l blur}
91
+master_blur 160
92
+addUserKnob {7 master_contribution l contribution}
93
+master_contribution 0.2
94
+addUserKnob {7 master_amount l amount}
95
+master_amount 0.6
96
+}
97
+Input {
98
+inputs 0
99
+name img
100
+label "\[value number]"
101
+xpos -3473
102
+ypos -1160
103
+}
104
+AddChannels {
105
+channels alpha
106
+channels2 depth
107
+name AddChannels2
108
+xpos -3473
109
+ypos -934
110
+}
111
+Dot {
112
+name Dot16
113
+xpos -3439
114
+ypos -493
115
+}
116
+set N913b35d0 [stack 0]
117
+Dot {
118
+name Dot15
119
+xpos -5792
120
+ypos -493
121
+}
122
+Dot {
123
+name Dot14
124
+xpos -5796
125
+ypos 4221
126
+}
127
+set N913b3cb0 [stack 0]
128
+Dot {
129
+name Dot11
130
+xpos -5796
131
+ypos 5983
132
+}
133
+set N913b4020 [stack 0]
134
+Dot {
135
+name Dot2
136
+xpos -5796
137
+ypos 6330
138
+}
139
+push $N913b4020
140
+Input {
141
+inputs 0
142
+name hold_out
143
+label "\[value number]"
144
+xpos -103
145
+ypos 3271
146
+number 1
147
+}
148
+AddChannels {
149
+channels alpha
150
+color 1
151
+name AddChannels1
152
+xpos -103
153
+ypos 3503
154
+disable {{"\[exists parent.input1] ? 1 : 0" x428 1}}
155
+}
156
+Shuffle {
157
+alpha white
158
+name Shuffle2
159
+xpos -103
160
+ypos 3670
161
+disable {{"\[exists parent.input1] ? 1 : 0" x428 1}}
162
+}
163
+Dot {
164
+name Dot5
165
+xpos -69
166
+ypos 4099
167
+}
168
+push $N913b35d0
169
+Dot {
170
+name Dot10
171
+xpos -1104
172
+ypos -493
173
+}
174
+Dot {
175
+name Dot7
176
+xpos -1104
177
+ypos 3071
178
+}
179
+AddChannels {
180
+channels depth
181
+color 1
182
+name AddChannels3
183
+xpos -1138
184
+ypos 3248
185
+disable {{"\[exists parent.input0] ? 1 : 0" x428 1}}
186
+}
187
+Shuffle {
188
+alpha white
189
+name Shuffle5
190
+xpos -1138
191
+ypos 3380
192
+disable {{"\[exists parent.input0] ? 1 : 0" x428 1}}
193
+}
194
+set N938f4a90 [stack 0]
195
+push $N938f4a90
196
+Copy {
197
+inputs 2
198
+from0 depth.Z
199
+to0 rgba.alpha
200
+name mask2alpha
201
+xpos -1138
202
+ypos 3561
203
+}
204
+Shuffle {
205
+red alpha
206
+green alpha
207
+blue alpha
208
+name Shuffle3
209
+xpos -1138
210
+ypos 3676
211
+}
212
+Grade {
213
+channels alpha
214
+blackpoint 1000
215
+whitepoint 6000
216
+white_clamp true
217
+name mask_grade
218
+xpos -1138
219
+ypos 3781
220
+}
221
+Blur {
222
+channels alpha
223
+size 2
224
+name blur_mask
225
+xpos -1138
226
+ypos 3897
227
+}
228
+Merge2 {
229
+inputs 2
230
+operation mask
231
+name Merge2
232
+xpos -1138
233
+ypos 4096
234
+}
235
+Dot {
236
+name Dot17
237
+xpos -1104
238
+ypos 4221
239
+}
240
+set N93c06150 [stack 0]
241
+Dot {
242
+name Dot1
243
+xpos -1104
244
+ypos 4841
245
+}
246
+set N93c064c0 [stack 0]
247
+Dot {
248
+name Dot4
249
+xpos -1108
250
+ypos 5306
251
+}
252
+push $N93c064c0
253
+push $N93c06150
254
+Constant {
255
+inputs 0
256
+channels rgb
257
+color {0.7113785148 0.9035110474 0.9499999881 1}
258
+name Constant1
259
+xpos -3830
260
+ypos 2500
261
+}
262
+Shuffle {
263
+alpha white
264
+name Shuffle1
265
+xpos -3830
266
+ypos 2640
267
+}
268
+Dot {
269
+name Dot6
270
+xpos -3796
271
+ypos 2703
272
+}
273
+push $N913b35d0
274
+Dot {
275
+name Dot3
276
+xpos -3439
277
+ypos 348
278
+}
279
+set N93c075f0 [stack 0]
280
+Dot {
281
+name Dot8
282
+xpos -3047
283
+ypos 348
284
+}
285
+Blur {
286
+channels rgb
287
+size {{parent.blur_controls.master_blur/64 i}}
288
+name Blur13
289
+xpos -3081
290
+ypos 480
291
+}
292
+set N916107a0 [stack 0]
293
+Blur {
294
+channels rgb
295
+size {{parent.blur_controls.master_blur/32 i}}
296
+name Blur1
297
+xpos -3310
298
+ypos 591
299
+}
300
+set N91610b10 [stack 0]
301
+Blur {
302
+channels rgb
303
+size {{parent.blur_controls.master_blur/16 i}}
304
+name Blur5
305
+xpos -3310
306
+ypos 745
307
+}
308
+set N91610e80 [stack 0]
309
+Blur {
310
+channels rgb
311
+size {{parent.blur_controls.master_blur/8 i}}
312
+name Blur12
313
+xpos -3310
314
+ypos 935
315
+}
316
+set N916111f0 [stack 0]
317
+Blur {
318
+channels rgb
319
+size {{parent.blur_controls.master_blur/4 i}}
320
+name Blur6
321
+xpos -3310
322
+ypos 1133
323
+}
324
+set N91611560 [stack 0]
325
+Blur {
326
+channels rgb
327
+size {{parent.blur_controls.master_blur/2 i}}
328
+name Blur7
329
+xpos -3310
330
+ypos 1323
331
+}
332
+set N916118d0 [stack 0]
333
+Blur {
334
+channels rgb
335
+size {{parent.blur_controls.master_blur i}}
336
+name Blur8
337
+xpos -3310
338
+ypos 1539
339
+}
340
+push $N916118d0
341
+push $N91611560
342
+push $N916111f0
343
+push $N91610e80
344
+push $N91610b10
345
+push $N916107a0
346
+Dissolve {
347
+inputs 2
348
+channels rgb
349
+which {{parent.blur_controls.master_contribution i}}
350
+name Dissolve12
351
+xpos -3081
352
+ypos 585
353
+}
354
+Dissolve {
355
+inputs 2
356
+channels rgb
357
+which {{parent.blur_controls.master_contribution i}}
358
+name Dissolve13
359
+xpos -3081
360
+ypos 739
361
+}
362
+Dissolve {
363
+inputs 2
364
+channels rgb
365
+which {{parent.blur_controls.master_contribution i}}
366
+name Dissolve14
367
+xpos -3081
368
+ypos 929
369
+}
370
+Dissolve {
371
+inputs 2
372
+channels rgb
373
+which {{parent.blur_controls.master_contribution i}}
374
+name Dissolve5
375
+xpos -3081
376
+ypos 1127
377
+}
378
+Dissolve {
379
+inputs 2
380
+channels rgb
381
+which {{parent.blur_controls.master_contribution i}}
382
+name Dissolve6
383
+xpos -3081
384
+ypos 1317
385
+}
386
+Dissolve {
387
+inputs 2
388
+channels rgb
389
+which {{parent.blur_controls.master_contribution i}}
390
+name Dissolve7
391
+xpos -3081
392
+ypos 1533
393
+}
394
+Dot {
395
+name Dot9
396
+xpos -3047
397
+ypos 1748
398
+}
399
+push $N93c075f0
400
+Dissolve {
401
+inputs 2
402
+channels rgb
403
+which {{parent.blur_controls.master_amount i}}
404
+name Dissolve15
405
+xpos -3473
406
+ypos 1745
407
+}
408
+Merge2 {
409
+inputs 2
410
+mix 0.2
411
+name Merge1
412
+xpos -3473
413
+ypos 2703
414
+}
415
+push $N913b3cb0
416
+Keymix {
417
+inputs 3
418
+channels rgb
419
+name Keymix1
420
+xpos -3481
421
+ypos 4218
422
+}
423
+Copy {
424
+inputs 2
425
+from0 rgba.alpha
426
+name add_mask
427
+xpos -3481
428
+ypos 4826
429
+}
430
+ShuffleCopy {
431
+inputs 2
432
+red alpha
433
+green alpha
434
+blue alpha
435
+name mask2rgb
436
+label "view matte"
437
+xpos -3481
438
+ypos 5297
439
+disable {{"parent.view_matte == 1 ? 0 : 1"}}
440
+}
441
+Copy {
442
+inputs 2
443
+from0 rgba.alpha
444
+to0 rgba.alpha
445
+from1 depth.Z
446
+to1 depth.Z
447
+name Copy1
448
+xpos -3481
449
+ypos 5968
450
+}
451
+CopyBBox {
452
+inputs 2
453
+name CopyBBox1
454
+xpos -3481
455
+ypos 6327
456
+}
457
+Output {
458
+name Output1
459
+xpos -3481
460
+ypos 7275
461
+}
462
+StickyNote {
463
+inputs 0
464
+name StickyNote1
465
+label "Make sure no error occurs."
466
+xpos -1329
467
+ypos 3320
468
+}
469
+end_group

+ 690
- 0
gizmos/sb_lensReflections.gizmo ファイルの表示

@@ -0,0 +1,690 @@
1
+#! C:/Program Files/Nuke8.0v5/nuke-8.0.v5.dll -nx
2
+version 8.0 v5
3
+Gizmo {
4
+ name sb_LensReflections
5
+ inputs 3
6
+ tile_color 0x9900ff
7
+ addUserKnob {20 sb_lensReflection l "sb LensReflection"}
8
+ addUserKnob {4 method M {"generated noise" "dirt plate" ""}}
9
+ addUserKnob {26 ""}
10
+ addUserKnob {26 noise_controls_text l "<b>noise controls</b>" T " "}
11
+ addUserKnob {3 random_seed l "random seed"}
12
+ random_seed 1
13
+ addUserKnob {7 aspect_ratio l "aspect ratio" R 0 2}
14
+ aspect_ratio 1
15
+ addUserKnob {41 mix l "breakup noise" T breakup_noise.mix}
16
+ addUserKnob {20 noise_controls l "individual noise controls" n 1}
17
+ noise_controls 0
18
+ addUserKnob {26 noise1_knobs l "noise 1"}
19
+ addUserKnob {41 size l x/ysize T Noise1.size}
20
+ addUserKnob {41 gain T Noise1.gain}
21
+ addUserKnob {41 gamma T Noise1.gamma}
22
+ addUserKnob {41 defocus T Defocus1.defocus}
23
+ addUserKnob {41 size_1 l blur T Blur1.size}
24
+ addUserKnob {41 value l intensity T Multiply1.value}
25
+ addUserKnob {26 noise2_knobs l "noise 2"}
26
+ addUserKnob {41 size_2 l x/ysize T Noise2.size}
27
+ addUserKnob {41 gain_1 l gain T Noise2.gain}
28
+ addUserKnob {41 gamma_1 l gamma T Noise2.gamma}
29
+ addUserKnob {41 defocus_1 l defocus T Defocus2.defocus}
30
+ addUserKnob {41 size_3 l blur T Blur2.size}
31
+ addUserKnob {41 value_1 l intensity T Multiply2.value}
32
+ addUserKnob {26 noise3_knoba l "noise 3"}
33
+ addUserKnob {41 size_4 l x/ysize T Noise3.size}
34
+ addUserKnob {41 gain_2 l gain T Noise3.gain}
35
+ addUserKnob {41 gamma_2 l gamma T Noise3.gamma}
36
+ addUserKnob {41 defocus_2 l defocus T Defocus3.defocus}
37
+ addUserKnob {41 size_5 l blur T Blur3.size}
38
+ addUserKnob {41 value_2 l intensity T Multiply3.value}
39
+ addUserKnob {26 noise4_knobs l "noise 4"}
40
+ addUserKnob {41 size_6 l x/ysize T Noise4.size}
41
+ addUserKnob {41 gain_3 l gain T Noise4.gain}
42
+ addUserKnob {41 gamma_3 l gamma T Noise4.gamma}
43
+ addUserKnob {41 defocus_3 l defocus T Defocus4.defocus}
44
+ addUserKnob {41 size_7 l blur T Blur4.size}
45
+ addUserKnob {41 value_3 l intensity T Multiply4.value}
46
+ addUserKnob {26 noise5_knobs l "noise 5"}
47
+ addUserKnob {41 size_8 l x/ysize T Noise5.size}
48
+ addUserKnob {41 gain_4 l gain T Noise5.gain}
49
+ addUserKnob {41 gamma_4 l gamma T Noise5.gamma}
50
+ addUserKnob {41 defocus_4 l defocus T Defocus5.defocus}
51
+ addUserKnob {41 size_9 l blur T Blur5.size}
52
+ addUserKnob {41 value_4 l intensity T Multiply5.value}
53
+ addUserKnob {20 endGroup n -1}
54
+ addUserKnob {26 dirtPlate_text l "<b>dirt plate controls</b>" +HIDDEN T " "}
55
+ addUserKnob {41 blackpoint_1 l blackpoint +HIDDEN T Grade3.blackpoint}
56
+ addUserKnob {41 whitepoint_1 l whitepoint +HIDDEN T Grade3.whitepoint}
57
+ addUserKnob {41 gamma_5 l gamma +HIDDEN T Grade3.gamma}
58
+ addUserKnob {41 saturation_1 l saturation +HIDDEN T Saturation2.saturation}
59
+ addUserKnob {26 ""}
60
+ addUserKnob {26 luma_controls l "<b>luma key controls</b>" T " "}
61
+ addUserKnob {41 blackpoint T luma_grade.blackpoint}
62
+ addUserKnob {41 whitepoint T luma_grade.whitepoint}
63
+ addUserKnob {41 value_6 l multiply T Multiply6.value}
64
+ addUserKnob {41 size_11 l blur T luma_blur.size}
65
+ addUserKnob {26 ""}
66
+ addUserKnob {26 overall_controls l "<b>overall controls</b>" T ""}
67
+ addUserKnob {41 value_5 l "color (intensity)" T overall_col.value}
68
+ addUserKnob {41 saturation T Saturation1.saturation}
69
+ addUserKnob {41 size_10 l blur T overall_blur.size}
70
+ addUserKnob {18 ca l "chromatic aberration"}
71
+ ca {-0.003 0 0.003}
72
+ addUserKnob {6 ca_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
73
+ addUserKnob {26 ""}
74
+ addUserKnob {4 output_method l output M {result "dirt map" "luma matte" "noise 1" "noise 2" "noise 3" "noise 4" "noise 5" "" "" "" ""}}
75
+}
76
+ BackdropNode {
77
+  inputs 0
78
+  name BackdropNode2
79
+  tile_color 0x2b544cff
80
+  label "generated noise map"
81
+  note_font_size 92
82
+  xpos -4918
83
+  ypos -2375
84
+  bdwidth 2203
85
+  bdheight 1604
86
+ }
87
+ BackdropNode {
88
+  inputs 0
89
+  name BackdropNode3
90
+  tile_color 0x3b4735ff
91
+  label "noise map"
92
+  note_font_size 92
93
+  xpos -8012
94
+  ypos -2110
95
+  bdwidth 2160
96
+  bdheight 3954
97
+ }
98
+ BackdropNode {
99
+  inputs 0
100
+  name BackdropNode4
101
+  tile_color 0x414744ff
102
+  label "overall controls"
103
+  note_font_size 92
104
+  xpos -3289
105
+  ypos 2301
106
+  bdwidth 921
107
+  bdheight 1888
108
+ }
109
+ BackdropNode {
110
+  inputs 0
111
+  name BackdropNode1
112
+  tile_color 0x274732ff
113
+  label "luma key"
114
+  note_font_size 92
115
+  xpos -1471
116
+  ypos 3962
117
+  bdwidth 672
118
+  bdheight 1306
119
+ }
120
+ Reformat {
121
+  inputs 0
122
+  type "to box"
123
+  box_width {{"\[exists parent.input0] ? parent.input0.width : root.width"}}
124
+  box_height {{"\[exists parent.input0] ? parent.input0.height : root.height"}}
125
+  box_fixed true
126
+  name Reformat1
127
+  xpos -4718
128
+  ypos -2124
129
+ }
130
+ Dot {
131
+  name Dot8
132
+  xpos -4684
133
+  ypos -1659
134
+ }
135
+set N72b9edf0 [stack 0]
136
+ Dot {
137
+  name Dot10
138
+  xpos -4341
139
+  ypos -1659
140
+ }
141
+set N72b9f160 [stack 0]
142
+ Dot {
143
+  name Dot11
144
+  xpos -4078
145
+  ypos -1659
146
+ }
147
+set N72b9f4d0 [stack 0]
148
+ Dot {
149
+  name Dot12
150
+  xpos -3806
151
+  ypos -1659
152
+ }
153
+set N72b9f840 [stack 0]
154
+ Dot {
155
+  name Dot13
156
+  xpos -3519
157
+  ypos -1659
158
+ }
159
+set N72b9fbb0 [stack 0]
160
+ Noise {
161
+  size 3.125
162
+  zoffset {{parent.random_seed*1.87}}
163
+  gain 0.7
164
+  gamma 0.3
165
+  center {1024 576}
166
+  name Noise5
167
+  xpos -3553
168
+  ypos -1494
169
+ }
170
+ Defocus {
171
+  channels rgba
172
+  defocus 3.125
173
+  ratio {{parent.aspect_ratio}}
174
+  name Defocus5
175
+  xpos -3553
176
+  ypos -1397
177
+ }
178
+ Blur {
179
+  channels rgba
180
+  size 3
181
+  name Blur5
182
+  xpos -3553
183
+  ypos -1303
184
+ }
185
+ Multiply {
186
+  value 0.5
187
+  name Multiply5
188
+  xpos -3553
189
+  ypos -1181
190
+ }
191
+set N72ba0ce0 [stack 0]
192
+ PostageStamp {
193
+  name PostageStamp5
194
+  xpos 424
195
+  ypos 8422
196
+  hide_input true
197
+  postage_stamp true
198
+ }
199
+push $N72b9f840
200
+ Noise {
201
+  size 6.25
202
+  zoffset {{parent.random_seed*0.1}}
203
+  gain 0.7
204
+  gamma 0.03
205
+  center {1024 576}
206
+  name Noise4
207
+  xpos -3840
208
+  ypos -1496
209
+ }
210
+ Defocus {
211
+  channels rgba
212
+  defocus 6.25
213
+  ratio {{parent.aspect_ratio}}
214
+  name Defocus4
215
+  xpos -3840
216
+  ypos -1397
217
+ }
218
+ Blur {
219
+  channels rgba
220
+  size 3
221
+  name Blur4
222
+  xpos -3840
223
+  ypos -1305
224
+ }
225
+ Multiply {
226
+  name Multiply4
227
+  xpos -3840
228
+  ypos -1187
229
+ }
230
+set N72ba2180 [stack 0]
231
+ PostageStamp {
232
+  name PostageStamp4
233
+  xpos 279
234
+  ypos 8422
235
+  hide_input true
236
+  postage_stamp true
237
+ }
238
+push $N72b9f4d0
239
+ Noise {
240
+  size 12.5
241
+  zoffset {{"parent.random_seed * 2.1"}}
242
+  gain 0.7
243
+  gamma 0.03
244
+  center {1024 576}
245
+  name Noise3
246
+  xpos -4112
247
+  ypos -1500
248
+ }
249
+ Defocus {
250
+  channels rgba
251
+  defocus 12.5
252
+  ratio {{parent.aspect_ratio}}
253
+  name Defocus3
254
+  xpos -4112
255
+  ypos -1390
256
+ }
257
+ Blur {
258
+  channels rgba
259
+  size 2
260
+  name Blur3
261
+  xpos -4112
262
+  ypos -1310
263
+ }
264
+ Multiply {
265
+  name Multiply3
266
+  xpos -4112
267
+  ypos -1195
268
+ }
269
+set N72ba3620 [stack 0]
270
+ PostageStamp {
271
+  name PostageStamp3
272
+  xpos 145
273
+  ypos 8431
274
+  hide_input true
275
+  postage_stamp true
276
+ }
277
+push $N72b9f160
278
+ Noise {
279
+  size 25
280
+  zoffset {{parent.random_seed*0.4}}
281
+  gain 0.7
282
+  gamma 0.03
283
+  center {1024 576}
284
+  name Noise2
285
+  xpos -4375
286
+  ypos -1499
287
+ }
288
+ Defocus {
289
+  channels rgba
290
+  defocus 25
291
+  ratio {{parent.aspect_ratio}}
292
+  name Defocus2
293
+  xpos -4375
294
+  ypos -1392
295
+ }
296
+ Blur {
297
+  channels rgba
298
+  size 2
299
+  name Blur2
300
+  xpos -4375
301
+  ypos -1308
302
+ }
303
+ Multiply {
304
+  name Multiply2
305
+  xpos -4375
306
+  ypos -1189
307
+ }
308
+set N72ba4ac0 [stack 0]
309
+ PostageStamp {
310
+  name PostageStamp2
311
+  xpos 15
312
+  ypos 8455
313
+  hide_input true
314
+  postage_stamp true
315
+ }
316
+push $N72b9edf0
317
+ Noise {
318
+  size 50
319
+  zoffset {{parent.random_seed*1.2}}
320
+  gain 0.8
321
+  gamma 0.06
322
+  center {1024 576}
323
+  name Noise1
324
+  xpos -4718
325
+  ypos -1491
326
+ }
327
+ Defocus {
328
+  channels rgba
329
+  defocus 50
330
+  ratio {{parent.aspect_ratio}}
331
+  name Defocus1
332
+  xpos -4718
333
+  ypos -1395
334
+ }
335
+ Blur {
336
+  channels rgba
337
+  size 2
338
+  name Blur1
339
+  xpos -4718
340
+  ypos -1246
341
+ }
342
+ Multiply {
343
+  value 0.9
344
+  name Multiply1
345
+  xpos -4718
346
+  ypos -1160
347
+ }
348
+set N72ba5f60 [stack 0]
349
+ PostageStamp {
350
+  name PostageStamp1
351
+  xpos -131
352
+  ypos 8482
353
+  hide_input true
354
+  postage_stamp true
355
+ }
356
+ Input {
357
+  inputs 0
358
+  name img
359
+  label "\[value number]"
360
+  xpos 1041
361
+  ypos -3949
362
+ }
363
+ Dot {
364
+  name Dot36
365
+  xpos 1075
366
+  ypos 1266
367
+ }
368
+set N72ba69b0 [stack 0]
369
+ Dot {
370
+  name Dot22
371
+  xpos -1213
372
+  ypos 1266
373
+ }
374
+ Dot {
375
+  name Dot20
376
+  xpos -1213
377
+  ypos 2160
378
+ }
379
+set N72ba7090 [stack 0]
380
+ Colorspace {
381
+  colorspace_out HSL
382
+  name Colorspace1
383
+  xpos -1271
384
+  ypos 4385
385
+ }
386
+ Shuffle {
387
+  red blue
388
+  green blue
389
+  alpha blue
390
+  name Shuffle1
391
+  xpos -1271
392
+  ypos 4465
393
+ }
394
+ Grade {
395
+  channels alpha
396
+  blackpoint 0.3
397
+  whitepoint 0.5
398
+  white_clamp true
399
+  name luma_grade
400
+  xpos -1271
401
+  ypos 4531
402
+ }
403
+ Multiply {
404
+  channels alpha
405
+  name Multiply6
406
+  xpos -1271
407
+  ypos 4567
408
+ }
409
+ Blur {
410
+  channels alpha
411
+  size 150
412
+  name luma_blur
413
+  xpos -1271
414
+  ypos 4664
415
+ }
416
+ Shuffle {
417
+  red alpha
418
+  green alpha
419
+  blue alpha
420
+  name Shuffle4
421
+  xpos -1271
422
+  ypos 4811
423
+ }
424
+ Dot {
425
+  name Dot4
426
+  xpos -1237
427
+  ypos 5042
428
+ }
429
+set N72ba88a0 [stack 0]
430
+push $N72ba7090
431
+ Blur {
432
+  size {{int(input.bbox.width/10)}}
433
+  name Blur8
434
+  xpos -2604
435
+  ypos 2536
436
+ }
437
+ Input {
438
+  inputs 0
439
+  name dirt_plate
440
+  xpos -7201
441
+  ypos -1860
442
+  number 1
443
+ }
444
+ Grade {
445
+  name Grade3
446
+  xpos -7201
447
+  ypos -1103
448
+ }
449
+ Saturation {
450
+  name Saturation2
451
+  xpos -7201
452
+  ypos -980
453
+ }
454
+ Dot {
455
+  name Dot7
456
+  xpos -7167
457
+  ypos 1022
458
+ }
459
+push $N72b9fbb0
460
+ Dot {
461
+  name Dot15
462
+  xpos -3125
463
+  ypos -1659
464
+ }
465
+set N72ba9d40 [stack 0]
466
+ Noise {
467
+  size 26.5
468
+  zoffset 1.52
469
+  gain 0.67
470
+  gamma 0.55
471
+  scale {2 3}
472
+  center {1024 576}
473
+  name Noise7
474
+  xpos -3086
475
+  ypos -1361
476
+ }
477
+push $N72ba9d40
478
+ Noise {
479
+  size 9.4
480
+  zoffset 0.5
481
+  scale {3 1}
482
+  center {1024 576}
483
+  name Noise6
484
+  xpos -3227
485
+  ypos -1360
486
+ }
487
+ Merge2 {
488
+  inputs 2
489
+  operation min
490
+  name Max
491
+  xpos -3154
492
+  ypos -1249
493
+ }
494
+push $N72ba0ce0
495
+push $N72ba2180
496
+push $N72ba3620
497
+push $N72ba5f60
498
+ Dot {
499
+  name Dot6
500
+  xpos -4684
501
+  ypos -992
502
+ }
503
+push $N72ba4ac0
504
+ Merge2 {
505
+  inputs 2
506
+  name Merge9
507
+  xpos -4375
508
+  ypos -1001
509
+ }
510
+ Merge2 {
511
+  inputs 2
512
+  name Merge1
513
+  xpos -4112
514
+  ypos -1001
515
+ }
516
+ Merge2 {
517
+  inputs 2
518
+  name Merge2
519
+  xpos -3840
520
+  ypos -1001
521
+ }
522
+ Merge2 {
523
+  inputs 2
524
+  name Merge3
525
+  xpos -3553
526
+  ypos -1001
527
+ }
528
+ Merge2 {
529
+  inputs 2
530
+  operation multiply
531
+  mix 0.4
532
+  name breakup_noise
533
+  xpos -3154
534
+  ypos -1001
535
+ }
536
+ Dot {
537
+  name Dot9
538
+  xpos -2927
539
+  ypos -992
540
+ }
541
+ Switch {
542
+  inputs 2
543
+  which {{parent.method}}
544
+  name Switch1
545
+  xpos -2961
546
+  ypos 1013
547
+ }
548
+ Merge2 {
549
+  inputs 2
550
+  operation multiply
551
+  name Multiply7
552
+  xpos -2961
553
+  ypos 2633
554
+ }
555
+ Shuffle {
556
+  alpha black
557
+  name Shuffle2
558
+  xpos -2961
559
+  ypos 2702
560
+ }
561
+ Multiply {
562
+  channels rgb
563
+  name overall_col
564
+  xpos -2961
565
+  ypos 2857
566
+ }
567
+ Saturation {
568
+  name Saturation1
569
+  xpos -2961
570
+  ypos 2940
571
+ }
572
+ Blur {
573
+  channels rgb
574
+  name overall_blur
575
+  xpos -2961
576
+  ypos 3023
577
+ }
578
+ GodRays {
579
+  channels {rgba.red -rgba.green -rgba.blue none}
580
+  scale {{parent.ca.r+1}}
581
+  center {{input.width/2} {input.height/2}}
582
+  name GodRays1
583
+  xpos -2961
584
+  ypos 3648
585
+  disable {{"parent.ca.r == 0 ? 1 : 0"}}
586
+ }
587
+ GodRays {
588
+  channels {-rgba.red rgba.green -rgba.blue none}
589
+  scale {{parent.ca.g+1}}
590
+  center {{input.width/2} {input.height/2}}
591
+  name GodRays2
592
+  xpos -2961
593
+  ypos 3726
594
+  disable {{"parent.ca.g == 0 ? 1 : 0"}}
595
+ }
596
+ GodRays {
597
+  channels {-rgba.red -rgba.green rgba.blue none}
598
+  scale {{"parent.ca.b + 1"}}
599
+  center {{input.width/2} {input.height/2}}
600
+  name GodRays3
601
+  xpos -2961
602
+  ypos 3798
603
+  disable {{"parent.ca.r == 0 ? 1 : 0"}}
604
+ }
605
+ Dot {
606
+  name Dot18
607
+  xpos -2927
608
+  ypos 4094
609
+ }
610
+set N73030710 [stack 0]
611
+ Input {
612
+  inputs 0
613
+  name mask
614
+  label "input number: \[value number]"
615
+  xpos 724
616
+  ypos 6642
617
+  number 2
618
+ }
619
+ AddChannels {
620
+  channels {rgba.alpha none none rgba.alpha}
621
+  color 1
622
+  name AddChannels3
623
+  xpos 724
624
+  ypos 6742
625
+  disable {{"\[exists parent.input2] ? 1 : 0" x428 1}}
626
+ }
627
+ Shuffle {
628
+  alpha white
629
+  name Shuffle5
630
+  xpos 724
631
+  ypos 6849
632
+  disable {{"\[exists parent.input2] ? 1 : 0" x428 1}}
633
+ }
634
+push $N72ba88a0
635
+push $N73030710
636
+ Merge2 {
637
+  inputs 2
638
+  operation multiply
639
+  Achannels rgb
640
+  name Multiply
641
+  xpos -2961
642
+  ypos 5339
643
+ }
644
+ Dot {
645
+  name Dot3
646
+  xpos -2947
647
+  ypos 6109
648
+ }
649
+push $N72ba69b0
650
+ Merge2 {
651
+  inputs 2
652
+  operation plus
653
+  bbox B
654
+  Achannels rgb
655
+  name Plus1
656
+  xpos 1021
657
+  ypos 6100
658
+ }
659
+push $N72ba69b0
660
+ Dot {
661
+  name Dot14
662
+  xpos 2310
663
+  ypos 1266
664
+ }
665
+ Dot {
666
+  name Dot17
667
+  xpos 2310
668
+  ypos 6690
669
+ }
670
+ Keymix {
671
+  inputs 3
672
+  channels rgb
673
+  bbox B
674
+  name Keymix1
675
+  xpos 1021
676
+  ypos 6941
677
+ }
678
+ Switch {
679
+  inputs 8
680
+  which {{output_method}}
681
+  name Switch2
682
+  xpos 1021
683
+  ypos 8842
684
+ }
685
+ Output {
686
+  name Output1
687
+  xpos 1021
688
+  ypos 9909
689
+ }
690
+end_group

+ 30
- 0
gizmos/sb_lensReflections_callbacks.py ファイルの表示

@@ -0,0 +1,30 @@
1
+# Add following to menu.py:
2
+# import sb_lensReflections_callbacks
3
+
4
+import nuke
5
+
6
+def sb_lensReflections_callbacks():
7
+
8
+	n = nuke.thisNode()
9
+	k = nuke.thisKnob()
10
+
11
+	if k.name() in ["selected", "xpos", "ypos"]:
12
+		return
13
+
14
+	if k.name() == "method":
15
+		noiseKnobs = ["noise_controls_text", "random_seed", "aspect_ratio", "mix", "noise_controls"]
16
+		plateKnobs = ["dirtPlate_text", "blackpoint_1", "whitepoint_1", "gamma_5", "saturation_1"]
17
+
18
+		if n["method"].value() == "generated noise":
19
+			for i in noiseKnobs:
20
+				n.knobs()[i].setVisible(True)
21
+			for i in plateKnobs:
22
+				n.knobs()[i].setVisible(False)
23
+
24
+		elif n["method"].value() == "dirt plate":
25
+			for i in noiseKnobs:
26
+				n.knobs()[i].setVisible(False)
27
+			for i in plateKnobs:
28
+				n.knobs()[i].setVisible(True)
29
+
30
+nuke.addKnobChanged(sb_lensReflections_callbacks, nodeClass="sb_lensReflections")

+ 485
- 0
gizmos/sb_lightWrap.gizmo ファイルの表示

@@ -0,0 +1,485 @@
1
+#! C:/Program Files/Nuke8.0v1/nuke-8.0.v1.dll -nx
2
+version 8.0 v1
3
+Gizmo {
4
+ name sb_LightWrap
5
+ inputs 4
6
+ help "Simon Bjork\nwww.bjorkvisuals.com"
7
+ tile_color 0xe86611ff
8
+ note_font Verdana
9
+ mapsize {0.15 0.15}
10
+ addUserKnob {20 controls_tab l controls}
11
+ addUserKnob {26 lw1_main l "light wrap 1"}
12
+ addUserKnob {41 size_2 l blur T lw1_blur.size}
13
+ addUserKnob {41 value_1 l color T lw1_color.value}
14
+ addUserKnob {41 value_2 l amount T lw1_amount.value}
15
+ addUserKnob {6 lw1_key l "luma key" +STARTLINE}
16
+ lw1_key true
17
+ addUserKnob {26 lw2_main l "light wrap 2"}
18
+ addUserKnob {41 lw2_blu l blur T lw2_blur.size}
19
+ addUserKnob {41 value l color T lw2_color.value}
20
+ addUserKnob {41 value_3 l amount T lw2_amount.value}
21
+ addUserKnob {6 lw2_key l "luma key" +STARTLINE}
22
+ lw2_key true
23
+ addUserKnob {26 divider1 l "" +STARTLINE}
24
+ addUserKnob {20 lw1_grp l "light wrap 1 key controls" n 1}
25
+ lw1_grp 0
26
+ addUserKnob {26 lw1_luma_key l "luma key"}
27
+ addUserKnob {7 lw1_black_slider l black}
28
+ lw1_black_slider 0.4
29
+ addUserKnob {7 lw1_white_slider l white}
30
+ lw1_white_slider 0.7
31
+ addUserKnob {26 lw1_grade_luma l "grade matte"}
32
+ addUserKnob {41 blackpoint T Grade4.blackpoint}
33
+ addUserKnob {41 whitepoint T Grade4.whitepoint}
34
+ addUserKnob {41 gamma_1 l gamma T Grade4.gamma}
35
+ addUserKnob {26 lw1_adj_luma l "adjust matte"}
36
+ addUserKnob {41 size_3 l erode T FilterErode2.size}
37
+ addUserKnob {41 size_4 l blur T Blur4.size}
38
+ addUserKnob {20 endGroup_lw1_grp l endGroup n -1}
39
+ addUserKnob {20 lw2_grp l "light wrap 2 key controls" n 1}
40
+ lw2_grp 0
41
+ addUserKnob {26 key_text l "luma key"}
42
+ addUserKnob {7 lw2_black_slider l black}
43
+ lw2_black_slider 0.4
44
+ addUserKnob {7 lw2_white_slider l white}
45
+ lw2_white_slider 0.7
46
+ addUserKnob {26 grade_matte l "grade matte"}
47
+ addUserKnob {41 blackpoint_1 l blackpoint T Grade2.blackpoint}
48
+ addUserKnob {41 whitepoint_1 l whitepoint T Grade2.whitepoint}
49
+ addUserKnob {41 gamma T Grade2.gamma}
50
+ addUserKnob {26 adjust_matte l "adjust matte"}
51
+ addUserKnob {41 size l erode T FilterErode1.size}
52
+ addUserKnob {41 size_1 l blur T Blur2.size}
53
+ addUserKnob {20 endGroup_lw2_grp l endGroup n -1}
54
+ addUserKnob {26 divider2 l "" +STARTLINE}
55
+ addUserKnob {41 to0 l "output matte channel" T output_channel.to0}
56
+ addUserKnob {26 divider3 l "" +STARTLINE}
57
+ addUserKnob {4 output M {rgb "light wrap 1 luma matte" "light wrap 2 luma matte" "" "" ""}}
58
+}
59
+ BackdropNode {
60
+  inputs 0
61
+  name BackdropNode3
62
+  tile_color 0x7171c600
63
+  label forground
64
+  note_font_size 92
65
+  xpos -598
66
+  ypos -778
67
+  bdwidth 512
68
+  bdheight 588
69
+ }
70
+ BackdropNode {
71
+  inputs 0
72
+  name BackdropNode2
73
+  tile_color 0x7171c600
74
+  label background
75
+  note_font_size 92
76
+  xpos -589
77
+  ypos -2447
78
+  bdwidth 502
79
+  bdheight 351
80
+ }
81
+ BackdropNode {
82
+  inputs 0
83
+  name BackdropNode4
84
+  tile_color 0x7171c600
85
+  label "luma key 1"
86
+  note_font_size 92
87
+  xpos -1375
88
+  ypos -1677
89
+  bdwidth 669
90
+  bdheight 873
91
+ }
92
+ BackdropNode {
93
+  inputs 0
94
+  name BackdropNode1
95
+  tile_color 0x7171c600
96
+  label "luma key 2"
97
+  note_font_size 92
98
+  xpos 101
99
+  ypos -1681
100
+  bdwidth 669
101
+  bdheight 873
102
+ }
103
+ BackdropNode {
104
+  inputs 0
105
+  name BackdropNode5
106
+  tile_color 0x7171c600
107
+  label "matte output"
108
+  note_font_size 92
109
+  xpos -609
110
+  ypos 1078
111
+  bdwidth 629
112
+  bdheight 564
113
+ }
114
+ BackdropNode {
115
+  inputs 0
116
+  name BackdropNode6
117
+  tile_color 0x7171c600
118
+  label mask1
119
+  note_font_size 92
120
+  xpos -1370
121
+  ypos 552
122
+  bdwidth 295
123
+  bdheight 278
124
+ }
125
+ BackdropNode {
126
+  inputs 0
127
+  name BackdropNode7
128
+  tile_color 0x7171c6ff
129
+  label mask2
130
+  note_font_size 92
131
+  xpos 419
132
+  ypos 538
133
+  bdwidth 310
134
+  bdheight 277
135
+ }
136
+ Input {
137
+  inputs 0
138
+  name bg
139
+  xpos -389
140
+  ypos -2283
141
+  number 1
142
+ }
143
+set N2c69b440 [stack 0]
144
+ Dot {
145
+  name Dot2
146
+  xpos 210
147
+  ypos -1859
148
+ }
149
+set N2c69b7b0 [stack 0]
150
+ Dot {
151
+  name Dot14
152
+  xpos 519
153
+  ypos -1859
154
+ }
155
+ Keyer {
156
+  operation "luminance key"
157
+  range {{lw2_black_slider i} {lw2_white_slider i} 1 1}
158
+  name Keyer1
159
+  xpos 485
160
+  ypos -1497
161
+ }
162
+ Grade {
163
+  channels alpha
164
+  black_clamp false
165
+  name Grade2
166
+  xpos 485
167
+  ypos -1418
168
+ }
169
+ FilterErode {
170
+  channels alpha
171
+  size 0
172
+  name FilterErode1
173
+  xpos 485
174
+  ypos -1295
175
+ }
176
+ Blur {
177
+  channels alpha
178
+  size 10
179
+  name Blur2
180
+  xpos 485
181
+  ypos -1177
182
+ }
183
+ Shuffle {
184
+  red alpha
185
+  green alpha
186
+  blue alpha
187
+  name Shuffle1
188
+  xpos 485
189
+  ypos -1041
190
+ }
191
+set N2c96cef0 [stack 0]
192
+ Dot {
193
+  name Dot4
194
+  xpos 1023
195
+  ypos -1037
196
+ }
197
+ Dot {
198
+  name Dot5
199
+  xpos 1023
200
+  ypos 2121
201
+ }
202
+ Shuffle {
203
+  alpha white
204
+  name Shuffle3
205
+  xpos 139
206
+  ypos 2117
207
+ }
208
+push $N2c69b440
209
+ Dot {
210
+  name Dot8
211
+  xpos -910
212
+  ypos -1837
213
+ }
214
+set N2c96dcb0 [stack 0]
215
+ Dot {
216
+  name Dot13
217
+  xpos -1233
218
+  ypos -1837
219
+ }
220
+ Keyer {
221
+  operation "luminance key"
222
+  range {{lw1_black_slider i} {lw1_white_slider i} 1 1}
223
+  name Keyer2
224
+  xpos -1267
225
+  ypos -1475
226
+ }
227
+ Grade {
228
+  channels alpha
229
+  black_clamp false
230
+  name Grade4
231
+  xpos -1267
232
+  ypos -1386
233
+ }
234
+ FilterErode {
235
+  channels alpha
236
+  size 0
237
+  name FilterErode2
238
+  xpos -1267
239
+  ypos -1254
240
+ }
241
+ Blur {
242
+  channels alpha
243
+  size 10
244
+  name Blur4
245
+  xpos -1267
246
+  ypos -1140
247
+ }
248
+ Shuffle {
249
+  red alpha
250
+  green alpha
251
+  blue alpha
252
+  name Shuffle2
253
+  xpos -1267
254
+  ypos -1005
255
+ }
256
+set N2c9c3120 [stack 0]
257
+ Dot {
258
+  name Dot6
259
+  xpos -1718
260
+  ypos -1001
261
+ }
262
+ Dot {
263
+  name Dot10
264
+  xpos -1718
265
+  ypos 2121
266
+ }
267
+ Shuffle {
268
+  alpha white
269
+  name Shuffle4
270
+  xpos -890
271
+  ypos 2117
272
+ }
273
+ Input {
274
+  inputs 0
275
+  name mask1
276
+  xpos -1248
277
+  ypos 702
278
+  number 2
279
+ }
280
+ Input {
281
+  inputs 0
282
+  name fg
283
+  xpos -390
284
+  ypos -589
285
+ }
286
+ Dot {
287
+  name Dot7
288
+  xpos -356
289
+  ypos -352
290
+ }
291
+set N2ca3aa40 [stack 0]
292
+ Dot {
293
+  name Dot1
294
+  xpos -356
295
+  ypos 81
296
+ }
297
+set N2ca3adb0 [stack 0]
298
+push $N2ca3aa40
299
+push $N2c9c3120
300
+ Dot {
301
+  name Dot9
302
+  xpos -1233
303
+  ypos -902
304
+ }
305
+push $N2c96dcb0
306
+ Merge2 {
307
+  inputs 2
308
+  operation mask
309
+  bbox B
310
+  name Merge7
311
+  xpos -944
312
+  ypos -905
313
+  disable {{"lw1_key == 1?0:1"}}
314
+ }
315
+ Merge2 {
316
+  inputs 2
317
+  operation stencil
318
+  bbox B
319
+  name Merge4
320
+  xpos -944
321
+  ypos -356
322
+ }
323
+ Blur {
324
+  size 6
325
+  name lw1_blur
326
+  xpos -944
327
+  ypos -216
328
+ }
329
+ Merge2 {
330
+  inputs 2
331
+  operation mask
332
+  bbox B
333
+  name Merge5
334
+  xpos -944
335
+  ypos 77
336
+ }
337
+ Multiply {
338
+  channels rgb
339
+  value {1 1 1 1}
340
+  name lw1_color
341
+  xpos -944
342
+  ypos 261
343
+ }
344
+ Multiply {
345
+  channels rgba
346
+  value 0.1
347
+  name lw1_amount
348
+  xpos -944
349
+  ypos 477
350
+ }
351
+ Merge2 {
352
+  inputs 2
353
+  operation mask
354
+  name Merge8
355
+  xpos -944
356
+  ypos 702
357
+  disable {{"\[exists parent.input2] ? 0 : 1" i}}
358
+ }
359
+ Input {
360
+  inputs 0
361
+  name mask2
362
+  xpos 502
363
+  ypos 680
364
+  number 3
365
+ }
366
+push $N2ca3adb0
367
+push $N2ca3aa40
368
+push $N2c96cef0
369
+ Dot {
370
+  name Dot3
371
+  xpos 519
372
+  ypos -938
373
+ }
374
+push $N2c69b7b0
375
+ Merge2 {
376
+  inputs 2
377
+  operation mask
378
+  bbox B
379
+  name Merge3
380
+  xpos 176
381
+  ypos -942
382
+  disable {{"lw2_key == 0?1:0" i}}
383
+ }
384
+ Merge2 {
385
+  inputs 2
386
+  operation stencil
387
+  bbox B
388
+  name Merge1
389
+  xpos 176
390
+  ypos -356
391
+ }
392
+ Blur {
393
+  size 50
394
+  name lw2_blur
395
+  xpos 176
396
+  ypos -171
397
+ }
398
+ Merge2 {
399
+  inputs 2
400
+  operation mask
401
+  bbox B
402
+  name Merge2
403
+  xpos 176
404
+  ypos 77
405
+ }
406
+ Multiply {
407
+  channels rgb
408
+  value {1 1 1 1}
409
+  name lw2_color
410
+  xpos 176
411
+  ypos 300
412
+ }
413
+ Multiply {
414
+  channels rgba
415
+  value 0.05
416
+  name lw2_amount
417
+  xpos 176
418
+  ypos 479
419
+ }
420
+ Merge2 {
421
+  inputs 2
422
+  operation mask
423
+  bbox B
424
+  name Merge9
425
+  xpos 176
426
+  ypos 680
427
+  disable {{"\[exists parent.input3] == 1?0:1" i}}
428
+ }
429
+ Merge2 {
430
+  inputs 2
431
+  operation plus
432
+  name Merge6
433
+  xpos -373
434
+  ypos 871
435
+ }
436
+ Dot {
437
+  name Dot11
438
+  xpos -339
439
+  ypos 1298
440
+ }
441
+set N2cb42dd0 [stack 0]
442
+ Dot {
443
+  name Dot12
444
+  xpos -132
445
+  ypos 1298
446
+ }
447
+ Clamp {
448
+  channels alpha
449
+  name Clamp1
450
+  xpos -166
451
+  ypos 1395
452
+ }
453
+ Dot {
454
+  name Dot15
455
+  xpos -132
456
+  ypos 1532
457
+ }
458
+push $N2cb42dd0
459
+ Copy {
460
+  inputs 2
461
+  from0 rgba.alpha
462
+  name output_channel
463
+  xpos -373
464
+  ypos 1522
465
+ }
466
+ Shuffle {
467
+  alpha black
468
+  name Shuffle5
469
+  label "alpha to black"
470
+  xpos -373
471
+  ypos 1878
472
+ }
473
+ Switch {
474
+  inputs 3
475
+  which {{"output == 0?0 : output == 1?1 : 2" i x548 0}}
476
+  name output
477
+  xpos -373
478
+  ypos 2117
479
+ }
480
+ Output {
481
+  name Output2
482
+  xpos -373
483
+  ypos 2834
484
+ }
485
+end_group

+ 0
- 0
gizmos/vignette_v2.gizmo ファイルの表示


変更されたファイルが多すぎるため、一部のファイルは表示されません

読み込み中…
キャンセル
保存