MeshVertexNormalWeighting
ts
type MeshVertexNormalWeighting = 'Uniform' | 'Angle' | 'Area' | 'NelsonMax';Weighting schemes for averaging normals of faces around a vertex to obtain vertex normals
Uniform: Face normals are weighted uniformly (no actual weighting is applied)Angle: Face normals are weighted by the triangle's interior angle at the vertexArea: Face normals are weighted by the triangle's areaNelsonMax: Face normals are weighted as proposed by Nelson Max in "Weights for Computing Vertex Normals from Facet Normals", Journal of Graphics Tools, 4(2) (1999) by the sine of the angle between the two edges sharing the vertex divided by the product of the lengths of the two edges