#!/bin/bash

find ../generated -iname '*.png' -print0 | xargs -0 rm
povray +O../generated/itokawa.png ../pov/itokawa.ini -geometry 800x600
mencoder mf://../generated/*.png -ovc xvid -o ../generated/itokawa.avi

