\( \newcommand{\vect}[1]{\boldsymbol{#1}} \newcommand{\vecA}[2]{\begin{pmatrix}#1\\#2\end{pmatrix}} \newcommand{\vecB}[3]{\begin{pmatrix}#1\\#2\\#3\end{pmatrix}} \newcommand{\vecC}[4]{\begin{pmatrix}#1\\#2\\#3\\#4\end{pmatrix}} \newcommand{\twocol}[2]{\begin{columns}\column{0.5\textwidth}#1 \column{0.5\textwidth} #2 \end{columns}} \newcommand{\centerimage}[2]{\begin{center}\includegraphics[#1]{#2}\end{center}} \newcommand{\twocolS}[0]{\begin{columns}\column{0.5\textwidth}} \newcommand{\twocolM}[0]{\column{0.5\textwidth}} \newcommand{\twocolF}[0]{\end{columns}} \)

Surface normals

Surface normals:

  • face normals
  • vertex normals

Vertex normals nv can be calculated as the average of the N neighbouring face normals ni

$n_v=\frac{1}{N}\sum_i n_i$