Hmmm, I've been wanting to do the exact same thing, and I'd reached the
conclusion that the only way to do it would be to write a Python script.
I'd be happy to share it when (if) it gets written (perhaps this week,
since I'm stuck without real work for now).

Ideally, it'd be nice to have even more control over animation and camera
actions; PyMOL has excellent potential for making really large movies, but
the current movie commands seem tailored for interacting with a small
number of states.  I want a molecular version of Maya.

-Nat

On Wed, 4 Feb 2004, Matt Franklin wrote:

> Jose Avalos wrote:
> > Dear all,
> >
> > Is it possible to do a movie in which you start looking at the entire
> > enzyme and then you zoom into the active site and finally alternate
> > between different states? If so, can somebody please point me in the right
> > direction?
> >
> > Thank you very much
> >
> > Jose Avalos
> >
>
> It certainly is possible, but not using the "mdo" commands in pymol (as
> far as I know).  (Actually, a simple linear zoom like the first part of
> what I describe below might be possible.)
>
> I made a similar movie (the non-proprietary part of which I can send you
> if you want) using a script file that looked like this:
>
> (load, color, and render molecules)
> # start loop here
> #
> move z, 5
> png movie_1
> move x, 1.9
> move y, 1.3
> move z, 14.7
> png movie_2
> move x, 1.9
> move y, 1.3
> move z, 14.7
>
> etc. etc.
>
> move x, 1.805
> move y, 1.235
> move z, 13.965
> turn x, -0.3
> turn y, 0.1
> png movie_42
> move x, 1.71
> move y, 1.17
> move z, 13.23
> turn x, -0.6
> turn y, 0.2
> png movie_43
> move x, 1.615
> move y, 1.105
> move z, 12.495
> turn x, -0.9
> turn y, 0.3
>
> etc. etc.
>
> This looks best (most realistic) if rendered in perspective mode, which
> means not raytraced.  This will also make rendering faster.
>
> The first 40 frames of the zoom are just a linear motion, while the last
> 40 frames are a steady deceleration of the linear motion, coupled with a
> sinusoidal rate of turn in x and y (slow, then faster, then slower) to
> bring the view to a gradual halt at the correct position and
> orientation.  This involved some trial and error, as you might imagine.
>
> I generated the numbers you see above in Excel, then used awk to create
> the script file. Setting the origin to the correct location makes sure
> the turns are centered around the right point.
>
> Hope that wasn't too intimidating!  Good luck - this can be really
> impressive when it's finished.
>
> - Matt
>
> --
> Matthew Franklin            Phone:(650)225-4596
> Postdoctoral Researcher       Fax:(650)225-3734
> Genentech, Inc.
> 1 DNA Way, South San Francisco, CA 94080
>
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> PyMOL-users mailing list
> PyMOL-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pymol-users
>

Reply via email to