Opened 6 years ago
Closed 6 years ago
#2218 closed defect (fixed)
Slow (distance) label redraw with shadows
Reported by: | Owned by: | Tom Goddard | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Graphics | Version: | |
Keywords: | Cc: | pett | |
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
The following bug report has been submitted: Platform: Darwin-18.6.0-x86_64-i386-64bit ChimeraX Version: 0.91 (2019-07-02) Description The combination of full shadows and distance labels slows ChimeraX to a crawl on my MacBook Air (2-3 fps when rotating). Log: UCSF ChimeraX version: 0.91 (2019-07-02) © 2016-2019 Regents of the University of California. All rights reserved. How to cite UCSF ChimeraX > open 6n60 format mmCIF fromDatabase pdb 6n60 title: Escherichia coli RNA polymerase sigma70-holoenzyme bound to upstream fork promoter DNA and Microcin J25 (MccJ25) [more info...] Chain information for 6n60 #1 --- Chain | Description A B | DNA-directed RNA polymerase subunit α C | DNA-directed RNA polymerase subunit β D | DNA-directed RNA polymerase subunit beta' E | DNA-directed RNA polymerase subunit ω F | RNA polymerase σ factor RpoD M | Microcin J25 N | non-template strand DNA T | template strand DNA Non-standard residues in 6n60 #1 --- MG — magnesium ion ZN — zinc ion > ui mousemode rightMode distance > distance /T:15@OP1 /N:15@OP1 Distance between /T DG 15 OP1 and /N DG 15 OP1: 12.401Å > graphics frameRate true OpenGL version: 4.1 INTEL-12.9.22 OpenGL renderer: Intel(R) HD Graphics 6000 OpenGL vendor: Intel Inc.
Attachments (1)
Change History (8)
comment:1 by , 6 years ago
Cc: | added |
---|---|
Component: | Unassigned → Graphics |
Owner: | set to |
Platform: | → all |
Project: | → ChimeraX |
Status: | new → assigned |
Summary: | ChimeraX bug report submission → Slow (distance) label redraw with shadows |
follow-up: 2 comment:2 by , 6 years ago
Here's the specs for my Mac. Did you try it for a big model? On my machine the effect's still noticeable even for a tiny model like 1a0m - brings rotation down to 15fps vs 60fps without labels. On 2019-07-15 18:33, ChimeraX wrote:
comment:3 by , 6 years ago
I used the model you reported it on: 6n60, in its default CPK representation.
comment:4 by , 6 years ago
Perhaps try it with ribbons on? It looks to me like it’s triggering a redraw on every movement. Tristan Croll Research Fellow Cambridge Institute for Medical Research University of Cambridge CB2 0XY
follow-up: 4 comment:5 by , 6 years ago
... although that wouldn’t explain why it’s still fast in simple lighting. Regardless, I’ve had the ribbon shown and stick representation each time. Tristan Croll Research Fellow Cambridge Institute for Medical Research University of Cambridge CB2 0XY
follow-up: 5 comment:6 by , 6 years ago
Looks like shadows are being cast by labels, and since they reorient to be perpendicular to the screen, ambient shadows are probably recalculated on every movement. The code used to turn off shadow casting for labels, but I see that is broken by some changes made months ago that optimized labels. Should be easy to fix.
follow-up: 6 comment:7 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed.
Rotation became very slow for my new iMac with 6n60 and one distance label. It was updating ambient shadows due to some label code rearrangement some months ago that accidentally reenabled shadow casting by labels. I have made them not cast shadows and it is now fast.
Note:
See TracTickets
for help on using tickets.
Didn't seem to happen on my Mac (2012 iMac)