-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi again,
This is a different question, I though it was better if I put it in a
different eMail:
I'm trying to produce a movie showing a metal binding site in my
protein. I'd like to start from the general (cartoon) view, and then
zoom in (or traveling in) to focus on the metal.
So far I used a loop looking like:
# Traveling in the site
diam = 30.0
final = 6.0
step = 0.0 + (N.exp((N.log(final) - N.log(diam)) * 1/40))
for a in range (1, 40):
cmd.mdo(a,"zoom ((zn expand %2.9f) & (prot1 or zn)); origin (zn &
i;2)"%(diam))
diam = diam*step
The problem is that because atoms "fall off" the zooming selection un
regularly, the traveling is unstable (wiggly)... Indeed I have a third
object (not zn neither prot1) in the figure, I had to remove it from the
zooming because it was only on one side of the site and it was giving
even worse unstabilities...
Does anyone knows better ways to do this king of traveling in?
Indeed I was first thinking to center each frames on a "moving" point
which get closer to the zinc, and have a "progressive" move z at the
same time. Unfortunately the only command I found to put a given
position in the middle of the screen is to use zoom, and it also change
the z position... Am I missing some commands?
Thanks for any help.
Serge.
- ----------------------------------------------------
Serge Cohen
GPG Key ID: 1024D/69B1D346
- ----------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (Darwin)
iD8DBQE9j2CjMygj1Wmx00YRAi6RAJ45zAsff2DEsKTeNJR2ul5BkFURbACfZFaG
ho6XobfQPkh/a5/4se9HLkI=
=BqTf
-----END PGP SIGNATURE-----