#!/bin/bash

find ../generated -iname '*.png' -print0 | xargs -0 rm
time povray +O../generated/67p.png ../pov/67p.ini +W1920 +H1080
mencoder mf://../generated/*.png -ovc x264 -o ../generated/67p.avi

