[Chimera-users] movie related commands
meng at cgl.ucsf.edu
Tue Oct 27 09:35:11 PDT 2015
If you look at the “scale” description, you will see it can take a frames number. Use command “help scale” or see here:
Just be aware that the scale factor is applied at EACH frame. So if you use “scale 1.01 100” the resulting total scale factor will be 1.01 to the 100th power, approximately 2.7X.
Alternatively, you can save all the positions ahead of time with “savepos” and then use “reset” with a frame number to restore them gradually. For example if you had saved the position before using “scale" as p1 and the position after using “scale" as p2, you could first go back to p1 and then gradually change to p2 with:
reset p2 100
Use “help savepos” and “help reset” to see the details. Several movie-related commands are listed here, with links to their manual pages:
The “center” command does not have a frames argument, so you would have to use the savepos/reset approach similar to that above. In other words, save the positions before and after using center, then use reset to return to those positions either immediately or gradually.
I hope this helps,
Elaine C. Meng, Ph.D.
UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab
Department of Pharmaceutical Chemistry
University of California, San Francisco
> On Oct 26, 2015, at 10:25 PM, Smith Liu <smith_liu123 at 163.com> wrote:
> Dear All,
> For the scale command, it will change (enlarge or decrease) the view immediately. Is any way we change the view gradually, for example in 10 frames or 100 frames?
> For the center command, it will also change the view immediately. Is any way we change the view gradually, for example in 10 frames or 100 frames?
> Best regards.
More information about the Chimera-users