Avogadro Videos: Transparent Molecules, Rotation and Geometry Optimisation
I already wrote this post once, but the bit bucket ate it when my browser crashed... Carsten and I were talking on IRC yesterday about the last post I made and progress with my project in general. He asked if I would try making a few videos demonstrating new features as his system has trouble capturing videos without dropping frames. I am new to the whole video capture scene and have always found screen shots to be enough in the past. He told me about xvidcap and so I emerged it. What else do people use for this kind of thing?
After some trial and error (I found xdamage prevented the OpenGL window from being recorded properly) I recorded a video. The above video is my first successful one, as uploaded to YouTube by Carsten. I don't know about you but I find flash very unreliable on my 64 bit system in my 64 bit browser as there is still no decent 64 bit flash plugin. You can get the original video here (~17MB) and my second attempt here (~14MB) which I think is a little better personally.
I made a new video this morning that is shown above and also available for download here (~5MB) showing some recent changes in Avogadro implemented by Donald - geometry optimisation now takes place in a separate thread. This was on my list of features to implement and I had done some reading and initial code (nothing that worked right). It is a great feature to have implemented as geometry optimisation can take quite some time. My research, reading and coding haven't been in vain either - I learned a lot about how Avogadro, OpenBabel and Qt interact as well as learning quite a bit about threads (never used them before). There are other things that will benefit from threading too, so I hope I will be able to do some coding with threads soon ![]()
I would love to hear what you think about the videos, if they are useful demonstrations of new features in Avogadro. Most of this stuff is actually in libavogadro which is used by Avogadro. Kalzium uses a snapshot of libavogadro right now, in KDE 4.1 it should be possible to switch to the system copy of libavogadro. It is a great demonstration of how easy it is to add molecular visualisation capabilities to a program by using libavogadro. I am still learning lots of new stuff and thankfully the development team don't mind me asking questions, even when some of the questions are really stupid... I am still having a great time working on the code pushing the boundaries of what we can accomplish and hope that you find these posts informative.
Comments
Display comments as Linear | Threaded
Egon Willighagen on :
Marcus D. Hanwell on :
Geoff Hutchison on :
We definitely talked about having a more interactive draw tool as well for drawing carbon chains.
I've also talked about (but not coded) an "insert from file" command and tool for adding from a library of molecule templates. This would go a long way towards a build mode like Spartan where you click to add new pieces already in a minimized geometry.
There will also shortly be an extension for converting hydrogens to methyl groups.
Egon Willighagen on :
liquidat on :
Btw., many people also use recordMyDesktop for creating screen casts. It comes along with a gtk interface but in the newest version also with an Alpha qt interface.
Benoit Jacob on :
http://avogadro.sourceforge.net/wiki/Compiling
Don't hesitate to ask our avogadro-devel mailing list if you have problems.
liquidat on :
Marcus D. Hanwell on :
Oded on :
infopipe on :
Aaron Seigo on :
it looks like we're going to have some amazingly great chem tools in kde4 =))
as for screen cap, i use recordMyDesktop with the PyQt front end. works wonderfully, including audio.
Marcus D. Hanwell on :
I can't wait for aKademy next week. I will check out recordmydesktop, it would possibly be good to narrate some videos. It would be good to have a tool that can select a window area to record rather than having to draw it. Not sure if I need to tweak the encoding for better file size and ease of use for people wanting to watch it.
Thanks.