]> Git trees. - libqmvoc.git/commit
Big reorganization in kalziumglhelperclasses
authorBenoît Jacob <jacob.benoit.1@gmail.com>
Mon, 26 Jun 2006 22:01:09 +0000 (22:01 +0000)
committerBenoît Jacob <jacob.benoit.1@gmail.com>
Mon, 26 Jun 2006 22:01:09 +0000 (22:01 +0000)
commit8f94cd97c23adac9b41df5a0bd0b85f1090b7e98
tree179fe8c6578c75a1323070d970cfc23253bbd1f7
parent2ba6780b250760add4024dd2efb03d14eba6c359
Big reorganization in kalziumglhelperclasses

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

svn path=/trunk/KDE/kdeedu/kalzium/src/kalziumglwidget.h; revision=555287
kalzium/kalziumglhelperclasses.cpp
kalzium/kalziumglhelperclasses.h
kalzium/kalziumglwidget.cpp
kalzium/kalziumglwidget.h