[chimerax-users] Crossfade rough transition while making a movie

Elaine Meng meng at cgl.ucsf.edu
Fri Feb 7 09:18:43 PST 2020


Hi Ahmad,
Not sure I understand what you actually want, but I’ll try to answer anyway…

If you mean you want to see a gradual change in position from pos6 to pos5 then you would need to put a frames number after pos5, for example:

crossfade 50; view pos5 50; wait 50

<http://rbvi.ucsf.edu/chimerax/docs/user/commands/view.html#name>

(Crossfade does not interpolate the movement, you have to do it with the view command.)
<http://rbvi.ucsf.edu/chimerax/docs/user/commands/crossfade.html>

Some minor notes on scripts.  You do not need “;” at the end of any line; it is only needed to separate commands that are on the same line as each other, as in the example above.
<http://rbvi.ucsf.edu/chimerax/docs/user/commands/usageconventions.html#cxc-files>

I hope this helps,
Elaine
-----
Elaine C. Meng, Ph.D.                       
UCSF Chimera(X) team
Department of Pharmaceutical Chemistry
University of California, San Francisco

> On Feb 6, 2020, at 11:59 PM, Ahmad Khalifa <underoath006 at gmail.com> wrote:
> 
> I want to crossfade pos6 into pos5, the crossfading itself is smooth, but the below script gives me an abrupt transition at the start of the crossfade (at pos6), how can I fix that?!
> 
> view pos4
> wait 30;
> 
> movie record supersample 3 size 1920,1080
> view pos6 50
> wait 50;
> crossfade 50; view pos5 
> wait 50;
> movie encode IJ_movie3.mp4 quality high




More information about the ChimeraX-users mailing list