From: John Stone (
Date: Wed Oct 21 2015 - 15:04:47 CDT

  In addition to Josh's suggestion, within any running VMD session
(whether text mode or otherwise) you can always use "display resize XXXX YYYY"
to set the image size that renderers will use by default. The only case
where this is not straightforward is actually when you do have an interactive
session running with OpenGL, as some window managers will prevent the window
size from being larger than the screen unless you push part of the window
outside of the screen boundaries prior to running the display resize command...

One of the things I hope to do in the near future is to add new render
command options to allow the image resolution to be overridden by the user
at render time, and to make it easier to produce images that correspond to a
particular size printed at a particular dpi setting.

  John Stone

On Tue, Oct 20, 2015 at 01:24:13PM -0500, Josh Vermaas wrote:
> Hi Edoardo,
> I seem to recall that you can make the resolution arbitrary from the
> command line if you just never open an X-window. So you would have a
> script that sets it all up and renders (script.tcl), and you'd run it as
> follows:
> vmd -dispdev text -size 1600 1200 -eofexit script.tcl
> I don't think there is a way of setting the resolution to be different
> from what VMD thinks the display resolution is, but so long as VMD is run
> in text-mode, I think it can be arbitrary.
> -Josh
> On 10/20/2015 12:45 PM, Edoardo Baldi wrote:
> Hi all,
> I would need to render an image and use the Tachyon-Optix (internal, GPU
> accelerated) renderer. I would like to ask to quesitons:
> 1) How can I set manually the resolution of the output image with the
> Tachyon-Optix internal renderer? Using "-res W \001H", which works for
> the external Tachyon, gives an error.
> 2) How can I render the image using the internal Tachyon with VMD
> running without the X server (to avoid bandwidth problems when working
> on a remote server)?
> Any help would be really appreciated. Thank you very much,
> Edoardo Baldi

NIH Center for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801           Phone: 217-244-3349