Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! C:/Program Files/Nuke10.5v4/nuke-10.5.4.dll -nx
- version 10.5 v4
- define_window_layout_xml {<?xml version="1.0" encoding="UTF-8"?>
- <layout version="1.0">
- <window x="0" y="0" w="1920" h="1080" maximized="1" fullscreen="1" screen="0">
- <splitter orientation="1">
- <split size="40"/>
- <dock id="" hideTitles="1" activePageId="Toolbar.1">
- <page id="Toolbar.1"/>
- </dock>
- <split size="1876" stretch="1"/>
- <splitter orientation="2">
- <split size="1054"/>
- <dock id="" activePageId="Viewer.1">
- <page id="Viewer.1"/>
- </dock>
- </splitter>
- </splitter>
- </window>
- <window x="1920" y="0" w="1920" h="1080" fullscreen="1" screen="1">
- <splitter orientation="2">
- <split size="875"/>
- <splitter orientation="1">
- <split size="614"/>
- <dock id="" activePageId="Properties.1">
- <page id="Properties.1"/>
- </dock>
- <split size="1302"/>
- <dock id="" activePageId="DAG.1" focus="true">
- <page id="DAG.1"/>
- </dock>
- </splitter>
- <split size="201"/>
- <dock id="" activePageId="DopeSheet.1">
- <page id="Curve Editor.1"/>
- <page id="DopeSheet.1"/>
- </dock>
- </splitter>
- </window>
- </layout>
- }
- Root {
- inputs 0
- name C:/Users/Lawler/Desktop/circle_blink.nk
- frame 1028
- first_frame 1001
- last_frame 1081
- lock_range true
- format "1280 720 0 0 1280 720 1 HD_720"
- proxy_type scale
- proxy_format "1024 778 0 0 1024 778 1 1K_Super_35(full-ap)"
- colorManagement Nuke
- workingSpaceLUT linear
- monitorLut sRGB
- int8Lut sRGB
- int16Lut sRGB
- logLut Cineon
- floatLut linear
- }
- Camera2 {
- inputs 0
- translate {13.5666256 15.53228664 27.81466103}
- rotate {-22.27799216 27.00000587 0}
- name Camera1
- xpos -459
- ypos 515
- }
- Light2 {
- inputs 0
- falloff_type Quadratic
- depthmap_slope_bias 0.01
- name Light1
- xpos -387
- ypos 416
- }
- V_Grid.gizmo {
- inputs 0
- name V_Grid1
- xpos -244
- ypos 233
- voxel_bbox {-7.699999809 -0.5 -7.960000038 6.050000191 8.489999771 5.159999847}
- }
- V_Shape.gizmo {
- name V_Shape1
- xpos -244
- ypos 285
- center {0 1.9 0}
- shapesize 2.8
- }
- V_PtLight.gizmo {
- inputs 2
- name V_PtLight1
- xpos -244
- ypos 436
- }
- V_Render.gizmo {
- inputs 2
- name V_Render1
- xpos -244
- ypos 535
- format 0
- }
- Read {
- inputs 0
- 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
- format "2048 1152 0 0 2048 1152 1 "
- first 1001
- last 1081
- origfirst 1001
- origlast 1081
- origset true
- name Read1
- xpos -558
- ypos 225
- }
- BlinkScript {
- inputs 0
- recompileCount 15
- ProgramGroup 1
- 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"
- 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"
- rebuild ""
- circle_Radius 17
- circle_Centre {464 352}
- circle_Softness 2
- rebuild_finalise ""
- maxTileLines 100
- name BlinkScript1
- xpos -425
- ypos -22
- }
- Viewer {
- inputs 2
- frame 1028
- frame_range 1001-1081
- name Viewer1
- xpos -40
- ypos -10
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement