No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

A_DisparityGenerator.gizmo 4.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298
  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