I believe this is due to an opengl bug. For example,
is mangled. But,
looks good. Painters works too but the gridlines aren't drawn very well.
Reall good script that does pretty much everything I needed. However, when trying to shift the CartOrigin to projected UTM coordinates (i.e. 10^5 on x and 10^6 on y), the mesh is totally disturbed. Any idea where that occurs?
I wonder how to deal with this case, if the distribution of data points is not uniform, for example, data points are more dense with the increase of radial distance, so we use a cell rather than a matrix to store data.