[Chimera-users] matrixget/set, keyframes, and interpolation
Elaine Meng
meng at cgl.ucsf.edu
Fri Jun 16 10:40:34 PDT 2006
I previously replied just to Jonathan, but it was suggested other
chimera-users might find the information useful:
There are some undocumented extra features of the "reset" command in
recent versions of Chimera (2006) that may have the desired effect.
The standard behavior is that you can save the positions of models and
give each set of positions a name (with the "savepos" command) and
later return to any saved position with "reset."
The undocumented (newer and less well-tested) behavior is that you can
use "reset" to gradually interpolate from one saved position to another
over a specified number of frames. The usage is:
reset position-name [#-frames [interp-method]]
where the only interp-method currently available is "linear"
This newer usage of the reset command may be changed, improved, and
further developed in future versions of Chimera.
Elaine
"savepos" man page:
http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/savepos.html
On Jun 15, 2006, at 7:55 PM, Jonathan Hilmer wrote:
> Does anyone have experience making movies in Chimera used more
> advanced motions, besides the standard roll, rock, etc?
>
> My general idea is to use matrixget to output a series of matrices,
> interpolate them in my standard Python environment (which is related
> to the question from Vol 38, Issue 10), and create as output a Chimera
> script composed of hundreds of 'matrixset' matrices.
>
> The Python Computer Graphics Kit (http://cgkit.sourceforge.net) will
> give me the functions for quaternions, as would ScientificPython or
> pythonOpenGL, but a quick review of their documentation suggests that
> in any package it will be necessary to interpolate the rotation
> separately from the translation: obviously it would be more convenient
> if there is a package that can transparently interpolate the matrices
> as provided by Chimera.
>
> Has anyone gone through this issue before, hopefully with some tips
> for me?
>
> Thanks,
> Jonathan
> _______________________________________________
> Chimera-users mailing list
> Chimera-users at cgl.ucsf.edu
> http://www.cgl.ucsf.edu/mailman/listinfo/chimera-users
>
-----
Elaine C. Meng, Ph.D. meng at cgl.ucsf.edu
UCSF Computer Graphics Lab and Babbitt Lab
Department of Pharmaceutical Chemistry
University of California, San Francisco
http://www.cgl.ucsf.edu/home/meng/index.html
More information about the Chimera-users
mailing list