added to displayframetransformer

This commit is contained in:
aj 2019-12-17 16:34:12 +00:00
parent 16c9d5ceff
commit eb949edd8c

View File

@ -177,9 +177,9 @@ literal "false"
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
As the spaces of augmented and virtual reality become commonplace and mature, As the spaces of augmented and virtual reality mature and become more commonplac
the ability to capture and stream 3D renderings of objects and people over e, the ability to capture and stream 3D renderings of objects and people
the internet using consumer-grade hardware has many possible applications. over the internet using consumer-grade hardware has many possible applications.
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
@ -214,6 +214,10 @@ Augmented and Virtual Reality
Holoportation Holoportation
\end_layout \end_layout
\begin_layout Subsection
Traditional Optical 3D Reconstruction
\end_layout
\begin_layout Subsection \begin_layout Subsection
Kinect Kinect
\end_layout \end_layout
@ -344,7 +348,7 @@ OpenGL
\end_layout \end_layout
\begin_layout Subsection \begin_layout Subsection
Multi-View Configurations Frame Geometry & Multi-View Configurations
\end_layout \end_layout
\begin_layout Section \begin_layout Section
@ -762,6 +766,75 @@ OpenGL
DisplayFrameTransformer DisplayFrameTransformer
\end_layout \end_layout
\begin_layout Standard
The
\noun on
DisplayFrameTransformer
\noun default
is responsible for generating transformations for the sources displayed
within the
\noun on
OpenGL
\noun default
window.
\end_layout
\begin_layout Standard
Each client is assigned a default transformation which can be overridden
using keyboard controls.
\end_layout
\begin_layout Standard
Clients are initially arranged in a circle in around the origin in the center
of the space.
This is done by retrieving a transformation for a rotation in the
\begin_inset Formula $y$
\end_inset
axis for each client number,
\begin_inset Formula $n$
\end_inset
, using the below,
\end_layout
\begin_layout Standard
\begin_inset Formula
\[
\alpha\left(n\right)=\frac{n}{client\:total}\cdotp360\textdegree
\]
\end_inset
\end_layout
\begin_layout Standard
Similar to the shared variables between the
\noun on
MainWindow
\noun default
and
\noun on
OpenGL
\noun default
window, client transformations are stored within a dictionary indexed by
client ID.
\end_layout
\begin_layout Standard
The
\noun on
DisplayFrameTransformer
\noun default
also has methods to override these initial transforms with the RotateClient()
and TranslateClient() methods.
When these methods are called for the first time for a client an object
defining the position and rotation is pulled from the default rotation.
From here the presence of a client override leads returned transforms to
be defined by these values instead.
\end_layout
\begin_layout Standard \begin_layout Standard
\begin_inset Float figure \begin_inset Float figure
wide false wide false
@ -784,7 +857,11 @@ status open
\begin_inset Caption Standard \begin_inset Caption Standard
\begin_layout Plain Layout \begin_layout Plain Layout
Current state of LiveScan server structure with Current state of
\noun on
LiveScan
\noun default
server structure with
\noun on \noun on
OpenGL OpenGL
\noun default \noun default