Display strange lines(dashed) when I zoom in

Hello,

I have met one strange problem, I have the rendererd image in display area, when I zoom in with mouse, it gradually display some strange lines, more zoomed-in(closer), more clearer the dashed lines. But I have not set anything for such strange lines. I don’t know where these lines came from.

I attached some screenshots in this thread, please somebody help me diagnose from these images.

If you need the implementation code, I can add some c++ codes later.

the first image - very far.

the second image - zoomed in a little bit. We can see some waves(or lines) now.

the third image - zoomed in again.

the fourth image - zoomed in more.

the fifth image - zoomed in to be very close.

I don’t know why this happens. Can you analyze possible reasons based on these different images?

Thanks a lot.

Can you share you data ?

Are you using Parallel Projection or Perspective View? If Parallel Projection, there is a lot of existing discussion and workarounds, etc.

How to share with you? Upload under this thread ?

vtk_write_multiblock.7z (1.1 MB) @mwestphal

Yes, we are using parallel projection.

This is what I searched on parallel projection view issue, seems similar with what I met now.

If you switch off parallel projection, what does it look like?

I used like this:

camera->SetParallelProjection(false)

Looks like those lines are disappeared.

screenshot:

But If I still want to use parallel on, how need I fix the issue?

Use the shader replacement code as the workaround ?

Thanks.