VMD-L Mailing List
From: Axel Kohlmeyer (akohlmey_at_cmm.chem.upenn.edu)
Date: Mon Mar 10 2008 - 17:35:52 CDT
- Next message: John Stone: "Re: snapshot not compatible with -dispdev text?"
- Previous message: Emmanuel Levy: "snapshot not compatible with -dispdev text?"
- In reply to: Emmanuel Levy: "snapshot not compatible with -dispdev text?"
- Next in thread: Emmanuel Levy: "Re: snapshot not compatible with -dispdev text?"
- Reply: Emmanuel Levy: "Re: snapshot not compatible with -dispdev text?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
On Mon, 10 Mar 2008, Emmanuel Levy wrote:
emmanuel,
this has been discussed on this list very recently (please
check the archives). the solution is to use one of the
other renderers, e.g. TachyonInternal.
cheers,
axel.
EL> Hello,
EL>
EL> I'm trying to render images from the command line, and I have got the
EL> following script:
EL>
EL> axes location off
EL> display projection orthographic
EL> color Display Background white
EL> mol new {1bg2A_A_5.pdb} type pdb
EL> mol delrep 0 top
EL> mol representation Cartoon
EL> mol color resname
EL> mol selection {protein}
EL> mol addrep top
EL> render snapshot "1bg2A_A_5_0_0.tga"
EL> exit
EL>
EL> that I call like:
EL> vmd -e script.vmd
EL>
EL> It works, but only if the display is "on". If I add
EL> -dispdev text
EL> or
EL> -dispdev none
EL> Then the tga images are empty.
EL>
EL> Since I've got hundreds of images generate, I'd rather it to be "quiet".
EL>
EL> I guess that "snapshot" does not work when no window is opnened (which
EL> makes sense), I like it because it is very fast (which is crucial for
EL> what I'd like to do).
EL>
EL> Any idea around would be very much appreciated!
EL>
EL> Best wishes,
EL>
EL> Emmanuel
EL>
-- ======================================================================= Axel Kohlmeyer akohlmey_at_cmm.chem.upenn.edu http://www.cmm.upenn.edu Center for Molecular Modeling -- University of Pennsylvania Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323 tel: 1-215-898-1582, fax: 1-215-573-6233, office-tel: 1-215-898-5425 ======================================================================= If you make something idiot-proof, the universe creates a better idiot.
- Next message: John Stone: "Re: snapshot not compatible with -dispdev text?"
- Previous message: Emmanuel Levy: "snapshot not compatible with -dispdev text?"
- In reply to: Emmanuel Levy: "snapshot not compatible with -dispdev text?"
- Next in thread: Emmanuel Levy: "Re: snapshot not compatible with -dispdev text?"
- Reply: Emmanuel Levy: "Re: snapshot not compatible with -dispdev text?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]