VMD-L Mailing List
From: Emmanuel Levy (emmanuel.levy_at_gmail.com)
Date: Mon Mar 10 2008 - 17:08:02 CDT
- Next message: Axel Kohlmeyer: "Re: snapshot not compatible with -dispdev text?"
- Previous message: Emmanuel Levy: "Re: Automatically zoom so that the protein fill the display"
- Next in thread: Axel Kohlmeyer: "Re: snapshot not compatible with -dispdev text?"
- Reply: Axel Kohlmeyer: "Re: snapshot not compatible with -dispdev text?"
- Reply: John Stone: "Re: snapshot not compatible with -dispdev text?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hello,
I'm trying to render images from the command line, and I have got the
following script:
axes location off
display projection orthographic
color Display Background white
mol new {1bg2A_A_5.pdb} type pdb
mol delrep 0 top
mol representation Cartoon
mol color resname
mol selection {protein}
mol addrep top
render snapshot "1bg2A_A_5_0_0.tga"
exit
that I call like:
vmd -e script.vmd
It works, but only if the display is "on". If I add
-dispdev text
or
-dispdev none
Then the tga images are empty.
Since I've got hundreds of images generate, I'd rather it to be "quiet".
I guess that "snapshot" does not work when no window is opnened (which
makes sense), I like it because it is very fast (which is crucial for
what I'd like to do).
Any idea around would be very much appreciated!
Best wishes,
Emmanuel
- Next message: Axel Kohlmeyer: "Re: snapshot not compatible with -dispdev text?"
- Previous message: Emmanuel Levy: "Re: Automatically zoom so that the protein fill the display"
- Next in thread: Axel Kohlmeyer: "Re: snapshot not compatible with -dispdev text?"
- Reply: Axel Kohlmeyer: "Re: snapshot not compatible with -dispdev text?"
- Reply: John Stone: "Re: snapshot not compatible with -dispdev text?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]