From: Emmanuel Levy (emmanuel.levy_at_gmail.com)
Date: Mon Mar 10 2008 - 18:19:49 CDT

Dear John and Alex,

Thank you for your answers.

> this has been discussed on this list very recently (please
> check the archives).

I actually did check but for some reason I didn't find it - sorry for
re-posting.

> the solution is to use one of the
> other renderers, e.g. TachyonInternal.

That's what I was afraid of because it is slower - maybe I'll keep the
display activated then.

Thank you,

Emmanuel

>
> 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.
>