Benoît Jacob [Sun, 25 Jun 2006 13:08:39 +0000 (13:08 +0000)]
Add intelligent (so to speak) level-of-detail handling in Kalzium's
OpenGL engine. For instance smaller spheres will be drawn with smaller
detail level.
Carsten Niehaus [Sat, 24 Jun 2006 21:04:21 +0000 (21:04 +0000)]
Many OpenGL-fixes from Benoit.
Benoit, feel free to commit yourself from now on!
Benoit, is it possible that you forgot to center the molecule? They are rotating here like they did in the very first version of your code... But the reason might be that I am now using OpenBabel 2.1...
Carsten Niehaus [Sat, 24 Jun 2006 14:16:55 +0000 (14:16 +0000)]
Benoit, please copy test.cml to /home/kde4/ and then test the latticeviewer. Somehow I will need a new view-type for crystals. I want it to look a bit like this
Carsten Niehaus [Sat, 17 Jun 2006 21:06:47 +0000 (21:06 +0000)]
Changes by Benoit:
- implemented highlighting of selected atom (paints it in a blue color that is
influenced by the original color)
- now uses GLColor struct to handle color stuff
- in big-spheres style, use smaller spheres (tell me what you think of this)
- some slotChooseStylePreset reorganization
Carsten Niehaus [Fri, 16 Jun 2006 09:23:32 +0000 (09:23 +0000)]
* Using M_PI and not a selfdefined pi.
* Update the view after the molecule has been changed
* Wouldn't it make sense to really only set m_molecule in the slotSetMolecule()
and have a second slot/method in which we'd recalculate things?
Carsten Niehaus [Wed, 14 Jun 2006 16:59:18 +0000 (16:59 +0000)]
* Add Benoit in the credit-section
* Adding apidox and some compile warning-fixes
* Make use of the ui, well, the plugin still does not link and I have not the faintest idea why
Carsten Niehaus [Mon, 12 Jun 2006 15:05:06 +0000 (15:05 +0000)]
* Ok, make the dialog more sane, adding some slots so that Benoit can continue
* Benoit: You'll notice some changes in the GL-classes. I added 2 members and 2 slots.
In the moleculewidget I removed everything but the constructor. I hope that works
fine for you :)