Updates to rendering script.
Merge branch 'bkg-mixture' of github.com:gustavla/vision-research into bkg-mixture