nglviewer / ngl

WebGL protein viewer
http://nglviewer.org/ngl/
MIT License
663 stars 167 forks source link

Performances loss using selection "protein and helix" respect to "protein" #828

Open giagitom opened 3 years ago

giagitom commented 3 years ago

With huge structures like HIV viral capsid (3j3q)

I tried with rope representation and there is a huge preformances loss. Also the final result seems much heavier to handle by the browser using (protein and helix selection)

@arose have you any clue about the cause of this?

arose commented 3 years ago

I think the issue is the selection, not so much the type of representation. The slower rendering is due to the way picking is implemented.

giagitom commented 3 years ago

Thanks @arose , I also noticed something strange.. i tried to dispose spacefil, surface, label, rope,cartoon and tube representations and observed that disposing rope, cartoon and tube requires a lot of time (nearly the time of building it). Could this be due to the selection as well?