/[escript]/trunk/doc/user/pyvisi.tex
ViewVC logotype

Diff of /trunk/doc/user/pyvisi.tex

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1211 by jongui, Wed Jul 4 05:16:46 2007 UTC revision 1212 by jongui, Thu Jul 5 00:41:19 2007 UTC
# Line 15  with interaction capability (i.e. zoom a Line 15  with interaction capability (i.e. zoom a
15  rendered off-screen (no pop-up window) and (3) Display - object is rendered  rendered off-screen (no pop-up window) and (3) Display - object is rendered
16  on-screen but with no interaction capability (on-the-fly  on-screen but with no interaction capability (on-the-fly
17  animation). All three approaches have the option to save the rendered object  animation). All three approaches have the option to save the rendered object
18  as an image (i.e. jpg).  as an image (i.e. jpg) and subsequently converting a series of images into a
19    movie (.mpg).
20    
21  The following outlines the general steps to use Pyvisi:  The following outlines the general steps to use Pyvisi:
22    
# Line 30  the source data. Line 31  the source data.
31  \item Create a \Camera or \Light instance - controls the viewing angle and  \item Create a \Camera or \Light instance - controls the viewing angle and
32  lighting effects.  lighting effects.
33  \item Render the object - using either the Online, Offline or Display approach.  \item Render the object - using either the Online, Offline or Display approach.
34    \item Generate movie - converts a series of images into a movie.
35  \end{enumerate}  \end{enumerate}
36  \begin{center}  \begin{center}
37  \begin{math}  \begin{math}
38  scene \rightarrow data \; input \rightarrow data \; visualization \rightarrow  scene \rightarrow data \; input \rightarrow data \; visualization \rightarrow
39  camera \, / \, light \rightarrow render  camera \, / \, light \rightarrow render \rightarrow movie
40  \end{math}  \end{math}
41  \end{center}  \end{center}
42    
# Line 1518  This section displays some of the sample Line 1520  This section displays some of the sample
1520  \includegraphics[width=\thumbnailwidth]{figures/Map} &  \includegraphics[width=\thumbnailwidth]{figures/Map} &
1521  \includegraphics[width=\thumbnailwidth]{figures/MapOnPlaneCut} &  \includegraphics[width=\thumbnailwidth]{figures/MapOnPlaneCut} &
1522  \includegraphics[width=\thumbnailwidth]{figures/MapOnPlaneClip} \\  \includegraphics[width=\thumbnailwidth]{figures/MapOnPlaneClip} \\
1523  Map & MapOnPlaneCut & MapOnPlaneClip \\  Map & MapOnPlaneCut & MapOnPlaneClip \\
1524  \includegraphics[width=\thumbnailwidth]{figures/MapOnScalarClip} &  \includegraphics[width=\thumbnailwidth]{figures/MapOnScalarClip} &
1525  \includegraphics[width=\thumbnailwidth]{figures/Velocity} &  \includegraphics[width=\thumbnailwidth]{figures/MapOnScalarClipWithRotation} &
1526  \includegraphics[width=\thumbnailwidth]{figures/VelocityOnPlaneCut}  \\  \includegraphics[width=\thumbnailwidth]{figures/Velocity} \\
1527  MapOnScalarClip & Velocity & VelocityOnPlaneCut \\  MapOnScalarClip & MapOnScalarClipWithRotation & Velocity \\ \\ \\ \\
1528    \includegraphics[width=\thumbnailwidth]{figures/VelocityOnPlaneCut} &
1529  \includegraphics[width=\thumbnailwidth]{figures/VelocityOnPlaneClip} &  \includegraphics[width=\thumbnailwidth]{figures/VelocityOnPlaneClip} &
1530  \includegraphics[width=\thumbnailwidth]{figures/Ellipsoid} &  \includegraphics[width=\thumbnailwidth]{figures/Ellipsoid} \\
1531  \includegraphics[width=\thumbnailwidth]{figures/EllipsoidOnPlaneCut}  \\  VelocityOnPlaneCut & VelocityOnPlaneClip & Ellipsoid \\ \\ \\ \\
1532  VelocityOnPlaneClip & Ellipsoid & EllipsoidOnPlaneCut \\  \includegraphics[width=\thumbnailwidth]{figures/EllipsoidOnPlaneCut} &
1533  \includegraphics[width=\thumbnailwidth]{figures/EllipsoidOnPlaneClip} &  \includegraphics[width=\thumbnailwidth]{figures/EllipsoidOnPlaneClip} \\
1534  \includegraphics[width=\thumbnailwidth]{figures/Contour} &  EllipsoidOnPlaneCut & EllipsoidOnPlaneClip \\ \\ \\ \\
 \includegraphics[width=\thumbnailwidth]{figures/ContourOnPlaneCut}  \\  
 EllipsoidOnPlaneClip & Contour & ContourOnPlaneCut \\  
1535  \end{tabular}  \end{tabular}
1536  \caption{Sample output}  \caption{Sample output}
1537  \end{table}  \end{table}
1538    
1539  \begin{table}[t]  \begin{table}[t]
1540  \begin{tabular}{c c c}  \begin{tabular}{c c c}
1541  \includegraphics[width=\thumbnailwidth]{figures/ContourOnPlaneClip} &  \includegraphics[width=\thumbnailwidth]{figures/Contour} &
1542    \includegraphics[width=\thumbnailwidth]{figures/ContourOnPlaneCut} &
1543    \includegraphics[width=\thumbnailwidth]{figures/ContourOnPlaneClip} \\
1544    Contour & ContourOnPlaneCut & ContourOnPlaneClip\\ \\  
1545  \includegraphics[width=\thumbnailwidth]{figures/StreamLine} &  \includegraphics[width=\thumbnailwidth]{figures/StreamLine} &
1546  \includegraphics[width=\thumbnailwidth]{figures/Carpet}  \\  \includegraphics[width=\thumbnailwidth]{figures/Carpet} &
1547  ContourOnPlaneClip & StreamLine & Carpet \\  \includegraphics[width=\thumbnailwidth]{figures/Rectangle} \\
1548  \includegraphics[width=\thumbnailwidth]{figures/Rectangle} &  Streamline & Carpet & Rectangle \\ \\ \\
1549  \includegraphics[width=\thumbnailwidth]{figures/Text} &  \includegraphics[width=\thumbnailwidth]{figures/Text} &
1550  \includegraphics[width=\thumbnailwidth]{figures/Logo} \\  \includegraphics[width=\thumbnailwidth]{figures/Logo} &
1551  Rectangle & Text & Logo \\  \includegraphics[width=\thumbnailwidth]{figures/Image} \\
1552  \includegraphics[width=\thumbnailwidth]{figures/Image} &  Text & Logo & Image \\ \\
1553  \includegraphics[width=\thumbnailwidth]{figures/Legend} \\  \includegraphics[width=\thumbnailwidth]{figures/Legend} \\
1554  Image & Legend \\  Legend \\ \\
1555  \end{tabular}  \end{tabular}
1556  \caption{Sample Output}  \caption{Sample Output}
1557  \end{table}  \end{table}

Legend:
Removed from v.1211  
changed lines
  Added in v.1212

  ViewVC Help
Powered by ViewVC 1.1.26