You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to get the contour lines to exactly match the data, but notice that the line at y=1.3 (last black line in the red) is not quite straight (even though the data at y=1.3 is uniformly 1.0) and the line at y=1.4 (first black line in the green) does not quite reach the correct value of 0.898 like its neighbors at larger y do. Digging in a bit deeper, it seems like the contours are following the surface very closely - perhaps not precisely, there are still a few spots where they seem to disappear behind the surface, but it's pretty close. But the surface itself seems to disagree a little bit with the data, which you can see by zooming in near one of these corners:
It looks like either a) the surface is smoothing a little bit around these sharp corners, or b) the surface is actually creating a finer mesh than the data points, and this mesh is not aligned with the data so it misses the corners. Either way it's not doing the right thing.
Activity
archmoj commentedon Nov 19, 2018
Here is another demo to illustrate this issue.
archmoj commentedon Nov 22, 2018
One of the best illustrations for this bug is
gl3d_surface-lightingmock where those high points on the diagonal have z values equal to 1!archmoj commentedon Nov 22, 2018
Here is a simpler demo for debugging this issue.
archmoj commentedon Nov 22, 2018
When this is fixed

gl3d_surface-lightingshould look something like this:alexcjohnson commentedon Nov 26, 2018
An extreme example of the problem - spiky data like

gl3d_surface-lighting(the data is only 0s and 1s) but very nonuniform x/y data - https://codepen.io/alexcjohnson/pen/XyBReJ?editors=1000notice that the thinner spikes rarely reach 1.