paraviewweb icon indicating copy to clipboard operation
paraviewweb copied to clipboard

Local rendering vs remote rendering of rectilinear grid dataset incorrect

Open sanderegg opened this issue 6 years ago • 11 comments

Using the docker image pvw-visualizer-osmesa-master located at repo I could successfuly start a Visualizer session.

After loading a rectilinear grid dataset (in vtk format), I created a slice viewer.

  • in remote rendering mode it is correct
  • in local rendering mode the rendering is wrong

remote rendering mode: image local rendering mode: image

sanderegg avatar Aug 09 '18 06:08 sanderegg

Hum, this is weird indeed. Thanks for reporting the issue. I'll see if I can reproduce and figure out the issue...

jourdain avatar Aug 09 '18 14:08 jourdain

Just to be sure, is it the slice representation or the result of the Slice filter?

jourdain avatar Aug 13 '18 19:08 jourdain

I am not totally sure what you mean by the question. What I did is pressing the + button, and pressed slice.

From the fact that the issue arises when switching remote rendering off, I'd say intuitively that it has more something to do with the representation than the data itself as it seemed perfectly fine in remote mode.

sanderegg avatar Aug 14 '18 07:08 sanderegg

I've tried with vtkImageData slice and everything seems fine, so I've tested with an vtkRectilinearGrid and indeed something funky is happening even if the slice filter should produce the same data as output. It will require some time to track it down and fix it.

Thanks again for reporting the issue...

jourdain avatar Aug 16 '18 15:08 jourdain

Is your field set on the cell?

jourdain avatar Aug 16 '18 15:08 jourdain

Ok I know the issue... To fix it for now before we fix it in vtk.js, you need to disable "Interpolate before scalar" in the panel (search for "interpolate" in the box).

jourdain avatar Aug 16 '18 15:08 jourdain

https://github.com/Kitware/vtk-js/issues/840

jourdain avatar Aug 16 '18 18:08 jourdain

Ok, this looks way better. But still there are several differences in the rendering results. Note: I disabled "Interpolate before scalar" in both cases.

remote rendering image

local rendering image

sanderegg avatar Aug 17 '18 05:08 sanderegg

This is indeed strange. Do you think you can share your dataset (privately) so I could investigate what could be the issue?

jourdain avatar Aug 17 '18 14:08 jourdain

Sorry I was out of the loop for awhile and forgot about this. Sure I can share the dataset. How can I do that?

sanderegg avatar Sep 18 '18 11:09 sanderegg

email/google drive/drop box or else? I'm not sure what is available on your end. If nothing, I'm sure I can figure out something... Just email me privately.

Thanks!

jourdain avatar Sep 18 '18 13:09 jourdain