models/download-stanford
author Radek Brich <radek.brich@devl.cz>
Tue, 26 Jul 2016 17:41:36 +0200
branchpyrit
changeset 103 3b3257a410fe
parent 102 de3e9ea18f56
permissions -rwxr-xr-x
Updated to compile: - KdTree+Octree: max_depth changed to static const (this should be configured at compile time) - wget tool replaced by curl, which is now more widespread - added CMakeLists (to eventually replace SCons) - various fixes

#!/bin/sh

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

curl -O 'http://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

curl -O 'http://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

curl -O 'http://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