Just a query of how to optimise the vertex normal calculation. The following is a normal method:
- Work out normal of each face that share the vertex (normalised cross-product of 2 vectors on face)
- Get average of all face normals and normalise to unit length.
Now, to optimise this, in step (1) can I leave out the ‘normalise to unit length’ part of the calculation to get the face normal, and only do this once - at the end of step (2)?
Will the resulting vertex normal be the same?