| 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" |
| 2 |
"http://www.w3.org/TR/REC-html40/loose.dtd"> |
| 3 |
<html> |
| 4 |
<meta name="GENERATOR" content="TtH 4.03"> |
| 5 |
<style type="text/css"> div.p { margin-top: 7pt;}</style> |
| 6 |
<style type="text/css"><!-- |
| 7 |
td div.comp { margin-top: -0.6ex; margin-bottom: -1ex;} |
| 8 |
td div.comb { margin-top: -0.6ex; margin-bottom: -.6ex;} |
| 9 |
td div.hrcomp { line-height: 0.9; margin-top: -0.8ex; margin-bottom: -1ex;} |
| 10 |
td div.norm {line-height:normal;} |
| 11 |
span.roman {font-family: serif; font-style: normal; font-weight: normal;} |
| 12 |
span.overacc2 {position: relative; left: .8em; top: -1.2ex;} |
| 13 |
span.overacc1 {position: relative; left: .6em; top: -1.2ex;} --></style> |
| 14 |
<style type="text/css"><!-- |
| 15 |
.tiny {font-size:30%;} |
| 16 |
.scriptsize {font-size:xx-small;} |
| 17 |
.footnotesize {font-size:x-small;} |
| 18 |
.smaller {font-size:smaller;} |
| 19 |
.small {font-size:small;} |
| 20 |
.normalsize {font-size:medium;} |
| 21 |
.large {font-size:large;} |
| 22 |
.larger {font-size:x-large;} |
| 23 |
.largerstill {font-size:xx-large;} |
| 24 |
.huge {font-size:300%;} |
| 25 |
--></style> |
| 26 |
|
| 27 |
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><div class="huge"> |
| 28 |
<title>No Title</title> |
| 29 |
|
| 30 |
|
| 31 |
<div style="text-align:center">FAQ |
| 32 |
Geomview |
| 33 |
</div> |
| 34 |
<span class="normalsize"> |
| 35 |
|
| 36 |
|
| 37 |
<h1>Contents </h1><a href="#tth_sEc1" |
| 38 |
>1 General Questions</a><br /> |
| 39 |
<a href="#tth_sEc1.1" |
| 40 |
>1.1 What is Geomview?</a><br /> |
| 41 |
<a href="#tth_sEc1.2" |
| 42 |
>1.2 How do I download Geomview?</a><br /> |
| 43 |
<a href="#tth_sEc1.3" |
| 44 |
>1.3 What Geomview documentation is available?</a><br /> |
| 45 |
<a href="#tth_sEc1.4" |
| 46 |
>1.4 How can I get in touch with other Geomview users?</a><br /> |
| 47 |
<a href="#tth_sEc2" |
| 48 |
>2 Configuration/Installation/ Execution Problems</a><br /> |
| 49 |
<a href="#tth_sEc2.1" |
| 50 |
>2.1 The checkboxes and certain other GUI widgets are either absent from Geomview's panels, or don't work when I compile the latest version. What's up?</a><br /> |
| 51 |
<a href="#tth_sEc2.2" |
| 52 |
>2.2 configure claims it can't find OpenGl on my system, but I'm sure that it is installed</a><br /> |
| 53 |
<a href="#tth_sEc2.3" |
| 54 |
>2.3 configure claims it can't find Motif (or Lesstif or OpenMotif) on my system, but I'm sure that it is installed </a><br /> |
| 55 |
<a href="#tth_sEc3" |
| 56 |
>3 Platforms</a><br /> |
| 57 |
<a href="#tth_sEc3.1" |
| 58 |
>3.1 What platforms have binary downloads available?</a><br /> |
| 59 |
<a href="#tth_sEc3.2" |
| 60 |
>3.2 There isn't a binary for my workstation. Is there hope?</a><br /> |
| 61 |
<a href="#tth_sEc3.3" |
| 62 |
>3.3 Why isn't there a Windows version?</a><br /> |
| 63 |
<a href="#tth_sEc3.4" |
| 64 |
>3.4 How fast does Geomview run on various platforms?</a><br /> |
| 65 |
<a href="#tth_sEc3.5" |
| 66 |
>3.5 I have access to an X11 and SGI workstation. Which version should I use?</a><br /> |
| 67 |
<a href="#tth_sEc3.6" |
| 68 |
>3.6 What happened to the NeXT Quick Renderman version?</a><br /> |
| 69 |
<a href="#tth_sEc3.7" |
| 70 |
>3.7 What modules are shipped for which platforms with the current release?</a><br /> |
| 71 |
<a href="#tth_sEc4" |
| 72 |
>4 Using Geomview</a><br /> |
| 73 |
<a href="#tth_sEc4.1" |
| 74 |
>4.1 Why don't objects appear in the right places?</a><br /> |
| 75 |
<a href="#tth_sEc4.2" |
| 76 |
>4.2 Why is everything centered and/or on top of each other?</a><br /> |
| 77 |
<a href="#tth_sEc4.3" |
| 78 |
>4.3 How can I display a collection of points?</a><br /> |
| 79 |
<a href="#tth_sEc4.4" |
| 80 |
>4.4 How do I make the points larger?</a><br /> |
| 81 |
<a href="#tth_sEc4.5" |
| 82 |
>4.5 How do I put text into a scene?</a><br /> |
| 83 |
<a href="#tth_sEc4.6" |
| 84 |
>4.6 Can Geomview do volume visualization?</a><br /> |
| 85 |
<a href="#tth_sEc4.7" |
| 86 |
>4.7 Can Geomview do texture maps?</a><br /> |
| 87 |
<a href="#tth_sEc4.8" |
| 88 |
>4.8 Why can't Geomview read my OFF file?</a><br /> |
| 89 |
<a href="#tth_sEc4.9" |
| 90 |
>4.9 How can I animate a sequence of Geomview/OOGL files?</a><br /> |
| 91 |
<a href="#tth_sEc5" |
| 92 |
>5 Output</a><br /> |
| 93 |
<a href="#tth_sEc5.1" |
| 94 |
>5.1 How can I create a video animation (MPEG/ QuickTime/animated GIF)?</a><br /> |
| 95 |
<a href="#tth_sEc5.2" |
| 96 |
>5.2 How can I save a picture of exactly what I see in a camera window?</a><br /> |
| 97 |
<a href="#tth_sEc5.3" |
| 98 |
>5.3 How can I make a true PostScript file that looks good at multiple resolutions instead of just converting a bitmap into PostScript?</a><br /> |
| 99 |
<a href="#tth_sEc5.4" |
| 100 |
>5.4 Why does my PostScript snapshot look wrong?</a><br /> |
| 101 |
<a href="#tth_sEc5.5" |
| 102 |
>5.5 How can I make a high quality image with RenderMan?</a><br /> |
| 103 |
<a href="#tth_sEc6" |
| 104 |
>6 X Specific Questions</a><br /> |
| 105 |
<a href="#tth_sEc6.1" |
| 106 |
>6.1 How do I speed up the X11 version?</a><br /> |
| 107 |
<a href="#tth_sEc6.2" |
| 108 |
>6.2 What do the Z-Buffer and Dithering controls in the Cameras panel do?</a><br /> |
| 109 |
<a href="#tth_sEc6.3" |
| 110 |
>6.3 What does "Not enough colors available. Using private colormap" mean?</a><br /> |
| 111 |
<a href="#tth_sEc6.4" |
| 112 |
>6.4 What does "Shared memory unavailable, using fallback display method" mean?</a><br /> |
| 113 |
<a href="#tth_sEc6.5" |
| 114 |
>6.5 Why do I get compiler errors about including files Xm/*.h?</a><br /> |
| 115 |
|
| 116 |
|
| 117 |
|
| 118 |
<div class="p"><!----></div> |
| 119 |
<a id="tth_sEc1"></a><h2> |
| 120 |
1 General Questions</h2> |
| 121 |
|
| 122 |
<div class="p"><!----></div> |
| 123 |
<a id="tth_sEc1.1"></a><h3> |
| 124 |
1.1 What is Geomview?</h3> |
| 125 |
|
| 126 |
<div class="p"><!----></div> |
| 127 |
A general purpose interactive viewing program for Unix. It is used |
| 128 |
mostly for 3D graphics but can display data in 2D and 4D as well. See |
| 129 |
the overview <a href="http://www.geomview.org/overview"><tt>http://www.geomview.org/overview</tt></a> for more general |
| 130 |
comments about Geomview. |
| 131 |
|
| 132 |
<div class="p"><!----></div> |
| 133 |
<a id="tth_sEc1.2"></a><h3> |
| 134 |
1.2 How do I download Geomview?</h3> |
| 135 |
|
| 136 |
<div class="p"><!----></div> |
| 137 |
Geomview is available for free from <a href="http://www.geomview.org/download"><tt>http://www.geomview.org/download</tt></a>. |
| 138 |
There are binary distributions for Linux, FreeBSD, SGI, Sun SPARC, |
| 139 |
HP-UX, IBM RS/6000, DEC Alpha, and NeXT machines, as well as a source |
| 140 |
code distribution. |
| 141 |
|
| 142 |
<div class="p"><!----></div> |
| 143 |
You can also download it via anonymous ftp from |
| 144 |
|
| 145 |
<div class="p"><!----></div> |
| 146 |
<a href="ftp://ftp.geomview.org/pub"><tt>ftp://ftp.geomview.org/pub</tt></a> |
| 147 |
|
| 148 |
<div class="p"><!----></div> |
| 149 |
Geomview is free software, but we like to hear from people using it. |
| 150 |
Please send us mail using [email protected] telling us what |
| 151 |
you're doing with it. |
| 152 |
|
| 153 |
<div class="p"><!----></div> |
| 154 |
<a id="tth_sEc1.3"></a><h3> |
| 155 |
1.3 What Geomview documentation is available?</h3> |
| 156 |
|
| 157 |
<div class="p"><!----></div> |
| 158 |
See the Documentation <a href="http://www.geomview.org/docs"><tt>http://www.geomview.org/docs</tt></a> part of this web site. |
| 159 |
|
| 160 |
<div class="p"><!----></div> |
| 161 |
<a id="tth_sEc1.4"></a><h3> |
| 162 |
1.4 How can I get in touch with other Geomview users?</h3> |
| 163 |
|
| 164 |
<div class="p"><!----></div> |
| 165 |
There is a "geomview-users" mailing list for people using geomview that |
| 166 |
can be used for communication between users regarding geomview problems, |
| 167 |
questions, experiences, etc. The geomview authors are also a part of |
| 168 |
this list and will respond to questions posted to it. We also use this |
| 169 |
list to make announcements about new releases and other things of |
| 170 |
interest to users. To join the list, send an empty note with 'subscribe' |
| 171 |
in the subject line to [email protected] |
| 172 |
, or visit the list web page at: |
| 173 |
<a href="http://lists.sourceforge.net/mailman/listinfo/geomview-users"><tt>http://lists.sourceforge.net/mailman/listinfo/geomview-users</tt></a> |
| 174 |
|
| 175 |
<div class="p"><!----></div> |
| 176 |
See also the list of third party software and projects: |
| 177 |
<a href="http://www.geomview.org/thirdparty"><tt>http://www.geomview.org/thirdparty</tt></a>. |
| 178 |
|
| 179 |
<div class="p"><!----></div> |
| 180 |
<a id="tth_sEc2"></a><h2> |
| 181 |
2 Configuration/Installation/ Execution Problems</h2> |
| 182 |
|
| 183 |
<div class="p"><!----></div> |
| 184 |
<a id="tth_sEc2.1"></a><h3> |
| 185 |
2.1 The checkboxes and certain other GUI widgets are either |
| 186 |
absent from Geomview's panels, or don't work when I compile |
| 187 |
the latest version. What's up?</h3> |
| 188 |
|
| 189 |
<div class="p"><!----></div> |
| 190 |
This problems seems to be associated with recent versions of Lesstif |
| 191 |
(e.g. 0.91.x), at least on GNU/Linux. I don't know if it's a problem |
| 192 |
with Lesstif itself, or if something is wrong with the way Geomview uses |
| 193 |
Lesstif. In the meantime, if you experience this problem, I suggest |
| 194 |
compiling Geomview with Open Motif instead of Lesstif. There's a |
| 195 |
lightweight binary distribution of Open Motif 2.1.30 available from the |
| 196 |
Geomview download page <a href="http://www.geomview.org/download"><tt>http://www.geomview.org/download</tt></a>, with |
| 197 |
instructions for using it with Geomview. Or, you can get the full Open |
| 198 |
Motif distribution (source or binary) from either <a href="http://www.opengroup.org/motif"><tt>http://www.opengroup.org/motif</tt></a> |
| 199 |
or <a href="http://www.openmotif.com"><tt>http://www.openmotif.com</tt></a>. |
| 200 |
|
| 201 |
<div class="p"><!----></div> |
| 202 |
If you're familiar with Lesstif and know what might cause this problem |
| 203 |
(and especially if you know how to fix it!), please email me |
| 204 |
(mbp at geomtech.com). |
| 205 |
|
| 206 |
<div class="p"><!----></div> |
| 207 |
<a id="tth_sEc2.2"></a><h3> |
| 208 |
2.2 configure claims it can't find OpenGl on my system, but I'm sure that it is installed</h3> |
| 209 |
<a id="aswer:OpenGl"> |
| 210 |
</a> |
| 211 |
|
| 212 |
<ul> |
| 213 |
<li> Make sure you passed the argument "-with-opengl=DIR" to configure, |
| 214 |
where DIR is the directory containing your OpenGL installation. DIR |
| 215 |
should be the absolute path to a directory containing subdirectories |
| 216 |
named "include" and "lib". The "include" subdir should in turn |
| 217 |
include a subdir called "GL" that has the header file "gl.h" (as |
| 218 |
well as other header files) in it. The "lib" directory should |
| 219 |
contain the GL library (.so) files. |
| 220 |
<div class="p"><!----></div> |
| 221 |
</li> |
| 222 |
|
| 223 |
<li> Sometimes 'configure' will incorrectly report that OpenGl is missing |
| 224 |
when in fact OpenGl is present, but the test for it fails for some |
| 225 |
other reason, such as some missing dependent header file or library. |
| 226 |
For example, if your installation of X window is screwed up or |
| 227 |
incomplete, it can confuse the tests that 'configure' does for |
| 228 |
OpenGl. There are two places to look for clues about this: |
| 229 |
|
| 230 |
<ul> |
| 231 |
<li> The output from 'configure' itself - look at the lines related |
| 232 |
to checking for X window, in particular. If X was not found, or |
| 233 |
couldn't be linked with, then that is probably the problem. |
| 234 |
<div class="p"><!----></div> |
| 235 |
</li> |
| 236 |
|
| 237 |
<li> The file 'config.log' that 'configure' writes as it runs. This |
| 238 |
file contains all the gory details about the tests that |
| 239 |
'configure' is doing. It'll have error messages that may |
| 240 |
indicate why certain tests fail. IMPORTANT note about reading |
| 241 |
'config.log': many of configure's tests involve loops which try |
| 242 |
several possibilities - for example several possible locations |
| 243 |
for a header file. 'configure' will write a little program and |
| 244 |
try to compile it once for each of these locations, until it |
| 245 |
finds one that works. For each one that doesn't work, there will |
| 246 |
be error messages in the 'config.log' file. When reading |
| 247 |
'config.log', be sure to look for ALL these test, not just the |
| 248 |
first one, in trying to decide why a test is failing. |
| 249 |
<div class="p"><!----></div> |
| 250 |
</li> |
| 251 |
</ul> |
| 252 |
<div class="p"><!----></div> |
| 253 |
</li> |
| 254 |
|
| 255 |
<li> If the output from 'configure', or the contents of 'config.log', |
| 256 |
suggest that some parts of X can't be found (for example if it can't |
| 257 |
find certain X header files, like "X11/X.h" or "X11/Intrinsic.h"), |
| 258 |
then the problem could be that you have not installed the X window |
| 259 |
development package for your system. Some default Linux |
| 260 |
distributions include the runtime X package but not the development |
| 261 |
package(s). Make sure you've installed whatever packages are |
| 262 |
necessary for X development work as well as the runtime X package(s). |
| 263 |
<div class="p"><!----></div> |
| 264 |
</li> |
| 265 |
|
| 266 |
<li> If 'configure' claims that it can't link with -lGL (or -lGLU) but |
| 267 |
you are sure it's there, find the directory containing your |
| 268 |
libGL.so.* and libGLU.so.* files; call this directory DIR. DIR will |
| 269 |
probably contain one or more files with names like libGL.so.VERSION |
| 270 |
and libGLU.so.VERSI ON, where VERSION is some version number, |
| 271 |
such as "1.2.0" or "1.2.030200". It should also contain entries |
| 272 |
named simply libGL.so and libGLU.so, with no VERSION suffix; these |
| 273 |
are usually symbolic links to corresponding files with version |
| 274 |
suffixes. For example, on my system I have |
| 275 |
|
| 276 |
<pre> |
| 277 |
libGL.so -> libGL.so.1.2.030200 |
| 278 |
libGLU.so -> libGLU.so.1.2.030200 |
| 279 |
|
| 280 |
</pre> |
| 281 |
If the links (or files) libGL.so and libGLU.so are not present, |
| 282 |
create them by making symbolic links to the corresponding file with |
| 283 |
the highest version number. |
| 284 |
|
| 285 |
<div class="p"><!----></div> |
| 286 |
I do not understand why these links would be missing in some |
| 287 |
installations of OpenGL, because it's my understanding that they |
| 288 |
have to be there for programs to link properly. I admit however that |
| 289 |
I don't understand all the .so and .so.VERSION stuff, so it could be |
| 290 |
that these links aren't really necessary and that some change in |
| 291 |
Geomview's configure script or Makefiles could eliminate the need |
| 292 |
for them. If you know a way to do this, please let me |
| 293 |
[[email protected]] know. |
| 294 |
<div class="p"><!----></div> |
| 295 |
</li> |
| 296 |
</ul> |
| 297 |
|
| 298 |
<div class="p"><!----></div> |
| 299 |
<a id="tth_sEc2.3"></a><h3> |
| 300 |
2.3 configure claims it can't find Motif (or Lesstif or OpenMotif) on my system, but I'm sure that it is installed </h3> |
| 301 |
|
| 302 |
<div class="p"><!----></div> |
| 303 |
Read all the suggestions above in the answer to the analogous question |
| 304 |
about OpenGL in section <a href="#aswer:OpenGl">2.2</a>; they all apply equally well to |
| 305 |
Motif. (The main header file to look for in the "include" directory is |
| 306 |
"Xm/Xm.h"). |
| 307 |
|
| 308 |
<div class="p"><!----></div> |
| 309 |
<a id="tth_sEc3"></a><h2> |
| 310 |
3 Platforms</h2> |
| 311 |
|
| 312 |
<div class="p"><!----></div> |
| 313 |
<a id="tth_sEc3.1"></a><h3> |
| 314 |
3.1 What platforms have binary downloads available?</h3> |
| 315 |
|
| 316 |
<div class="p"><!----></div> |
| 317 |
SGI Irix, Linux, FreeBSD, Solaris, SunOS, HP, IBM RS/6000, DEC Alpha |
| 318 |
|
| 319 |
<div class="p"><!----></div> |
| 320 |
<a id="tth_sEc3.2"></a><h3> |
| 321 |
3.2 There isn't a binary for my workstation. Is there hope?</h3> |
| 322 |
|
| 323 |
<div class="p"><!----></div> |
| 324 |
Certainly. If your workstation has the X Window System, OpenGL, Motif, |
| 325 |
and an ANSI (ISO) C compiler, you can compile geomview from the source |
| 326 |
code distribution at <a href="http://www.geomview.org/download"><tt>http://www.geomview.org/download</tt></a>. |
| 327 |
|
| 328 |
<div class="p"><!----></div> |
| 329 |
Note that there is a free version of OpenGL called Mesa |
| 330 |
(<a href="http://www.mesa3d.org"><tt>http://www.mesa3d.org</tt></a>) |
| 331 |
which runs in software on most of the free |
| 332 |
Unixes. See that page for details on the ongoing efforts to incorporate |
| 333 |
hardware support for some of the popular graphics cards. |
| 334 |
|
| 335 |
<div class="p"><!----></div> |
| 336 |
Note also that there is a free version of Motif called lesstif |
| 337 |
(www.lesstif.org) <a href="http://www.lesstif.org/"><tt>http://www.lesstif.org/</tt></a>. |
| 338 |
|
| 339 |
<div class="p"><!----></div> |
| 340 |
The INSTALL <a href="http://www.geomview.org/docs/INSTALL"><tt>http://www.geomview.org/docs/INSTALL</tt></a> file has instructions |
| 341 |
about how to port to new architectures. If you have problems, send mail |
| 342 |
to [email protected]. If you succeed, |
| 343 |
we would appreciate receiving a copy of your "makefile/mk.whatever" and |
| 344 |
hearing about what source modifications were necessary. Ideally we'd |
| 345 |
also like to include your binaries in our precompiled distribution list. |
| 346 |
|
| 347 |
<div class="p"><!----></div> |
| 348 |
<a id="tth_sEc3.3"></a><h3> |
| 349 |
3.3 Why isn't there a Windows version?</h3> |
| 350 |
|
| 351 |
<div class="p"><!----></div> |
| 352 |
There is not a native version of Geomview for Microsoft Windows. The |
| 353 |
main reason for this is that at the time when Geomview was written, |
| 354 |
personal computers were not fast enough to make interactive 3D graphics |
| 355 |
feasible so we focused our efforts on Unix workstations. By the time |
| 356 |
fast-enough PCs came around, the Geometry Center, where Geomview was |
| 357 |
developed, was in the process of being closed. The staff started work on |
| 358 |
a port to Windows but was not able to finish it before the Center shut |
| 359 |
down. |
| 360 |
|
| 361 |
<div class="p"><!----></div> |
| 362 |
Geomview can run under Cygwin <a href="http://www.cygwin.com"><tt>http://www.cygwin.com</tt></a>, which provides |
| 363 |
Windows with a Unix-alike environment. See Geomview for Windows? |
| 364 |
<a href="http://www.geomview.org/windows/"><tt>http://www.geomview.org/windows/</tt></a> for more information. |
| 365 |
|
| 366 |
<div class="p"><!----></div> |
| 367 |
If you would like to see a version of Geomview for Windows, you can |
| 368 |
contribute to its development in several ways. See Contributing to |
| 369 |
Geomview <a href="http://www.geomview.org/contributing"><tt>http://www.geomview.org/contributing</tt></a> for details. |
| 370 |
|
| 371 |
<div class="p"><!----></div> |
| 372 |
<a id="tth_sEc3.4"></a><h3> |
| 373 |
3.4 How fast does Geomview run on various platforms?</h3> |
| 374 |
|
| 375 |
<div class="p"><!----></div> |
| 376 |
The current speedtest result file <a href="http://www.geomview.org/docs/speeds"><tt>http://www.geomview.org/docs/speeds</tt></a> |
| 377 |
is now quite out of date. You can test Geomview on your own platform |
| 378 |
using the files found in data/speedtests. Please contribute your timings |
| 379 |
back to us so that we can update our master file with results for modern |
| 380 |
machines. |
| 381 |
|
| 382 |
<div class="p"><!----></div> |
| 383 |
<a id="tth_sEc3.5"></a><h3> |
| 384 |
3.5 I have access to an X11 and SGI workstation. Which version should I use?</h3> |
| 385 |
|
| 386 |
<div class="p"><!----></div> |
| 387 |
The SGI version will almost always be significantly faster, due to |
| 388 |
hardware support for 3D graphics. For example, a Sun Sparcstation 10 is |
| 389 |
slower than an Indy (SGI's old entry level machine). In the future there |
| 390 |
might be hardware support for certain OpenGL graphics cards available on |
| 391 |
some of the PC Unixes. |
| 392 |
|
| 393 |
<div class="p"><!----></div> |
| 394 |
<a id="tth_sEc3.6"></a><h3> |
| 395 |
3.6 What happened to the NeXT Quick Renderman version?</h3> |
| 396 |
|
| 397 |
<div class="p"><!----></div> |
| 398 |
We no longer distribute the NeXTStep/OpenStep version of Geomview, which |
| 399 |
used the Quick Renderman graphics library. We did this just to simplify |
| 400 |
code base maintenance after version 1.5.0. Fat binaries for Motorola, |
| 401 |
Intel, and HP-PA architectures for version 1.5.0 are still available in |
| 402 |
<a href="http://www.geomview.org/download/dist/geomview-1.5.0-next.tar"><tt>http://www.geomview.org/download/dist/geomview-1.5.0-next.tar</tt></a>. |
| 403 |
|
| 404 |
<div class="p"><!----></div> |
| 405 |
<a id="tth_sEc3.7"></a><h3> |
| 406 |
3.7 What modules are shipped for which platforms with the current release?</h3> |
| 407 |
|
| 408 |
<div class="p"><!----></div> |
| 409 |
We release almost all external modules for all platforms. The list of |
| 410 |
distributed modules is in the README file included in the distributions. |
| 411 |
If the module you want is in that list but doesn't appear in the modules |
| 412 |
list on main panel, Geomview probably wasn't installed properly. Note |
| 413 |
that there are additional modules written by others |
| 414 |
<a href="http://www.geomview.org/thirdparty"><tt>http://www.geomview.org/thirdparty</tt></a> which are not part of the main |
| 415 |
distribution. The modules supported in the most recent GNU/Linux version of |
| 416 |
Geomview (1.9.4) are: |
| 417 |
|
| 418 |
<div style="text-align:center"> |
| 419 |
|
| 420 |
<table border="1"> |
| 421 |
<tr><td align="left"></td></tr> |
| 422 |
<tr><td align="left">MODULE </td><td width="316">DESCRIPTION </td></tr> |
| 423 |
<tr><td align="left">Animator </td><td width="316">flip through a sequence of objects </td></tr> |
| 424 |
<tr><td align="left">Antiprism models </td><td width="316">Create, transform, analyse, and visualise polyhedra </td></tr> |
| 425 |
<tr><td align="left">StageTools </td><td width="316">CenterStage, StageManager, StageStills, StageHand - lets you create Geomview objects using mathematical formulas </td></tr> |
| 426 |
<tr><td align="left">Clipboard </td><td width="316">save a single OOGL object to a clipboard </td></tr> |
| 427 |
<tr><td align="left">Clock </td><td width="316">an animated clock </td></tr> |
| 428 |
<tr><td align="left">Draw Boundary </td><td width="316"></td></tr> |
| 429 |
<tr><td align="left">Nose </td><td width="316">debugging/example for picking (see Geomview manual) </td></tr> |
| 430 |
<tr><td align="left">Orrery </td><td width="316">Solar System Visualization </td></tr></table> |
| 431 |
|
| 432 |
</div> |
| 433 |
The following modules use tcl/tk: |
| 434 |
|
| 435 |
<div style="text-align:center"> |
| 436 |
|
| 437 |
<table border="1"> |
| 438 |
<tr><td align="left"></td></tr> |
| 439 |
<tr><td align="left">MODULE </td><td width="316">DESCRIPTION </td></tr> |
| 440 |
<tr><td align="left">StageTools </td><td width="316">CenterStage, StageManager, StageStills, StageHand - lets you create Geomview objects using mathematical formulas </td></tr></table> |
| 441 |
|
| 442 |
</div> |
| 443 |
The following utility programs are also included in the distribution: |
| 444 |
|
| 445 |
<div style="text-align:center"> |
| 446 |
|
| 447 |
<table border="1"> |
| 448 |
<tr><td align="left"></td></tr> |
| 449 |
<tr><td align="left">UTILITY </td><td width="316">DESCRIPTION </td></tr> |
| 450 |
<tr><td align="left">anytooff </td><td width="316">convert one or many OOGL files into a single OFF file </td></tr> |
| 451 |
<tr><td align="left">anytoucd </td><td width="316">convert an OOGL file to UCD (AVS) format </td></tr> |
| 452 |
<tr><td align="left">bdy </td><td width="316">compute boundary of an object (helper for drawbdy) </td></tr> |
| 453 |
<tr><td align="left">bez2mesh </td><td width="316">dice BEZ file to list of MESHes </td></tr> |
| 454 |
<tr><td align="left">clip </td><td width="316">clip objects against plane/sphere/cylinder (helper for ginsu) </td></tr> |
| 455 |
<tr><td align="left">fd2ps </td><td width="316">xforms </td></tr> |
| 456 |
<tr><td align="left">fdesign </td><td width="316">xforms </td></tr> |
| 457 |
<tr><td align="left">hvectext </td><td width="316">generate vector text object </td></tr> |
| 458 |
<tr><td align="left">math2oogl </td><td width="316">convert Mathematica graphics to OOGL (helper for OOGL.m) </td></tr> |
| 459 |
<tr><td align="left">offconsol </td><td width="316">polylist vertex consolidator </td></tr> |
| 460 |
<tr><td align="left">oogl2rib </td><td width="316">convert OOGL to Renderman RIB format </td></tr> |
| 461 |
<tr><td align="left">oogl2vrml </td><td width="316">convert OOGL to VRML 1.0 </td></tr> |
| 462 |
<tr><td align="left">oogl2vrml2 </td><td width="316"></td></tr> |
| 463 |
<tr><td align="left">polymerge </td><td width="316">merge degenerate OFF vertices/edges/faces (to Evolver or OFF) </td></tr> |
| 464 |
<tr><td align="left">remotegv </td><td width="316">remotegv -help </td></tr> |
| 465 |
<tr><td align="left">togeomview </td><td width="316">send commands to geomview </td></tr> |
| 466 |
<tr><td align="left">ucdtooff </td><td width="316">convert UCD (AVS) format to OFF format </td></tr> |
| 467 |
<tr><td align="left">vrml2oogl </td><td width="316">convert VRML 1.0 to OOGL </td></tr></table> |
| 468 |
|
| 469 |
</div> |
| 470 |
|
| 471 |
<div class="p"><!----></div> |
| 472 |
<a id="tth_sEc4"></a><h2> |
| 473 |
4 Using Geomview</h2> |
| 474 |
|
| 475 |
<div class="p"><!----></div> |
| 476 |
<a id="tth_sEc4.1"></a><h3> |
| 477 |
4.1 Why don't objects appear in the right places?</h3> |
| 478 |
|
| 479 |
<div class="p"><!----></div> |
| 480 |
When objects aren't appearing where you think they should, it's probably |
| 481 |
because normalization is on by default. Normalization simply scales an |
| 482 |
object's bounding box to fit into a unit sphere, with the center of the |
| 483 |
bounding box translated to the origin. This is useful when examining a |
| 484 |
single object, as you can easily view the whole object without having to |
| 485 |
worry about how big it is. However, it also means that if you're loading |
| 486 |
multiple objects that are supposed to belong in the same coordinate |
| 487 |
system, all the objects will be scaled and placed at the origin. To turn |
| 488 |
off normalization, bring up the Appearance Panel. The normalization |
| 489 |
controls are in the lower-right quadrant of the panel. Select the "None" |
| 490 |
option. The alternate hotkey shortcut is '0N'. |
| 491 |
|
| 492 |
<div class="p"><!----></div> |
| 493 |
To turn off normalization by default, customize Geomview |
| 494 |
like showed in <a href="http://www.geomview.org/docs/html/Customization.html"><tt>http://www.geomview.org/docs/html/Customization.html</tt></a> |
| 495 |
by inserting the line (normalization allgeoms |
| 496 |
none) into a file called .geomview in your home directory. |
| 497 |
|
| 498 |
<div class="p"><!----></div> |
| 499 |
When you turn off normalization your objects might seem to vanish. This |
| 500 |
is because the unnormalized objects do not lie in the camera's viewing |
| 501 |
cone. The easiest way to see everything is to choose the "World" object |
| 502 |
in the Object Browser, then click on "Look At" in the Tools Panel. |
| 503 |
|
| 504 |
<div class="p"><!----></div> |
| 505 |
<a id="tth_sEc4.2"></a><h3> |
| 506 |
4.2 Why is everything centered and/or on top of each other?</h3> |
| 507 |
|
| 508 |
<div class="p"><!----></div> |
| 509 |
See previous answer. |
| 510 |
|
| 511 |
<div class="p"><!----></div> |
| 512 |
<a id="tth_sEc4.3"></a><h3> |
| 513 |
4.3 How can I display a collection of points?</h3> |
| 514 |
|
| 515 |
<div class="p"><!----></div> |
| 516 |
The most efficient way to display points in Geomview is to use the VECT |
| 517 |
file format. This file format is mainly used for building shapes made |
| 518 |
out of lines but we can also use it to specify lines that contain only |
| 519 |
one vertex (i.e. points). Let's take a look at an example VECT file that |
| 520 |
describes 3 points colored red, green and blue: |
| 521 |
<span class="tiny"> |
| 522 |
|
| 523 |
<pre> |
| 524 |
VECT |
| 525 |
3 3 3 # num. of polylines, num. of vertices, num. of colors. |
| 526 |
|
| 527 |
1 1 1 # num. of vertices in each of the 3 polylines, |
| 528 |
# in this case only 1 for each since we are doing points. |
| 529 |
|
| 530 |
1 1 1 # num. of colors supplied for each polyline. |
| 531 |
|
| 532 |
-1 -.2 0 # Here are the coordinates of each point. |
| 533 |
1 -.2 0 |
| 534 |
0 .9 0 |
| 535 |
|
| 536 |
1 0 0 1 # Color for each vertex in RGBA format. |
| 537 |
0 1 0 1 |
| 538 |
0 0 1 1 |
| 539 |
|
| 540 |
</pre> |
| 541 |
<span class="normalsize"> |
| 542 |
|
| 543 |
<div class="p"><!----></div> |
| 544 |
When loading this file into Geomview, you will probably need to turn off |
| 545 |
the bounding box (via the appearance panel), otherwise you may not be |
| 546 |
able to see the points. |
| 547 |
|
| 548 |
<div class="p"><!----></div> |
| 549 |
<a id="tth_sEc4.4"></a><h3> |
| 550 |
4.4 How do I make the points larger?</h3> |
| 551 |
|
| 552 |
<div class="p"><!----></div> |
| 553 |
By default, the thickness of lines and points in Geomview is 1. This may |
| 554 |
be okay for most lines, but it causes each point to occupy only one |
| 555 |
pixel on the computer screen. You can change line and point thickness by |
| 556 |
adding an appearance tag to the top your geometry file that looks like |
| 557 |
this: |
| 558 |
|
| 559 |
<div class="p"><!----></div> |
| 560 |
appearance |
| 561 |
linewidth 4. |
| 562 |
|
| 563 |
|
| 564 |
<div class="p"><!----></div> |
| 565 |
In this case, we have increased our line/point size to 4 and any points |
| 566 |
we have in our file will now appear as small disks. You can also change |
| 567 |
the line width using the Appearance panel. What Geomview actually does |
| 568 |
is render each point as a many sided polygon which approximates a disk. |
| 569 |
|
| 570 |
<div class="p"><!----></div> |
| 571 |
If you want the points to appear as solid 3-dimensional objects, such as |
| 572 |
tiny spheres, you can use a completely different method for representing |
| 573 |
them: an INST object with multiple transforms. This lets you specify an |
| 574 |
arbitrary geometric shape to be used to represent the points. For |
| 575 |
example, the following file represents the three points (1.5, 2.0, 0.1), |
| 576 |
(1.0, 0.5, 0.2), and (0.5, 0.3, 0.2) using small cubes: |
| 577 |
|
| 578 |
<pre> |
| 579 |
INST |
| 580 |
geom { |
| 581 |
OFF |
| 582 |
8 6 12 |
| 583 |
-0.05 -0.05 -0.05 |
| 584 |
0.05 -0.05 -0.05 |
| 585 |
0.05 0.05 -0.05 |
| 586 |
-0.05 0.05 -0.05 |
| 587 |
-0.05 -0.05 0.05 |
| 588 |
0.05 -0.05 0.05 |
| 589 |
0.05 0.05 0.05 |
| 590 |
-0.05 0.05 0.05 |
| 591 |
4 0 1 2 3 |
| 592 |
4 4 5 6 7 |
| 593 |
4 2 3 7 6 |
| 594 |
4 0 1 5 4 |
| 595 |
4 0 4 7 3 |
| 596 |
4 1 2 6 5 |
| 597 |
} |
| 598 |
transforms |
| 599 |
1 0 0 0 0 1 0 0 0 0 1 0 1.5 2.0 0.1 1 |
| 600 |
1 0 0 0 0 1 0 0 0 0 1 0 1.0 0.5 0.2 1 |
| 601 |
1 0 0 0 0 1 0 0 0 0 1 0 0.5 0.3 0.2 1 |
| 602 |
# |
| 603 |
# these are the matrices: |
| 604 |
# |
| 605 |
# 1 0 0 0 1 0 0 0 1 0 0 0 |
| 606 |
# 0 1 0 0 0 1 0 0 0 1 0 0 |
| 607 |
# 0 0 1 0 0 0 1 0 0 0 1 0 |
| 608 |
# 1.5 2.0 0.1 1 1.0 0.5 0.2 1 0.5 0.3 0.2 1 |
| 609 |
|
| 610 |
</pre> |
| 611 |
The OFF object between "geom {" and "}" is the cube. The three lines |
| 612 |
after the word "transforms" are 4x4 transforms, one for each point. Note |
| 613 |
that you can use any valid OOGL expression for the geometry; for |
| 614 |
example, if you want to use small dodecahedra to represent points, you |
| 615 |
could repace the above OFF object with the following, which references |
| 616 |
the dodecahedron object in the file dodec.off (distributed with |
| 617 |
Geomview), scaling it by 0.05: |
| 618 |
|
| 619 |
<pre> |
| 620 |
INST |
| 621 |
geom { |
| 622 |
INST |
| 623 |
geom { < dodec.off } |
| 624 |
transform |
| 625 |
.05 0 0 0 |
| 626 |
0 .05 0 0 |
| 627 |
0 0 .05 0 |
| 628 |
0 0 0 1 |
| 629 |
} |
| 630 |
transforms |
| 631 |
1 0 0 0 0 1 0 0 0 0 1 0 1.5 2.0 0.1 1 |
| 632 |
1 0 0 0 0 1 0 0 0 0 1 0 1.0 0.5 0.7 1 |
| 633 |
1 0 0 0 0 1 0 0 0 0 1 0 0.5 0.3 0.2 1 |
| 634 |
|
| 635 |
</pre> |
| 636 |
Be aware that the more complicated the geometry you use for your points, |
| 637 |
the longer it will take Geomview to refresh the window. This can be |
| 638 |
important if you're dealing with a large number of points, in which case |
| 639 |
you should stick to very simple point shapes or use the method of |
| 640 |
displaying points in - VECT - format. |
| 641 |
|
| 642 |
<div class="p"><!----></div> |
| 643 |
<a id="tth_sEc4.5"></a><h3> |
| 644 |
4.5 How do I put text into a scene?</h3> |
| 645 |
|
| 646 |
<div class="p"><!----></div> |
| 647 |
You have two options: |
| 648 |
|
| 649 |
<ul> |
| 650 |
<li> You can use the Labeler external module, which gives you a GUI for |
| 651 |
typing text and selecting the font: either vector or a polygonalized |
| 652 |
version of an installed font. However, you need to position the text |
| 653 |
in the 3D scene, either by hand or with some other module like |
| 654 |
Transformer. |
| 655 |
<div class="p"><!----></div> |
| 656 |
</li> |
| 657 |
|
| 658 |
<li> You can use the hvectext command-line utility program for Hershey |
| 659 |
vector fonts, which does let you specify a position for the text. |
| 660 |
You would then need to load the resulting file into Geomview. |
| 661 |
<div class="p"><!----></div> |
| 662 |
</li> |
| 663 |
</ul> |
| 664 |
If you don't need the text to be a 3D object in the scene, you can |
| 665 |
create an image <a href="http://www.geomview.org/FAQ/answers.shtml#images"><tt>http://www.geomview.org/FAQ/answers.shtml#images</tt></a> or postscript <a href="http://www.geomview.org/FAQ/answers.shtml#ps"><tt>http://www.geomview.org/FAQ/answers.shtml#ps</tt></a> |
| 666 |
file of the scene and then use an image editor such as Illustrator, |
| 667 |
Showcase, or XPaint to annotate it with text. |
| 668 |
|
| 669 |
<div class="p"><!----></div> |
| 670 |
<a id="tth_sEc4.6"></a><h3> |
| 671 |
4.6 Can Geomview do volume visualization?</h3> |
| 672 |
|
| 673 |
<div class="p"><!----></div> |
| 674 |
No, Geomview is intended to do surface visualization. You can either |
| 675 |
create an isosurface and then view it using Geomview, or use a volume |
| 676 |
visualization package. The free vtk <a href="http://www.vtk.org/"><tt>http://www.vtk.org/</tt></a> |
| 677 |
visualization toolkit has extensive support for volume visualization, as |
| 678 |
do commercial packages like AVS <a href="http://www.avs.com"><tt>http://www.avs.com</tt></a>, Iris Explorer |
| 679 |
. |
| 680 |
<a href="http://www.nag.co.uk/Welcome\_IEC.html"><tt>http://www.nag.co.uk/Welcome\_IEC.html</tt></a>, or IBM Data Explorer |
| 681 |
. <a href="http://pic.dhe.ibm.com/infocenter/dataexpl/v8r2/index.jsp"><tt>http://pic.dhe.ibm.com/infocenter/dataexpl/v8r2/index.jsp</tt></a>. Volvis |
| 682 |
<a href="http://labs.cs.sunysb.edu/labs/vislab/volvis/"><tt>http://labs.cs.sunysb.edu/labs/vislab/volvis/</tt></a> is free software specifically for |
| 683 |
volume visualization. |
| 684 |
|
| 685 |
<div class="p"><!----></div> |
| 686 |
<a id="tth_sEc4.7"></a><h3> |
| 687 |
4.7 Can Geomview do texture maps?</h3> |
| 688 |
|
| 689 |
<div class="p"><!----></div> |
| 690 |
Yes, in release 1.6 and higher, but only in the OpenGL version, not in |
| 691 |
the X11 version. |
| 692 |
|
| 693 |
<div class="p"><!----></div> |
| 694 |
<a id="tth_sEc4.8"></a><h3> |
| 695 |
4.8 Why can't Geomview read my OFF file?</h3> |
| 696 |
|
| 697 |
<div class="p"><!----></div> |
| 698 |
This is probably due to a different interpretation of how an OFF should |
| 699 |
be written. Geomview indexes vertices starting at zero, while some other |
| 700 |
programs are known to start at one. The following C program will convert |
| 701 |
a plain one-indexed OFF to a zero-indexed OFF. |
| 702 |
|
| 703 |
<pre> |
| 704 |
#include <stdio.h> |
| 705 |
#include <string.h> |
| 706 |
#include <stdlib.h> |
| 707 |
int main(void) { |
| 708 |
char s[256]; |
| 709 |
int v, f, i, n, t; |
| 710 |
gets(s); |
| 711 |
if (strcmp(s, "OFF")) { |
| 712 |
fprintf(stderr, "not an OFF\n"); |
| 713 |
exit(1); |
| 714 |
} |
| 715 |
puts(s); gets(s); puts(s); |
| 716 |
sscanf(s, "%d %d %d", &v, &f, &i); |
| 717 |
for (i=0; i!=v; ) { |
| 718 |
gets(s); |
| 719 |
if (strlen(s)) { |
| 720 |
puts(s); i++; |
| 721 |
} |
| 722 |
} |
| 723 |
for (i=0; i!=f; i++) { |
| 724 |
scanf("%d", &n); |
| 725 |
printf("\n%d", n); |
| 726 |
for (v=0; v!=n; v++) { |
| 727 |
scanf("%d", &t); |
| 728 |
printf(" %d", t-1); |
| 729 |
} |
| 730 |
} |
| 731 |
printf("\n"); |
| 732 |
return 0; |
| 733 |
} |
| 734 |
|
| 735 |
</pre> |
| 736 |
|
| 737 |
<div class="p"><!----></div> |
| 738 |
<a id="tth_sEc4.9"></a><h3> |
| 739 |
4.9 How can I animate a sequence of Geomview/OOGL files?</h3> |
| 740 |
|
| 741 |
<div class="p"><!----></div> |
| 742 |
You might try using Animator, an external module that is distributed |
| 743 |
with all versions of Geomview. With Animator, you can tell Geomview to |
| 744 |
read in a sequence of OOGL files and then play through this sequence |
| 745 |
forwards, backwards and also in single frame steps using the VCR like |
| 746 |
interface <a href="#tthFtNtAAB" id="tthFrefAAB"><sup>1</sup></a>. |
| 747 |
|
| 748 |
<div class="p"><!----></div> |
| 749 |
To use Animator click on the Animator entry in Geomview's External |
| 750 |
Modules browser. If it does not appear in the browser, then Geomview has |
| 751 |
probably not been installed properly. For more information about |
| 752 |
Animator read the info panel available through the program or the |
| 753 |
man page (by typing man animate). |
| 754 |
|
| 755 |
<div class="p"><!----></div> |
| 756 |
<a id="tth_sEc5"></a><h2> |
| 757 |
5 Output</h2> |
| 758 |
|
| 759 |
<div class="p"><!----></div> |
| 760 |
<a id="tth_sEc5.1"></a><h3> |
| 761 |
5.1 How can I create a video animation (MPEG/ QuickTime/animated GIF)?</h3> |
| 762 |
|
| 763 |
<div class="p"><!----></div> |
| 764 |
There are several variants of this question: |
| 765 |
|
| 766 |
<div class="p"><!----></div> |
| 767 |
|
| 768 |
<ul> |
| 769 |
<li> first variant |
| 770 |
<span class="tiny"> |
| 771 |
|
| 772 |
<pre> |
| 773 |
> I would like to save a sequence of ppm snapshot files of a single |
| 774 |
> off object while it is rotating so that I can convert the sequence |
| 775 |
> into a movie. The only method I know of is to rotate the object |
| 776 |
> slightly with the mouse, stop the motion, and save each frame |
| 777 |
> individually. Is there a faster more automatic method, such as a |
| 778 |
> command script. If so, do you have a sample command script that I |
| 779 |
> could modify? |
| 780 |
|
| 781 |
</pre> |
| 782 |
<span class="normalsize"> |
| 783 |
Two options: |
| 784 |
|
| 785 |
<ul> |
| 786 |
<li> If the motion is axis-aligned, it's pretty easy to use the |
| 787 |
rotate and snapshot GCL commands together: |
| 788 |
|
| 789 |
<div class="p"><!----></div> |
| 790 |
(snapshot targetcam /tmp/foo%03d.rgb) |
| 791 |
(transform world world world rotate .1 0 0) |
| 792 |
(snapshot targetcam /tmp/foo%03d.rgb) |
| 793 |
(transform world world world rotate .1 0 0) |
| 794 |
|
| 795 |
<div class="p"><!----></div> |
| 796 |
and so on. The snapshot commanad auto-increments the filename. |
| 797 |
<div class="p"><!----></div> |
| 798 |
</li> |
| 799 |
|
| 800 |
<li> But for a more complex motion than the simple rotation around |
| 801 |
the x axis that I have above, consider using StageTools, which |
| 802 |
is a suite of tools designed to help people easily make |
| 803 |
animations from Geomview. StageTools is included as a module in |
| 804 |
recent versions, but if you need to download it is available at |
| 805 |
<a href="http://www.geom.umn.edu/software/StageTools/"><tt>http://www.geom.umn.edu/software/StageTools/</tt></a>. |
| 806 |
<div class="p"><!----></div> |
| 807 |
</li> |
| 808 |
</ul></span></span> |
| 809 |
<div class="p"><!----></div> |
| 810 |
</li> |
| 811 |
|
| 812 |
<li> second variant |
| 813 |
<span class="tiny"> |
| 814 |
|
| 815 |
<pre> |
| 816 |
> I have used Geomview to view movies with the animation tool. How can |
| 817 |
> I convert that movie to another animated format (e.g. an animated |
| 818 |
> GIF) so that I can put it on display in a web page, viewable by |
| 819 |
> someone without Geomview? |
| 820 |
|
| 821 |
</pre> |
| 822 |
<span class="normalsize"> |
| 823 |
|
| 824 |
<div class="p"><!----></div> |
| 825 |
It's true that StageTools will do this and much more too. But |
| 826 |
there's also a very easy way to do this directly inside the Animate |
| 827 |
module: the Command function will run an arbitrary GCL command after |
| 828 |
each frame. So to automatically take snapshots at each frame, you'd |
| 829 |
hit the Command button and type something like |
| 830 |
(snapshot c0 /tmp/foo%03d.rgb) |
| 831 |
into the text field. Then when you hit play you'll see that it's now |
| 832 |
jerky since it's saving an image off to disk each time. You might |
| 833 |
want to turn on the "Once" radio button so that it stops after |
| 834 |
running through each frame once. Then you can use your program of |
| 835 |
choice to create an animated gif or quicktime movie from this bunch |
| 836 |
of image files. For instance, on the SGIs you could do this with |
| 837 |
"mediaconvert".</span></span> |
| 838 |
<div class="p"><!----></div> |
| 839 |
</li> |
| 840 |
</ul> |
| 841 |
|
| 842 |
<div class="p"><!----></div> |
| 843 |
<a id="tth_sEc5.2"></a><h3> |
| 844 |
5.2 How can I save a picture of exactly what I see in a camera window?</h3> |
| 845 |
|
| 846 |
<div class="p"><!----></div> |
| 847 |
Make sure that the camera window you want is the active one, then select |
| 848 |
the "Save" item of the "File" menu on the main panel (or use the ">" |
| 849 |
hotkey). In the panel that appears, there is a choice box that is set to |
| 850 |
Command by default. Select one of the snapshot options, enter the |
| 851 |
filename in the Selection input, and click "OK". |
| 852 |
|
| 853 |
<div class="p"><!----></div> |
| 854 |
In the SGI version, you have three image snapshot choices: SGI screen, |
| 855 |
PPM screen, and PPM software. Both the screen choices literally save the |
| 856 |
onscreen pixels into a file, in either SGI (aka RGB) or PPM format. The |
| 857 |
PPM software choice will rerender the image into an offscreen buffer |
| 858 |
using the software renderer from the vanilla X version of Geomview. |
| 859 |
Thus, it might not be pixel by pixel identical to what you see. |
| 860 |
|
| 861 |
<div class="p"><!----></div> |
| 862 |
In the X11 version, you have only the PPM choices. |
| 863 |
|
| 864 |
<div class="p"><!----></div> |
| 865 |
<a id="tth_sEc5.3"></a><h3> |
| 866 |
5.3 How can I make a true PostScript file that looks good at multiple resolutions instead of just converting a bitmap into PostScript?</h3> |
| 867 |
|
| 868 |
<div class="p"><!----></div> |
| 869 |
Make sure that the camera window you want is the active one, then select |
| 870 |
the "Save" item of the "File" menu on the main panel (or use the ">" |
| 871 |
hotkey). In the panel that appears, there is a choice box that is set to |
| 872 |
Command by default. Select the PostScript snapshot option, enter the |
| 873 |
filename in the Selection input, and click "OK". |
| 874 |
|
| 875 |
<div class="p"><!----></div> |
| 876 |
This method has advantages and disadvantages, compared to saving an |
| 877 |
image bitmap. The advantage is that the result is resolution independent |
| 878 |
- you can print it on a high resolution printer and not see any jagged |
| 879 |
edges. The disadvantages are that our PostScript renderer can't do |
| 880 |
smooth shading and uses the painter's algorithm for hidden surface |
| 881 |
removal. The latter means that intersecting objects and some other |
| 882 |
ill-conditioned scenes will be drawn incorrectly, or even that closer |
| 883 |
objects will be drawn behind faraway objects. It often works, but not |
| 884 |
always. |
| 885 |
|
| 886 |
<div class="p"><!----></div> |
| 887 |
<a id="tth_sEc5.4"></a><h3> |
| 888 |
5.4 Why does my PostScript snapshot look wrong?</h3> |
| 889 |
|
| 890 |
<div class="p"><!----></div> |
| 891 |
See previous answer. |
| 892 |
|
| 893 |
<div class="p"><!----></div> |
| 894 |
<a id="tth_sEc5.5"></a><h3> |
| 895 |
5.5 How can I make a high quality image with RenderMan?</h3> |
| 896 |
|
| 897 |
<div class="p"><!----></div> |
| 898 |
If you have Photorealistic Renderman (a commercial product of Pixar), or |
| 899 |
BMRT (Blue Moon Rendering Toolkit, a public domain implementation), you |
| 900 |
can create high quality images with transparency and more accurate |
| 901 |
lighting in the SGI and X11 versions. To do this, bring up the Save |
| 902 |
panel and select "RMan [->tiff]" from the save options. Enter a filename |
| 903 |
and click "Ok". Bring up a shell window and change directory to where |
| 904 |
you saved the file. Type "render /filename/" (where /filename/ is the |
| 905 |
name you saved as). When this finishes, you will have an high quality |
| 906 |
image in "/filename/.tiff". To create a higher resolution image (to |
| 907 |
reduce jagged edges), edit the file you saved. There will be a line |
| 908 |
about fifteen lines down from the top that begins with "Format", i.e. |
| 909 |
"Format 450 450 1". The first two numbers are the resolution of the |
| 910 |
created image. Change these to what you like (you should keep the ratio |
| 911 |
of the numbers the same to avoid distortion), then render the file again. |
| 912 |
|
| 913 |
<div class="p"><!----></div> |
| 914 |
<a id="tth_sEc6"></a><h2> |
| 915 |
6 X Specific Questions</h2> |
| 916 |
|
| 917 |
<div class="p"><!----></div> |
| 918 |
<a id="tth_sEc6.1"></a><h3> |
| 919 |
6.1 How do I speed up the X11 version?</h3> |
| 920 |
|
| 921 |
<div class="p"><!----></div> |
| 922 |
See the discussion of rendering options in the next question. |
| 923 |
|
| 924 |
<div class="p"><!----></div> |
| 925 |
<a id="tth_sEc6.2"></a><h3> |
| 926 |
6.2 What do the Z-Buffer and Dithering controls in the Cameras panel do?</h3> |
| 927 |
|
| 928 |
<div class="p"><!----></div> |
| 929 |
These control allow you to change how the X11 version renders objects. |
| 930 |
The dithering checkbox, which only appears when running on an eight bit |
| 931 |
display, allows you to turn dithering on and off. Dithering is the |
| 932 |
method by which Geomview uses a small set of colors (less than 217) to |
| 933 |
show any color you request. This is done by placing pixels of slightly |
| 934 |
different color next to each other and letting your eye blend them |
| 935 |
together. Unfortunately, it takes a fair bit of computing to do this. |
| 936 |
Turning it dithering off will speed up rendering, but colors used won't |
| 937 |
be exactly what you want. Depending upon your scene, this may be an |
| 938 |
acceptable tradeoff. |
| 939 |
|
| 940 |
<div class="p"><!----></div> |
| 941 |
The Z-Buffer popup menu allows you to select between three different |
| 942 |
methods of hidden line/surface removal: z-buffering, depth sort, and |
| 943 |
none. Z-buffering is the most accurate and enables the near and far |
| 944 |
clipping planes. Depth sort uses less computing, but will be inaccurate |
| 945 |
if objects intersect (polygons will pop in front when they should be |
| 946 |
partially obscured) and in certain other circumstances (long, narrow |
| 947 |
polygons close to other polygons are one example). Depending on your |
| 948 |
scene, using this method could look just the same as z-buffering but be |
| 949 |
much faster. The "None" option turns off all hidden line/surface |
| 950 |
removal. This is only recommended for a scene which consists of just |
| 951 |
lines in one color. |
| 952 |
|
| 953 |
<div class="p"><!----></div> |
| 954 |
<a id="tth_sEc6.3"></a><h3> |
| 955 |
6.3 What does "Not enough colors available. Using private colormap" mean?</h3> |
| 956 |
|
| 957 |
<div class="p"><!----></div> |
| 958 |
This happens when using the X11 version on an eight bit display |
| 959 |
(currently common on workstations). An eight bit display can only show |
| 960 |
256 colors simultaneously. These colors are shared by all the programs |
| 961 |
running. Once a colorcell has been allocated by an application, its |
| 962 |
color is fixed. Geomview tries to grab many colors when it starts. If it |
| 963 |
fails to get them, it prints this message and uses a private colormap. A |
| 964 |
private colormap means that Geomview now has access to all 256 |
| 965 |
colorcells. Unfortunately, these colors will only be displayed when the |
| 966 |
cursor is inside one of Geomview's windows. The switching of colormaps |
| 967 |
when the cursor enters and leaves the windows will give a technicolor |
| 968 |
look to the rest of the display. |
| 969 |
|
| 970 |
<div class="p"><!----></div> |
| 971 |
If you don't like the technicolor effect, you will have to quit the |
| 972 |
programs which are using up colormap space. Examples of programs which |
| 973 |
use lots of colormap space are background pictures, image viewers, |
| 974 |
visualization software, and WWW browsers. |
| 975 |
|
| 976 |
<div class="p"><!----></div> |
| 977 |
<a id="tth_sEc6.4"></a><h3> |
| 978 |
6.4 What does "Shared memory unavailable, using fallback display method" mean?</h3> |
| 979 |
|
| 980 |
<div class="p"><!----></div> |
| 981 |
The X11 version of Geomview uses the shared memory extension to move |
| 982 |
images quickly between the program and the X server. However, this |
| 983 |
method of communicating with the X server only works when running |
| 984 |
Geomview on the same machine as the display. If Geomview can't use |
| 985 |
shared memory, it prints this message and goes back to using standard X |
| 986 |
calls. Everything will work the same, it will just run much slower, |
| 987 |
especially if you're running over the network. |
| 988 |
|
| 989 |
<div class="p"><!----></div> |
| 990 |
<a id="tth_sEc6.5"></a><h3> |
| 991 |
6.5 Why do I get compiler errors about including files Xm/*.h?</h3> |
| 992 |
|
| 993 |
<div class="p"><!----></div> |
| 994 |
You're trying to compile the X11 version and the compiler can't find the |
| 995 |
Motif header files. If you have Motif but the headers are in a |
| 996 |
nonstandard place, change the "SYSCOPTS" in your |
| 997 |
makefiles/mk.$MACHTYPE file. If you don't have Motif, you won't be |
| 998 |
able to compile Geomview. In this case, use one of the binary |
| 999 |
distributions, if you can. |
| 1000 |
|
| 1001 |
<div class="p"><!----></div> |
| 1002 |
</span></span></span></div><hr /><h3>Footnotes:</h3> |
| 1003 |
|
| 1004 |
<div class="p"><!----></div> |
| 1005 |
<a id="tthFtNtAAB"></a><a href="#tthFrefAAB"><sup>1</sup></a>Note added by Jorge Barros de Abreu: the VCR |
| 1006 |
changes to avifile <a href="http://avifile.sourceforge.net/"><tt>http://avifile.sourceforge.net/</tt></a>. We have also kino and muan. |
| 1007 |
<br /><br /><hr /><small>File translated from |
| 1008 |
T<sub><span class="small">E</span></sub>X |
| 1009 |
by <a href="http://hutchinson.belmont.ma.us/tth/"> |
| 1010 |
T<sub><span class="small">T</span></sub>H</a>, |
| 1011 |
version 4.03.<br />On 7 Jun 2013, 05:20.</small> |
| 1012 |
</html> |