# Jagged Grid rendering

**URL:** https://discourse.paraview.org/t/jagged-grid-rendering/15019
**Category:** ParaView Support
**Tags:** vtk
**Created:** [July 9, 2024, 1:40pm UTC](https://discourse.paraview.org/t/jagged-grid-rendering/15019 "2024-07-09T13:40:33Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![terranigmus](https://discourse.paraview.org/user_avatar/discourse.paraview.org/terranigmus/32/14395_2.png) [@terranigmus](https://discourse.paraview.org/u/terranigmus)
#### Post date: [July 9, 2024, 1:40pm UTC](https://discourse.paraview.org/t/jagged-grid-rendering/15019/1 "2024-07-09T13:40:33Z")

</div>

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:

 ![grafik](https://discourse.paraview.org/uploads/default/original/2X/0/089d1cd7b38c744f1ee6e4bc6e4a5e6b8a76b9ae.jpeg)  
THIS IS OK.  
The jaggedness here comes from the resolution of the grid.  
However, sideways view is showing a good grid:

 ![grafik](https://discourse.paraview.org/uploads/default/original/2X/e/e9085dfba13972c87d6af481213fb5a99ab51b86.png)

Same data in paraview:

 ![grafik](https://discourse.paraview.org/uploads/default/original/2X/b/bfb44bb01c17cfac919882575b780c4e5cbbb9c4.png)

 ![grafik](https://discourse.paraview.org/uploads/default/original/2X/a/a2d30c60ef521eb8a8c1cf5e307ac3fce58afcea.jpeg)

You can clearly see the grid is not displayed correctly.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [July 9, 2024, 1:46pm UTC](https://discourse.paraview.org/t/jagged-grid-rendering/15019/2 "2024-07-09T13:46:15Z")

</div>

please share your data.

---

<div class="post-metadata">

### Author: ![terranigmus](https://discourse.paraview.org/user_avatar/discourse.paraview.org/terranigmus/32/14395_2.png) [@terranigmus](https://discourse.paraview.org/u/terranigmus)
#### Post date: [July 9, 2024, 1:56pm UTC](https://discourse.paraview.org/t/jagged-grid-rendering/15019/3 "2024-07-09T13:56:29Z")

</div>

Files are a bit big, here is an example:

> **[Transfer Big Files](https://www.transferbigfiles.com/d9103d05-38ed-4740-bc65-9589485e1c63/-H1mxnWlJSvaLLHCCIa3IA2)**
>
> 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

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [July 9, 2024, 2:04pm UTC](https://discourse.paraview.org/t/jagged-grid-rendering/15019/4 "2024-07-09T14:04:08Z")

</div>

I confirm your analysis, easy to work around it by transforming your data closer to the origin:

 ![image](https://discourse.paraview.org/uploads/default/original/2X/7/7a082c6d6a05e87b4ed97d150fc34c63e1361564.png)

Please open an issue: [https://gitlab.kitware.com/paraview/paraview/-/issues](https://gitlab.kitware.com/paraview/paraview/-/issues)

---

<div class="post-metadata">

### Author: ![terranigmus](https://discourse.paraview.org/user_avatar/discourse.paraview.org/terranigmus/32/14395_2.png) [@terranigmus](https://discourse.paraview.org/u/terranigmus)
#### Post date: [July 9, 2024, 2:15pm UTC](https://discourse.paraview.org/t/jagged-grid-rendering/15019/5 "2024-07-09T14:15:55Z")

</div>

Unfortunately that is not really an option, I am working with GIS data and I need to add all sorts of different data sources

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [July 9, 2024, 2:20pm UTC](https://discourse.paraview.org/t/jagged-grid-rendering/15019/6 "2024-07-09T14:20:22Z")

</div>

Of course, this should be fixed. Do not hesitate to open an issue as suggested above.

---

<div class="post-metadata">

### Author: ![terranigmus](https://discourse.paraview.org/user_avatar/discourse.paraview.org/terranigmus/32/14395_2.png) [@terranigmus](https://discourse.paraview.org/u/terranigmus)
#### Post date: [July 9, 2024, 2:29pm UTC](https://discourse.paraview.org/t/jagged-grid-rendering/15019/7 "2024-07-09T14:29:51Z")

</div>

All right, done. Thanks for the quick reply!

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [July 9, 2024, 2:32pm UTC](https://discourse.paraview.org/t/jagged-grid-rendering/15019/8 "2024-07-09T14:32:48Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![terranigmus](https://discourse.paraview.org/user_avatar/discourse.paraview.org/terranigmus/32/14395_2.png) [@terranigmus](https://discourse.paraview.org/u/terranigmus)
#### Post date: [July 9, 2024, 2:47pm UTC](https://discourse.paraview.org/t/jagged-grid-rendering/15019/9 "2024-07-09T14:47:08Z")

</div>

Neither of the options seem to change anything, might be broken?

---

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [July 9, 2024, 2:51pm UTC](https://discourse.paraview.org/t/jagged-grid-rendering/15019/10 "2024-07-09T14:51:23Z")

</div>

[https://gitlab.kitware.com/paraview/paraview/-/issues/22690](https://gitlab.kitware.com/paraview/paraview/-/issues/22690)
