models/download-stanford
author Radek Brich <radek.brich@devl.cz>
Fri, 11 Apr 2008 12:46:36 +0200
branchpyrit
changeset 67 249553e1d4fe
parent 62 07c2f8084719
child 102 de3e9ea18f56
permissions -rwxr-xr-x
new option to choose single or double precision floats

#!/bin/sh

mkdir -p "$1"
cd "$1"

wget ftp://graphics.stanford.edu/pub/3Dscanrep/bunny.tar.gz
tar xzf bunny.tar.gz
rm bunny.tar.gz
rm -rf bunny/data
mv bunny/reconstruction/* bunny
rmdir bunny/reconstruction

wget ftp://graphics.stanford.edu/pub/3Dscanrep/happy/happy_recon.tar.gz
tar xzf happy_recon.tar.gz
rm happy_recon.tar.gz
mv happy_recon happy

wget ftp://graphics.stanford.edu/pub/3Dscanrep/dragon/dragon_recon.tar.gz
tar xzf dragon_recon.tar.gz
rm dragon_recon.tar.gz
mv dragon_recon dragon