From: John Stone (johns_at_ks.uiuc.edu)
Date: Thu Apr 29 2010 - 12:10:07 CDT

Hi,
  See the "light" command in the VMD user's guide. The "position"
isn't actually a position, but rather a direction vector in the current
implementation:
  http://www.ks.uiuc.edu/Research/vmd/vmd-1.8.7/ug/node130.html

For example:
  light 0 pos { 1 1 1 }

Cheers,
  John Stone
  vmd_at_ks.uiuc.edu

On Thu, Apr 29, 2010 at 09:48:16AM +0200, Nicolas Floquet wrote:
> Hello everyone, dos it it possible to set the light coordinates in VMD
> in another way than just using the "movelight" function? e.g. set light1
> x, y and z, or better, center the light on a point by cliking on the
> corresponding atom ?
>
> thank you very much for your help.
>
> Nicolas Floquet

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