Subcaption and renders on two lines

This commit is contained in:
Thomas Forgione 2019-08-27 11:11:24 +02:00
parent e4e7841d6a
commit 904f6ba6ce
No known key found for this signature in database
GPG Key ID: 203DAEA747F48F41
2 changed files with 13 additions and 4 deletions

View File

@ -6,7 +6,7 @@
\usepackage{datatool} \usepackage{datatool}
\usepackage{pgfplots} \usepackage{pgfplots}
\usepackage{graphicx} \usepackage{graphicx}
\usepackage{subfigure} \usepackage{subcaption}
\usepackage{todonotes} \usepackage{todonotes}
\usepackage{booktabs} \usepackage{booktabs}
\usepackage{tikz} \usepackage{tikz}

View File

@ -58,9 +58,18 @@ In our example, from the full-size image, we generate successive resolutions by
Figure~\ref{fig:textures} illustrates the use of the textures against the rendering using a single, average color per face. Figure~\ref{fig:textures} illustrates the use of the textures against the rendering using a single, average color per face.
\begin{figure} \begin{figure}
\includegraphics[width=0.472\columnwidth]{assets/dash-3d/average-color/full-res.png} \centering
\includegraphics[width=0.50\columnwidth]{assets/dash-3d/average-color/no-res.png} \begin{subfigure}[b]{\textwidth}
\caption{Rendering of the model with full resolution texture (left), and faces with average default color (right).\label{fig:textures}} \includegraphics[width=1\textwidth]{assets/dash-3d/average-color/full-res.png}
\caption{With full resolution textures}
\vspace{0.3cm}
\end{subfigure}
\begin{subfigure}[b]{\textwidth}
\includegraphics[width=1\textwidth]{assets/dash-3d/average-color/no-res.png}
\caption{With average colors}
\end{subfigure}
\caption{Rendering of the model with different styles of textures\label{fig:textures}}
\end{figure} \end{figure}
\subsection{Segments} \subsection{Segments}