Visual artifacts at open surface ends when raytracing data in VTU format

Dear ParaView-Support,
I’m currently facing an issue when visualising iso-contours with raytracing. The iso-contours are created in ParaView and saved as .VTU and then loaded again and visualized.
Without ray-tracing:


With raytracing:

Any idea why this is happening and how to fix it?

Cc: @Sankhesh_Jhaveri @Dave_DeMarle

@Hendrice Does your data have any ghost arrays?

Hi @Sankhesh_Jhaveri,
not that I’m aware of. You’ll find a tiny clip off the data attached, but you can still see the issue when turning on raytracing using the OSPRAY backends.
mini_example_isocontour.vtu (2.6 MB)

To me it looks like PV somehow is rendering the open surface loops as tubes, but the get very large.

What happens if you adjust “Line Width” on the Properties tab?

It could be that the default heuristic used as a radius for the tubes that the ray tracers draw for Line type cells is not good for this data.

Thanks pointing in the right direction so quickly. This indeed did the trick. However the lines at some places seem to be extended beyond the actual line segment in the geometry?
Default: linewidth=1

linewidth=0.1

linewidth=0.01

linewidth=1e-6

In that case, you might get a closer result by changing the scaling mode to ALL_EXACT.