
Hi Sergio! (1) I could not reproduce this problem. I tried both the 1.8 release and the current daily build. Started ChimeraX, opened a structure, turned off depth cueing, saved a session. Quit, restarted, restored session -- it does not have depth cueing turned on. You can just see it in the 3D window, or use "lighting" command with no arguments, which reports "depth cueing: 0" (meaning it is turned off). These sessions were saved with at least one model open. If you save an "empty" (no-models) session, it will be restored with depth cueing off, but the depth cueing may turn on automatically when you open the first model, see #2 below for more about that... (2) Actually your startup commands are applied (at least they were when I tried the same thing), but the lighting changes when you open the first model due to automatic styling. You can test this by starting up but NOT opening anything and using the "lighting" command without arguments - it reports "depth cue: 0" etc. as per your commands. However, as soon as you open the first model, with automatic styling the lighting may change. Automatic styling is described here: <https://rbvi.ucsf.edu/chimerax/docs/user/autostyle.html> I didn't mention depth cueing in that page, but depth cueing is part of the "simple" lighting preset. You can avoid automatic styling by using "open" with the option "autostyle false" to open the first model in the session. For example, start the program, use command: open 2gbp autostyle false <https://rbvi.ucsf.edu/chimerax/docs/user/commands/open.html#top> <https://rbvi.ucsf.edu/chimerax/docs/user/commands/open.html#options> However, it may be inconvenient without automatic styling because, for example, all the atoms will just be white spheres. So you may have to do a bunch of other commands to change display styles, colors, etc. So it might just be easier to open the first model (with all the autostyling), and then execute your commands after that. You can put your commands in a .cxc file and just open the .cxc file, or even make your own custom preset to put it in the menu so that you don't have to "manually" open the .cxc file. See custom presets, where you specify the .cxc file in the Startup section of Preferences: <https://rbvi.ucsf.edu/chimerax/docs/user/preferences.html#startup> I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
On Sep 19, 2024, at 6:11 AM, Sergio Pipaón Alcíbar via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
Hello!!
My name is Sergio Pipaón, from the National Center for Biotechnology in Madrid. I wanted to report a couple of -what I believe are- bugs:
1) I hate the depthCue to visualize my structures, so I usually run: lighting depthCue false in my sessions. However, for some reason, this is not stored in the session info, and you have to run it again every time you close and open your session.
2) The commands that you can introduce in the ’Startup’ section of the preferences seem to not work in some cases (I am referring to the ‘Execute these commands at startup’ text box). The aliases work fine, but I also have written the following:
graphics silhouettes true lighting soft lighting shadows true lighting depthCue false ~cofr
And these do not seem to run. Definitely not the lighting depthCue false.
Extra: I would be cool to have a button in ‘Graphics’ to easily change the depthCue from to true to false.
Am I obsessed with the depthCue? Maybe, but I hope that this is valuable feedback.
I am currently running ChimeraX-1.8-rc2024.05.10.
Thank you guys!!
Sergio.