
Hello Chimera experts, Here is another movie making question. I noticed that disp and ~disp trigger frames to be recorded, without a call to wait. For example: disp #2 movie crossfade 25 ~disp #2 disp #3 This would produce a movie that crossfades from model #2 to blank, with #3 suddenly appearing. To get crossfades between two ligands, I had to use: disp #2 movie crossfade 25 perframe "~disp #2" frames 1 disp #3 movie crossfade 25 Based on the documentation I wasn't sure if this was intended behavior or a bug. Did I miss a more elegant way to crossfade between two models? Thanks, -da

Hi Daniel, Yes there is a frame drawn between each command that is on a separate line in the Chimera command file. So the crossfade you want should use commands disp #2 movie crossfade 25 ~disp #2 ; disp #3 where the display of model #3 is done on the same line, separated by a colon, after the crossfade command. You can put as many commands on a line as you want separated by semicolons. These behaviors are documented although there is so much Chimera documentation it may be hard to find. Tom
On Dec 20, 2016, at 1:52 PM, Daniel Asarnow <dasarnow@gmail.com> wrote:
Hello Chimera experts, Here is another movie making question. I noticed that disp and ~disp trigger frames to be recorded, without a call to wait.
For example:
disp #2 movie crossfade 25 ~disp #2 disp #3
This would produce a movie that crossfades from model #2 to blank, with #3 suddenly appearing.
To get crossfades between two ligands, I had to use:
disp #2 movie crossfade 25 perframe "~disp #2" frames 1 disp #3 movie crossfade 25
Based on the documentation I wasn't sure if this was intended behavior or a bug. Did I miss a more elegant way to crossfade between two models?
Thanks, -da _______________________________________________ Chimera-users mailing list: Chimera-users@cgl.ucsf.edu Manage subscription: http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users

Thanks, Tom! Now, I understand why wait and crossfade work the way they do as well. I'll take a deeper dive into the docs and try and find it. Best, -da On Tue, Dec 20, 2016 at 1:59 PM, Tom Goddard <goddard@sonic.net> wrote:
Hi Daniel,
Yes there is a frame drawn between each command that is on a separate line in the Chimera command file. So the crossfade you want should use commands
disp #2 movie crossfade 25 ~disp #2 ; disp #3
where the display of model #3 is done on the same line, separated by a colon, after the crossfade command. You can put as many commands on a line as you want separated by semicolons. These behaviors are documented although there is so much Chimera documentation it may be hard to find.
Tom
On Dec 20, 2016, at 1:52 PM, Daniel Asarnow <dasarnow@gmail.com> wrote:
Hello Chimera experts, Here is another movie making question. I noticed that disp and ~disp trigger frames to be recorded, without a call to wait.
For example:
disp #2 movie crossfade 25 ~disp #2 disp #3
This would produce a movie that crossfades from model #2 to blank, with #3 suddenly appearing.
To get crossfades between two ligands, I had to use:
disp #2 movie crossfade 25 perframe "~disp #2" frames 1 disp #3 movie crossfade 25
Based on the documentation I wasn't sure if this was intended behavior or a bug. Did I miss a more elegant way to crossfade between two models?
Thanks, -da _______________________________________________ Chimera-users mailing list: Chimera-users@cgl.ucsf.edu Manage subscription: http://plato.cgl.ucsf.edu/ mailman/listinfo/chimera-users

Hi Daniel, The general command-file description mentions the implicit “wait" at end-of-line, and combining commands with semicolons: <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/indexcommand.html#cmdfile> Best, Elaine ----- Elaine C. Meng, Ph.D. UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab Department of Pharmaceutical Chemistry University of California, San Francisco On Dec 20, 2016, at 5:22 PM, Daniel Asarnow <dasarnow@gmail.com> wrote:
Thanks, Tom!
Now, I understand why wait and crossfade work the way they do as well. I'll take a deeper dive into the docs and try and find it.
Best, -da
On Tue, Dec 20, 2016 at 1:59 PM, Tom Goddard <goddard@sonic.net> wrote: Hi Daniel,
Yes there is a frame drawn between each command that is on a separate line in the Chimera command file. So the crossfade you want should use commands
disp #2 movie crossfade 25 ~disp #2 ; disp #3
where the display of model #3 is done on the same line, separated by a colon, after the crossfade command. You can put as many commands on a line as you want separated by semicolons. These behaviors are documented although there is so much Chimera documentation it may be hard to find.
Tom
On Dec 20, 2016, at 1:52 PM, Daniel Asarnow <dasarnow@gmail.com> wrote:
Hello Chimera experts, Here is another movie making question. I noticed that disp and ~disp trigger frames to be recorded, without a call to wait.
For example:
disp #2 movie crossfade 25 ~disp #2 disp #3
This would produce a movie that crossfades from model #2 to blank, with #3 suddenly appearing.
To get crossfades between two ligands, I had to use:
disp #2 movie crossfade 25 perframe "~disp #2" frames 1 disp #3 movie crossfade 25
Based on the documentation I wasn't sure if this was intended behavior or a bug. Did I miss a more elegant way to crossfade between two models?
Thanks, -da
participants (3)
-
Daniel Asarnow
-
Elaine Meng
-
Tom Goddard