Debian Codegraph @

doc/geomview.html/Package-Details.html

raw
1 <html lang="en">
2 <head>
3 <title>Package Details - Geomview Manual</title>
4 <meta http-equiv="Content-Type" content="text/html">
5 <meta name="description" content="Geomview Manual">
6 <meta name="generator" content="makeinfo 4.13">
7 <link title="Top" rel="start" href="index.html#Top">
8 <link rel="up" href="Mathematica.html#Mathematica" title="Mathematica">
9 <link rel="prev" href="Remote-Display.html#Remote-Display" title="Remote Display">
10 <link rel="next" href="Package-Installation.html#Package-Installation" title="Package Installation">
11 <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
12 <meta http-equiv="Content-Style-Type" content="text/css">
13 <style type="text/css"><!--
14 pre.display { font-family:inherit }
15 pre.format { font-family:inherit }
16 pre.smalldisplay { font-family:inherit; font-size:smaller }
17 pre.smallformat { font-family:inherit; font-size:smaller }
18 pre.smallexample { font-size:smaller }
19 pre.smalllisp { font-size:smaller }
20 span.sc { font-variant:small-caps }
21 span.roman { font-family:serif; font-weight:normal; }
22 span.sansserif { font-family:sans-serif; font-weight:normal; }
23 --></style>
24 </head>
25 <body>
26 <div class="node">
27 <a name="Package-Details"></a>
28 <p>
29 Next:&nbsp;<a rel="next" accesskey="n" href="Package-Installation.html#Package-Installation">Package Installation</a>,
30 Previous:&nbsp;<a rel="previous" accesskey="p" href="Remote-Display.html#Remote-Display">Remote Display</a>,
31 Up:&nbsp;<a rel="up" accesskey="u" href="Mathematica.html#Mathematica">Mathematica</a>
32 <hr>
33 </div>
34
35 <h3 class="section">9.5 Details of the Mathematica-&gt;Geomview Package</h3>
36
37 <p>The <samp><span class="file">OOGL.m</span></samp> package uses the external program <samp><span class="file">math2oogl</span></samp> to
38 convert <code>Graphics3D</code> objects to OOGL format, because a compiled
39 external program is able to do this conversion many times faster than
40 Mathematica.
41
42 <p>The converter will sometimes handle colored SurfaceGraphics objects
43 correctly that Mathematica does not handle correctly, which means that
44 Geomview[object] sometimes works where Show[object] will give errors.
45
46 <p>The converter supports the <code>Polygon</code>, <code>Line</code>, and <code>Point</code>
47 graphics primitives, <code>RGBColor Graphics3D</code> directives, and
48 <code>SurfaceGraphics</code> objects with or without <code>RGBColor</code>
49 directives, and lists of any combination of these. It silently ignores
50 all other directives.
51
52 <p>The Mathematica to RenderMan conversion is actually a two-step process:
53 Mathematica-&gt;OOGL (math2oogl), and OOGL-&gt;RenderMan (oogl2rib).
54
55 <p>In the <code>WriteOOGL</code> and <code>WriteRIB</code> commands, filename can
56 either be a string containing a filename, an <code>OutputStream</code> object,
57 or a string starting with a <code>!</code> to send the output to a command.
58 Object can be a <code>Graphics3D</code> object, a <code>SurfaceGraphics</code>
59 object, or a list of these.
60
61 <p>The packages work best with Mathematica 2.0 or better. With version 1.2,
62 the Geomview display is always on the local host.
63
64 <!-- ================================================================ -->
65 </body></html>
66