Opened 7 years ago

Closed 7 years ago

#1702 closed defect (fixed)

Depth cue color sometimes mismatches background color

Reported by: olibclarke@… Owned by: Tom Goddard
Priority: normal Milestone:
Component: Graphics Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Darwin-18.2.0-x86_64-i386-64bit
ChimeraX Version: 0.9 (2019-02-01)
Description
Hi,

It seems like the depthcue color upon loading defaults to whatever was last used, sometimes conflicting with the background color. E.g. I just loaded up with a white background and initially the depthcuecolor was set to black - I had to manually change it to white. However, when I manually change the background color using setbgcolor, the depthcuecolor changes correctly, so I'm not sure what's going on, it seems like a glitch of some sort. I have fixed it for my setup by manually adding set bgcolor and lighting depthcuecolor commands to my startup preferences.

Cheers
Oli

Log:
> camera ortho

> lighting soft

> cofr centerOfView

UCSF ChimeraX version: 0.9 (2019-02-01)  
© 2016-2019 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open best_new_4cmc_combined_pixcorr.mrc

Opened best_new_4cmc_combined_pixcorr.mrc, grid size 512,512,512, pixel 1.06,
shown at level 0.0133, step 2, values float32  

> color #1 cornflower blue

> lighting soft

> lighting depthCueColor white

> help background

No help found for 'background'  

> help

Developer warnings in user commands index:

  * didn't expect href to be to tools/sequenceviewer.html on line 246

  

> toolshed show "Side View"

> set bgColor black

> set bgColor white




OpenGL version: 4.1 ATI-2.4.10
OpenGL renderer: AMD Radeon Pro 580 OpenGL Engine
OpenGL vendor: ATI Technologies Inc.

Change History (4)

comment:1 by Eric Pettersen, 7 years ago

Component: UnassignedGraphics
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionDepth cue color sometimes mismatches background color

comment:2 by Tom Goddard, 7 years ago

I don't understand your explanation "It seems like the depthcue color upon loading defaults to whatever was last used..." What does "upon loading" mean? Do you mean when ChimeraX starts? The depth cue color from the last time you ran ChimeraX is not remembered.

The background color and depth cue color are two different settings. But there is a bizarre behavior that might be tripping you up. When you set the background color (set bgColor white) it also changes the depth cue color to match the background color if the depth cue color was the same as the background color when the command was run. If the depth cue color was not the same as the background color when the command was run then the depth cue color is not updated.

in reply to:  3 ; comment:3 by olibclarke@…, 7 years ago

I mean when I start ChimeraX.

I don’t know why it is happening, I have just noticed a number of times, I load chimeraX, load up a EM map and switch on soft lighting. My default background color is white, but the depthcue color is clearly black, even though I did not alter it at any point during the session - this is directly after starting ChimeraX.

Oli


comment:4 by Tom Goddard, 7 years ago

Resolution: fixed
Status: assignedclosed

Fixed.

Depth cue color was not matching preference setting background.

Note: See TracTickets for help on using tickets.