ID 373291 - Spotlight without fallout and tight cone angle causes misshaped render.

Follow

Problem summary
When using the Spotlight with no fallback and a tight cone angle, the shape of the light is not circular:



When compared to other advanced rendering engines such as Katana ( With the same Light stats and angle ), this appears to be a limitation with the Nuke Scanline Render:
​ 

Customer reported version
nuke.11.2v3

Customer reported platform
10.12

Steps to reproduce

1) Copy the following into the Nuke Node Graph:

set cut_paste_input [stack 0]
version 7.0 v10
Camera2 {
 inputs 0
 translate {501.96 7123.34 2083.42}
 rotate {-72.85 13.2 0}
 focal 35
 haperture 35
 vaperture 23
 focal_point 5
 fstop 5.59
 name Camera2
 selected true
 xpos 334
 ypos -144
}
push $cut_paste_input
Light2 {
 light_type spot
 intensity 10
 cone_angle 24
 display textured+lines
 translate {2000 1000 -200}
 rotate {-45 125 0}
 cast_shadows true
 depthmap_slope_bias 0.01
 name Spot_light
 selected true
 xpos -38
 ypos -187
}
ColorBars {
 inputs 0
 name ColorBars1
 selected true
 xpos -348
 ypos -302
}
Grade {
 white 0.5
 name Grade8
 selected true
 xpos -348
 ypos -168
}
Phong {
 diffuse 0.1
 specular 0.7
 min_shininess 7
 max_shininess 7
 name Phong2
 selected true
 xpos -348
 ypos -75
}
Card2 {
 cast_shadow false
 translate {9.926167351e-019 2 0}
 rotate {90 0 180}
 uniform_scale 8000
 control_points {3 3 3 6


1 {-0.5 -0.5 0} 0 {0.1666666865 0 0} 0 {0 0 0} 0 {0 0.1666666865 0} 0 {0 0 0} 0 {0 0 0}
1 {0 -0.5 0} 0 {0.1666666716 0 0} 0 {-0.1666666716 0 0} 0 {0 0.1666666865 0} 0 {0 0 0} 0 {0.5 0 0}
1 {0.5 -0.5 0} 0 {0 0 0} 0 {-0.1666666865 0 0} 0 {0 0.1666666865 0} 0 {0 0 0} 0 {1 0 0}
1 {-0.5 0 0} 0 {0.1666666865 0 0} 0 {0 0 0} 0 {0 0.1666666716 0} 0 {0 -0.1666666716 0} 0 {0 0.5 0}
1 {0 0 0} 0 {0.1666666716 0 0} 0 {-0.1666666716 0 0} 0 {0 0.1666666716 0} 0 {0 -0.1666666716 0} 0 {0.5 0.5 0}
1 {0.5 0 0} 0 {0 0 0} 0 {-0.1666666865 0 0} 0 {0 0.1666666716 0} 0 {0 -0.1666666716 0} 0 {1 0.5 0}
1 {-0.5 0.5 0} 0 {0.1666666865 0 0} 0 {0 0 0} 0 {0 0 0} 0 {0 -0.1666666865 0} 0 {0 1 0}
1 {0 0.5 0} 0 {0.1666666716 0 0} 0 {-0.1666666716 0 0} 0 {0 0 0} 0 {0 -0.1666666865 0} 0 {0.5 1 0}
1 {0.5 0.5 0} 0 {0 0 0} 0 {-0.1666666865 0 0} 0 {0 0 0} 0 {0 -0.1666666865 0} 0 {1 1 0} }
 name Card2
 selected true
 xpos -156
 ypos -75
}
Scene {
 inputs 2
 name Scene1
 selected true
 xpos -38
 ypos 3
}
push 0
ScanlineRender {
 inputs 3
 max_tessellation 4
 ambient 0.1
 motion_vectors_type distance
 name ScanlineRender2
 selected true
 xpos 330
 ypos 24
}
2) View the ScanlineRender node

Result: The Spotlight within the ScanlineRender node will have a pointed edge, instead of a curved silhouette.

Workaround
Increasing the light Cone Angle or Cone Falloff will smoothen the edges, this will get rid of the hard

Reproduced by support

This bug has been reproduced in:
Nuke11.2v4 - Windows 7 - Mac10.13 - CentOS6.9
Nuke11.2v1 - Windows 7
Nuke11.1v4 - Windows 7
Nuke11.1v1 - Windows 7
Nuke11.0v4 - Windows 7
Nuke11.0v1 - Windows 7
Nuke10.5v7 - Windows 7 - Mac10.13 - CentOS6.9
Nuke10.5v1 - Windows 7
Nuke10.0v6 - Windows 7
Nuke10.0v1 - Windows 7
Nuke9.0v9 - Windows 7
Nuke9.0v1 - Windows 7
Nuke8.0v7 - Windows 7
Nuke7.0v10 - Windows 7 - Mac10.13 - CentOS6.9

Earliest version tested
- This issue appears to be in all versions of the product

Expected behaviour
Spotlight should have rounded edges at sharper angles.

Actual behaviour
Spotlight is incorrectly shaped at sharp falloff angles

    We're sorry to hear that

    Please tell us why