terranigmus
(Paul-Benjamin Riedel)
July 9, 2024, 1:40pm
1
I am creating grids from points in pyvista and saving them as .vtk
Whenever I open them in Paraview, they seem “jagged” as if there is some numerical issue with the coordinates.
does anybody have experience with that?
Pyvista renderer:
THIS IS OK.
The jaggedness here comes from the resolution of the grid.
However, sideways view is showing a good grid:
Same data in paraview:
You can clearly see the grid is not displayed correctly.
terranigmus
(Paul-Benjamin Riedel)
July 9, 2024, 1:56pm
3
Files are a bit big, here is an example:
TransferBigFiles.com allows computer users to send large files to anyone. Videos, pictures, documents or any other file that is too large to send as an email attachment can be sent through TransferBigFiles.com
I think it’s to do with the accuracy of the point coordinates
mwestphal
(Mathieu Westphal (Kitware))
July 9, 2024, 2:04pm
4
I confirm your analysis, easy to work around it by transforming your data closer to the origin:
Please open an issue: https://gitlab.kitware.com/paraview/paraview/-/issues
terranigmus
(Paul-Benjamin Riedel)
July 9, 2024, 2:15pm
5
Unfortunately that is not really an option, I am working with GIS data and I need to add all sorts of different data sources
mwestphal
(Mathieu Westphal (Kitware))
July 9, 2024, 2:20pm
6
Of course, this should be fixed. Do not hesitate to open an issue as suggested above.
terranigmus
(Paul-Benjamin Riedel)
July 9, 2024, 2:29pm
7
All right, done. Thanks for the quick reply!
cory.quammen
(Cory Quammen (Kitware))
July 9, 2024, 2:32pm
8
ParaView should be transparently auto shifting this closer to the origin to avoid this very problem (see Display property Coordinate Shift Scale Method ). It doesn’t seem to be working in this case, though.
1 Like
terranigmus
(Paul-Benjamin Riedel)
July 9, 2024, 2:47pm
9
Neither of the options seem to change anything, might be broken?
wascott
(Walter Alan Scott)
July 9, 2024, 2:51pm
10