% 16:9 version
% \documentclass[aspectratio=169]{beamer}
% \newcommand{\bigscale}{0.16}
% \newcommand{\smallscale}{0.16}

% 4:3 version
\documentclass{beamer}
\newcommand{\bigscale}{0.175}
\newcommand{\smallscale}{0.125}

\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{hyperref}
\usepackage[T1]{fontenc}
\usepackage{multicol}
\usepackage{lmodern}
\usepackage{vwcol}
\usepackage{pgfpages}
\usepackage{animate}

%\setbeameroption{show notes on second screen=right}
\usetheme{Warsaw}      % or try Darmstadt, Madrid, Warsaw, ...
\setbeamertemplate{navigation symbols}{}

%\setbeamertemplate{headline}{}
\title{3D interface and recommendations}
\author{Thomas Forgione}
\date{\today}
\defbeamertemplate*{footline}{shadow theme}
{%
    \leavevmode%
    \hbox{\begin{beamercolorbox}[wd=.5\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=.3cm plus1fil,rightskip=.3cm]{author in head/foot}%
            \usebeamerfont{author in head/foot}\hfill\insertshortauthor
            \
        \end{beamercolorbox}%
        \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=.3cm,rightskip=.3cm plus1fil]{title in head/foot}%
            \usebeamerfont{title in head/foot}\insertshorttitle\hfill\insertframenumber\,/\,\inserttotalframenumber%
    \end{beamercolorbox}}%
    \vskip0pt%
}

\usepackage{nameref}
\makeatletter
\newcommand*{\currentname}{\@currentlabelname}
\makeatother

\AtBeginSection[] % Do nothing for \section*
{
    \begin{frame}<beamer>
        \frametitle{Outline}
        \tableofcontents[currentsection]
    \end{frame}
}

\begin{document}
\begin{frame}
  \titlepage
\end{frame}

\section{Recommendations}
\subsection{Current version}
\subsubsection{Display}
\begin{frame}
    \frametitle{\currentname}
    \begin{block}{Idea}
        Display recommendations as arrows showing the user the motion to go the recommended view
    \end{block}
    \begin{figure}
        \includegraphics[scale=\bigscale]{img/06.png}
        \caption{Example}
    \end{figure}
\end{frame}

\subsubsection{Dynamism}
\begin{frame}
    \frametitle{\currentname}
    \begin{block}{Idea}
        Orientate the arrows according to the position of the camera
    \end{block}
    \begin{figure}
        \includegraphics[scale=\smallscale]{img/08.png}~
        \includegraphics[scale=\smallscale]{img/09.png}
        \caption{Example}
% * <carlier.axel@gmail.com> 2015-04-29T15:27:15.285Z:
%
%  Expliquer que la fleche de droite dans l'image de gauche est la même que la fleche de gauche dans l'image de droite, mais avec une orientation différente
%
    \end{figure}
\end{frame}

\subsubsection{Transparency}
\begin{frame}
    \frametitle{\currentname}
    \begin{block}{Idea}
        Progressively fading the arrows when getting close
    \end{block}
    \begin{figure}
        \includegraphics[scale=\smallscale]{img/10.png}~
        \includegraphics[scale=\smallscale]{img/11.png}
        \caption{Example}
    \end{figure}
\end{frame}

\subsubsection{Clicking the arrows}
\begin{frame}
    \frametitle{\currentname}
    \begin{block}{Idea}
        Clicking on the arrow provokes a fluid motion to the recommended view
    \end{block}
    \begin{figure}
        \includegraphics[scale=\smallscale]{img/12.png}~
        \includegraphics[scale=\smallscale]{img/13.png}
        \caption{Example}
    \end{figure}
\end{frame}

\subsubsection{Previsualization}
\begin{frame}
    \frametitle{\currentname}
    \begin{block}{Idea}
        Display a thumbnail of the rendering of the recommended view when the pointer hovers an arrow
    \end{block}
    \begin{figure}
        \includegraphics[scale=\bigscale]{img/07.png}
        \caption{Example}
    \end{figure}
\end{frame}

\subsubsection{Undo button}
\begin{frame}
    \begin{block}{Undo button}
        Gives the user the ability to go back where he was before clicking an arrow
    \end{block}
    \begin{figure}
        \includegraphics[scale=\smallscale]{img/14.png}~
        \includegraphics[scale=\smallscale]{img/15.png}
        \caption{Example}
    \end{figure}
    \begin{exampleblock}{Note}
        For the moment, only one undo is supported
    \end{exampleblock}
\end{frame}

\subsection{Problems}
\begin{frame}
    \begin{block}{Arrow pointing at the camera}
        When the arrow is in front of the camera, the rendering is ugly
    \end{block}
    \begin{figure}
        \includegraphics[scale=\bigscale]{img/16.png}
        \caption{Example}
    \end{figure}
\end{frame}

\begin{frame}
    \begin{block}{Collisions between arrows and objects}
        When the recommended view is too far away, and hidden behind another
        object, we just see the tail of the arrow
    \end{block}
    \begin{figure}
        \includegraphics[scale=\bigscale]{img/17.png}
        \caption{Example}
    \end{figure}
\end{frame}

\subsection{Ameliorations}
\begin{frame}
    \begin{itemize}
        \item Multiple undo and redo
        \item Two types of recommended views :
            \begin{itemize}
                \item to see another part of the same area
                \item to move to another area
            \end{itemize}
       \item scale factor of the thumbnail
    \end{itemize}
\end{frame}


\section{Use-cases}
% * <carlier.axel@gmail.com> 2015-04-29T15:33:34.548Z:
%
%  Précise qu'il faut considérer 2 types de use cases. Les "uses cases génériques" pour motiver le travail, et les uses cases un peu plus pragmatiques qu'on utilisera pour les user study
%
\begin{frame}
    \begin{itemize}
        \item Long term use cases and applications
        \begin{itemize}
            \item e-commerce : browsing 3D products on a website
            \item e-tourism : browsing the entirety of a museum or a place
            \item 3D guide : enhanced street view
        \end{itemize}
        \item Short term use cases for user-study
        \begin{itemize}
            \item 3D navigation on a scene
            \item a few complex models with recommendations around them
        \end{itemize}
    \end{itemize}
\end{frame}

\section{MMSys}
\begin{frame}
    \begin{itemize}
        \item The objective would be to submit a paper at MMSys
        \item Submission deadline: November 27, 2015
    \end{itemize}
\end{frame}

\section{Links}
\begin{frame}
    \footnotesize
    \begin{itemize}
        \item Github : \url{http://github.com/tforgione/3dinterface/}
        \item Wiki : \url{http://github.com/tforgione/3dinterface/wiki/}
        \item Demo : \url{http://3dinterface.no-ip.org/prototype/}
    \end{itemize}
\end{frame}
% \end{NoHyper}
\end{document}
