Commit 7dd6953b authored by vigmond's avatar vigmond

Small changes regarding vertex/element based data

parent bef224bb
......@@ -327,23 +327,20 @@ first_vertex_in_region1 last_vertex_in_region1
first_vertex_in_regionN last_vertex_in_regionN
\end{verbatim}
\subsection{Vertex Scalar Data}
Scalar data can be associated with each vertex.
It can be time dependent or time independent.
\subsection{Scalar Data}
Scalar data can be associated with each vertex or with each element.
although not all operations may be available for elementally defined data.
Data can be time dependent or time independent.
\subsubsection{Time Independent}
\subsubsection{ASCII format}
A data file typically has the extension \lit{.dat} or \lit{.out} but these extensions
are suggested and not required.
The file simply contains lines with one entry per line, the data value for the
vertex.
\subsubsection{Time Dependent}
Files with time dependent data are typically suffixed with \lit{.tdat} but this
extension is
not mandatory.
The file format follows that of the Static case, but is repeated for every time
instance.
Thus if there are N vertices and data is sampled at 10 points in time,
the file will comprise 10N lines with one value per line.
vertex or element.
There is no separation between time frames, so if there are N points or elements, and 10 times,
there will be 10N lines in the file.
The data is interpreted as vertex data if the number of lines in the file is a multiple of the
number of vertices, or the number of lines is not a multiple of the number of elements.
\subsubsection{IGB format}
\label{sec:IGB}
......@@ -351,7 +348,7 @@ IGB is a format developed at the University of Montreal and used in a
visualization program called flounder, for regularly spaced data.
The file is composed of a 1024-byte long header followed by binary data.
For irregular grids, the individual dimensions are meaningless but xdim$\times$ ydim$\times$ zdim should be equal to the number of vertices.
For irregular grids, the individual dimensions are meaningless but xdim$\times$ ydim$\times$ zdim should be equal to the number of vertices/elements.
The header is composed of strings of the format below, separated by
white space.
\centerline{ \texttt{KeyWord:value} }
......@@ -880,10 +877,12 @@ The opacity value selected under the surface colour applies when data is present
Lighting properties can also be set for individual surfaces.
\lit{Specular} and \lit{diffusive} are as explained in \S\ref{sec:lighting}.
\lit{shiny} controls the exponent of the specular light with a higher number making highlights sharper.
\lit{back light controls intensity of backward facing polygons when backlighting is ``lit} (\autoref{sec:lighting})
\lit{back light} controls intensity of backward facing polygons when backlighting is ``lit'' (\autoref{sec:lighting})
Surfaces can also be randomly coloured by Image/Randomly Color/Surfaces.
Surfaces are renamed with the \lit{Rename} button. You will be prompted if you
want to overwrite the surface file with the new label.
The normals of a surface can also be flipped by selecting \lit{flip/normals}.
\subsection{Image Menu}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment