Ei kuvausta
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.

ChromaticAberration.gizmo 2.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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