Keine Beschreibung
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

BlendCamera.gizmo 5.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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