This commit is contained in:
2019-10-14 16:18:37 +02:00
parent 9029df1ec1
commit e7d9de164a
8 changed files with 77 additions and 55 deletions

View File

@@ -73,12 +73,21 @@ Even though these interactions seem easy to handle, giving the best possible exp
\item press the right arrow key to move 5 seconds forwards;
\item press the \texttt{J} key to move 10 seconds backwards;
\item press the \texttt{L} key to move 10 seconds forwards;
\item press one of the number key (on the first row of the keyboard, below the function keys, or on the numpad) to move the corresponding decile of the video.
\item press one of the number key (on the first row of the keyboard, below the function keys, or on the numpad) to move the corresponding tenth of the video;
\item press the home key to go the beginning of the video, or the end key to go to the end.
\end{itemize}
\end{itemize}
There are also controls for other options: for example, \texttt{F} puts the player in fullscreen mode, up and down arrows change the sound volume, \texttt{M} mutes the sound and \texttt{C} activates the subtitles.
There are also controls for other options that are described \href{https://web.archive.org/web/20191014131350/https://support.google.com/youtube/answer/7631406?hl=en}{on this help page}, for example:
\begin{itemize}
\item up and down arrows change the sound volume;
\item \texttt{M} mutes the sound;
\item \texttt{C} activates the subtitles;
\item \texttt{F} puts the player in fullscreen mode;
\item \texttt{T} activates the theater mode (where the video occupies the total width of the screen, instead of occupying two thirds of the screen, the last third being advertising or recommendations);
\item \texttt{I} activates the mini-player (allowing to search for other videos while keeping the current video playing in the bottom right corner).
\end{itemize}
All the interactions are summed up in Figure~\ref{i:youtube-keyboard}.
\newcommand{\relativeseekcontrol}{LightBlue}
@@ -155,8 +164,11 @@ All the interactions are summed up in Figure~\ref{i:youtube-keyboard}.
% First alphabetic row
\begin{scope}[shift={(1.5,0)}]
\foreach \key/\offset in {Q/0,W/1,E/2,R/3,T/4,Y/5,U/6,I/7,O/8,P/9,[/10,]/11}
\foreach \key/\offset in {Q/0,W/1,E/2,R/3,Y/5,U/6,O/8,P/9,[/10,]/11}
\keystroke{\offset}{1+\offset}{-2.5}{-1.75}{\key};
\keystrokebg{4}{5}{-2.5}{-1.75}{T}{\othercontrol};
\keystrokebg{7}{8}{-2.5}{-1.75}{I}{\othercontrol};
\end{scope}
% Caps lock
@@ -217,6 +229,15 @@ All the interactions are summed up in Figure~\ref{i:youtube-keyboard}.
\keystrokebg{18}{19}{-4.75}{-4}{$\rightarrow$}{\relativeseekcontrol};
\keystrokebg{17}{18}{-4}{-3.25}{$\uparrow$}{\othercontrol};
% Control keys
\keystroke{16}{17}{-1.75}{-1}{\tiny Inser};
\keystrokebg{17}{18}{-1.75}{-1}{\tiny Home}{\absoluteseekcontrol};
\keystroke{18}{19}{-1.75}{-1}{\tiny PgUp};
\keystroke{16}{17}{-2.5}{-1.75}{\tiny Del};
\keystrokebg{17}{18}{-2.5}{-1.75}{\tiny End}{\absoluteseekcontrol};
\keystroke{18}{19}{-2.5}{-1.75}{\tiny PgDown};
% Numpad
\keystroke{19.5}{20.5}{-1.75}{-1}{Lock};
\keystroke{20.5}{21.5}{-1.75}{-1}{/};
@@ -285,6 +306,7 @@ This is typically the case of the video game \emph{nolimits 2: roller coaster si
Finally, most of the other interfaces give at least 5 degrees of freedom to the user: 3 being the coordinates of the position of the camera, and 2 being the angle (assuming the up vector is unchangeable, some interfaces might allow that, giving a sixth degree of freedom).
The most common controls are the trackball controls where the user rotate the object like a ball \href{https://threejs.org/examples/?q=controls\#misc_controls_trackball}{(live example here)} and the orbit controls, which behave like the trackball controls but preserving the up vector \href{https://threejs.org/examples/?q=controls\#misc_controls_orbit}{(live example here)}.
These types of controls are notably used on the popular mesh editor \href{http://www.meshlab.net/}{MeshLab} and \href{https://sketchfab.com/}{SketchFab}, the YouTube for 3D models.
Another popular way of controlling a free camera in a virtual environment is the first person controls \href{https://threejs.org/examples/?q=controls\#misc_controls_pointerlock}{(live example here)}.
These controls are typically used in shooting video games, the mouse rotates the camera and the keyboard is used to translate it.