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 Eric Pettersen, 7 years ago

Cc: Conrad Huang added

Cartoon is also involved somehow since (open 5cd4)→Stick→Original Look is not slow.

comment:2 by Greg Couch, 7 years ago

Owner: changed from Greg Couch to Tom Goddard

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.

comment:3 by Tom Goddard, 7 years ago

Resolution: fixed
Status: assignedclosed

Fixed.

Duplicate of #1231.

Note: See TracTickets for help on using tickets.