From: John Stone (
Date: Thu Feb 26 2015 - 14:13:24 CST

  I'm not sure I fully understand what coordinates you're asking for, but
I'll try and give you a useful answer anyway.

VMD uses a sequence of transformation matrices to convert from the model
coordinate system (e.g. molecule coordinates) into the world, or camera
coordinate system, which follows the conventions used by the renderer
currently in use. The internal behavior of VMD is to assume an OpenGL
camera/world coordinate system, and all other renderers basically cope
with this by doing further coordinate transformations.

In any case, you can query the concatenated VMD transformation matrices
for scale, translation, rotation, etc and use these in your own scripts
for your own purposes. Look at the VMD save_state.tcl included with VMD,
and you'll see how VMD saves and restores the view with a saved state.

  John Stone

On Mon, Feb 23, 2015 at 10:42:16PM +0000, Nuno Sousa Cerqueira wrote:
> hello,
> Is it possible to get the coordinates of the frame when we use the camera
> navigation (mouse or keys).
> The idea was to create a VMD state with more than one protein so that
> the user could "travel" through the proteins and get some information
> about them. The problem is to known where the used is during the travel.
> As far as I understand, it is not trivial to obtain this sort of
> information directly.
> Any ideas how this could be done.
> Regards,
> Nuno
> --
> Nuno M. F. Sousa A. Cerqueira
> Chemistry Department
> Faculty of Sciences
> University of Porto
> Rua do Campo Alegre, s/n
> 4169-007 Porto
> Portugal
> Tel: +351 220402501
> Fax: +351 220 402 009
> email: [1]
> website: [2]
> References
> Visible links
> 1.
> 2.

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