Debian Codegraph @

texmf-dist/doc/latex/movie15/movie15.tex

raw
1 % Copyright 2004 Alexander Grahn
2 %
3 % This material is subject to the LaTeX Project Public License. See
4 % http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html
5 % for the details of that license.
6 %
7 \documentclass[a4paper]{article}
8 \pdfpagewidth595bp
9 \pdfpageheight842bp
10 \frenchspacing
11 \usepackage[3D]{movie15}
12 \usepackage{ragged2e}
13 \usepackage{amssymb}
14 \usepackage[UKenglish]{babel}
15 \usepackage{color}
16 \usepackage{graphicx}
17 \usepackage{hyperref}
18 \usepackage{textcomp}
19 \usepackage{lmodern}
20 \usepackage[T1]{fontenc}
21 \usepackage{float}
22 \usepackage{ifpdf}
23 \usepackage{parskip}
24 \usepackage{animate}
25
26 \ifpdf\else
27 \makeatletter
28 \@latex@error{Please use pdfLaTeX to compile this documentation}
29 \makeatother
30 \fi
31
32 \hypersetup{
33 bookmarksnumbered,linktocpage,breaklinks,
34 pdftitle={The movie15 Package},
35 pdfsubject={Documentation},
36 pdfauthor={Alexander Grahn},
37 pdfkeywords={embed, movie, LaTeX, pdfLaTeX, PDF, 3D, JavaScript, include, sound, video, multimedia, animation},
38 citebordercolor={0 0 1},
39 filebordercolor={0 0 1},
40 linkbordercolor={0 0 1},
41 menubordercolor={0 0 1},
42 pagebordercolor={0 0 1},
43 urlbordercolor={0 0 1}
44 }
45
46 \begin{document}
47 \title{The {\sffamily movie15} Package}
48 \author{Alexander Grahn\\[1ex]\includegraphics[height=2.7ex]{mailto}}
49 \maketitle
50
51 \begin{abstract}\noindent
52 A \LaTeX{} package for inclusion of movies, sounds and 3D objects into PDF documents with PDF-1.5/1.6 compatibility.\\[0.2\baselineskip]
53 \emph{Keywords}: embed, movie, LaTeX, pdfLaTeX, PDF, 3D, JavaScript, \mbox{include}, sound, video, multimedia, animation
54 \end{abstract}
55
56 \begin{animateinline}[autoplay,loop]{1.5}\strut{\bf\color{red} Note:}\newframe\newframe[5]\end{animateinline} This package is obsolete now. Consider using package `media9'.
57 \tableofcontents
58
59 %\newpage
60 \section{Introduction}
61
62 The way multimedia content, i.\,e. movies and sounds, is included into PDF has changed with Adobe's PDF specification, version 1.5. PDF-1.5 supports a larger variety of movie and sound formats, limited only by the number of plug-ins available for Adobe Reader\textsuperscript{\scriptsize\textregistered}. With PDF-1.6, support for 3D objects, stored in the U3D file format, has been added. See Table \ref{table:mime} for a list of viable media formats. The specification allows media file contents to be completely embedded into the PDF output, thus producing self-contained PDF documents.
63
64 This package provides an interface to embed movies, sounds and 3D objects into PDF documents for use with \LaTeX{} as well as pdf\LaTeX. Media file contents is incorporated into PDF output by default. This is done either directly during source processing using pdf\LaTeX{} or during conversion from Postscript to PDF using Ghostscript's \verb+ps2pdf+.
65
66 The final PDF output can be viewed with Windows\textsuperscript{\scriptsize\textregistered} and Mac OS\textsuperscript{\scriptsize\textregistered} versions of Adobe Reader. However, embedded media file data can also be extracted and saved to disk from within Readers which support file attachments. This makes PDF documents a little more portable to Readers which do not ship with a multimedia plug-in.
67
68 `movie15' works well together with the presentation making package `Beamer'. In particular it supports its overlay concept. See this \href{./overlay-example.pdf}{example}.
69 %which uses the `Beamer' class.
70 Also read the comments in the example's source file, `\verb+overlay-example.tex+', on how to use `movie15' with `Beamer'.
71
72 \section{Installation}
73 The file `movie15.sty' should be stored in a place where \LaTeX{} can find it.
74
75 \section{Requirements}
76 pdf\TeX{}, version $\ge1.20$, is needed for direct PDF output.
77
78 If the package option `\verb+3D+' is set, `movie15' loads Michael Mehlich's `fp' package for fixed point arithmetic. Since it does not belong to the core packages of most \TeX{} distributions it must be installed prior to selecting the `\verb+3D+' option.
79
80 Adobe Reader, version 6, is required for playing movies and sounds, version 7 for rendering embedded 3D content.
81
82 %\newpage
83 \section{Using the package}
84 Invoke the package by putting the line
85 \begin{verbatim}
86 \usepackage[<package options>]{movie15}
87 \end{verbatim}
88 to the preamble of your document, i.\,e. somewhere between \verb+\documentclass+ and \verb+\begin{document}+.
89
90 `movie15' honours the following package options:
91 \begin{verbatim}
92 3D
93 \end{verbatim}
94 Enables the 3D feature from the PDF-1.6 specification. Inclusion of 3D files into PDF is discussed separately in section~\ref{sec:3D}.
95
96 \begin{verbatim}
97 draft
98 \end{verbatim}
99 Media files are not included. Just the file name is printed in a box of size \verb+<width>+$\times$(\verb+<height>++\verb+<depth>+).
100 \begin{verbatim}
101 final
102 \end{verbatim}
103 The opposite of draft. Useful to override a global draft option specified
104 in the \verb+\documentclass+ command.
105
106 If PDF is generated via DVI and Postscript by the usual \verb+latex+ $\rightarrow$ \verb+dvips+ $\rightarrow$ \verb+ps2pdf+ sequence of commands, the `graphicx' package is required.
107
108 Note that several runs may be necessary to resolve internally created cross-references. Appropriate warnings will be issued in such cases.
109
110 \section{The user interface}
111 \subsection{Media inclusion}\label{usrif}
112 Movies, sounds and 3D objects are embedded into the document using the command
113 \begin{verbatim}
114 \includemovie[<options>]{<width>}{<height>}{<media file>}
115 \end{verbatim}
116 Unless left empty, the \verb+<width>+ and \verb+<height>+ arguments must be given in valid \TeX{} dimensions. Horizontal and vertical dimensions of the media clip are scaled independently to fit \verb+<width>+ and \verb+<height>+ or, if the two latter are empty, to fit the size of the text box, given as argument to the `\verb+text+' option; see \hyperlink{lnk:textoption}{below}. \verb+<media file>+ specifies the file name of the media clip. If the media file is embedded as part of the final PDF output, which is the default, it may reside wherever \TeX{} or Ghostscript search for input files, depending on the PDF producing method.
117
118 Below, common options to \verb+\includemovie+ are listed. Options specific to embedding of 3D content are discussed separately in section~\ref{sec:3D}. The impatient reader may advance directly to the \hyperlink{sec:3Dtut}{3D quick-start guide}, which summarizes the basic steps for embedding 3D objects.
119 \begin{verbatim}
120 attach[=false]
121 \end{verbatim}
122 By default, the embedded data stream is re-used as embedded file attachment. This makes `movie15' a little more portable to PDF Readers which do not have a multimedia plug-in because it gives the user the opportunity to extract the media file and to save it to disk for later playback with an external player. However, support of file attachments is required. Re-use as file attachment can be suppressed with option `\verb+attach=false+'. Note that `\verb+attach=false+' is a poor method to prevent the user from obtaining a copy of the media file. There are several (free) tools for decompressing and extracting stream objects from PDF files.
123 \begin{verbatim}
124 autoclose
125 \end{verbatim}
126 Close the media player when the page is closed. Use of this option may be necessary for streamed media, such as Real Video.
127 \begin{verbatim}
128 autopause
129 \end{verbatim}
130 Pause playing when the page is closed.
131 \begin{verbatim}
132 autoplay
133 \end{verbatim}
134 Start playback of the media clip after the page has opened. This is especially useful if there are multiple movie clips on the current page to be played at the same time. Also resumes playback of previously paused media. In the case of embedded sound being started this way, \verb+<width>+ and \verb+<height>+ can safely be set to `0pt' since no further user interaction is necessary to start playing.
135 \begin{verbatim}
136 autostop
137 \end{verbatim}
138 Stops playing but keeps the media loaded when the page is closed. The media is rewound to its beginning or its `\verb+startat+' position. This option is set by default if neither of the options `\verb+autopause+', `\verb+autoclose+' or `\verb+continue+' is set.
139 \begin{verbatim}
140 autoresume
141 \end{verbatim}
142 Resume previously paused playback when the page is opened again.
143 \begin{verbatim}
144 continue
145 \end{verbatim}
146 Continue playback in background on premature page change. However, paused media remain paused. So do media that have reached the end or that still show the poster.
147 \begin{verbatim}
148 controls
149 toolbar
150 \end{verbatim}
151 Player specific controls or toolbars are displayed during playback of the media clip, if available. The default is `\verb+false+'; controls are not shown.
152 \begin{verbatim}
153 depth=<depth>
154 \end{verbatim}
155 Specifies how far the media display area should extend below the bottom line of the running text. Any valid \TeX{} dimension is accepted.
156 \begin{verbatim}
157 draft
158 \end{verbatim}
159 Locally switches to draft mode.
160 \begin{verbatim}
161 externalviewer
162 \end{verbatim}
163 Opens and plays the media in an external application.
164 \begin{verbatim}
165 final
166 \end{verbatim}
167 Locally disables draft mode.
168 \begin{verbatim}
169 inline[=false]
170 \end{verbatim}
171 Media file \emph{data} are embedded into PDF output by default.
172 This can be suppressed with option `\verb+inline=false+'.
173 \begin{verbatim}
174 label=<label spec>
175 \end{verbatim}
176 The media is labelled with \verb+<label spec>+ such that it can be referenced by the \verb+\movieref+ command elsewhere in the document. The \verb+\movieref+ command creates a hyperlink to either stop, pause, resume the media, to play it with different settings, such as frame rate or volume, or to show a different part of it. See section~\ref{hyperlinks} for details. \verb+<label spec>+ may consist of any sequence of letters, digits or punctuation characters.
177 \begin{verbatim}
178 mimetype=<mimetype>
179 \end{verbatim}
180 According to the PDF specification, the viewer application needs to know the MIME type of \verb+<media file>+. Package `movie15' tries to make a guess from the file name extension. If, however, a media file is of unknown type or has a non-standard file name extension, its MIME type must be explicitly specified using this option. See Table \ref{table:mime} for a list of known file name extensions.
181 \begin{verbatim}
182 mouse[=true|false]
183 \end{verbatim}
184 Enable mouse interaction: Clicking onto the media (giving it the focus) pauses the playback while clicking outside resumes it. Alternatively, once the media has got the focus, repeated pressing of key `P' on the keyboard switches between Play and Pause (at least with some players). In 3D context it specifies whether the 3D annotation should be interactive, i.\,e. responsive to mouse interaction. 3D annotations are interactive by default.
185 \begin{verbatim}
186 palindrome[=true|false]
187 \end{verbatim}
188 The media is played forward and backward, if supported by the media player. In combination with option `\verb+repeat+' this forward-and-reverse playback repeats as many times as specified. Each complete forward and reverse playback counts as one repeat.
189 \begin{verbatim}
190 playerid=<playerid>
191 \end{verbatim}
192 Forces a particular media player plug-in to be used instead of the default one. Currently, the following values are recognized:\\[1ex]
193 {\tt\phantom{xxxx}AAPL\_QuickTime\\
194 \phantom{xxxx}MACR\_FlashPlayer\\
195 \phantom{xxxx}RNWK\_RealPlayer\\
196 \phantom{xxxx}MSFT\_WindowsMediaPlayer\\
197 \phantom{xxxx}ADBE\_MCI} (Adobe builtin player)
198 \begin{verbatim}
199 poster
200 \end{verbatim}
201 The first frame of the movie or the frame at the beginning of the movie section specified by the `\verb+startat+' option is shown.
202 \begin{verbatim}
203 poster=<image>
204 \end{verbatim}
205 Inserts still image from file \verb+<image>+ to be shown when the media clip is not activated. The file type of \verb+<image>+ depends on the output driver: PS or EPS when using \LaTeX{} together with \verb+dvips+; PDF, PNG or JPEG when using pdf\LaTeX. This option is obsolescent and should not be used any longer. Instead, use option `\verb+text+' if a still image from an external file is to be inserted. See option `\verb+text+' for a possibility to scale the media display area according to the poster image dimensions.
206 \begin{verbatim}
207 rate=<rate>
208 \end{verbatim}
209 \verb+<rate>+ specifies the playback rate, where $1$ is normal playback, $0.5$ is half speed, $2$ is double speed, $-1$ is normal speed in reverse etc.
210 \begin{verbatim}
211 repeat[=<repeats>]
212 \end{verbatim}
213 Specifies how often the media clip or embedded 3D animation will be played. Without argument this option causes the player to repeat forever.
214 \begin{verbatim}
215 startat=<offset>
216 endat=<offset>
217 \end{verbatim}
218 Start/stop playback at the specified offsets. \verb+<offset>+ may be an absolute time or frame value, or a named marker, or a marker plus a time or frame. In the latter case, time or frame values are regarded as relative to the named marker. Support of markers, time and frame offsets is media type dependent. Media incompatible offsets are ignored. The following syntax applies to \verb+<offset>+:
219 \begin{verbatim}
220 time:<time in seconds>
221 frame:<frame number>
222 marker:<quoted string>
223 \end{verbatim}
224 Some \verb+<offset>+ examples:
225 \begin{verbatim}
226 time:20.5
227 frame:100
228 {marker:'Chapter 1', time:60}
229 \end{verbatim}
230 \hypertarget{lnk:textoption}{}
231 \begin{verbatim}
232 text=<text>
233 \end{verbatim}
234 \verb+<text>+ is typeset onto and centred within the media display area which has been specified by the \verb+<width>+ and \verb+<height>+ arguments as well as the `\verb+depth+' option. If either or both of the \verb+<width>+ and \verb+<height>+ arguments are left empty, any unspecified dimension of the media display is scaled to match the corresponding dimension, i.\,e. width and height, of \verb+<text>+. Likewise, the depth of the media display is adjusted to the depth of \verb+<text>+ if the optional `\verb+depth+' has not been given. Therefore, option `\verb+text+' can be used to scale the media display to the natural or scaled dimensions of a poster image file, such as (requires package `graphicx'; \emph{also note the empty {\tt<width>} and {\tt<height>} arguments!}):
235 \begin{verbatim}
236 \includemovie[text={\includegraphics[scale=2]{path/to/poster}}]
237 {}{}{path/to/movie}
238 \end{verbatim}
239 In combination with the `\verb+poster+' option, which causes the poster image to be rendered from the movie during runtime, the PDF file size can be reduced somewhat by putting \verb+\includegraphics+ into a \verb+\phantom+ box:
240 \begin{verbatim}
241 \includemovie[
242 poster,
243 text={\phantom{\includegraphics[scale=2]{path/to/poster}}}
244 ]{}{}{path/to/movie}
245 \end{verbatim}
246 \begin{verbatim}
247 textoverposter[=false]
248 \end{verbatim}
249 Set this option to `\verb+false+' if you wish \verb+<text>+ to be obscured by the external poster image which has been inserted with the poster option. Deprecated.
250 \begin{verbatim}
251 url
252 \end{verbatim}
253 Treat \verb+<media file>+ as URL. Sets option `\verb+inline+' to `\verb+false+' automatically.
254 \begin{verbatim}
255 volume=<percentage of original volume>
256 \end{verbatim}
257 The meaning of this option should be self explaining.
258
259 \subsection{Inclusion of 3D objects}\label{sec:3D}
260 The PDF-1.6 specification, which was introduced with the advent of Adobe Acrobat/Reader 7, allows embedding of 3-dimensional graphic objects, such as CAD models or 3D scientific data, and lets the user interactively manipulate them. At the time of writing this documentation, the only supported file types were U3D~\cite{3diforg} and Adobe's PRC format, and only one commercial software~\cite{dexp} for exporting into the U3D format, yet from a number of CAD and 3D vector formats, including DXF and VRML, was known. Nevertheless, a try-out version of~\cite{dexp} can be downloaded without charge.
261
262 Selection of the `\verb+3D+' package option enables the 3D feature. Most of the command options listed in section~\ref{usrif} do what they are supposed to do in the case of embedded 3D as well. Other options are ignored, in particular `\verb+startat+', `\verb+endat+', `\verb+volume+' and `\verb+playerid+'. Options `\verb+inline=false+' and `\verb+url+' are supported, but imply option `{\tt{}ex\-ter\-nal\-view\-er}', because the 3D Reader plug-in handles embedded files only.
263
264 There are a few options to \verb+\includemovie+ which define how the 3D object is positioned within the view port of a virtual camera, or conversely, how the virtual camera is positioned and oriented within a coordinate system, called `The World', which bears the 3D object at a fixed position. Fig.~\ref{3dscene} should help to visualize the scenery: The virtual camera is orbiting at a distance of $ROO$ around the centre of orbit, specified by the position vector $\overrightarrow{COO}$; $\sphericalangle AAC$ is the camera's aperture angle. In addition, the direction vector $\overrightarrow{C2C}$ is needed to specify the initial camera position.
265 \begin{figure}[ht]
266 \resizebox{\linewidth}{!}{\input{3dsystem}}
267 \caption{Camera and 3D object in the World System $XYZ$; centre of orbit position vector $\vec{COO}$, centre of orbit to camera direction vector $\vec{C2C}$, radius of orbit $ROO$, aperture angle of camera $\sphericalangle AAC$.}\label{3dscene}
268 \end{figure}
269
270 The \emph{default view}, i.\,e. the view that is shown initially after activating the 3D object in the Reader, can be set using the options `\verb+3Dcoo+' for the centre of orbit, `\verb+3Dc2c+' for the centre of orbit to camera vector, `\verb+3Droo+' for the orbital radius and `\verb+3Daac+' for the aperture angle of the camera:
271 \begin{verbatim}
272 3Daac=<angle>
273 \end{verbatim}
274 This option sets the aperture angle of the camera, measured in degrees. Fixed point real numbers between 0 and 180 are admissible. A sensible value of 30 is pre-set by default. Larger values can be used to achieve wide-angle or fish-eye effects. See example~\ref{ex3d} in section~\ref{examples}.
275 \begin{verbatim}
276 3Dc2c=<x> <y> <z>
277 \end{verbatim}
278 \verb+<x> <y> <z>+ specify a direction vector $\overrightarrow{C2C}$ of arbitrary length, originating in the centre of orbit and pointing to the virtual camera. Only fixed point numbers in the range from\\[1ex]
279 \phantom{xxxx}$-999999999999999999.999999999999999999$\\
280 to\\
281 \phantom{xxxx}$+999999999999999999.999999999999999999$\\[1ex]
282 are allowed.
283 \begin{verbatim}
284 3Dcoo=<x> <y> <z>
285 \end{verbatim}
286 \verb+<x> <y> <z>+ specify the positional vector $\overrightarrow{COO}$ of the centre of orbit. See option `\verb+3Dc2c+' for the number format of \verb+<x> <y> <z>+.
287 \begin{verbatim}
288 3Droll=<roll>
289 \end{verbatim}
290 Prescribes an initial camera roll around the optical axis (in clockwise direction, if \verb+<roll>+ is greater that zero); measured in degrees.
291 \begin{verbatim}
292 3Droo=<r>
293 \end{verbatim}
294 \verb+<r>+ (always positive!) specifies the radius of orbit $ROO$ of the virtual camera. See option `\verb+3Dc2c+' for the number format of \verb+<r>+.
295
296 Without the above options the virtual camera sits at the origin $(0,0,0)$ of the World, looking in the positive $Y$ direction, i.\,e. default settings of \verb+3Droo=0+, \verb+3Dcoo=0 0 0+ and \verb+3Dc2c=0 -1 0+ are assumed. (Note that $\overrightarrow{C2C}$ is the opposite of the view vector!) Thus, in order to get a `front view' of the 3D object it is sufficient to set the radius of orbit, i.\,e. the distance between camera and object appropriately. Sometimes you may want to adjust the orbital centre, i.\,e. the target of the camera as well, in particular, if the object is irregularly shaped. Fortunately, it is possible to let the values of the corresponding options be determined automatically. Simply insert a hyperlink using the \verb+\movieref+ command together with the `\verb+3Dcalculate+' option. Once the settings for `\verb+3Droo+' and `\verb+3Dcoo+' have been calculated, the hyperlink can be removed again. See section \ref{hyperlinks} for an explanation and example \ref{ex3d} in section \ref{examples}.
297
298 \begin{verbatim}
299 3Dbg=<r> <g> <b>
300 \end{verbatim}
301 This option sets the background colour of the canvas. Only fixed point real numbers in the range from 0 to 1 are allowed for the colour components.
302 \begin{verbatim}
303 3Dlights=<lighting scheme>
304 \end{verbatim}
305 Sets the default lighting scheme. The following values are honoured: `\verb+None+', `\verb+White+', `\verb+Day+', `\verb+Night+', `\verb+Hard+', `\verb+Primary+', `\verb+Blue+', `\verb+Red+', `\verb+Cube+', `\verb+CAD+', `\verb+HeadLamp+'. The default is to use the lighting scheme as specified within the 3D artwork.
306 \begin{verbatim}
307 3Drender=<render mode>
308 \end{verbatim}
309 \begin{flushleft}
310 Sets the default render mode. The following values are honoured: `\verb+Solid+', `\verb+SolidWireframe+', `\verb+Transparent+', `\verb+TransparentWireframe+', `\verb+BoundingBox+', `\verb+TransparentBoundingBox+', `\verb+TransparentBoundingBoxOutline+', `\verb+Wireframe+', `\verb+ShadedWireframe+', `\verb+HiddenWireframe+', `\verb+Vertices+', `\verb+ShadedVertices+', `\verb+SolidOutline+', `\verb+Illustration+', `\verb+ShadedIllustration+'.
311 \end{flushleft}
312
313 \begin{verbatim}
314 3Dviews=<views file>
315 \end{verbatim}
316 \emph{Deprecated}. Superseeded by the `\verb+3Dviews2+' option and a new, more flexible views file syntax (see below). File \verb+<views file>+ specifies predefined camera positions. It contains lines with the following syntax:
317 \begin{verbatim}
318 [<name>]{<coo_x> <coo_y> <coo_z>}{<c2c_x> <c2c_y> <c2c_z>}{<roo>}{<roll>}{<aac>}
319 \end{verbatim}
320 The \verb+<name>+ entry is optional. If \verb+<name>+ is not given, a default name consisting of `View' followed by the number of the current entry in the list is formed. For \verb+<coo_x>+, \verb+<coo_y>+, \verb+<coo_z>+, \verb+<c2c_x>+, \verb+<c2c_y>+, \verb+<c2c_z>+, \verb+<roo>+, \verb+<roll>+ and \verb+<aac>+ the same rules as for the corresponding options `\verb+3Dcoo+', `\verb+3Dc2c+', `\verb+3Droo+', `\verb+3Droll+' and `\verb+3Daac+' apply. Empty braces, \verb+{}+, are possible and cause default values to be used. Trailing spaces or comment signs (\%) are allowed. Reading of the file stops either at its end, at the first empty line encountered or at the first line containing nothing but spaces and/or a comment sign followed by arbitrary stuff.% See option `\verb+3Dgetview+' of \verb+\movieref+ on how to get the camera settings of the current view in the Reader, which can be used to populate a file of additional views.
321
322 \begin{verbatim}
323 3Dviews2=<views file>
324 \end{verbatim}
325 Instead of or in addition to the default view, further \emph{named views} can be set in an auxiliary file `\verb+<views file>+'. Besides the virtual camera position, it is possible to adjust the rendering attributes, such as visibility and transparency, of every single part in the scene. Moreover, background colour and scene lighting can be set individually for every view. The additional views can later be selected either from a drop down list in the tool bar that is associated with the activated 3D object in the Reader or from the context menu of the 3D object.
326
327 The file \verb+<views file>+ is structured into view sections, one for every view:
328 \begin{verbatim}
329 VIEW[=<optional name>]
330 COO=<coo_x> <coo_y> <coo_z>
331 C2C=<c2c_x> <c2c_y> <c2c_z>
332 ROO=<roo>
333 AAC=<aac>
334 ROLL=<roll>
335 BGCOLOR=<r> <g> <b>
336 RENDERMODE=<render mode>
337 LIGHTS=<lighting scheme>
338 PART=<part name (required) as in the Model Tree>
339 VISIBLE=true | false
340 OPACITY=<part opacity>
341 RENDERMODE=<see option `3Drender' for possible values>
342 END
343 PART=<...>
344 ...
345 END
346 etc.
347 END
348 VIEW
349 ...
350 END
351 etc.
352 \end{verbatim}
353 A view section starts with the keyword \verb+VIEW+, optionally followed by a name for the view, and ends with the keyword \verb+END+. If no name is given to the view, a default one is created, consisting of `View' followed by the number of the current \verb+VIEW+ section in the file. A \verb+VIEW+ section contains optional entries for setting the camera position and global rendering attributes of the scene as well as \verb+PART+ subsections for setting rendering attributes of parts individually. Table~\ref{tab:views} lists the entries in a \verb+VIEW+ section. Part sub-sections are opened by \verb+PART=<part name>+ and closed by \verb+END+. There may be as many part subsections as there are parts a 3D object is composed of. Table~\ref{tab:parts} lists the possible entries in a \verb+PART+ sub-section. All entries are optional. \verb+<part name>+ is required and must match the part name as indicated in the Model Tree of the 3D object (accessible via right-click onto the model in the Reader). In order to avoid trouble it is recommended that part names be exclusively composed of ASCII characters. You may need to load the U3D/PRC model into the authoring application and edit the part names accordingly.
354
355 The views file can be commented. As usual with \LaTeX, comments start with the percent sign.
356
357 To facilitate the creation of a views file, a \verb+\movieref+ link with option `\verb+3Dgetview+' can be temporarily inserted into the document. When clicked, it outputs a complete \verb+VIEW+ section corresponding to the current view of the 3D object in the Reader GUI, including camera position as well as all part and viewing options that may be set via the context (right-click) menu of the 3D object. See section \ref{hyperlinks} for details.
358
359 \begin{table}
360 \centering
361 \caption{Entries in a {\tt VIEW} section}\label{tab:views}
362 \begin{tabular}[t]{llp{0.3\linewidth}}\hline
363 key & type & value\\\hline\hline
364 COO & three numbers & centre of orbit, see option `{\tt 3Dcoo}'\\
365 C2C & three numbers & centre of orbit to camera vector, see option `{\tt 3Dc2c}'\\
366 ROO & number & radius of orbit, see option `{\tt 3Droo}'\\
367 AAC & number & camera aperture angle, see option `{\tt 3Daac}'\\
368 ROLL & number & camera roll, see option `{\tt 3Droll}'\\
369 BGCOLOR & three numbers & canvas background colour (RGB), see option `{\tt 3Dbg}'\\
370 RENDERMODE & string & render mode of the 3D object, see option `{\tt 3Drender}'\\
371 LIGHTS & string & lighting scheme, see option `{\tt 3Dlights}'\\
372 PART & sub-section & part name as in the model tree, see Table~\ref{tab:parts} for list of possible entries\\
373 \hline
374 \end{tabular}
375 \end{table}
376
377 \begin{table}
378 \centering
379 \caption{Entries in a {\tt PART} sub-section}\label{tab:parts}
380 \begin{tabular}[t]{llp{0.3\linewidth}}\hline
381 key & type & value\\\hline\hline
382 VISIBLE & boolean & a flag (`{\tt true}' or `{\tt false}') indicating the visibility of this part\\
383 OPACITY & number & a number between 0.0 and 1.0 specifying the opacity of this part\\
384 RENDERMODE & string & rendermode of this part, overrides global {\tt RENDERMODE} value in parent {\tt VIEW} section, see option `{\tt 3Drender}'\\
385 \hline
386 \end{tabular}
387 \end{table}
388
389 \begin{verbatim}
390 3Djscript=<JavaScript file>
391 \end{verbatim}
392 Things like animation, lighting, background etc. may also be script driven. Option `\verb+3Djscript+' associates \verb+<JavaScript file>+ with the 3D object. The script will be executed upon activation of the object. Refer to the Acrobat 3D JavaScript Reference~\cite{jscript3D} for details. Directory `\verb+doc/javascript+' contains JavaScript example files for animation and rotation control. The files work off-the-shelf with any 3D file and may be concatenated to combine their effects.
393 \begin{verbatim}
394 3Dresource=<resource file 1>[, 3Dresource=<resource file 2> [, ...]]
395 \end{verbatim}
396 Embeds additional 3D or \emph{rasterized} image files that can be used as resources while rendering the 3D artwork. Possible file types are U3D, Postscript (\LaTeX{} + \verb+dvips+) and PDF/JPEG/PNG (pdf\LaTeX). Embedded resources must be loaded by the JavaScript method
397 \begin{verbatim}
398 Resource('pdf://<resource path>')
399 \end{verbatim}
400 where {\tt<resource path>} stands for the path to the resource file as specified by the `\verb+3Dresource+' option. (This is just a naming convention; the files are physically embedded in the final PDF.) The following JavaScript loads an image file that was attached by `\verb+3Dresource=images/sunset.jpg+' as the background.
401 \begin{verbatim}
402 sunset = new Image(new Resource('pdf://images/sunset.jpg'));
403 reh = new RenderEventHandler();
404 reh.onEvent = function(event) {
405 runtime.removeEventHandler(this);
406 event.canvas.background.setImage(sunset);
407 }
408 runtime.addEventHandler(reh);
409 \end{verbatim}
410
411 \subsection{Media hyperlinks}\label{hyperlinks}
412 A movie, sound or 3D object may serve as the destination of hyperlinks, which are inserted into the document using the command
413 \begin{verbatim}
414 \movieref[<options>]{<label spec>}{<text>}
415 \end{verbatim}
416 It makes \verb+<text>+ a hyperlink to the media that has been labelled with \verb+<label+ \verb+spec>+ using the `\verb+label+' option of the \verb+\includemovie+ command. Media hyperlinks can be inserted at any location within the document. Clicking onto the hyperlink causes the Reader to open the page containing the media it is pointing to. The primary purpose of media hyperlinks, however, is to provide a means to control the playback.
417
418 \emph{In 2D context}, clicking onto the hyperlink causes the media to stop, pause or resume, or to restart at different settings, such as frame rate, volume, starting and ending positions, depending on the \verb+<options>+ being in effect.
419
420 Options that control the playback \emph{characteristics} are: `\verb+controls+', `\verb+endat+', `\verb+mouse+', `\verb+palindrome+', `\verb+rate+', `\verb+repeat+', `\verb+startat+' and `\verb+volume+'. Their meaning is the same as for the \verb+\includemovie+ command and can be looked up in section~\ref{usrif}. Another option, `\verb+default+' causes the media to play at the original settings which were in effect during media inclusion. These options can be used in combination with the `\verb+play+' option only.
421
422 The options which follow let the hyperlink change the playback \emph{state} of media. If none of them is specified, `\verb+play+' is assumed.
423 \begin{verbatim}
424 play
425 \end{verbatim}
426 Immediately restarts playback. If new playback settings have been specified through the options given above, they override the original settings being in effect during media inclusion.
427 \begin{verbatim}
428 stop
429 \end{verbatim}
430 Stops and rewinds the media to its beginning or to the `\verb+startat+' position.
431 \begin{verbatim}
432 resume
433 \end{verbatim}
434 Resumes paused media. In fact, this option makes the hyperlink a toggle switch: repeated clicking switches between paused and resumed state.
435 \begin{verbatim}
436 pause
437 \end{verbatim}
438 Has the same effect as option `\verb+resume+'. Added for completeness only.
439 \begin{verbatim}
440 close
441 \end{verbatim}
442 Immediately closes the media player.
443
444 \emph{In 3D context}, \verb+\movieref+ can be used to define an additional view of the object, to access a particular view from the list of predefined views or to run a JavaScript. Moreover, a link can be created for calculating optimal camera settings `\verb+3Droo+' and `\verb+3Dcoo+', instead of finding them manually. The following options are recognized:
445 \begin{verbatim}
446 3Dviewindex=<index>
447 \end{verbatim}
448 Go to a predefined view of the 3D object. \verb+<index>+ can take `\verb+F+', `\verb+L+', `\verb+N+' or `\verb+P+' to access the first, last, next or previous element of the list of additional views, see option `\verb+3Dviews+' of {\tt \string\include\-movie}, or an integer specifying an index into the list. In the case of `\verb+N+' and `\verb+P+', repeated clicking onto the hyperlink allows to cycle through the list in forward or backward direction. `\verb+D+' gives access to the default view.
449 \begin{verbatim}
450 3Daac=<angle>
451 3Dc2c=<x> <y> <z>
452 3Dcoo=<x> <y> <z>
453 3Droll=<roll>
454 3Droo=<r>
455 \end{verbatim}
456 Instead of referencing an existing view of the 3D object, a new one can be defined using any of these options. See section~\ref{sec:3D}.
457 \begin{verbatim}
458 3Dcalculate[=<aac angle>]
459 \end{verbatim}
460 Mainly used during document authoring. Creates a link for calculating optimal `\verb+3Droo+' and `\verb+3Dcoo+' settings of the virtual camera, which may be used to define a default view. Clicking the link opens a dialogue box from which the settings can be copied to the clipboard for later insertion into the option list of \verb+\includemovie+. The parameter \verb+<aac angle>+ which is the camera aperture angle $\sphericalangle AAC$ used for calculation is optional. If omitted, the one set by \verb+\includemovie+ option `\verb+3Daac+' is taken.
461 \begin{verbatim}
462 3Dgetview
463 \end{verbatim}
464 Mainly used during document authoring. Camera settings as well as part and scene rendering attributes that correspond to the current view are printed to a dialogue box. The output is a readily formatted \verb+VIEWS+ section to be inserted into or appended to a file of predefined views. See option `\verb+3Dviews2+'.
465 \begin{verbatim}
466 3Djscript=<JavaScript file>
467 \end{verbatim}
468 Runs the script \verb+<JavaScript file>+ after clicking the link. Unlike the script that has been associated with the 3D annotation during object embedding, this JavaScript is not directly run by the JavaScript engine of the 3D plug-in, but is run by the Reader's own scripting engine. However, full access to the API of the 3D script engine is provided through the `\verb+context3D+' property of the `\verb+Annot3D+' object. For convenience, an associative array `\verb+annot3D+' has been provided for use within \verb+<JavaScript file>+, in order to easily access the `\verb+Annot3D+' object of the annotation the enclosing link is pointing to. The particular element of the array is referenced by the annotation's label \verb+<label spec>+, enclosed in quotation marks. As an example, the `\verb+scene+' object can be referenced within \verb+<JavaScript file>+ by
469 \begin{verbatim}
470 annot3D['<label spec>'].context3D.scene
471 \end{verbatim}
472 For details about Acrobat JavaScript and its Annot3D object, see \cite{jscript}.
473
474 %\newpage
475 \subsection{Compatibility commands}
476 Two user commands have been provided that make `movie15' a replacement for the `multimedia' package which is part of Till Tantau's `Beamer' Class:
477 \begin{verbatim}
478 \movie[<options>]{<poster text>}{<media file>}
479 \end{verbatim}
480 \begin{verbatim}
481 \hyperlinkmovie[<options>]{<label spec>}{<text>}
482 \end{verbatim}
483 All of the optional arguments to \verb+\includemovie+ and \verb+\movieref+ can be used with the compatibility macros as well. In addition, they honour the following options:
484 \begin{verbatim}
485 height=<height of display>
486 width=<width of display>
487 \end{verbatim}
488 Set the horizontal and vertical dimensions of the media display area (\verb+\movie+ only).
489 \begin{verbatim}
490 autostart
491 \end{verbatim}
492 The same as `\verb+autoplay+'.
493 \begin{verbatim}
494 loop[=<repeats>]
495 \end{verbatim}
496 The same as `\verb+repeat+'.
497 \begin{verbatim}
498 once
499 \end{verbatim}
500 The same as `\verb+repeat=1+'.
501 \begin{verbatim}
502 showcontrols
503 \end{verbatim}
504 The same as `\verb+controls+'.
505 \begin{verbatim}
506 start=<offset in seconds>s
507 \end{verbatim}
508 Start playback at the specified temporal offset. The trailing `\verb+s+' is mandatory.
509 \begin{verbatim}
510 duration=<duration in seconds>s
511 \end{verbatim}
512 The duration of the media segment to be played. The trailing `\verb+s+' is mandatory. Note that `\verb+duration+' cannot be used together with option `\verb+startat+' from \verb+\includemovie+. In order to define a media segment options can be combined as follows: `\verb+startat+'/`\verb+endat+', `\verb+start+'/`\verb+endat+', `\verb+start+'/`\verb+duration+'.
513
514 %\newpage
515 \section{Examples}\label{examples}
516 \begin{enumerate}
517 \item A short circular MPEG movie, taken from \href{http://www.linux-video.net/Samples/}{\tt http://www.linux-video.net/} \href{http://www.linux-video.net/Samples/}{\tt Samples/}
518
519 \begin{minipage}{0.5\linewidth}
520 {\tt%
521 \string\includemovie[\\
522 \phantom{xx}poster,\\
523 \phantom{xx}text=(random.mpg),\\
524 \phantom{xx}mouse,\\
525 \phantom{xx}repeat\\
526 ]\string{\\
527 \phantom{xx}.5\string\linewidth\\
528 \string}\string{\\
529 \phantom{xx}.375\string\linewidth\\
530 \string}\string{random.mpg\string}
531 }
532 \end{minipage}%
533 \begin{minipage}{0.5\linewidth}
534 \begin{center}
535 \includemovie[poster, text=(random.mpg), mouse, repeat]{\linewidth}{.75\linewidth}{random.mpg}
536 \end{center}
537 \end{minipage}
538
539 %\newpage
540 \item Another MPEG movie, loaded on the fly from \href{http://www.linux-video.net/Samples/}{\tt http://www.linux-video} \href{http://www.linux-video.net/Samples/}{\tt .net/Samples/}. Hence, a working Internet connection is required. This time, we force the QuickTime plug-in to be used instead of MediaPlayer (Windows boxes only). Well, the latter seems to be bugged. Quod erat expectandum.
541
542 \begin{minipage}{0.5\linewidth}
543 {\tt%
544 \string\includemovie[\\
545 \phantom{xx}poster,\\
546 \phantom{xx}label=alien,\\
547 \phantom{xx}text=(AlienSong.mpg),\\
548 \phantom{xx}url,\\
549 \phantom{xx}playerid=AAPL\_QuickTime,\\
550 \phantom{xx}repeat\\
551 ]\string{\\
552 \phantom{xx}.5\string\linewidth\\
553 \string}\string{\\
554 \phantom{xx}.375\string\linewidth\\
555 \string}\string{http://www.linux-video.net/Samples/Mpeg1/AlienSong.mpg\string}\\
556 \string\movieref[rate=0.5]\string{alien\string}\string{Slow\string}\\
557 \string\movieref[default]\string{alien\string}\string{Normal\string}\\
558 \string\movieref[rate=2]\string{alien\string}\string{Fast\string}\\
559 \string\movieref[pause]\string{alien\string}\string{Play/Pause\string}\\
560 \string\movieref[stop]\string{alien\string}\string{Stop\string}
561 }
562 \end{minipage}%
563 \begin{minipage}{0.5\linewidth}
564 \begin{center}
565 \includemovie[
566 poster,
567 label=alien,
568 text=(AlienSong.mpg),
569 repeat,
570 playerid=AAPL_QuickTime,
571 url
572 ]{\linewidth}{.75\linewidth}{http://www.linux-video.net/Samples/Mpeg1/AlienSong.mpg}\\
573 % ]{\linewidth}{.75\linewidth}{AlienSong.mpg}\\
574 \movieref[rate=0.5]{alien}{Slow}\hfill
575 \movieref[default]{alien}{Normal}\hfill
576 \movieref[rate=2]{alien}{Fast}\hfill
577 \movieref[pause]{alien}{Play/Pause}\hfill
578 \movieref[stop]{alien}{Stop}\vspace{19 ex}
579 \end{center}
580 \end{minipage}
581
582 %\newpage
583 \item\label{ex3d} Embedded U3D file. It is based on a VRML model by Peter Whitehouse, \href{http://www.wonko.info/vrml/index.htm}{\tt http://www.wonko.info/vrml/index.htm}. Conversion to U3D has been made with DeepExploration\textsuperscript{\scriptsize\textregistered}\cite{dexp}. The file `{\tt dice.vws}' provides predefined views to be selected from the 3D toolbar or by right click.% The JavaScript `{\tt turntable.js}' disables the annoying Gimbal rotation mode.
584
585 \begin{minipage}[b]{0.5\linewidth}
586 {\tt%
587 \string\includemovie[\\
588 \phantom{xx}poster,\\
589 \phantom{xx}toolbar,\\
590 \phantom{xx}label=dice,\\
591 \phantom{xx}text=(dice.u3d),\\
592 \phantom{xx}3Droo=27,\\
593 \phantom{xx}3Dlights=Cube,\\
594 \phantom{xx}3Djscript=turntable.js,\\
595 \phantom{xx}3Dviews2=dice.vws\\
596 ]\string{\\
597 \phantom{xx}.5\string\linewidth\\
598 \string}\string{\\
599 \phantom{xx}.5\string\linewidth\\
600 \string}\string{dice.u3d\string}\\
601 \string\movieref[\\
602 \phantom{xx}3Dviewindex=N\\
603 ]\string{dice\string}\string{Click here\string} \dots\\
604 \string\movieref[\\
605 \phantom{xx}3Dcalculate=60\\
606 ]\string{dice\string}\string{This link\string} \dots
607 }
608 \end{minipage}%
609 \begin{minipage}[b]{0.5\linewidth}
610 \begin{center}
611 \includemovie[
612 poster,
613 toolbar, %same as `controls'
614 label=dice,
615 text=(dice.u3d),
616 3Droo=27,
617 3Dlights=Cube,
618 3Dviews2=dice.vws,
619 3Djscript=turntable.js
620 ]{\linewidth}{\linewidth}{dice.u3d}
621 \end{center}
622 \movieref[3Dviewindex=N]{dice}{Click here} to cycle through the list of predefined views. \movieref[3Dcalculate=60]{dice}{This link} calculates 3D option settings for a 60\textdegree{} aperture angle of the virtual camera.
623 \end{minipage}
624
625 \end{enumerate}
626
627 %\newpage
628 \appendix
629 \section{3D quick-start guide}\hypertarget{sec:3Dtut}{}
630 \begin{enumerate}
631 \item Insert the 3D object with default camera settings and a {\tt \string\movieref} referencing it:
632
633 {\tt%
634 \string\includemovie[poster, label=my\_label]\string{\\
635 \phantom{xx}.5\string\linewidth\\
636 \string}\string{\\
637 \phantom{xx}.5\string\linewidth\\
638 \string}\string{\\
639 \phantom{xx}my\_file.u3d\\
640 \string}\string\\\\
641 \string\movieref[3Dcalculate]\string{my\_label\string}\string{Click here!\string}
642 }
643
644 \item Compile and recompile the document until no more `movie15' related warnings appear.
645 \item Open the PDF document in Adobe Reader and go to the page containing the 3D object. Click the link and wait for a dialogue box to pop up. Optionally, drag the object with the mouse to change the viewpoint of the camera (the dialogue must be closed beforehand) and click the link again.
646 \item Copy the settings ({\tt 3Droo=...}, {\tt 3Dcoo=...}, etc.) from the dialogue box into the option list of {\tt \string\include\-movie}. Remove the link from the document source:
647
648 {\tt%
649 \string\includemovie[\\
650 \phantom{xx}poster, 3Droo=33.3333, 3Dcoo=1.2345 9.8765 0\\
651 ]\string{\\
652 \phantom{xx}.5\string\linewidth\\
653 \string}\string{\\
654 \phantom{xx}.5\string\linewidth\\
655 \string}\string{\\
656 \phantom{xx}my\_file.u3d\\
657 \string}
658 }
659
660 \item Again, compile and recompile the document until no more `movie15' related warnings appear.
661 \xdef\lastcount{\theenumi}
662 \end{enumerate}
663
664 \emph{Optional steps:}
665
666 \begin{enumerate}
667 \setcounter{enumi}{\lastcount}
668 \item Create a file with predefined views of the 3D object and attach it to the latter using the `{\tt{}3Dviews2}' option:
669
670 {\tt%
671 \string\includemovie[\\
672 \phantom{xx}..., label=my\_label, 3Dviews2=my\_views.vws\\
673 ]\string{\\
674 \phantom{xx}.5\string\linewidth\\
675 \string}\string{\\
676 \phantom{xx}.5\string\linewidth\\
677 \string}\string{\\
678 \phantom{xx}my\_file.u3d\\
679 \string}
680 }
681
682 The views file can easily be populated using a temporarily inserted {\tt \string\movie\-ref} link:
683
684 {\tt%
685 \string\movieref[3Dgetview]\string{my\_label\string}\string{Click here!\string}
686 }
687
688 Manipulate the 3D object using the mouse and any of the `Part' and `Viewing' options from the 3D context menu in the Reader. Visibility, lighting, transparency, render mode etc. of individual parts or of the object as a whole can be changed this way. Sometimes you may wish to move the camera target into the centre of a single part or of a group of visible parts. The context menu items `Part Options$\rightarrow$Zoom to Part' and `Part Options$\rightarrow$Fit Visible' can be used for this purpose.
689
690 When you are done, click the link to get the {\tt VIEW} section, readily formatted for insertion into the views file. Repeat this procedure to get any number of views you want to predefine. The views file can be edited manually to give meaningful names to the views (change the value of the {\tt VIEW} entry) or to further tweak camera settings, opacity etc.
691
692 If you are satisfied with the predefined views in the views file, the default view first specified through the options of {\tt\string\includemovie} can be deleted. The first view in the views file becomes the default view then.
693
694 \item Associate a JavaScript with the 3D object:
695
696 {\tt%
697 \string\includemovie[\\
698 \phantom{xx}..., 3Djscript=my\_script.js\\
699 ]\string{\\
700 \phantom{xx}.5\string\linewidth\\
701 \string}\string{\\
702 \phantom{xx}.5\string\linewidth\\
703 \string}\string{\\
704 \phantom{xx}my\_file.u3d\\
705 \string}
706 }
707
708 JavaScript is \emph{not} required to make use of \emph{embedded} keyframe animation. Just click the `Play' button in the 3D toolbar of the 3D annotation. However, the example file `{\tt{}animation.js}' in the `{\tt{}doc/javascript}' directory provides additional controls (accessible via the context menu of the 3D annotation) that can be used to change the speed of a running animation. The `Up', `Down' and `Home' keys of the keyboard can also be used.
709
710 Another useful example file you may want to experiment with is `{\tt{}turn\-table.js}'. It improves the rotational behaviour of the 3D object, because it prevents the object from tilting to the side while dragging the mouse.
711
712 All files in `{\tt{}doc/javascript}' work off-the-shelf and can be copied into a single file in order to combine their effects.
713
714 \end{enumerate}
715
716 \section{Media formats}
717 \begin{table}[H]
718 \caption{Media formats for use with Adobe Reader (partially from \cite{pdfspec})}\label{table:mime}
719 \RaggedRight
720 \begin{tabular}[t]{llp{0.36\linewidth}}\hline
721 Extension & MIME type & Description\\\hline\hline\\[-2.5ex]
722 aif, aifc, aiff & audio/aiff & Audio Interchange File Format\\
723 au, snd & audio/basic & NeXT/Sun Audio Format\\
724 avi & video/avi & Audio/Video Interleaved\\
725 gif & image/gif & (animated) GIF\\
726 mid, rmi & audio/midi & Musical Instrument Digital Interface\\
727 mov, qt & video/quicktime & Apple QuickTime\\
728 mp3, m3u & audio/x-mp3 & MPEG Audio Layer-3\\
729 mp4 & video/mp4 & MPEG-4 Video\\
730 mpeg, mpg & video/mpeg & MPEG-1 \& 2 Video\\
731 prc & model/prc & Adobe PRC Format (3D), requires Reader-8.1 or higher\\
732 ra & audio/vnd.rn-realaudio & Real Audio\\
733 rm, rv & application/vnd.rn-realmedia & Real Media (video \& sound)\\
734 smil & application/smil & Synchronized Multimedia Integration Language\\
735 swf & application/x-shockwave-flash & (Adobe?) Macromedia Flash\\
736 u3d & model/u3d & Universal 3D File Format\\
737 wav & audio/wav & MS Audio Format\\
738 wma & audio/x-ms-wma & Windows Media Audio\\
739 wmv & video/x-ms-wmv & Windows Media Video\\\hline
740 \end{tabular}
741 \end{table}
742
743 \begin{thebibliography}{9}
744 \bibitem{pdfspec} Adobe Systems Inc.: \emph{PDF Reference, fifth edition: Adobe Portable Document Format version 1.6}, 2004, Implementation note 144, Appendix H.3, available at \href{http://www.adobe.com/devnet/pdf/pdf_reference.html}{\tt http://www.adobe.com/devnet/pdf/pdf\_reference.html}
745 \bibitem{3diforg} \href{http://www.3dif.org/}{\tt http://www.3dif.org/}
746 \bibitem{dexp} \href{http://www.righthemisphere.com/products/dexp/}{\tt http://www.righthemisphere.com/products/dexp/}
747 \bibitem{jscript3D} Adobe Systems Inc.: \emph{JavaScript for Acrobat\textsuperscript{\scriptsize\textregistered} 3D Annotations API Ref\-er\-ence}, 2006, available at \href{http://www.adobe.com/devnet/acrobat/javascript3d.html}{\tt http://www.adobe.com/devnet/acrobat/} \href{http://www.adobe.com/devnet/acrobat/javascript3d.html}{\tt javascript3d.html}
748 \bibitem{jscript} Adobe Systems Inc.: \emph{JavaScript for Acrobat\textsuperscript{\scriptsize\textregistered} API Reference}, 2006, available at \href{http://www.adobe.com/devnet/acrobat/javascript.html}{\tt http://www.adobe.com/devnet/acrobat/javascript.html}
749 \end{thebibliography}
750
751 \end{document}