- added FPS (frames per second) counter. Enable it by #defining
USE_FPS_COUNTER. (Currently enabled).
- added option to cache the rendering of the molecule using a GL display
list. This improves speed, especially for rendering complex
molecules; I have measured a speed increase above +35% in some cases
(depends also on the style and the widget size). Enable it by
#defining USE_DISPLAY_LIST. (Currently enabled).
Change in latticedialog:
- I allowed myself to comment out ui.glWidget->update(); in
LatticeDialog::slotUpdateView() because normally this is being
taken care of by slotSetMolecule; also I think that for a GL widget,
one should call updateGL() instead of update(); not 100% sure here.
Carsten, I didn't see the "blank widget" bug in the lattice viewer;
have you already solved it?
M kalzium/src/kalziumglwidget.h
M kalzium/src/kalziumglwidget.cpp
M kalzium/src/latticedialog.cpp