VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Thu Jan 11 2007 - 15:15:22 CST
- Next message: Peter Freddolino: "Re: sasa by residue"
- Previous message: alexandra.marques_at_fc.up.pt: "Re: sasa by residue"
- Maybe in reply to: John Stone: "Re: VMD scene information"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi guys,
I've attached a copy of a simple demonstration script for the
undocumented prototype camera controls that are already in VMD 1.8.5 and
earlier. The "camsetup.tcl" is a simple demo that uses the camfly.tcl
code. Let me know if you have questions or suggestions.
John Stone
vmd_at_ks.uiuc.edu
On Wed, Jan 10, 2007 at 07:17:04PM -0800, Eric Peterson wrote:
> I would definitely like to try out the commands you're working on; can you
> send me the scripts to look at?
>
> Eric
>
>
>
> On 1/10/07 6:01 PM, "John Stone" <johns_at_ks.uiuc.edu> wrote:
>
> >
> > Hi Eric,
> > If you'd like to try them out, I have some undocumented
> > (i.e. unfinished implementation) commands which move the camera
> > around to arbitrary positions and orientations. I've written some
> > prototype scripts which use these commands to perform complex
> > camera moves for the purposes of making movies and animations.
> > If you'd like to try these out, let me know and I'll make the
> > test scripts etc available to you and anyone else that wants to
> > use them.
> >
> > John Stone
> > vmd_at_ks.uiuc.edu
> >
> > On Wed, Jan 10, 2007 at 03:19:39PM -0800, Eric Peterson wrote:
> >> Ah yes, I didn't think of getting the rotation matrix from the molecules
> >> themselves. Some utilities to manipulate the camera with Tcl and so forth
> >> would be really useful, I look forward to seeing those in VMD!
> >>
> >> Thanks,
> >> Eric
> >>
> >>
> >>
> >> On 1/10/07 10:55 AM, "John Stone" <johns_at_ks.uiuc.edu> wrote:
> >>
> >>>
> >>> Hi,
> >>> If you want the view direction vector, you can get this with
> >>> (in current versions of VMD, things will change in the future
> >>> as I begin enabling camera manipulation features that are currently
> >>> experimental):
> >>>
> >>> If a molecule is loaded, you can get this with:
> >>> set eye_vector [vectrans \
> >>> [measure inverse [lindex [molinfo top get rotate_matrix] 0]] {0 0 -1} \
> >>> ]
> >>>
> >>> Cheers,
> >>> John Stone
> >>>
> >>> On Wed, Jan 10, 2007 at 10:23:29AM -0800, Eric Peterson wrote:
> >>>> Does someone know a method to find out what the normal axis is to the
> >>>> current "window" the user is looking though at the molecules rendered by
> >>>> VMD? I would have thought the "display" tcl command could return this
> >>>> information but I don't see anything in it that tells you what the relative
> >>>> rotation of the current scene is to the xyz axes.
> >>>>
> >>>> Eric
> >>>>
> >>
>
-- 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
- application/x-tcl attachment: camfly.tcl
- application/x-tcl attachment: camsetup.tcl
- Next message: Peter Freddolino: "Re: sasa by residue"
- Previous message: alexandra.marques_at_fc.up.pt: "Re: sasa by residue"
- Maybe in reply to: John Stone: "Re: VMD scene information"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]