Newer
Older
cg / hw04 / documentation / _Examples.tex
In order to test the implementation two low-poly 3D models are subdivided multiple times. The figures become smoother with every iteration as seen in figure \ref{fig:ex-subdiv-gra}.

\begin{figure}[H]
\begin{tabular}{c|cccc}
  \multicolumn{5}{c}{Subdivision count} \\
  0 (original) & 1 & 2 & 3 & 4 \\[6pt] \hline \\
 \includegraphics[width=26mm]{images/example/a0.png} & \includegraphics[width=26mm]{images/example/a1.png} &\includegraphics[width=26mm]{images/example/a2.png} &\includegraphics[width=26mm]{images/example/a3.png} &\includegraphics[width=26mm]{images/example/a4.png} \\
  \multicolumn{5}{c}{(a) Vase} \\ \hline \\
  
 \includegraphics[width=26mm]{images/example/b0.png} & \includegraphics[width=26mm]{images/example/b1.png} &\includegraphics[width=26mm]{images/example/b2.png} &\includegraphics[width=26mm]{images/example/b3.png} &\includegraphics[width=26mm]{images/example/b4.png} \\
  \multicolumn{5}{c}{(b) Vase with wireframe} \\ \hline  \\
  
 \includegraphics[width=26mm]{images/example/c0.png} & \includegraphics[width=26mm]{images/example/c1.png} &\includegraphics[width=26mm]{images/example/c2.png} &\includegraphics[width=26mm]{images/example/c3.png} &\includegraphics[width=26mm]{images/example/c4.png} \\
  \multicolumn{5}{c}{(c) Bowl} \\
\end{tabular}
\caption{Increasing subdivisions (graphical)}
\label{fig:ex-subdiv-gra}
\end{figure}

\begin{table}[H]
\centering
\begin{tabular}{r|ccccc}
  &\multicolumn{5}{c}{Subdivision count} \\
  &0 & 1 & 2 & 3 & 4 \\[6pt] \hline \\
  
  &\multicolumn{5}{c}{(a) Vase} \\[6pt] 
  Triangles & 68  & 272 & 1088 & 4352 & 17408 \\
  Vertices & 36 & 138 & 546 & 2178 & 8706 \\
  \hline \\
  
  &\multicolumn{5}{c}{(c) Bowl} \\[6pt] 
  Triangles & 28 & 112 & 448 & 1792 & 7168 \\
  Vertices & 16 & 58 & 226 & 898 & 3586 \\
  
\end{tabular}
\caption{Increasing subdivisions (numerical)}
\label{fig:ex-subdiv-num}
\end{table}

The amount of triangles are constantly quadrupled with each step, this is due to the way of dividing existing triangles into four smaller ones. This is not the case with the vertices, since multiple triangles can share the same vertex.