]> Git trees. - libqmvoc.git/commit
Changes in Kalzium's 3D renderer:
authorBenoît Jacob <jacob.benoit.1@gmail.com>
Mon, 3 Jul 2006 15:31:13 +0000 (15:31 +0000)
committerBenoît Jacob <jacob.benoit.1@gmail.com>
Mon, 3 Jul 2006 15:31:13 +0000 (15:31 +0000)
commitab839feaa36ebe21ce744a021f91a1d71a1586f6
tree5bfcc7a25949740473b6a913932dbbca685cc81c
parentbfed081b7b4dadc604a1a002e49c2a34529d11b2
Changes in Kalzium's 3D renderer:

- Display Lists are back. Enable by #defining USE_DISPLAY_LISTS
  (currently enabled).
  Advantage: makes rendering faster
  Inconvenient: uses more memory
  TODO: measure how much more memory it uses.

  Vertex arrays are now automatically converted into (nested) display
  lists when this option is set. This prevents vertex array data from
  being redundantly copied into the display list.

- Now use OB's GetRGB function to get the color of atoms

- Implement our own molecule centering code. Neither OBMol::Center() nor
  OBMol::Translate() did work for me (but maybe I'm stupid).

- reorganization in the VertexArray class ( more to come )

M    src/kalziumglwidget.h
M    src/kalziumglhelperclasses.h
M    src/kalziumglwidget.cpp
M    src/kalziumglhelperclasses.cpp

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