I have the following points on a terrain, each with a height:
A B C
D E F
G H I
I want the normal for the center point E. All I have are the following values.
The height of each point:
Ay#, By#, Cy#, Dy#, Ey#, Fy#, Gy#, Hy#, Iy#
And the distance between points:
pointspacing#
The terrain is 1 unit high x 1 unit wide x 1 unit deep.
My normals are coming out okay right now, but they look blocky, not smooth.
A B C
D E F
G H I
I want the normal for the center point E. All I have are the following values.
The height of each point:
Ay#, By#, Cy#, Dy#, Ey#, Fy#, Gy#, Hy#, Iy#
And the distance between points:
pointspacing#
The terrain is 1 unit high x 1 unit wide x 1 unit deep.
My normals are coming out okay right now, but they look blocky, not smooth.