[chimerax-users] crossfade command not working from a command file
Tom Goddard
goddard at sonic.net
Wed Sep 29 11:56:32 PDT 2021
Hi Guillaume,
Thanks for the complete command script that demonstrates the problem. From the wrong movie I can see that it crossfades from entirely black to the intended image. In testing I find that it fades from entirely black (actually in my test it was solid red) because when the crossfade command is run it grabs the current image being shown in the graphics on screen, then fades that to the next rendered image. But if you have the file history thumbnails displayed where the graphics is normally, then the apparently graphics was not rendered to the screen and crossfade gets all black. If you hide the file history thumbnails before you open your script (use the Recent Files toolbar icon, or the lighting bolt icon in the lower right corner of main window), then the movie records correctly.
Usually the file history thumbnails are hidden automatically when the first model is opened. I will have to look at why that is not happening when opening a script. I will make a bug report and see if I can fix that.
Tom
> On Sep 29, 2021, at 2:02 AM, Guillaume Gaullier via ChimeraX-users <chimerax-users at cgl.ucsf.edu> wrote:
>
> Hello,
>
> I am using ChimeraX version 1.2.5 (2021-05-24) on macOS 10.15.7. When trying to generate a simple movie with the attached command file, I get the attached wrong result in which the crossfade command seems to fail (instead of a smooth transition, I only get a flashing black screen for a few frames). A similar problem happens with the same version of ChimeraX on Rocky Linux 8.4.
>
> Instead of loading the command file from a fresh session (with 'open command-file.cxc'), I tried to prepare my models first, and then sent the commands generating the movie all at once (separated by semi-colons). When I did it this way, I got the correct result (also attached).
>
> Is there anything I am doing wrong, or is this a bug? I am pretty sure the command file version worked correctly in a previous version of ChimeraX, because I have done this before. Unfortunately, I don’t remember which version it was (but probably 1.1, since it was just last year).
>
> I would appreciate any help with this.
> Thank you in advance,
>
> Guillaume
>
>
>
>
>
>
>
>
>
>
> När du har kontakt med oss på Uppsala universitet med e-post så innebär det att vi behandlar dina personuppgifter. För att läsa mer om hur vi gör det kan du läsa här: http://www.uu.se/om-uu/dataskydd-personuppgifter/
>
> E-mailing Uppsala University means that we will process your personal data. For more information on how this is performed, please read here: http://www.uu.se/en/about-uu/data-protection-policy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: command-file.cxc
Type: application/octet-stream
Size: 1889 bytes
Desc: not available
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20210929/a64a3435/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: correct-result.mp4
Type: video/mp4
Size: 1956893 bytes
Desc: not available
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20210929/a64a3435/attachment-0002.mp4>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wrong-result.mp4
Type: video/mp4
Size: 880577 bytes
Desc: not available
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20210929/a64a3435/attachment-0003.mp4>
-------------- next part --------------
> _______________________________________________
> ChimeraX-users mailing list
> ChimeraX-users at cgl.ucsf.edu
> Manage subscription:
> https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
More information about the ChimeraX-users
mailing list