Learning VTK

I'm trying to learn how to render and animate things using VTK. This is the result of a python-script which outputs a series of PNG-frames. These are then converted to jpegs by this command:

mogrify -format jpg -quality 97 *.png

mogrify -format jpg -quality 97 *.png

and converted to a DIVX movie like this:
mencoder mf://*.jpg -mf fps=25:type=jpg -ovc lavc -lavcopts vcodec=mpeg4 -ac copy -o output.avi -ffourcc DX50

This should lead to the revival of my old Drop-Cutter code in the near future. This time it's going to be in C++, with Python bindings, and hopefully use OpenMP. Stay tuned.

which Lenovo?

lenovo_t_x

Trying to decide on a new laptop. It's going to be black. The X200s would be small (too small?), the X301 is nice but has no good docking solution, so today I'm leaning towards the T400s. Tomorrow I might change my mind again. The T400s has the most cpu-power, still a manageable size, but sadly less pixels on the screen than my current T60.
Anyone have good or bad experiences with the Samsung 128 Gb SSD drives?

Links - November 5, 2009

Anodizing aluminium

anodizing

We thought all those aluminium bits the cnc-mill spits out needed to look all nice and pretty. So a test with some DIY-anodizing today. Following one of the many guides out on the interwebs (here and here) we mixed ourselves some 20 % sulphuric acid, inserted an aluminium plate which works as the cathode, and suspended the part to be anodized from an aluminum wire.

before

This was tested on these rings which hold the finder-scope on my telescope.

after

After about 30 min of anodizing with the current around 2 A the part was rinsed in water and then put into hot water containing black color used for coloring clothes. The part was then boiled in this solution for another 20 min. The guides tell me the oxide layer formed in anodizing is first very porous and will absorb the color, and while boiling the pores close leaving a less brittle oxide-layer and sealing the color within.

This wasn't too scary and the initial results look promising. More to follow later probably...