11.07.2015 Views

VMD User's Guide

VMD User's Guide

VMD User's Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

• Dotted spheres are not drawn with dots.• The background color may be black, as not all output formats support a background colorother than black;7.4 One Step PrintingA frequently asked question is “How can I quickly get a printout of the <strong>VMD</strong> Display?” There areseveral one step solutions to this problem, a few are listed below:• Choose the snapshot option and type convert %s eps:%s.ps; lpr %s.ps in the rendercommand box. This assumes that you have the ImageMagick tools available in your PATHsetting.• As an example of how to directly print a Raster3D file, choose the Raster3D option in theRender[§ 4.4.11] form and type render < %s -sgi %s.rgb; convert %s.rgb eps:%s.ps;lpr %s.ps in the render command box.• Choose the PostScript output option in the Render form and type lpr %s in the rendercommand box.7.5 Making Stereo ImagesStereoscopic images can be rendered with a simple sequence of text commands, cycling betweenthe left and right monoscopic stereo modes and exporting one scene for each eye:display stereo leftrender Tachyon left.datdisplay stereo rightrender Tachyon right.datExternal renderers don’t always support the ability to draw stereo images. In principle, it ispossible to write the scene to the file twice with the appropriate transformations applied to makethe view correct for each eye, but then the shadows would be incorrect. Instead, we suggest makingone image of the current scene, then shift the molecules to the left (or right) to make the otherimage. The text commands for this are something like:display stereo offrender Raster3D left.r3dtrans by -.1 0 0render Raster3D right.r3dThe two files must then be rendered to produce the rgb file. As it turns out, this method makesit easy to produce stereo images of ordinary Raster3D files. Since <strong>VMD</strong> can read the Raster3Dformat, all you have to do is read the file and then execute the commands listed above. The textcommands for generating left or right views also have equivalents in the GUI under the Stereooption of the Display form.87

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!