<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Marcus D. Hanwell's Blog - KDE</title>
    <link>http://blog.cryos.net/</link>
    <description>Random thoughts, life, Academia, Gentoo, diving...</description>
    <dc:language>en</dc:language>
    <admin:errorReportsTo rdf:resource="mailto:blog@cryos.net" />
    <generator>Serendipity 1.4-alpha1 - http://www.s9y.org/</generator>
    
    <image>
        <url>http://blog.cryos.net/templates/competition/img/s9y_banner_small.png</url>
        <title>RSS: Marcus D. Hanwell's Blog - KDE - Random thoughts, life, Academia, Gentoo, diving...</title>
        <link>http://blog.cryos.net/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>The Kalzium Molecular Editor</title>
    <link>http://blog.cryos.net/archives/180-The-Kalzium-Molecular-Editor.html</link>
            <category>Avogadro</category>
            <category>Chemistry</category>
            <category>GSoC</category>
            <category>KDE</category>
            <category>Linux</category>
    
    <comments>http://blog.cryos.net/archives/180-The-Kalzium-Molecular-Editor.html#comments</comments>
    <wfw:comment>http://blog.cryos.net/wfwcomment.php?cid=180</wfw:comment>

    <slash:comments>5</slash:comments>
    <wfw:commentRss>http://blog.cryos.net/rss.php?version=2.0&amp;type=comments&amp;cid=180</wfw:commentRss>
    

    <author>marcus@cryos.net (Marcus D. Hanwell)</author>
    <content:encoded>
    &lt;span&gt;&lt;p&gt;Some of you with long memories may recall that I worked on the Kalzium molecular editor for my Google Summer of Code (TM) project last summer. The observant among you may have also noticed that Kalzium in KDE 4.0 featured a molecular viewer. Well the freeze meant that much of my work didn&#039;t make it into KDE 4.0. This is the case with many of our current GSoC students (Naomi among them) who are just starting to code as KDE 4.1 is being frozen and released.&lt;/p&gt;

&lt;p&gt;Since last summer life has been really hectic, the shipment of my household possessions from the UK to the US was delayed significantly by an incompetent shipping company which also proceeded to break many things... This led to me having no Linux system to develop on for quite some time, and then less time to develop due to having to deal with the fallout of a botched delivery. Still, I am very pleased to be able to show off some of my latest work which made it into KDE 4.1 and will be in KDE 4.1 beta1 (due out in a few days).&lt;/p&gt;

&lt;center&gt;&lt;img src=&quot;http://blog.cryos.net/uploads/kalzium_editor_4.1.png&quot; width=&quot;600&quot; height=&quot;481&quot; alt=&quot;Kalzium 4.1 molecular editor&quot; /&gt;&lt;/center&gt;

&lt;p&gt;I was able to expose some of the extra display types I added along with support for drawing and editing molecules. You can also measure distances and angles of the molecule you are looking at and do some geometry optimisation. Given a little more time I would have liked to expose some of the manipulation features but this new six month cycle was so short and my time was constrained anyway. It will make it into 4.2 at least.&lt;/p&gt;

&lt;p&gt;I am looking forward to seeing the animation support Naomi is working on now and am very happy to be able to mentor her over the summer. I think high quality, open source educatonal programs are very important and hope that this editor will be useful in that role. The Avogadro library and application should hopefully be able to satisfy college students and researchers. With the scripting support and open source nature of the two projects I think they interact very well and complement one another.&lt;/p&gt;

&lt;p&gt;As always I would love to hear your feedback on the Kalzium changes and the other work we are doing.&lt;/p&gt;&lt;/span&gt; 
    </content:encoded>

    <pubDate>Mon, 26 May 2008 18:28:23 +0100</pubDate>
    <guid isPermaLink="false">http://blog.cryos.net/archives/180-guid.html</guid>
    
</item>
<item>
    <title>Avogadro 0.8.0 Released</title>
    <link>http://blog.cryos.net/archives/179-Avogadro-0.8.0-Released.html</link>
            <category>Avogadro</category>
            <category>Chemistry</category>
            <category>Gentoo</category>
            <category>GSoC</category>
            <category>KDE</category>
    
    <comments>http://blog.cryos.net/archives/179-Avogadro-0.8.0-Released.html#comments</comments>
    <wfw:comment>http://blog.cryos.net/wfwcomment.php?cid=179</wfw:comment>

    <slash:comments>4</slash:comments>
    <wfw:commentRss>http://blog.cryos.net/rss.php?version=2.0&amp;type=comments&amp;cid=179</wfw:commentRss>
    

    <author>marcus@cryos.net (Marcus D. Hanwell)</author>
    <content:encoded>
    &lt;span&gt;&lt;p&gt;On Monday we officially released &lt;a href=&quot;http://blog.cryos.net/exit.php?url_id=854&amp;amp;entry_id=179&quot; title=&quot;http://sourceforge.net/forum/forum.php?forum_id=825205&quot;  onmouseover=&quot;window.status=&#039;http://sourceforge.net/forum/forum.php?forum_id=825205&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Avogadro 0.8.0&lt;/a&gt;. I think this is a great release with many improvements over 0.6.1. We have been working really hard on improving the stability of Avogadro and I hope this shows in this release. There have also been some very nice improvements in speed and lots of new features.&lt;/p&gt;

&lt;center&gt;&lt;img src=&quot;http://blog.cryos.net/uploads/avogadro-0.8.0.png&quot; width=&quot;600&quot; height=&quot;430&quot; alt=&quot;Avogadro 0.8.0 in KDE 4 trunk&quot; title=&quot;Avogadro 0.8.0 in KDE 4 trunk&quot; /&gt;&lt;/center&gt;

&lt;p&gt;The screen shot above shows an imported Gaussian formatted checkpoint file displaying the &lt;a href=&quot;http://blog.cryos.net/exit.php?url_id=857&amp;amp;entry_id=179&quot; title=&quot;http://en.wikipedia.org/wiki/HOMO&quot;  onmouseover=&quot;window.status=&#039;http://en.wikipedia.org/wiki/HOMO&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;HOMO molecular orbital&lt;/a&gt;. The import of output from quantum codes and subsequent calculation of MOs is at a very early stage but you should take a look at it in the extensions menu if you are interested. It currently only calculates s, p and d orbitals and can only parse formatted checkpoint files from Gaussian. The goal is to add at least f orbitals and many more quantum codes.&lt;/p&gt;

&lt;center&gt;&lt;img src=&quot;http://blog.cryos.net/uploads/avogadro-periodic-table-0.8.0.png&quot; width=&quot;500&quot; height=&quot;300&quot; alt=&quot;Avogadro 0.8.0 in KDE 4 trunk&quot; title=&quot;Avogadro 0.8.0 in KDE 4 trunk&quot; /&gt;&lt;/center&gt;

&lt;p&gt;I don&#039;t think I ever talked about the new periodic table QGraphicsView that I am very proud of. It allows you to select elements that are not listed in the combobox, shows the colour they will have on screen and is about as compact as I can make it. I have already packaged Avogadro 0.8.0 for &lt;a href=&quot;http://blog.cryos.net/exit.php?url_id=855&amp;amp;entry_id=179&quot; title=&quot;http://www.gentoo.org/&quot;  onmouseover=&quot;window.status=&#039;http://www.gentoo.org/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Gentoo&lt;/a&gt;, we have &lt;a href=&quot;http://blog.cryos.net/exit.php?url_id=856&amp;amp;entry_id=179&quot; title=&quot;http://sourceforge.net/project/showfiles.php?group_id=165310&quot;  onmouseover=&quot;window.status=&#039;http://sourceforge.net/project/showfiles.php?group_id=165310&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;binaries (Windows, Mac) and source available for download&lt;/a&gt; and should hopefully have packages available for Debian and Ubuntu very soon.&lt;/p&gt;

&lt;p&gt;There were a few features that didn&#039;t make it in and a few bug fixes we found just after release. Once we have ironed out a few more bugs and received more feedback we will make a bug fix release. I was amazed to see that Avogadro is currently shooting up the &lt;a href=&quot;http://www.sourceforge.net/&gt;SourceForge&lt;/a&gt; rankings and is currently at position 69! We would love to hear what you think. We certainly have quite a few improvements planned but feedback and bug reports are what is really going to help us make Avogadro into a useful tool.&lt;/p&gt;&lt;/span&gt; 
    </content:encoded>

    <pubDate>Fri, 23 May 2008 10:29:44 +0100</pubDate>
    <guid isPermaLink="false">http://blog.cryos.net/archives/179-guid.html</guid>
    
</item>
<item>
    <title>GSoC: Molecular Animation in Kalzium</title>
    <link>http://blog.cryos.net/archives/178-GSoC-Molecular-Animation-in-Kalzium.html</link>
            <category>Avogadro</category>
            <category>Chemistry</category>
            <category>GSoC</category>
            <category>KDE</category>
    
    <comments>http://blog.cryos.net/archives/178-GSoC-Molecular-Animation-in-Kalzium.html#comments</comments>
    <wfw:comment>http://blog.cryos.net/wfwcomment.php?cid=178</wfw:comment>

    <slash:comments>5</slash:comments>
    <wfw:commentRss>http://blog.cryos.net/rss.php?version=2.0&amp;type=comments&amp;cid=178</wfw:commentRss>
    

    <author>marcus@cryos.net (Marcus D. Hanwell)</author>
    <content:encoded>
    &lt;span&gt;&lt;p&gt;I am very pleased to be able to announce that &lt;a href=&quot;http://blog.cryos.net/exit.php?url_id=853&amp;amp;entry_id=178&quot; title=&quot;http://code.google.com/soc/2008/kde/appinfo.html?csaid=4A166875B1873692&quot;  onmouseover=&quot;window.status=&#039;http://code.google.com/soc/2008/kde/appinfo.html?csaid=4A166875B1873692&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Naomi Fox&#039;s application&lt;/a&gt; for a &lt;a href=&quot;http://blog.cryos.net/exit.php?url_id=850&amp;amp;entry_id=178&quot; title=&quot;http://code.google.com/soc/2008/&quot;  onmouseover=&quot;window.status=&#039;http://code.google.com/soc/2008/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Google Summer of Code (TM)&lt;/a&gt; was successful. Some of you may remember that I participated last year as a student and was also lucky enough to attend &lt;a href=&quot;http://blog.cryos.net/exit.php?url_id=851&amp;amp;entry_id=178&quot; title=&quot;http://akademy.kde.org/&quot;  onmouseover=&quot;window.status=&#039;http://akademy.kde.org/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;aKademy&lt;/a&gt;. This year I am no longer a student but I am very pleased to be able to participate as a mentor and hopefully pass on some of what I learned last year.&lt;/p&gt;

&lt;p&gt;I hope you will all join me in welcoming Naomi to our development community. As I moved to the US last year we are actually in the same timezone which will make mentoring easier. It does mean getting to aKademy will be a lot more difficult but may be I can attend the first &lt;a href=&quot;http://blog.cryos.net/exit.php?url_id=852&amp;amp;entry_id=178&quot; title=&quot;http://troy-at-kde.livejournal.com/15657.html&quot;  onmouseover=&quot;window.status=&#039;http://troy-at-kde.livejournal.com/15657.html&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;KDE Americas&lt;/a&gt; event. I am really looking forward to working with Naomi over the summer and I think this is a really important set of features still missing in Kalzium.&lt;/p&gt;

&lt;p&gt;Looking forward to a great summer, my first in Pittsburgh and my first time as a mentor.&lt;/p&gt;&lt;/span&gt; 
    </content:encoded>

    <pubDate>Tue, 22 Apr 2008 12:26:49 +0100</pubDate>
    <guid isPermaLink="false">http://blog.cryos.net/archives/178-guid.html</guid>
    
</item>
<item>
    <title>Getting Back to Gentoo and KDE Development</title>
    <link>http://blog.cryos.net/archives/176-Getting-Back-to-Gentoo-and-KDE-Development.html</link>
            <category>Gentoo</category>
            <category>KDE</category>
    
    <comments>http://blog.cryos.net/archives/176-Getting-Back-to-Gentoo-and-KDE-Development.html#comments</comments>
    <wfw:comment>http://blog.cryos.net/wfwcomment.php?cid=176</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://blog.cryos.net/rss.php?version=2.0&amp;type=comments&amp;cid=176</wfw:commentRss>
    

    <author>marcus@cryos.net (Marcus D. Hanwell)</author>
    <content:encoded>
    &lt;span&gt;&lt;p&gt;After I got back from the UK in January my wife came to join me. She brought with her my old Acer Ferrari nearly working shy of a new hard drive. I got one from NewEgg at a fairly reasonable price and installed it. The drive arrived with a few bent pins, packaging isn&#039;t their strong point obviously, and took twice as long as they said but hey at least I had it. I had been stranded in America without Linux for more than three months and so another few days wasn&#039;t going to kill me.&lt;/p&gt;

&lt;p&gt;Once I got the drive in it seemed the slot loading CD drive and got itself in a twist and would not load any CDs. An hour later and lots of pieces on the table I had reset it, put it back together (a few times) and got a Gentoo LiveCD in there. So I was in business. I had considered installing kubuntu but I wasn&#039;t getting on with it in the VM I had at work and I wanted to get back to Gentoo development too.&lt;/p&gt;

&lt;p&gt;Everything looked good. Got an X server up and running. The ATI binary blob was as unstable as ever. Thanks to nerdboy (I think) I got the open source r300 driver working. This is much more stable although missing several OpenGL features we use in Avogadro such as smooth triangle shading, changing vertex colours in drawing operations etc. Other than that it works much better than the binary blob and is far more stable. I like stability in a system.&lt;/p&gt;

&lt;p&gt;I have KDE 4 trunk running and am using it as my main desktop right now. Still got some rough edges I haven&#039;t had time to figure out just yet such as kmail refusing to save my IMAP accounts, kopete refusing to connect to GTalk and general saving issues most of the core seems pretty solid. I am compiling Thunderbird right now so that I have something. I will hopefully be getting back to Kalzium development pretty soon. If I find the time I would love to help out with KDE in a more general sense as well as helping out with the Gentoo packages.&lt;/p&gt;

&lt;p&gt;My desktop is apparently in a customs area somewhere in New York. Delay after delay after delay with the shipping of my household possessions from the UK. So I am still without desktop hoping that an &quot;intensive exam&quot; is not too expensive and does not involve breaking any of my stuff :/ We shall see. Fingers crossed I will actually have furniture and my desktop computer back within a few weeks. That would allow me to be so much more productive having my dual core Gentoo desktop back, creature comforts and all that good stuff.&lt;/p&gt;

&lt;p&gt; So keep your fingers crossed for me. Hopefully you will be seeing a lot more commits coming from me in the KDE and Gentoo repositories as well as the Avogadro work I have managed to continue to do on the MacBook Geoff so kindly loaned me whilst I was laptopless (is that a word? It should be!) Not sure that was a sentence now either...&lt;/p&gt;&lt;/span&gt; 
    </content:encoded>

    <pubDate>Sun, 09 Mar 2008 14:58:00 +0000</pubDate>
    <guid isPermaLink="false">http://blog.cryos.net/archives/176-guid.html</guid>
    
</item>
<item>
    <title>Avogadro 0.6.1 Released</title>
    <link>http://blog.cryos.net/archives/175-Avogadro-0.6.1-Released.html</link>
            <category>Avogadro</category>
            <category>Chemistry</category>
            <category>FOSS</category>
            <category>Gentoo</category>
            <category>GSoC</category>
            <category>KDE</category>
            <category>Linux</category>
    
    <comments>http://blog.cryos.net/archives/175-Avogadro-0.6.1-Released.html#comments</comments>
    <wfw:comment>http://blog.cryos.net/wfwcomment.php?cid=175</wfw:comment>

    <slash:comments>8</slash:comments>
    <wfw:commentRss>http://blog.cryos.net/rss.php?version=2.0&amp;type=comments&amp;cid=175</wfw:commentRss>
    

    <author>marcus@cryos.net (Marcus D. Hanwell)</author>
    <content:encoded>
    &lt;span&gt;&lt;p&gt;I am pleased to announce that I tagged and released &lt;a href=&quot;http://blog.cryos.net/exit.php?url_id=838&amp;amp;entry_id=175&quot; title=&quot;http://avogadro.openmolecules.net/wiki/Avogadro_0.6.1&quot;  onmouseover=&quot;window.status=&#039;http://avogadro.openmolecules.net/wiki/Avogadro_0.6.1&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Avogadro 0.6.1&lt;/a&gt; yesterday evening. This is a bug fix release which fixes one pretty large bug that slipped through - the OpenGL context was lost if switching between virtual desktops, multiple views etc rendering the OpenGL window useless unless the application was restarted. As such I would encourage anyone running Avogadro 0.6.0 to upgrade to this new version. It also features several smaller bug fixes and feature enhancements.&lt;/p&gt;

&lt;center&gt;&lt;img src=&quot;http://blog.cryos.net/uploads/Avo-0_6_1.png&quot; width=&quot;600&quot; height=&quot;503&quot; alt=&quot;Avogadro 0.6.1 running in a KDE 4 session&quot; /&gt;&lt;/center&gt;

&lt;p&gt;The screen shot above shows Avogadro 0.6.1 running in a KDE 4 session. One of the small visual tweaks I made was to add a second light source to our default OpenGL scene which really helps to illuminate the other side of the scene. Thanks go out to Albert for his suggestion of adding another light source. Hopefully there are no really big bugs remaining but Avogadro is still in the beta stages of its development. It is rapidly approaching a stable release though and I am very happy with our progress so far.&lt;/p&gt;

&lt;p&gt;We would love to hear what you think of Avogadro. I had one person question why we always have to use the latest and greatest version of &lt;a href=&quot;http://blog.cryos.net/exit.php?url_id=839&amp;amp;entry_id=175&quot; title=&quot;http://openbabel.org/&quot;  onmouseover=&quot;window.status=&#039;http://openbabel.org/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;OpenBabel&lt;/a&gt; and felt I should offer some explanation. Many of the features exposed in Avogadro use functions and structures in OpenBabel. I myself was quite heavily involved in improving OpenBabel&#039;s support for Gaussian cube files and the cube format so that we could load and display orbitals for example. As such we often add new features or fix bugs in OpenBabel trunk and so a new release of OpenBabel must be used in order for everything to work.&lt;/p&gt;

&lt;p&gt;There are already ebuilds for this latest version in the &lt;a href=&quot;http://blog.cryos.net/exit.php?url_id=840&amp;amp;entry_id=175&quot; title=&quot;http://www.gentoo.org/&quot;  onmouseover=&quot;window.status=&#039;http://www.gentoo.org/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Gentoo&lt;/a&gt; tree. Ubuntu/Debian builds are in the process of being built. We should hopefully have Mac and Windows binaries very soon too.&lt;/p&gt;

&lt;p&gt;I am headed to a meeting in the UK where Donald and I will be talking with other scientists about visualisation in chemistry and related areas. We will of course be showing off Avogadro as well as talking with many other people working in this area. I am very much looking forward to it and hope that this will lead to further innovation in the Avogadro project as well as the open source chemistry movement in general. It will of course be great to have a full English breakfast and some real ale too!&lt;/p&gt;&lt;/span&gt; 
    </content:encoded>

    <pubDate>Sun, 09 Mar 2008 14:30:00 +0000</pubDate>
    <guid isPermaLink="false">http://blog.cryos.net/archives/175-guid.html</guid>
    
</item>
<item>
    <title>Avogadro 0.6 Released</title>
    <link>http://blog.cryos.net/archives/174-Avogadro-0.6-Released.html</link>
            <category>Avogadro</category>
            <category>Chemistry</category>
            <category>FOSS</category>
            <category>GSoC</category>
            <category>KDE</category>
            <category>Linux</category>
    
    <comments>http://blog.cryos.net/archives/174-Avogadro-0.6-Released.html#comments</comments>
    <wfw:comment>http://blog.cryos.net/wfwcomment.php?cid=174</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://blog.cryos.net/rss.php?version=2.0&amp;type=comments&amp;cid=174</wfw:commentRss>
    

    <author>marcus@cryos.net (Marcus D. Hanwell)</author>
    <content:encoded>
    &lt;span&gt;&lt;p&gt;Earlier today we released &lt;a href=&quot;http://blog.cryos.net/exit.php?url_id=836&amp;amp;entry_id=174&quot; title=&quot;http://avogadro.openmolecules.net/wiki/Avogadro_0.6.0&quot;  onmouseover=&quot;window.status=&#039;http://avogadro.openmolecules.net/wiki/Avogadro_0.6.0&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Avogadro 0.6&lt;/a&gt;. This release is quite overdue and we had originally planned to make a release around the new year. This release has many, many new features that have been implemented since the last release.&lt;/p&gt;

&lt;center&gt;&lt;img src=&quot;http://blog.cryos.net/uploads/avo_CrH2O_1-6.png&quot; width=&quot;600&quot; height=&quot;435&quot; alt=&quot;Avogadro 0.6.0 displaying an orbital&quot; /&gt;&lt;/center&gt;

&lt;p&gt;I am especially proud of the new support for displaying surfaces. This initially led to the surface engine that displays a Van der Waals surface. Tim added the ability to map the electostatic surface potential onto that. I then began work on adding support for displaying orbitals. This led to me getting commit access to &lt;a href=&quot;http://blog.cryos.net/exit.php?url_id=837&amp;amp;entry_id=174&quot; title=&quot;http://openbabel.org/&quot;  onmouseover=&quot;window.status=&#039;http://openbabel.org/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;OpenBabel&lt;/a&gt; and making quite a few commits as I got Gaussian cube loading working. While I was there I couldn&#039;t resist improving the Grid classes (still a little more I would like to add in).&lt;/p&gt;

&lt;p&gt;Another new feature I am really pleased with is the QGraphicsView based periodic table. I think it works very nicely and I am hoping to add this code to Kalzium. I think the Avogadro library is in great shape for me to begin porting Kalzium to use it. Tim and Geoff have been doing some amazing work in OpenBabel on improving the force fields used for geometry optimisations.&lt;/p&gt;

&lt;p&gt;We have also been doing a lot of work to improve Avogadro&#039;s performance when rendering large systems. We have added quickRender functions and OpenGL display lists to improve interactivity as well as threading calculations where this made sense. We have a cool little colour widget Geoff coded too that allows colours to be displayed and picked easily, improved default layout and one of my personal favourites - persistent settings in most of Avogadro.&lt;/p&gt;

&lt;p&gt;There are certainly some bugs remaining. I would like to get to the bottom of as many as I can and hope to make one or two bug fix releases in the 0.6 branch. We would love to get feedback from people. We have already made a source release and a Mac binary. I will be adding Gentoo ebuilds shortly and we will hopefully get a Windows binary out by early next week.&lt;/p&gt;

&lt;p&gt;Hope you enjoy this release. I think we are getting close to a stable API that we can call 1.0 and have most of the core features I was hoping to get into Avogadro. Our framework is extremely modular and extensible and I hope that we will be able to build up a community around Avogadro. It was also great to be able to make this release on 29 February - we have so few of them &lt;img src=&quot;http://blog.cryos.net/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;/p&gt;&lt;/span&gt; 
    </content:encoded>

    <pubDate>Fri, 29 Feb 2008 22:01:45 +0000</pubDate>
    <guid isPermaLink="false">http://blog.cryos.net/archives/174-guid.html</guid>
    
</item>
<item>
    <title>Avogadro: New Orbital Support and Gaussian Cube Format</title>
    <link>http://blog.cryos.net/archives/173-Avogadro-New-Orbital-Support-and-Gaussian-Cube-Format.html</link>
            <category>Avogadro</category>
            <category>Chemistry</category>
            <category>FOSS</category>
            <category>GSoC</category>
            <category>KDE</category>
            <category>Linux</category>
    
    <comments>http://blog.cryos.net/archives/173-Avogadro-New-Orbital-Support-and-Gaussian-Cube-Format.html#comments</comments>
    <wfw:comment>http://blog.cryos.net/wfwcomment.php?cid=173</wfw:comment>

    <slash:comments>6</slash:comments>
    <wfw:commentRss>http://blog.cryos.net/rss.php?version=2.0&amp;type=comments&amp;cid=173</wfw:commentRss>
    

    <author>marcus@cryos.net (Marcus D. Hanwell)</author>
    <content:encoded>
    &lt;span&gt;&lt;p&gt;So over the weekend I spent quite a lot of time hacking away at &lt;a href=&quot;http://blog.cryos.net/exit.php?url_id=830&amp;amp;entry_id=173&quot; title=&quot;http://openbabel.sourceforge.net/&quot;  onmouseover=&quot;window.status=&#039;http://openbabel.sourceforge.net/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;OpenBabel&lt;/a&gt; working on the Gaussian cube format support I needed to get working in order to be able to visualise electronic orbitals. The initial support was taken from &lt;a href=&quot;http://blog.cryos.net/exit.php?url_id=831&amp;amp;entry_id=173&quot; title=&quot;http://www.cscs.ch/molekel/&quot;  onmouseover=&quot;window.status=&#039;http://www.cscs.ch/molekel/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Molekel&lt;/a&gt; but contained no error checking and it was not reading in the example cube file I had.&lt;/p&gt;

&lt;p&gt;Thankfully a colleague pointed out a page with details on the &lt;a href=&quot;http://blog.cryos.net/exit.php?url_id=832&amp;amp;entry_id=173&quot; title=&quot;http://local.wasp.uwa.edu.au/~pbourke/dataformats/cube/&quot;  onmouseover=&quot;window.status=&#039;http://local.wasp.uwa.edu.au/~pbourke/dataformats/cube/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Gaussian cube format&lt;/a&gt; and I used this as a basis to get it working in OpenBabel with better error checking and a more resilient tokenisation of the cube points. I made my first few commits to OpenBabel over the weekend and got at least simple Gaussian cube files loading that only contain one cube. More will follow I am sure.&lt;/p&gt;

&lt;center&gt;&lt;img src=&quot;http://blog.cryos.net/uploads/avogadro_benzene_homo.png&quot; width=&quot;480&quot; height=&quot;458&quot; alt=&quot;Benzene HOMO orbitals visualised in Avogadro&quot; /&gt;&lt;/center&gt;

&lt;p&gt;After I got the file loading sorted a few more changes to &lt;a href=&quot;http://blog.cryos.net/exit.php?url_id=833&amp;amp;entry_id=173&quot; title=&quot;http://avogadro.sourceforge.net/&quot;  onmouseover=&quot;window.status=&#039;http://avogadro.sourceforge.net/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Avogadro&lt;/a&gt; got me my first ever orbitals in Avogadro - the benzene HOMO! I believe the cube file came from the &lt;a href=&quot;http://blog.cryos.net/exit.php?url_id=834&amp;amp;entry_id=173&quot; title=&quot;http://jmol.sourceforge.net/&quot;  onmouseover=&quot;window.status=&#039;http://jmol.sourceforge.net/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;JMol&lt;/a&gt; test files. Geoff informed me that chemists for some reason see positive as blue and negative as red. That seemed very strange to me and I had initially put it the other way around. Growing up playing with electronics it seemed to me that positive should be red just as the wires in a circuit have a red positive... Other than that orbitals seemed to be working well and I was very pleased.&lt;/p&gt;

&lt;center&gt;&lt;img src=&quot;http://blog.cryos.net/uploads/avogadro_ch3cl_esp.png&quot; width=&quot;480&quot; height=&quot;458&quot; alt=&quot;CH3Cl electrostatic potential visualised in Avogadro&quot; /&gt;&lt;/center&gt;

&lt;p&gt;Next I started to load up some other cube files I had been given as examples. I thought the above image of the electrostatic potential of CH&lt;sub&gt;3&lt;/sub&gt;Cl looked very nice. When I showed Geoff he also liked it and we wondered if it had been visualised in this way before. I know normally the cube would be mapped onto the Van der Waals surface of a molecule.&lt;/p&gt;

&lt;p&gt;Anyway I was pleased and also felt more productive as I now have my laptop back up and running and am developing on &lt;a href=&quot;http://blog.cryos.net/exit.php?url_id=835&amp;amp;entry_id=173&quot; title=&quot;http://www.gentoo.org/&quot;  onmouseover=&quot;window.status=&#039;http://www.gentoo.org/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Gentoo&lt;/a&gt; again. It would be great to hear what other people think of this new support. I am already working on various improvements to the code and getting ready for another release of Avogadro!&lt;/p&gt;&lt;/span&gt; 
    </content:encoded>

    <pubDate>Tue, 19 Feb 2008 21:00:00 +0000</pubDate>
    <guid isPermaLink="false">http://blog.cryos.net/archives/173-guid.html</guid>
    
</item>
<item>
    <title>Avogadro: Surface Support</title>
    <link>http://blog.cryos.net/archives/172-Avogadro-Surface-Support.html</link>
            <category>Avogadro</category>
            <category>Chemistry</category>
            <category>FOSS</category>
            <category>GSoC</category>
            <category>KDE</category>
            <category>Linux</category>
    
    <comments>http://blog.cryos.net/archives/172-Avogadro-Surface-Support.html#comments</comments>
    <wfw:comment>http://blog.cryos.net/wfwcomment.php?cid=172</wfw:comment>

    <slash:comments>5</slash:comments>
    <wfw:commentRss>http://blog.cryos.net/rss.php?version=2.0&amp;type=comments&amp;cid=172</wfw:commentRss>
    

    <author>marcus@cryos.net (Marcus D. Hanwell)</author>
    <content:encoded>
    &lt;span&gt;&lt;p&gt;I am pleased to announce that we now have working surface support in Avogadro. We originally began working on support for surfaces around November time when &lt;a href=&quot;http://blog.cryos.net/exit.php?url_id=825&amp;amp;entry_id=172&quot; title=&quot;http://geoffhutchison.net/blog/&quot;  onmouseover=&quot;window.status=&#039;http://geoffhutchison.net/blog/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Geoff&lt;/a&gt; improved the support in &lt;a href=&quot;http://blog.cryos.net/exit.php?url_id=826&amp;amp;entry_id=172&quot; title=&quot;http://openbabel.sourceforge.net/&quot;  onmouseover=&quot;window.status=&#039;http://openbabel.sourceforge.net/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;OpenBabel&lt;/a&gt; for grids and added some initial code to the &lt;a href=&quot;http://blog.cryos.net/exit.php?url_id=827&amp;amp;entry_id=172&quot; title=&quot;http://avogadro.souceforge.net/&quot;  onmouseover=&quot;window.status=&#039;http://avogadro.souceforge.net/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Avogadro&lt;/a&gt; repository. Quite quickly it became evident that this algorithm did not deal well with data sets containing discrete objects that you wanted to polygonise.&lt;/p&gt;

&lt;p&gt;I began a search of the available algorithms and came across a very nice &lt;a href=&quot;http://blog.cryos.net/exit.php?url_id=828&amp;amp;entry_id=172&quot; title=&quot;http://local.wasp.uwa.edu.au/~pbourke/geometry/polygonise/&quot;  onmouseover=&quot;window.status=&#039;http://local.wasp.uwa.edu.au/~pbourke/geometry/polygonise/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;guide to the marching cube algorithm&lt;/a&gt; with example code. I had a brief look for a C++ implementation and didn&#039;t find anything initially, began implementing what was on his page and then came across &lt;a href=&quot;http://blog.cryos.net/exit.php?url_id=829&amp;amp;entry_id=172&quot; title=&quot;http://sourceforge.net/projects/zhu3d/&quot;  onmouseover=&quot;window.status=&#039;http://sourceforge.net/projects/zhu3d/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Zhu3d&lt;/a&gt; which is a Qt 4 based program that actually uses an implementation of the algorithms described in the guide and references them. As it is GPL licenced code I imported the relevant class into our repository and began the task of adapting it to fit into our framework.&lt;/p&gt;

&lt;center&gt;&lt;img src=&quot;http://blog.cryos.net/uploads/avo-surface1.png&quot; width=&quot;468&quot; height=&quot;528&quot; alt=&quot;Avogadro surface points&quot; /&gt;&lt;img src=&quot;http://blog.cryos.net/uploads/avo-surface2.png&quot; width=&quot;468&quot; height=&quot;528&quot; alt=&quot;Avogadro surface lines&quot; /&gt;&lt;/center&gt;

&lt;p&gt;With some code from Geoff, more pointers from Geoff, some reading and quite a bit of help from Tim (not sure if he has a web page/blog) we got it working. Since then Tim has actually fixed a big bug in OpenBabel that was causing crashes and done more work on the IsoGen class. The screenshots above show the results of our early work where initially we got points and then lines working. I was very pleased at this stage as it adds a feature that had been missing for quite some time to the Avogadro framework.&lt;/p&gt;

&lt;center&gt;&lt;img src=&quot;http://blog.cryos.net/uploads/avo-surface3.png&quot; width=&quot;468&quot; height=&quot;528&quot; alt=&quot;Avogadro surface with filled triangles&quot; /&gt;&lt;img src=&quot;http://blog.cryos.net/uploads/avo-surface4.png&quot; width=&quot;468&quot; height=&quot;528&quot; alt=&quot;Avogadro surface with filled triangles coloured by electrostatic charge&quot; /&gt;&lt;/center&gt;

&lt;p&gt;I then got filled triangles added with transparency support, allowing us to visualise the underlying structure of the molecule and map other parameters onto the surface. Tim then added electrostatic charge mapping to the colour of the surface which I hope you agree is already looking very good.&lt;/p&gt;

&lt;p&gt;There is still quite a bit left to do. I need to move the class into libavogadro and out of the engines, integrate it into our Painter API, implement caching and am thinking of using the Qt Concurrent framework to do intelligent multithreading once Qt 4.4 is released as surface generation is quite slow for big molecules. I also need to link the mesh size to the global quality level and see what other optimisations might be possible. Another big one is adding support for visualising molecular orbitals. Geoff has already done a lot of work on the back end in OpenBabel for this and so hopefully it will not take me long to get it added in.&lt;/p&gt;

&lt;p&gt;Lots to do but some great progress already. I would love to know what you think. Once we have been able to polish this new feature a little I hope we can get a release out of the door so that more people can test out these new features and let us know what they think, point out bugs and shower us with compliments &lt;img src=&quot;http://blog.cryos.net/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; Until then I hope you enjoy the screenshots!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; For some reason the exported graphics shown in this post were not antialiased. They are on screen and I need to look into why they are not when I export graphics in this way.&lt;/span&gt; 
    </content:encoded>

    <pubDate>Mon, 11 Feb 2008 11:50:00 +0000</pubDate>
    <guid isPermaLink="false">http://blog.cryos.net/archives/172-guid.html</guid>
    
</item>
<item>
    <title>KDE 4 Release and Party</title>
    <link>http://blog.cryos.net/archives/171-KDE-4-Release-and-Party.html</link>
            <category>Gentoo</category>
            <category>KDE</category>
            <category>Linux</category>
    
    <comments>http://blog.cryos.net/archives/171-KDE-4-Release-and-Party.html#comments</comments>
    <wfw:comment>http://blog.cryos.net/wfwcomment.php?cid=171</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://blog.cryos.net/rss.php?version=2.0&amp;type=comments&amp;cid=171</wfw:commentRss>
    

    <author>marcus@cryos.net (Marcus D. Hanwell)</author>
    <content:encoded>
    &lt;span&gt;&lt;p&gt;I am sure you have heard by now about the KDE 4.0.0 release made yesterday. Currently my desktop machine is on a boat in the middle of the Atlantic somewhere, my laptop is broken and I only have access to Apple systems... I was able to check out KDE 4 and test it in a VM and it is looking good.&lt;/p&gt;

&lt;p&gt;I haven&#039;t been able to help with Gentoo packaging of KDE 4 very much at all which is a shame. I should get my desktop back at the end of the month in my new home in Pittsburgh. I also couldn&#039;t attend the release event as I am attending my graduation ceremony on the 17th of January. Hope you guys really enjoy the event and if I could have moved things around to attend I certainly would have.&lt;/p&gt;

&lt;p&gt;There is lots of stuff I hope to be able to do for KDE 4.1, and more specifically Kalzium, once I get my desktop back at the end of the month. Avogadro already has lots of improvements including a KGraphicsView based periodic table which I think Carsten is interested in me getting into Kalzium 4.1.&lt;/p&gt;

&lt;p&gt;Enjoy the release event and remember to raise a glass to those of us unable to make it for various reasons &lt;img src=&quot;http://blog.cryos.net/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;/p&gt;&lt;/span&gt; 
    </content:encoded>

    <pubDate>Sat, 12 Jan 2008 11:42:05 +0000</pubDate>
    <guid isPermaLink="false">http://blog.cryos.net/archives/171-guid.html</guid>
    
</item>
<item>
    <title>Avogadro: Just Hit Commit 1000!</title>
    <link>http://blog.cryos.net/archives/168-Avogadro-Just-Hit-Commit-1000!.html</link>
            <category>Avogadro</category>
            <category>Chemistry</category>
            <category>FOSS</category>
            <category>GSoC</category>
            <category>KDE</category>
            <category>Linux</category>
    
    <comments>http://blog.cryos.net/archives/168-Avogadro-Just-Hit-Commit-1000!.html#comments</comments>
    <wfw:comment>http://blog.cryos.net/wfwcomment.php?cid=168</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://blog.cryos.net/rss.php?version=2.0&amp;type=comments&amp;cid=168</wfw:commentRss>
    

    <author>marcus@cryos.net (Marcus D. Hanwell)</author>
    <content:encoded>
    &lt;span&gt;&lt;p&gt;I just made a few commits using my trusty git svn dcommit (I am still really loving git and it looks like the bug I reported may be fixed in it now too). Then I saw the commit numbers - we just hit commit 1000. Development has really been accelerating recently and I haven&#039;t had time to write about as much as I wish I could.&lt;/p&gt;

&lt;p&gt;Hopefully I will get a chance to take some screenshots and show off some of the latest stuff. I have coded a QGraphicsView based periodic table I am pretty happy with. It is compact, allows elements to be chosen, shows our colour scheme and even displays a little extra information on the selected element. Then there is the ribbon engine which is coming along but needs some loving attention from some bio people.&lt;/p&gt;

&lt;p&gt;I am very pleased with the new quick rendering stuff we have added. It still has its issues. I had fixed some but some of Benoit&#039;s recent commits seem to have reintroduced the cache problem upon engine changes. Tim has added a new hydrogen bond engine which looks great thanks to some stipple line stuff from Geoff. There is some great stuff in the properties dialogs too along with lots of improvements to our force fields.&lt;/p&gt;

&lt;p&gt;There is certainly lots more for us to do. The biggest thing I still haven&#039;t gotten in yet is surface support! I really want to get that sorted as I think it will be both useful and should look great. Along with some extra dialogs for graphics export, POV-Ray rendering etc.&lt;/p&gt;&lt;/span&gt; 
    </content:encoded>

    <pubDate>Sat, 15 Dec 2007 17:52:42 +0000</pubDate>
    <guid isPermaLink="false">http://blog.cryos.net/archives/168-guid.html</guid>
    
</item>
<item>
    <title>Git, SVN and Development</title>
    <link>http://blog.cryos.net/archives/167-Git,-SVN-and-Development.html</link>
            <category>GSoC</category>
            <category>KDE</category>
            <category>Linux</category>
    
    <comments>http://blog.cryos.net/archives/167-Git,-SVN-and-Development.html#comments</comments>
    <wfw:comment>http://blog.cryos.net/wfwcomment.php?cid=167</wfw:comment>

    <slash:comments>6</slash:comments>
    <wfw:commentRss>http://blog.cryos.net/rss.php?version=2.0&amp;type=comments&amp;cid=167</wfw:commentRss>
    

    <author>marcus@cryos.net (Marcus D. Hanwell)</author>
    <content:encoded>
    &lt;span&gt;&lt;p&gt;It seems I have read quite a few posts in the last half a year or so on the virtues on decentralised version control and how good git it. Before my laptop died I had installed git and was using it for development. Unfortunately that was pretty short lived due to the failure of my laptop. Now all of my development is taking place on Apple Mac machines using Leopard (I used Tiger for a while too).&lt;/p&gt;

&lt;p&gt;Recently I built git from source on the laptop I am using and checked out the full &lt;a href=&quot;http://blog.cryos.net/exit.php?url_id=813&amp;amp;entry_id=167&quot; title=&quot;http://avogadro.sourceforge.net/&quot;  onmouseover=&quot;window.status=&#039;http://avogadro.sourceforge.net/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Avogadro&lt;/a&gt; subversion repository using the following commands.&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;git svn init -t tags -b branches -T trunk https://avogadro.svn.sourceforge.net/svnroot/avogadro&lt;br /&gt;
git svn fetch&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;Then I went and grabbed a coffee while it imported over 800 commits which is pretty small compared to many of the other repositories I have heard about being imported. It didn&#039;t take too long, but I would happily make my git repository available should anyone want a copy.&lt;/p&gt;

&lt;p&gt;I have found git to be very fast which is absolutely great. There are some things which I have found a little confusing while getting to grips with git and its interaction with the subversion repository.&lt;/p&gt;

&lt;p&gt;For my day to day work I need very few commands. &lt;tt&gt;git svn rebase&lt;/tt&gt; synchronises with the subversion repository. I really like this way of updating too as it displays the diffs for the commits and the log messages. &lt;tt&gt;git commit -a&lt;/tt&gt; commits all local changes to the local repository. &lt;tt&gt;git status&lt;/tt&gt; shows the current status of the repository, &lt;tt&gt;git show&lt;/tt&gt; shows local changes already committed and &lt;tt&gt;git svn dcommit&lt;/tt&gt; pushes my local changes to the subversion repository.&lt;/p&gt;

&lt;p&gt;It is this last feature I think I like the most. I can queue up multiple change sets which might actually break Avogadro, giving nice bite size commits as I make progress, but only committing them once I am done and everything is working (at least reasonably well). Then there is the potential for doing this when off line which is also great.&lt;/p&gt;

&lt;p&gt;One of the most confusing things I found was how to nuke local changes if I didn&#039;t want to keep them. Deleting the file and updating doesn&#039;t work as it does with subversion. Also revert didn&#039;t do what I was after. I finally found &lt;tt&gt;git checkout&lt;/tt&gt; which was not what I was expecting. Issuing the command with no arguments resets the repository to the last committed state. Adding filenames as arguments reverts just those files.&lt;/p&gt;

&lt;p&gt;Another one I haven&#039;t found the answer to is files reappearing that we long since deleted. The avogadro.pro file is the main one left but a set of directories also reappeared. They are not there when checking out using just subversion. If anyone has the answer I would love to know. If I &lt;tt&gt;git rm&lt;/tt&gt; the file the commit to subversion does nothing and it loops round.&lt;/p&gt;

&lt;p&gt;Other than that I am really happy with git. It can be a little too easy to use the wrong commands and wipe out changes so I am moving quite gingerly at times but I think it is well worth the trade off. A few guides such as &lt;a href=&quot;http://blog.cryos.net/exit.php?url_id=814&amp;amp;entry_id=167&quot; title=&quot;http://utsl.gen.nz/talks/git-svn/intro.html&quot;  onmouseover=&quot;window.status=&#039;http://utsl.gen.nz/talks/git-svn/intro.html&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;this one&lt;/a&gt;, &lt;a href=&quot;http://blog.cryos.net/exit.php?url_id=815&amp;amp;entry_id=167&quot; title=&quot;http://cheat.errtheblog.com/s/git/&quot;  onmouseover=&quot;window.status=&#039;http://cheat.errtheblog.com/s/git/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;this one&lt;/a&gt; and of course &lt;a href=&quot;http://blog.cryos.net/exit.php?url_id=816&amp;amp;entry_id=167&quot; title=&quot;http://www.kernel.org/pub/software/scm/git/docs/&quot;  onmouseover=&quot;window.status=&#039;http://www.kernel.org/pub/software/scm/git/docs/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;this&lt;/a&gt; have helped me along the way.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt; Just to note that I was using the git 1.5.3 release compiled from source.&lt;/p&gt;&lt;/span&gt; 
    </content:encoded>

    <pubDate>Sun, 02 Dec 2007 20:42:57 +0000</pubDate>
    <guid isPermaLink="false">http://blog.cryos.net/archives/167-guid.html</guid>
    
</item>
<item>
    <title>Avogadro: New Ring &amp; Polygon Engines</title>
    <link>http://blog.cryos.net/archives/165-Avogadro-New-Ring-Polygon-Engines.html</link>
            <category>FOSS</category>
            <category>GSoC</category>
            <category>KDE</category>
            <category>Linux</category>
    
    <comments>http://blog.cryos.net/archives/165-Avogadro-New-Ring-Polygon-Engines.html#comments</comments>
    <wfw:comment>http://blog.cryos.net/wfwcomment.php?cid=165</wfw:comment>

    <slash:comments>7</slash:comments>
    <wfw:commentRss>http://blog.cryos.net/rss.php?version=2.0&amp;type=comments&amp;cid=165</wfw:commentRss>
    

    <author>marcus@cryos.net (Marcus D. Hanwell)</author>
    <content:encoded>
    &lt;span&gt;&lt;p&gt;I recently added a couple of new engines to &lt;a href=&quot;http://blog.cryos.net/exit.php?url_id=812&amp;amp;entry_id=165&quot; title=&quot;http://avogadro.sourceforge.net/&quot;  onmouseover=&quot;window.status=&#039;http://avogadro.sourceforge.net/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Avogadro&lt;/a&gt; and the screen shot below shows them both. The ring engine finds all the rings of the molecule and draws a transparent plane through the ring. The polygon engine finds atomic centres with three or more atoms bonded and draws a polygon around that atom. This is only done for atoms that are not the common organic types.&lt;/p&gt;

&lt;center&gt;&lt;img src=&quot;http://blog.cryos.net/uploads/avogadro_rings_polygons.png&quot; width=&quot;426&quot; height=&quot;434&quot; alt=&quot;Avogadro using the ring and polygon engines&quot; title=&quot;Avogadro using the ring and polygon engine&quot; /&gt;&lt;/center&gt;

&lt;p&gt;I think these are useful engines that have been prompted by user requests. May be not as exciting as the ribbon engine or the surface support we are working on but useful to display certain structures. The ring engine has not been without its problems though as you can probably spot in the image below showing the ring engine rendering a carbon nanotube.&lt;/p&gt;

&lt;center&gt;&lt;img src=&quot;http://blog.cryos.net/uploads/avogadro_nanotube_rings.png&quot; width=&quot;426&quot; height=&quot;434&quot; alt=&quot;Avogadro using the ring engine to render a nanotube&quot; title=&quot;Avogadro using the ring engine to render a nanotube&quot; /&gt;&lt;/center&gt;

&lt;p&gt;The lighting just flips at certain points - the same happens as you rotate molecules that are using the ring or polygon engine. I guess the lighting is flicking on at certain angles. I would be interested if anyone with more OpenGL knowledge than I might know how I can improve the rendering. Some rings are near white and some of the back rings don&#039;t seem to be drawn - that could actually be drawing order though which is always tough to get right.&lt;/p&gt;

&lt;p&gt;Comments and tips are always welcome. The big challenge right now is getting surface support added in. This is something I think we really need and I would use in my daily work as I am sure many others would. I have been reading up on marching cubes and stuff but would welcome tips in that area too!&lt;/p&gt;&lt;/span&gt; 
    </content:encoded>

    <pubDate>Mon, 26 Nov 2007 22:58:52 +0000</pubDate>
    <guid isPermaLink="false">http://blog.cryos.net/archives/165-guid.html</guid>
    
</item>
<item>
    <title>Improved Ribbon Rendering</title>
    <link>http://blog.cryos.net/archives/163-Improved-Ribbon-Rendering.html</link>
            <category>FOSS</category>
            <category>KDE</category>
            <category>Linux</category>
    
    <comments>http://blog.cryos.net/archives/163-Improved-Ribbon-Rendering.html#comments</comments>
    <wfw:comment>http://blog.cryos.net/wfwcomment.php?cid=163</wfw:comment>

    <slash:comments>4</slash:comments>
    <wfw:commentRss>http://blog.cryos.net/rss.php?version=2.0&amp;type=comments&amp;cid=163</wfw:commentRss>
    

    <author>marcus@cryos.net (Marcus D. Hanwell)</author>
    <content:encoded>
    &lt;span&gt;&lt;p&gt;Over the last couple of days I have made a few commits to improve the ribbon support in &lt;a href=&quot;http://blog.cryos.net/exit.php?url_id=810&amp;amp;entry_id=163&quot; title=&quot;http://avogadro.sourceforge.net/&quot;  onmouseover=&quot;window.status=&#039;http://avogadro.sourceforge.net/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Avogadro&lt;/a&gt;. Many thanks to &lt;a href=&quot;http://blog.cryos.net/exit.php?url_id=807&amp;amp;entry_id=163&quot; title=&quot;http://geoffhutchison.net/blog/&quot;  onmouseover=&quot;window.status=&#039;http://geoffhutchison.net/blog/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Geoff&lt;/a&gt; for fixing some bugs we found in &lt;a href=&quot;http://blog.cryos.net/exit.php?url_id=808&amp;amp;entry_id=163&quot; title=&quot;http://openbabel.sourceforge.net/&quot;  onmouseover=&quot;window.status=&#039;http://openbabel.sourceforge.net/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Open Babel&lt;/a&gt; and to &lt;a href=&quot;http://blog.cryos.net/exit.php?url_id=809&amp;amp;entry_id=163&quot; title=&quot;http://thomasmargraf.org/&quot;  onmouseover=&quot;window.status=&#039;http://thomasmargraf.org/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Thomas Margraf&lt;/a&gt; for his helpful suggestions and for letting me take a look at a little of his code that renders ribbons.&lt;/p&gt;

&lt;center&gt;&lt;img width=&quot;169&quot; height=&quot;200&quot; src=&quot;http://blog.cryos.net/uploads/avo-20071106.serendipityThumb.png&quot; alt=&quot;Ribbon rendering in Avogadro&quot; title=&quot;Ribbon rendering in Avogadro&quot; /&gt;&lt;/center&gt;

&lt;p&gt;Right now the ribbon is drawn as a tube between the carbon atoms of the backbone and so isn&#039;t really a ribbon at all. Then I looked at the image and it is looking quite a bit like a ribbon. The code is checked in and so feel free to take a look at it. I am using NURBS but am far from an expert on their use. My laptop failure has lost some of the tuning I had done too - this is my first screenshot from Apple Mac OS X Leopard!&lt;/p&gt;

&lt;p&gt;Points if you can tell me why the alpha helix looks pretty good despite me having not yet implemented anything to find the correct plane! Still needs some tuning but I hope you will agree that this is looking pretty nice now. It has also led to some optimisation of molecule loading but I am sure that there are lots of biologists who will tell me it still isn&#039;t quite right.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; Geoff has now shown me how to do screen capture and so here is a pretty video of Avogadro rendering ribbons in action!&lt;/p&gt;
&lt;center&gt;&lt;object width=&quot;425&quot; height=&quot;350&quot;&gt; &lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/rSa-Pu0YVhg&quot;&gt; &lt;/param&gt; &lt;embed src=&quot;http://www.youtube.com/v/rSa-Pu0YVhg&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;425&quot; height=&quot;350&quot;&gt; &lt;/embed&gt; &lt;/object&gt;&lt;/center&gt;&lt;/span&gt; 
    </content:encoded>

    <pubDate>Tue, 06 Nov 2007 15:30:00 +0000</pubDate>
    <guid isPermaLink="false">http://blog.cryos.net/archives/163-guid.html</guid>
    
</item>
<item>
    <title>My Laptop is Fried - Limited Development Activity</title>
    <link>http://blog.cryos.net/archives/162-My-Laptop-is-Fried-Limited-Development-Activity.html</link>
            <category>General</category>
            <category>Gentoo</category>
            <category>KDE</category>
    
    <comments>http://blog.cryos.net/archives/162-My-Laptop-is-Fried-Limited-Development-Activity.html#comments</comments>
    <wfw:comment>http://blog.cryos.net/wfwcomment.php?cid=162</wfw:comment>

    <slash:comments>13</slash:comments>
    <wfw:commentRss>http://blog.cryos.net/rss.php?version=2.0&amp;type=comments&amp;cid=162</wfw:commentRss>
    

    <author>marcus@cryos.net (Marcus D. Hanwell)</author>
    <content:encoded>
    &lt;span&gt;&lt;p&gt;Since moving out to Pittsburgh I have been using my Acer Ferrari laptop at home for development, keeping in touch with people back home and trying to figure out some of the weirder rules out here such as driving licenses in this state. Last night I booted up when I got home and after logging in everything went a little funky - got I/O errors when typing ls for example.&lt;/p&gt;

&lt;p&gt;I tried rebooting but it wouldn&#039;t even get to the GRUB prompt. So I got out an old Gentoo LiveCD which I had luckily left in my laptop bag. That got so far then failed to mount the drive. After a few reboots and a little wine (to calm my nerves &lt;img src=&quot;http://blog.cryos.net/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; ) I managed to access the drive. I thought I would try copying some stuff across to my external hard drive and ended up getting more I/O errors and some memory errors for good measure. Half the time when I booted from the LiveCD the kernel panicked when attempting to mount the hard drive partitions.&lt;/p&gt;

&lt;p&gt;So today I am a very unhappy English man in Pittsburgh. Due to me having spent far more than I budgeted for moving out here, and then more again on flying my dog out, I don&#039;t foresee being able to replace it any time soon. This means my development activity will be limited. Not sure if compiling part of a KDE 4 checkout might have been what finished it off. Looks like some kind of motherboard issue. The trackpad stopped working months ago, now I am getting random memory and I/O errors and the CPU has been running hotter and hotter recently. It served me for just over two years which isn&#039;t great but I worked it pretty hard and it travelled a fair part of the globe with me too.&lt;/p&gt;

&lt;p&gt;Still can&#039;t help being cheered up a little as I will be picking Dax, my overgrown German Shepherd dog up from Dulles Washington International Airport tomorrow (not Dallas as it sounded like on the message they left me which made me very unhappy when I first heard).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; My very nice and generous new boss has very kindly offered to let me use the group laptop in the interim. It is a MacBook Pro though using something called Mac OS X Leopard. I can keep hacking on Avogadro with it and I even know how to take screen shots with it now too! It is also capable of checking email and browsing the web so my Internet connection in the apartment won&#039;t go to waste. I am considerably happier now but will miss my KDE 4 and Linux fix &lt;img src=&quot;http://blog.cryos.net/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;/p&gt;&lt;/span&gt; 
    </content:encoded>

    <pubDate>Tue, 06 Nov 2007 09:49:04 +0000</pubDate>
    <guid isPermaLink="false">http://blog.cryos.net/archives/162-guid.html</guid>
    
</item>
<item>
    <title>Avogadro 0.2 Released Today</title>
    <link>http://blog.cryos.net/archives/159-Avogadro-0.2-Released-Today.html</link>
            <category>FOSS</category>
            <category>Gentoo</category>
            <category>GSoC</category>
            <category>KDE</category>
            <category>Linux</category>
    
    <comments>http://blog.cryos.net/archives/159-Avogadro-0.2-Released-Today.html#comments</comments>
    <wfw:comment>http://blog.cryos.net/wfwcomment.php?cid=159</wfw:comment>

    <slash:comments>6</slash:comments>
    <wfw:commentRss>http://blog.cryos.net/rss.php?version=2.0&amp;type=comments&amp;cid=159</wfw:commentRss>
    

    <author>marcus@cryos.net (Marcus D. Hanwell)</author>
    <content:encoded>
    &lt;span&gt;&lt;p&gt;Today we released &lt;a href=&quot;http://blog.cryos.net/exit.php?url_id=802&amp;amp;entry_id=159&quot; title=&quot;http://avogadro.sourceforge.net/&quot;  onmouseover=&quot;window.status=&#039;http://avogadro.sourceforge.net/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Avogadro&lt;/a&gt; 0.2 which features many improvements since the 0.1 release. It has lots of the new features I worked on during my &lt;a href=&quot;http://blog.cryos.net/exit.php?url_id=803&amp;amp;entry_id=159&quot; title=&quot;http://code.google.com/soc/2007/kde/appinfo.html?csaid=3EBDFAAF85EFFA00&quot;  onmouseover=&quot;window.status=&#039;http://code.google.com/soc/2007/kde/appinfo.html?csaid=3EBDFAAF85EFFA00&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Google Summer of Code project&lt;/a&gt; along with some great work by other contributors such as the bond centric manipulation tool coded by Shahzad Ali, Ross Braithwaite and James Bunt.&lt;/p&gt;

&lt;p&gt;Geoffrey Hutchison &lt;a href=&quot;http://blog.cryos.net/exit.php?url_id=805&amp;amp;entry_id=159&quot; title=&quot;http://geoffhutchison.net/blog/archives/2007/10/23/1023-avogadro-and-chemistry/&quot;  onmouseover=&quot;window.status=&#039;http://geoffhutchison.net/blog/archives/2007/10/23/1023-avogadro-and-chemistry/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;announced the release earlier today&lt;/a&gt;, on what I have been informed is mole day due to the date format used in the US - 10/23 corresponding to the 10^23 of Avogadro&#039;s number. So today seemed like an even more fortuitous time to make a release of Avogadro!&lt;/p&gt;

&lt;p&gt;Today also marked my first commit to the Gentoo repository in quite some time to add this release to Gentoo&#039;s ebuild repository. If you have been waiting for me to add/update packages and I haven&#039;t gotten around to it due to life being so busy now would be a good time to poke me. I will also hopefully be completing the ribbon support I have already talked about and that should make it into a release soon but wasn&#039;t ready for this release.&lt;/p&gt;

&lt;p&gt;We would love to receive feedback on the latest release of Avogadro. These new features will also make their way into &lt;a href=&quot;http://blog.cryos.net/exit.php?url_id=804&amp;amp;entry_id=159&quot; title=&quot;http://edu.kde.org/kalzium/&quot;  onmouseover=&quot;window.status=&#039;http://edu.kde.org/kalzium/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Kalzium&lt;/a&gt; in KDE 4.1.&lt;/p&gt;&lt;/span&gt; 
    </content:encoded>

    <pubDate>Tue, 23 Oct 2007 22:05:00 +0100</pubDate>
    <guid isPermaLink="false">http://blog.cryos.net/archives/159-guid.html</guid>
    
</item>

</channel>
</rss>