I am a bit confused about how to calculate per-vertex normals. As the order in the assignment suggests, we should do per-vertex normals before we start working on vertex_triangle_adjacency, but as I understand from the formula, we are supposed to average the normals of all faces that a vertex is involved in, and having vertex_triangle_adjacency implemented would be handy for that. Am I missing something here?
Also, this is in per_vertex_normals.h:
This should instead say per-vertex normals right? Since we are calculating the normals for each vertex, and the size of the matrix seems to agree with that.
I am a bit confused about how to calculate per-vertex normals. As the order in the assignment suggests, we should do per-vertex normals before we start working on vertex_triangle_adjacency, but as I understand from the formula, we are supposed to average the normals of all faces that a vertex is involved in, and having vertex_triangle_adjacency implemented would be handy for that. Am I missing something here?
Also, this is in per_vertex_normals.h:
This should instead say per-vertex normals right? Since we are calculating the normals for each vertex, and the size of the matrix seems to agree with that.