[chimerax-users] Keep color on vseries
Tom Goddard
goddard at sonic.net
Tue Feb 8 11:12:26 PST 2022
Hi Moritz,
That is pretty annoying behavior losing the zone coloring when using the "vseries play" command. To keep the coloring specify the cacheFrames option
vseries play #2 cacheFrames 100
The trouble is that when you play a volume series, to avoid running out of memory, vseries deletes the surface for each model it undisplays, then recomputes the surface when it needs to display it again. The "color zone" command colors the surface and when the surface is deleted the color zone is lost. By using the cacheFrames option you tell vseries to not delete the surfaces. You should specify a number equal or larger than the number of volumes in your series. The vseries slider automatically uses cacheFrames so that it can play through the surfaces faster (not needing to recompute surfaces).
We'll put a note about this problem in the vseries command documentation.
Tom
> On Feb 8, 2022, at 8:59 AM, Eric Pettersen via ChimeraX-users <chimerax-users at cgl.ucsf.edu> wrote:
>
>>
>> From: "Hunkeler, Moritz" <Moritz_Hunkeler at DFCI.HARVARD.EDU <mailto:Moritz_Hunkeler at DFCI.HARVARD.EDU>>
>> Subject: Keep color on vseries
>> Date: February 8, 2022 at 8:20:31 AM PST
>> To: ChimeraX-users <chimerax-users-bounces at cgl.ucsf.edu <mailto:chimerax-users-bounces at cgl.ucsf.edu>>
>>
>>
>> Hi,
>>
>> I am sure I am missing a simple step here, but I would like to visualize a vseries where each frame is colored according to an underlying model. So, I color all frames with ‘color zone #id near #id distance 15’ and then start the vseries with ‘loop true’ and ‘maxFrameRate 2’. However, as soon as it loops around once, the coloring of all maps is set back to the starting default color. Same thing happens if I just start the vseries twice without ‘loop true’: during the first round, all maps are colored correctly, during the second round all map coloring is reset. This seems to happen only when started from the command line, and not when started from the vseries slider. Is it possible to keep the map coloring when starting the vseries from the command line? I am using the version released 20220204.
>>
>> Best,
>> Moritz
>
> _______________________________________________
> ChimeraX-users mailing list
> ChimeraX-users at cgl.ucsf.edu
> Manage subscription:
> https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20220208/729ff150/attachment.html>
More information about the ChimeraX-users
mailing list