paraviewweb
paraviewweb copied to clipboard
Local rendering vs remote rendering of rectilinear grid dataset incorrect
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:
local rendering mode:
Hum, this is weird indeed. Thanks for reporting the issue. I'll see if I can reproduce and figure out the issue...
Just to be sure, is it the slice representation or the result of the Slice filter?
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.
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...
Is your field set on the cell?
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).
https://github.com/Kitware/vtk-js/issues/840
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
local rendering
This is indeed strange. Do you think you can share your dataset (privately) so I could investigate what could be the issue?
Sorry I was out of the loop for awhile and forgot about this. Sure I can share the dataset. How can I do that?
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!