For a differentiable surface, we can use calculus to find the normals of points on the surface. Unfortunately, a triangle mesh is not
differentiable. The technique that is generally applied to triangle meshes is called vertex normal averaging. The vertex normal n for
an arbitrary vertex v in a mesh is found by averaging the face normals of every polygon in the mesh that shares the vertex v. For
example, in Figure 1, four polygons in the mesh share the vertex v; thus, the vertex normal for v is given by:
Figure 1
The middle vertex is shared by the neighboring four polygons, so we approximate the middle vertex normal by averaging the four polygon
face normals.
<-- TO FIND Navg
Im familiar with finding face normal in a triangle with this formula,
But how do I find n0,n1,n2,n3 if there not in a triangle, but in the middle of a square as in Figure 1