VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Mon Mar 10 2008 - 17:46:22 CDT
- Next message: Emmanuel Levy: "Re: snapshot not compatible with -dispdev text?"
- Previous message: Axel Kohlmeyer: "Re: snapshot not compatible with -dispdev text?"
- In reply to: Emmanuel Levy: "snapshot not compatible with -dispdev text?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Emmanuel,
If you're running with -dispdev text, then you'll have to use
one of the ray tracers or other external renderers, as the OpenGL display
device is inactive in that situation, and it is not possible to use
the "snapshot" rendering method. Try using "Tachyon" or "TachyonInternal"
for starters, and use the default render command that VMD normally runs
for whichever renderer, and you should be in business.
Cheers,
John Stone
vmd_at_ks.uiuc.edu
On Mon, Mar 10, 2008 at 10:08:02PM +0000, Emmanuel Levy wrote:
> 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
-- NIH Resource for Macromolecular Modeling and Bioinformatics Beckman Institute for Advanced Science and Technology University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801 Email: johns_at_ks.uiuc.edu Phone: 217-244-3349 WWW: http://www.ks.uiuc.edu/~johns/ Fax: 217-244-6078
- Next message: Emmanuel Levy: "Re: snapshot not compatible with -dispdev text?"
- Previous message: Axel Kohlmeyer: "Re: snapshot not compatible with -dispdev text?"
- In reply to: Emmanuel Levy: "snapshot not compatible with -dispdev text?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]