Opened 7 years ago
Closed 7 years ago
#1179 closed defect (fixed)
Nucleotides slows other rendering
Reported by: | Eric Pettersen | Owned by: | Tom Goddard |
---|---|---|---|
Priority: | major | Milestone: | 0.8 |
Component: | Performance | Version: | |
Keywords: | Cc: | Elaine Meng, Conrad Huang | |
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
If I open 5cd4 and use preset "Cartoon", responsiveness is fine, but if I then change to "Original Look" responsiveness is clunky.
Before applying a preset the code (in atomic/iniit.py; method _add_presets_menu) tries to put the structure in a "baseline" state, by removing cartoon depictions and whatnot. Part of that is removing nucleotide depictions with:
from .nucleotides.cmd import nucleotides
nucleotides(session, 'atoms')
If those lines are commented out, then responsiveness stays good throughout the process outlined above.
Change History (3)
comment:1 by , 7 years ago
Cc: | added |
---|
comment:2 by , 7 years ago
Owner: | changed from | to
---|
Looks like a level of detail bug. The number of triangles per atom goes from 88 to 2000 when the cartoon preset is done. And when going back to the original preset, it stays at 2000.
Cartoon is also involved somehow since (open 5cd4)→Stick→Original Look is not slow.