By the way, maybe we shoud rename these files kalziumglhelpers, because
there's not only classes there, but also functions (all within a
namespace I called KalziumGLHelpers).
Another change is, I removed support for caching with GL display lists.
The reason is, it was getting more and more complicated, and it would
really have been a pain to handle atoms with different radii. (The main
problem is that in principle, GL display lists are incompatible with
glVertexPointer).
Carsten, I tried to do as you asked, display "Please load a molecule" at
KalziumGLWidget startup, but I hit the weirdness of
QGLWidget::renderText(), and I had to give up. Googling for that showed
me that many people had the same problems, but I couldn't find a
solution. I'll ask kde-devel, I think.
Benoit
M kalzium/src/kalziumglwidget.h
M kalzium/src/kalziumglhelperclasses.h
M kalzium/src/kalziumglwidget.cpp
M kalzium/src/kalziumglhelperclasses.cpp