ID 221604 - RayRender: Incorrect output with spherical camera

Follow

Found in 10.0RayRender.000068a on Linux RH 6.7 - this bug is a regression from Nuke 10.0v1
Found when verifying bugs linked to #219471 RayRender: Find ways to improve the numerical precision of the projective cameras.

Summary of the problem
When scaling the geometry too much, RayRender is not able to render the image in the same way as ScanlineRender, resulting in many artefacts or black output. This only happens with spherical camera.

Repro steps

  1. Open the attached script
  2. Compare RayRender and ScanlineRender:
    • RayRender and ScanlineRender don't match
    • When you make the sphere smaller (for example scale 2000) the renderers will suddenly match

Actual result
RayRender doesn't match ScanlineRender, seems as if it was cropping the output (might have to do something with recently implemented clipping planes)

Expected result
I suppose RayRender should match ScanlineRender. As ScanlineRender doesn't work well with near clipping, it might be that RayRender's output is actually correct. Please double check with Juan.

Crash report
Experienced crash on exit, crash report: 3a4b3899-c841-e0dd-271867e2-376966f2
Might not be because of RayRender

    We're sorry to hear that

    Please tell us why