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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
62
07c2f8084719 more SConscript tweaking, make model preparation work again
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     1
#!/bin/sh
07c2f8084719 more SConscript tweaking, make model preparation work again
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     2
07c2f8084719 more SConscript tweaking, make model preparation work again
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     3
mkdir -p "$1"
07c2f8084719 more SConscript tweaking, make model preparation work again
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     4
cd "$1"
07c2f8084719 more SConscript tweaking, make model preparation work again
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     5
103
3b3257a410fe Updated to compile:
Radek Brich <radek.brich@devl.cz>
parents: 102
diff changeset
     6
curl -O 'http://graphics.stanford.edu/pub/3Dscanrep/bunny.tar.gz'
62
07c2f8084719 more SConscript tweaking, make model preparation work again
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     7
tar xzf bunny.tar.gz
07c2f8084719 more SConscript tweaking, make model preparation work again
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     8
rm bunny.tar.gz
07c2f8084719 more SConscript tweaking, make model preparation work again
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     9
rm -rf bunny/data
07c2f8084719 more SConscript tweaking, make model preparation work again
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    10
mv bunny/reconstruction/* bunny
07c2f8084719 more SConscript tweaking, make model preparation work again
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    11
rmdir bunny/reconstruction
07c2f8084719 more SConscript tweaking, make model preparation work again
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    12
103
3b3257a410fe Updated to compile:
Radek Brich <radek.brich@devl.cz>
parents: 102
diff changeset
    13
curl -O 'http://graphics.stanford.edu/pub/3Dscanrep/happy/happy_recon.tar.gz'
62
07c2f8084719 more SConscript tweaking, make model preparation work again
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    14
tar xzf happy_recon.tar.gz
07c2f8084719 more SConscript tweaking, make model preparation work again
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    15
rm happy_recon.tar.gz
07c2f8084719 more SConscript tweaking, make model preparation work again
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    16
mv happy_recon happy
07c2f8084719 more SConscript tweaking, make model preparation work again
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    17
103
3b3257a410fe Updated to compile:
Radek Brich <radek.brich@devl.cz>
parents: 102
diff changeset
    18
curl -O 'http://graphics.stanford.edu/pub/3Dscanrep/dragon/dragon_recon.tar.gz'
62
07c2f8084719 more SConscript tweaking, make model preparation work again
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    19
tar xzf dragon_recon.tar.gz
07c2f8084719 more SConscript tweaking, make model preparation work again
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    20
rm dragon_recon.tar.gz
07c2f8084719 more SConscript tweaking, make model preparation work again
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    21
mv dragon_recon dragon