Exporting the Display
Exporting the Display
It is sometimes useful to save the OpenGL graphics output from Partiview. You can do this using the snapset and snapshot commands.
snapset sets the output filename for the image. Output images are written into a compressed Portable PixMap (.ppm) file by default. However, other image types can be saved (tif, jpeg, bmp, etc.) provided you have the convert(1) program installed and in your path (this applies to UNIX, Linux, and Macintosh systems, Windows users will need to convert the image using another image processing program or install a UNIX emulator).
snapset takes the filestem argument. You simply supply an ordinary name, to which Partiview will append the frame number (starting at zero) along with the file extension (.ppm) then the gzip compression extension (.gz). Try this in Partiview with these commands:
snapset foo
snapshot
You should see a file in your Partiview folder called foo.000.ppm.gz.
More details on these commands can be found in the command listing.
© 2002-2005 American Museum of Natural History
Last Modified: 2006-04-28 by Brian Abbott
