Advertisement
Guest User

Untitled

a guest
Oct 16th, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.19 KB | None | 0 0
  1. #! C:/Program Files/Nuke10.5v4/nuke-10.5.4.dll -nx
  2. version 10.5 v4
  3. define_window_layout_xml {<?xml version="1.0" encoding="UTF-8"?>
  4. <layout version="1.0">
  5. <window x="0" y="0" w="1920" h="1080" maximized="1" fullscreen="1" screen="0">
  6. <splitter orientation="1">
  7. <split size="40"/>
  8. <dock id="" hideTitles="1" activePageId="Toolbar.1">
  9. <page id="Toolbar.1"/>
  10. </dock>
  11. <split size="1876" stretch="1"/>
  12. <splitter orientation="2">
  13. <split size="1054"/>
  14. <dock id="" activePageId="Viewer.1">
  15. <page id="Viewer.1"/>
  16. </dock>
  17. </splitter>
  18. </splitter>
  19. </window>
  20. <window x="1920" y="0" w="1920" h="1080" fullscreen="1" screen="1">
  21. <splitter orientation="2">
  22. <split size="875"/>
  23. <splitter orientation="1">
  24. <split size="614"/>
  25. <dock id="" activePageId="Properties.1">
  26. <page id="Properties.1"/>
  27. </dock>
  28. <split size="1302"/>
  29. <dock id="" activePageId="DAG.1" focus="true">
  30. <page id="DAG.1"/>
  31. </dock>
  32. </splitter>
  33. <split size="201"/>
  34. <dock id="" activePageId="DopeSheet.1">
  35. <page id="Curve Editor.1"/>
  36. <page id="DopeSheet.1"/>
  37. </dock>
  38. </splitter>
  39. </window>
  40. </layout>
  41. }
  42. Root {
  43. inputs 0
  44. name C:/Users/Lawler/Desktop/circle_blink.nk
  45. frame 1028
  46. first_frame 1001
  47. last_frame 1081
  48. lock_range true
  49. format "1280 720 0 0 1280 720 1 HD_720"
  50. proxy_type scale
  51. proxy_format "1024 778 0 0 1024 778 1 1K_Super_35(full-ap)"
  52. colorManagement Nuke
  53. workingSpaceLUT linear
  54. monitorLut sRGB
  55. int8Lut sRGB
  56. int16Lut sRGB
  57. logLut Cineon
  58. floatLut linear
  59. }
  60. Camera2 {
  61. inputs 0
  62. translate {13.5666256 15.53228664 27.81466103}
  63. rotate {-22.27799216 27.00000587 0}
  64. name Camera1
  65. xpos -459
  66. ypos 515
  67. }
  68. Light2 {
  69. inputs 0
  70. falloff_type Quadratic
  71. depthmap_slope_bias 0.01
  72. name Light1
  73. xpos -387
  74. ypos 416
  75. }
  76. V_Grid.gizmo {
  77. inputs 0
  78. name V_Grid1
  79. xpos -244
  80. ypos 233
  81. voxel_bbox {-7.699999809 -0.5 -7.960000038 6.050000191 8.489999771 5.159999847}
  82. }
  83. V_Shape.gizmo {
  84. name V_Shape1
  85. xpos -244
  86. ypos 285
  87. center {0 1.9 0}
  88. shapesize 2.8
  89. }
  90. V_PtLight.gizmo {
  91. inputs 2
  92. name V_PtLight1
  93. xpos -244
  94. ypos 436
  95. }
  96. V_Render.gizmo {
  97. inputs 2
  98. name V_Render1
  99. xpos -244
  100. ypos 535
  101. format 0
  102. }
  103. Read {
  104. inputs 0
  105. file Y:/CFX_1291_AVED3/EP_309/shots/AVE_309_030_010/renders/3d/AVE_309_030_010_headlights_ma_01_v001/AVE_309_030_010_headlights_ma_01_v001.%04d.exr
  106. format "2048 1152 0 0 2048 1152 1 "
  107. first 1001
  108. last 1081
  109. origfirst 1001
  110. origlast 1081
  111. origset true
  112. name Read1
  113. xpos -558
  114. ypos 225
  115. }
  116. BlinkScript {
  117. inputs 0
  118. recompileCount 15
  119. ProgramGroup 1
  120. KernelDescription "2 \"circle\" iterate pixelWise 71d760a49e110a131bf383d3a24300845ccdf301b18b1583e1d6975e39c7a6c3 1 \"dst\" Write Point 3 \"Radius\" Float 1 AABIQg== \"Centre\" Float 2 AAD6QwAA+kM= \"Softness\" Float 1 AACAPw== 3 \"radius\" 1 1 \"centre\" 2 1 \"softness\" 1 1 0"
  121. kernelSource "kernel circle : ImageComputationKernel<ePixelWise>\n\{\n\n Image<eWrite> dst;\n\n param:\n float radius; \n float2 centre;\n float softness;\n\n\nvoid define() \{\n\tdefineParam(centre, \"Centre\", float2(500.0,500.0));\n\tdefineParam(radius, \"Radius\", 50.0f);\n\tdefineParam(softness, \"Softness\", 1.0f);\n\}\n\n\n void process(int2 pos) \{\n\t//float2 difference = float2( fabs(centre.x-pos.x),fabs(centre.y-pos.y) );\n\t//float2 fpos =float2(pos);\n\tfloat2 difference = float2( fabs(centre-float2(pos)) );\n\tfloat distance = length(difference);\n\tfloat result = 0.0f;\n\tif (distance <= radius)\n\t\tresult = 1.0f;\n\telse if (distance <= radius + softness)\n\t\tresult = 1 - (distance - radius)/softness;\n\tdst() = result;\n\n \}\n\};\n"
  122. rebuild ""
  123. circle_Radius 17
  124. circle_Centre {464 352}
  125. circle_Softness 2
  126. rebuild_finalise ""
  127. maxTileLines 100
  128. name BlinkScript1
  129. xpos -425
  130. ypos -22
  131. }
  132. Viewer {
  133. inputs 2
  134. frame 1028
  135. frame_range 1001-1081
  136. name Viewer1
  137. xpos -40
  138. ypos -10
  139. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement