Raytracing + Nonlinear Subdivision Level + Surface with Edges draws too many edges

When showing the element edges (i.e. render as Surface With Edges ) and increasing the Nonlinear Subdivision Level from 0 -> 4, the render facets’ edges are being drawn when using raytracing. I made an issue for this over on GitLab.

I’ve verified this on both Windows and Ubuntu 20.04 running ParaView 5.8.1 from installers. Graphics card is RTX 2060 SUPER.

Here’s what should happen with the attached Exodus file (quadratic hexes):
sphere_hex27.e (22.8 KB)

Here’s what’s happening when using RayTracing

At a quick glance I think we need to add special case handling for non linear cells in vtkOSPRayPolyDataMapperNode https://vtk.org/doc/nightly/html/classvtkOSPRayPolyDataMapperNode.html and its parent class to handle this correctly in the RenderAsCylinders code path.